joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004cbc
Capabilities:
Check if file exists
Get file attributes
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov dword [ebp + 0x14], eax
je 0x1004cf8
test al, 1
je 0x1004cf8
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1004cf8
push eax
push 0x10
push eax
push ebx
push 0x47b
push eax
call fcn.01003267
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0xffffffffffffffff
push 0x10018b4
mov edi, 0x10018ac
push edi
call esi
cmp eax, 0xffffffff
jne 0x1004d26
push ebx
push eax
push 0x10018a0
push edi
call esi
cmp eax, 0xffffffff
jne 0x1004d26
or eax, eax
jmp 0x1004d6d
cmp dword [ebp + 0x18], 0
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
je 0x1004d38
cmp eax, 3
jge 0x1004d43
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
jmp 0x1004d53
push 0x1001443
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [ebp + 0x14], 0xffffffff
mov esi, eax
je 0x1004d6b
test byte [ebp + 0x14], 1
je 0x1004d6b
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x1004d74
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor eax, eax
xor ebp, ebp
cmp byte [edi], al
je 0x1004e55
push 0x5c
push edi
mov dword [esp + 0x20], ebp
call fcn.0100f462
mov esi, eax
cmp esi, ebp
je 0x1004da1
mov bl, byte [esi]
and byte [esi], 0
jmp 0x1004da5
mov bl, byte [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp dword [esp + 0x1c], ebp
je 0x1004ded
cmp eax, 0xffffffff
jne 0x1004dc1
push 4
mov eax, 0x483
pop ebp
jmp 0x1004dca
test al, 0x10
jne 0x1004ded
mov eax, 0x484
push ebp
push 0x20
push 0
push edi
push eax
push dword [esp + 0x28]
call fcn.01003267
cmp eax, 7
je 0x1004de3
test ebp, ebp
jne 0x1004ded
test esi, esi
je 0x1004de9
mov byte [esi], bl
xor eax, eax
jmp 0x1004e55
test esi, esi
je 0x1004df3
mov byte [esi], bl
lea esi, [edi + 1]
mov al, byte [esi]
cmp al, 0x3a
jne 0x1004e07
cmp byte [edi + 2], 0x5c
jne 0x1004e07
lea esi, [edi + 3]
jmp 0x1004e4d
cmp byte [edi], 0x5c
jne 0x1004e4d
cmp al, 0x5c
jne 0x1004e4d
lea esi, [edi + 2]
mov dword [esp + 0x18], 2
jmp 0x1004e4d
cmp byte [esi], 0x5c
jne 0x1004e44
cmp byte [esi - 1], 0x3a
je 0x1004e44
cmp dword [esp + 0x18], 0
je 0x1004e35
dec dword [esp + 0x18]
jmp 0x1004e44
and byte [esi], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], 0
jne 0x1004e1d
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x1005132
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x38
push esi
push edi
mov edi, 0x1012434
push edi
call fcn.01002a79
push eax
push 0x40
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x100516e
push eax
push 0x10
push eax
push eax
push 0x44c
push eax
call fcn.01003267
xor eax, eax
jmp 0x10051fb
cmp dword [esp + 0x48], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esp + 0x14], esi
mov ebx, 0x1001443
je 0x1005198
push 1
push edi
push dword [esp + 0x18]
push esi
push dword [esp + 0x5c]
call fcn.01004cbc
jmp 0x10051d8
push edi
push dword [esp + 0x14]
push esi
push ebx
push 0
push dword [esp + 0x60]
call ebp
jmp 0x10051d8
cmp dword [esp + 0x50], 0
je 0x10051b3
push esi
jmp 0x10051c8
push edi
push 0x30
lea eax, [esp + 0x20]
push eax
push ebx
push esi
push dword [esp + 0x60]
call ebp
lea eax, [esp + 0x18]
push eax
call fcn.01002c27
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x10051a9
push edi
push 0
push 0
push dword [esp + 0x58]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop ebp
inc eax
pop ebx
pop edi
pop esi
add esp, 0x38
ret 8
Function at 0x1005e7a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x1012cc4
push ebx
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 8]
push eax
push 0x10128bc
mov dword [ebp - 4], 1
call fcn.0100ba5a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x14
lea eax, [ebp - 8]
push eax
mov esi, 0x1012bc0
push esi
call edi
lea eax, [ebp - 0x310]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
push 0x1012dc8
call edi
push 0x1001a34
push ebx
lea eax, [ebp - 0x210]
push 0x1001a2c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
push 0x1012dc8
call fcn.0100f496
cmp byte [0x1012fd0], 0
jne 0x1005f3b
push esi
push 0x1012fd0
call edi
push ebx
lea eax, [ebp - 0x210]
push 0x1001a1c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x1012fd0
call fcn.0100f496
push esi
push 0x10130d4
call edi
push 0x1001a14
push ebx
lea eax, [ebp - 0x210]
push 0x1001a2c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
push 0x10130d4
call fcn.0100f496
cmp dword [0x1013e44], 0x866
je 0x1005fc2
push 0x1001a0c
push ebx
lea eax, [ebp - 0x210]
push 0x1001a2c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push esi
mov esi, 0x1012ecc
push esi
call edi
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0100f496
mov dword [0x1013e38], 0x10019c0
mov dword [0x1013e3c], 7
jmp 0x1005fc7
mov esi, 0x1012ecc
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [0x1012420], ebx
je 0x1005ff1
push edi
call fcn.01005292
test eax, eax
jne 0x1005ff1
push 0x200
lea eax, [ebp - 0x210]
push eax
push 0x421
jmp 0x1006035
push edi
call fcn.010041a3
test eax, eax
jne 0x100600e
push 0x200
lea eax, [ebp - 0x210]
push eax
push 0x41f
jmp 0x1006035
cmp dword [0x1013e44], 0x866
je 0x100607e
push edi
call fcn.01004460
test eax, eax
jne 0x100605e
push 0x200
lea eax, [ebp - 0x210]
push eax
push 0x420
call fcn.010029f0
lea eax, [ebp - 0x210]
push eax
push 0x856
push edi
call fcn.01002e9b
mov dword [ebp - 4], ebx
call fcn.01009f42
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
push 0x10143c0
push ebx
push 0x1001788
push 0x1001454
call fcn.01002ab7
test eax, eax
jne 0x100607e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea eax, [ebp - 0x210]
push eax
push 0x422
call fcn.010029f0
lea eax, [ebp - 0x210]
push eax
push 0x856
push edi
call fcn.01002e9b
jmp 0x1006054
Function at 0x100ad54
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
push ebx
push esi
push 0x10143c0
push 0x50
mov ebx, 0x10138d0
push ebx
mov esi, 0x1001443
push esi
push 0x10018c0
push 0x1001454
call fcn.010035e3
test eax, eax
jbe 0x100af05
mov eax, dword [0x1011b10]
push edi
xor edi, edi
cmp eax, edi
jbe 0x100ada6
mov ecx, 0x10112f4
and byte [ecx], 0
add ecx, 0x104
dec eax
jne 0x100ad9a
push ebx
push 0x200
lea eax, [ebp - 0x298]
push eax
push esi
push 0x1001b90
push ebx
call fcn.010035e3
test eax, eax
jbe 0x100aeb1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x298]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, edi
je 0x100aeb1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x100aeb1
push eax
push esi
push edi
lea eax, [ebp - 0x298]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x100aea8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1001b74
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100ae2b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
jmp 0x100ae30
mov eax, 0x4e40409
cmp dword [0x1011b10], edi
mov dword [ebp - 8], edi
jbe 0x100aea8
mov dword [ebp - 0x10], eax
shr dword [ebp - 0x10], 0x10
movzx edi, ax
mov esi, 0x10112f4
push dword [esi - 4]
movzx eax, word [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x98]
push 0x1001b54
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100ae92
push 0xff
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add esi, 0x104
cmp eax, dword [0x1011b10]
jb 0x100ae4a
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x1011b10], edi
jbe 0x100aeff
mov esi, 0x10112f4
push ebx
push 0x100
lea eax, [ebp - 0x298]
push eax
push 0x1001443
push dword [esi - 4]
push ebx
call fcn.010035e3
test eax, eax
jbe 0x100aef0
push 0xff
lea eax, [ebp - 0x298]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
inc edi
add esi, 0x104
cmp edi, dword [0x1011b10]
jb 0x100aebe
xor eax, eax
inc eax
pop edi
jmp 0x100af07
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x100c011
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor eax, eax
cmp edx, dword [eax*8 + 0x1011b20]
je 0x100c031
inc eax
cmp eax, 0x12
jb 0x100c022
shl eax, 3
cmp edx, dword [eax + 0x1011b20]
mov dword [ebp + 8], eax
jne 0x100c1cf
mov ecx, dword [0x1013e78]
cmp ecx, 1
je 0x100c1a4
test ecx, ecx
jne 0x100c063
cmp dword [0x1011b18], 1
je 0x100c1a4
cmp edx, 0xfc
je 0x100c1cf
and byte [ebp - 8], 0
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100c09e
push 5
pop ecx
mov esi, 0x1001f44
lea edi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10c]
lea ebx, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100c0ad
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x100c0e5
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100c0c5
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x1001f40
push ebx
call fcn.0100e310
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100c0ea
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1011b24]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100c101
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.0100cbb0
mov edx, esp
push 6
pop ecx
mov esi, 0x1001f24
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100c12d
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100c139
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100c152
mov eax, dword [ebp + 8]
mov esi, 0x1001f20
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x1011b24]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100c16d
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100c179
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x1001ef8
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0100e211
add esp, 0xc
jmp 0x100c1cf
mov ecx, dword [eax + 0x1011b24]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100c1af
push 0
lea edx, [ebp - 4]
push edx
sub eax, esi
push eax
push ecx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100e211
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x1014140], ebx
push esi
push edi
jne 0x100e291
push 0x10025a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100e2cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100259c
push edi
call esi
test eax, eax
mov dword [0x1014140], eax
je 0x100e2cc
push 0x100258c
push edi
call esi
push 0x1002578
push edi
mov dword [0x1014144], eax
call esi
cmp dword [0x1013e80], 2
mov dword [0x1014148], eax
jne 0x100e291
push 0x100255c
push edi
call esi
test eax, eax
mov dword [0x1014150], eax
je 0x100e291
push 0x1002544
push edi
call esi
mov dword [0x101414c], eax
mov eax, dword [0x101414c]
test eax, eax
je 0x100e2d6
call eax
test eax, eax
je 0x100e2bd
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x1014150]
test eax, eax
je 0x100e2bd
test byte [ebp - 8], 1
jne 0x100e2d6
cmp dword [0x1013e8c], 4
jb 0x100e2d0
or byte [ebp + 0x12], 0x20
jmp 0x100e2f5
xor eax, eax
jmp 0x100e305
or byte [ebp + 0x12], 4
jmp 0x100e2f5
mov eax, dword [0x1014144]
test eax, eax
je 0x100e2f5
call eax
mov ebx, eax
test ebx, ebx
je 0x100e2f5
mov eax, dword [0x1014148]
test eax, eax
je 0x100e2f5
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x1014140]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100edd8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.0100cbb0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100ee6d
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x1013e80]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x100ee6d
cmp eax, 1
je 0x100ee85
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100ee6d
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x100ee42
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x100ee69
xor eax, eax
inc eax
jmp 0x100eea1
cmp esi, ebx
jae 0x100ee71
xor eax, eax
jmp 0x100eea1
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1013e80]
jmp 0x100ee87
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100f5db
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb0
and dword [ebp + 0x74], 0
cmp dword [0x10123f8], 0xfffffffe
mov dword [ebp + 0x6c], 0xc
jne 0x100f6c2
and dword [0x10123f8], 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x100f6c2
cmp dword [ebp - 0x28], 1
jne 0x100f6c2
cmp dword [ebp - 0x34], 4
jne 0x100f6c2
cmp dword [ebp - 0x30], 0xa
jae 0x100f6c2
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x100f6c2
lea eax, [ebp + 0x70]
push eax
push 0x20019
push 0
push 0x1002794
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100f6c2
push edi
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x68]
push eax
push 0
push 0x1001443
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x70]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x100f6c2
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.0100f4d5
test eax, eax
je 0x100f6c2
and dword [ebp + 0x74], 0x3ff
cmp dword [ebp + 0x74], 1
je 0x100f6b8
cmp dword [ebp + 0x74], 0xd
jne 0x100f6c2
mov dword [0x10123f8], 1
mov eax, dword [0x10123f8]
add ebp, 0x78
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x409ab7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x409ac6
pop dword [ebp - 0xc]
mov eax, 0xb65c6e8c
add eax, 0x49e42c3a
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3a876
push 0
mov eax, 0x24210383
add eax, 0xdc1fdd55
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x4d24
xor ebx, ebx
add ebx, eax
mov edi, 0xd293277a
add edi, 0x2dae144a
add edi, dword [ebp - 0xc]
mov edx, 0x4bcc3bcb
sub edx, 0x52081e31
mov dword [ebp - 4], 0x9da7016e
mov esi, dword [edi]
xor dword [ebp - 8], ebx
sub esi, edx
sub dword [ebp - 8], edx
mov dword [ebx], esi
sub dword [ebp - 8], 0x7b8af6ec
add ebx, 0xa7f17d57
add ebx, 0x580e82ad
add edi, 4
loop 0x409b21
add eax, 0xbf4466cf
sub eax, 0xbf433f6c
mov ebx, eax
add eax, 5
mov ecx, 0x69af4339
sub ecx, 0x696f4339
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100b3943
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101638c8]
jne 0x100b394d
repz ret
jmp fcn.100b7190

Function at 0x100b940e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100b3a66
and dword [ebp - 4], 0
cmp dword [0x1016562c], 0
mov ebx, eax
jne 0x100b94bf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100b9570
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100b9570
push eax
call fcn.100b39f4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1016562c], eax
call esi
push eax
call fcn.100b39f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10165630], eax
call esi
push eax
call fcn.100b39f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10165634], eax
call esi
push eax
call fcn.100b39f4
pop ecx
mov dword [0x1016563c], eax
test eax, eax
je 0x100b94bf
push 0x100c5b04
push edi
call esi
push eax
call fcn.100b39f4
pop ecx
mov dword [0x10165638], eax
mov eax, dword [0x10165638]
cmp eax, ebx
je 0x100b9517
cmp dword [0x1016563c], ebx
je 0x100b9517
push eax
call fcn.100b3a6f
push dword [0x1016563c]
mov esi, eax
call fcn.100b3a6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b9517
test edi, edi
je 0x100b9517
call esi
test eax, eax
je 0x100b950e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b950e
test byte [ebp - 0xc], 1
jne 0x100b9517
or dword [ebp + 0x10], 0x200000
jmp 0x100b9550
mov eax, dword [0x10165630]
cmp eax, ebx
je 0x100b9550
push eax
call fcn.100b3a6f
pop ecx
test eax, eax
je 0x100b9550
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b9550
mov eax, dword [0x10165634]
cmp eax, ebx
je 0x100b9550
push eax
call fcn.100b3a6f
pop ecx
test eax, eax
je 0x100b9550
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1016562c]
call fcn.100b3a6f
pop ecx
test eax, eax
je 0x100b9570
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b9572
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c3ae0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0x1c5a
lea ecx, [fcn.100c3ae0]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x100c3b18
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x100c3b2b
mov eax, dword [ebp - 0x10]
mov dword [0x1016334c], eax
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
je 0x100c3af9
mov eax, dword [ebp - 0x10]
add eax, 0xffffddc4
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x100c3b18
Function at 0x100c3b50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10163358], 0
mov byte [0x1016335c], 0
mov dword [0x1016334c], 0x25ab
mov dword [0x10163354], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100c3bad
mov dword [0x1016334c], 0x213c
mov dword [0x10163354], 0
jmp 0x100c3bdf
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1016334c], 0x1b02
mov eax, dword [0x10163354]
add eax, 1
mov dword [0x10163354], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100c3bad
jmp 0x100c3b97
mov eax, 0x100
mov dword [0x10163360], 0
mov ecx, dword [0x10163358]
mov edx, dword [0x10163354]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x10163360], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x10163358], edx
mov ecx, dword [0x10163354]
mov bl, byte [esi + ecx]
mov byte [0x1016335c], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1016335c]
mov ecx, dword [0x10163358]
mov byte [esi + ecx], bl
mov ecx, dword [0x10163354]
add ecx, 1
mov dword [0x10163354], ecx
cmp ecx, 0x100
jl 0x100c3bdf
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret