joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412d90
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x58deec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x412dc4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x412dc4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebx]
test al, al
je 0x412e7e
push esi
mov esi, ebx
mov ecx, ebx
cmp al, 0x2f
je 0x412ddb
cmp al, 0x5c
jne 0x412ddd
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x412dd3
cmp esi, ebx
je 0x412e11
sub esi, ebx
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005169a0
lea ecx, [ebp - 0x20c]
push ecx
push edi
mov byte [ebp + esi - 0x20c], 0
call fcn.00412d90
add esp, 0x14
mov byte [ebp - 0x108], 0
test edi, edi
je 0x412e30
lea edx, [ebp - 0x108]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x412e26
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412e34
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412e44
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x108]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
cmp eax, 0xffffffff
jne 0x412e7e
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.005156a7
mov esp, ebp
pop ebp
ret

Function at 0x414880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x41494b
cmp dword [ebx + 4], 0xffffffff
jne 0x41494b
push edi
lea edi, [ebx + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4148b1
sub eax, edx
mov al, byte [eax + ebx + 0x13f]
cmp al, 0x5c
je 0x4148e1
cmp al, 0x2f
je 0x4148e1
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4148d0
mov ax, word [0x541364]
mov word [edi], ax
mov edi, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
cmp edi, 1
jne 0x41490b
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41490b
pop esi
pop edi
mov eax, 0x2000000
pop ebx
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
push ecx
push edi
push edx
push esi
call fcn.00411ac0
add esp, 0x10
test eax, eax
jne 0x41492b
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push eax
call fcn.004142e0
add esp, 4
mov dword [ebx], eax
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop ebx
pop ebp
ret 0xc
mov eax, 0x1000000
pop ebx
pop ebp
ret 0xc
Function at 0x415a7a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041fa0c
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x415ab3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004156bc
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x415b11
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x415b35
cmp dword [edi + 0x74], 0
jne 0x415b35
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041fa0c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00415ad2
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d101
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41d148
call fcn.0041fa0c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d148
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41d164
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041cc06
mov esi, eax
test edi, edi
je 0x41d162
test ebx, ebx
je 0x41d162
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41e40c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x539e7f
call fcn.00518384
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41e431
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41e483
call fcn.0041e837
push eax
lea ecx, [ebp - 0x10]
call fcn.00401620
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051848e
push eax
call fcn.004071b0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401030
mov eax, esi
call fcn.0051845c
ret 8
Function at 0x41f056
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041ed15
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41f0a0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041aff9
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407f80
jmp 0x41f0ab
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042f3e4
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41f0b1
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041dcfe
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41f0ee
call fcn.0041ed15
mov dword [esi + 0xc], 1
jmp 0x41f0f3
call fcn.0041ed15
cmp dword [esi], 0
je 0x41f13c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x41f114
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041aff9
jmp 0x41f126
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401ed0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407f80
jmp 0x41f160
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x41f160
push dword [esi]
push dword [ebp + 8]
call fcn.0042f3e4
pop esi
pop ebp
ret 0xc

Function at 0x428983
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4289cb
call fcn.0041fa0c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4289cb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x428a0e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4289f7
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4289f7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x428a0b
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4292d9
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 8
Function at 0x44588d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0047db83
call fcn.0041f429
cmp dword [eax + 0x14], 0
jne 0x4458aa
mov ecx, esi
pop esi
jmp fcn.00445392
pop esi
ret

Function at 0x448e82
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004d12b6
call fcn.0041f429
cmp dword [eax + 0x14], 0
jne 0x448e9f
mov ecx, esi
pop esi
jmp fcn.00448855
pop esi
ret

Function at 0x481590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4815aa
call fcn.0041fa0c
mov esi, dword [eax + 0xc]
push dword [0x59d454]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4815c8
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4815c0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4815f5
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4815c2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004814be
mov esi, eax
jmp 0x4815e7

Function at 0x4fd19b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4fd1b3
mov edi, dword [esi + 0xc]
jmp 0x4fd1f3
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4fd1cc
call fcn.0041fdda
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4fd1e1
call fcn.0041fdda
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4fd1f3
call fcn.0041fdda
call fcn.0041fa0c
cmp dword [eax + 0x3c], 0
je 0x4fd208
push edi
mov ecx, ebx
call fcn.004fc061
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004fd0b5
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4fd226
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4fd232
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5156a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x58deec]
jne 0x5156b1
repz ret
jmp fcn.0051df32
Function at 0x5162f6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x51631d
call fcn.00518994
mov dword [eax], esi
call fcn.00518981
push 0x16
pop esi
mov dword [eax], esi
call fcn.0051d393
mov eax, esi
jmp 0x516372
test dword [ebp + 0xc], 0xfffffff9
jne 0x516303
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x51634a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005189a7
pop ecx
call fcn.00518981
mov eax, dword [eax]
jmp 0x516372
test al, 0x10
jne 0x516370
test al, 1
je 0x516370
test byte [ebp + 0xc], 2
je 0x516370
call fcn.00518994
mov dword [eax], 5
call fcn.00518981
mov dword [eax], 0xd
jmp 0x516341
xor eax, eax
pop esi
pop ebp
ret

Function at 0x52c607
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x58deec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0051ee79
and dword [ebp - 0x14], 0
cmp dword [0x59fe98], 0
mov dword [ebp - 0x18], eax
jne 0x52c6ba
push 0x54e810
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x52c762
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x56be80
push ebx
call edi
test eax, eax
je 0x52c762
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x56be70
push ebx
mov dword [0x59fe98], eax
call edi
push eax
call esi
push 0x56be5c
push ebx
mov dword [0x59fe9c], eax
call edi
push eax
call esi
push 0x56be40
push ebx
mov dword [0x59fea0], eax
call edi
push eax
call esi
mov dword [0x59fea8], eax
test eax, eax
je 0x52c6ba
push 0x56be28
push ebx
call edi
push eax
call esi
mov dword [0x59fea4], eax
mov eax, dword [0x59fea4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x52c713
cmp dword [0x59fea8], ecx
je 0x52c713
push eax
call esi
push dword [0x59fea8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x52c713
test ebx, ebx
je 0x52c713
call edi
test eax, eax
je 0x52c70a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x52c70a
test byte [ebp - 8], 1
jne 0x52c713
or dword [ebp + 0x10], 0x200000
jmp 0x52c746
mov eax, dword [0x59fe9c]
cmp eax, dword [ebp - 0x18]
je 0x52c746
push eax
call esi
test eax, eax
je 0x52c746
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x52c746
mov eax, dword [0x59fea0]
cmp eax, dword [ebp - 0x18]
je 0x52c746
push eax
call esi
test eax, eax
je 0x52c746
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x59fe98]
call esi
test eax, eax
je 0x52c762
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x52c764
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005156a7
leave
ret
Function at 0x4167a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43d4a0
cmp edx, dword [eax]
je 0x4167c7
add eax, 8
inc ecx
cmp eax, 0x43d530
jl 0x4167b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43d4a0]
jne 0x4168f5
mov eax, dword [0x43d858]
cmp eax, 1
je 0x4168cf
test eax, eax
jne 0x4167f8
cmp dword [0x43d3f0], 1
je 0x4168cf
cmp edx, 0xfc
je 0x4168f5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41682f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00416d50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00416ec0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x416872
lea eax, [ebp - 0x1a4]
push eax
call fcn.00416ec0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x419430
push edi
call fcn.00417b50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00416d50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00416d60
lea eax, [ebp - 0xa0]
push 0x419410
push eax
call fcn.00416d60
push dword [esi + 0x43d4a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00416d60
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00417abe
add esp, 0x2c
pop edi
jmp 0x4168f5
lea eax, [ebp + 8]
lea esi, [esi + 0x43d4a4]
push 0
push eax
push dword [esi]
call fcn.00416ec0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403244
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x500008], 0x8088405
inc edx
mov dword [ebx + 0x500008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x42707c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x427082
ret

Function at 0x43402c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4341dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404ef4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4341f4
call fcn.00404b50
mov eax, ebx
call fcn.00424f30
mov edi, eax
dec edi
test edi, edi
jl 0x4340e4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424f04
mov edx, dword [0x43fed4]
call fcn.00403c40
test al, al
je 0x4340e0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00424f04
lea edx, [ebp - 0x14]
call fcn.0044e17c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404ef4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bc4
inc esi
dec edi
jne 0x434092
mov al, byte [0x4341f8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x434204
mov eax, dword [ebp - 0xc]
call fcn.0040e570
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004048dc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044e17c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4341f4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0044e17c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4341f4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4341f4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x434210
call fcn.0040a0c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4341e4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404868
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404868
lea eax, [ebp - 0x14]
call fcn.00404844
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404868
ret
Function at 0x4d0bfc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d0c2a
mov eax, ebx
call fcn.004d16b0
cmp dword [ebx + 0x40], 0
je 0x4d0c23
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d0c9b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d0c8d
cmp dword [ebx + 8], 0
je 0x4d0c4c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4d0c5e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d0c8d
cmp dword [ebx + 8], 0
je 0x4d0c3f
cmp eax, 3
je 0x4d0c71
dec eax
jne 0x4d0c3f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d0c3f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d0c3f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d0cb9
cmp dword [ebx + 0x14], 0xcc
je 0x4d0cb9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d0cc4
pop ebx
ret

Function at 0x1155a88
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1155a92
pushal
call 0x1155a98
pop ebp
sub ebp, 0x10
sub ebp, 0xd55a88
jmp 0x1155aae
mov eax, 0xd55a88
add eax, ebp
add eax, 0x4c
mov ecx, 0x598
mov edx, 0xf8f71d11
xor byte [eax], dl
inc eax
dec ecx
jne 0x1155ac5
jmp 0x1155ad8
lcall 0x1111, 0x2d989adc
adc dword [eax + 0x1111e9d0], edx
adc dword [edx], edx
fsubr qword [ecx + 0x11111118]
stosd dword es:[edi], eax
cmp dword [ecx], edx
adc dword [ecx], edx
out 0xf3, al
adc bl, cl
lcall 0x1211, 0x11111d90
aam 0x41
pushfd
jne 0x1155b37
in eax, dx
cwde
adc eax, 0x96457935
push cs
adc dword [ecx + 0x23], edi
ret 0x11a4
lcall 0xd011, 0x1111019c
clc
adc esp, dword [eax]
adc edx, dword [edx + 0x1e5815d3]
xchg esp, eax
in eax, 0xee
out dx, al
out dx, al
dec esp
rcr dword [0x359d9a11], cl
adc eax, 0x79111111
inc ebp
xchg esi, eax
push cs
adc dword [ecx + 0x23], edi
ret 0x11a4
Function at 0x4063b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x160
or ecx, 0xffffffff
xor eax, eax
push esi
mov esi, dword [esp + 0x168]
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4064a4
mov ecx, 0x41
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 0xc], 0x104
push eax
push 0xf003f
push 0
push str.Applicationsiexplore.exe_shellopencommand
push 0x80000000
call dword [0x42e0e4]
test eax, eax
jne 0x4064a4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x64]
push ecx
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [0x42e0e8]
mov ecx, dword [esp + 8]
push ecx
call dword [0x42e0ec]
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4064a4
lea eax, [esp + 0x64]
push 0x4281b0
push eax
call fcn.00418ae0
add esp, 8
test eax, eax
je 0x4064a4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x20], 0x44
test eax, eax
je 0x40647e
mov dword [esp + 0x28], str.WinSta0Default
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x80]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
xor al, al
pop esi
add esp, 0x160
ret

Function at 0x4065e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
lea eax, [esp]
push esi
push eax
mov dword [esp + 8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x14]
sub eax, 2
je 0x406623
push 0x428c04
push 0x428bf8
call dword [0x42e208]
add esp, 8
mov eax, 0x428bf8
pop esi
add esp, 0x9c
ret
mov eax, dword [esp + 8]
mov esi, dword [0x42e208]
cmp eax, 4
ja 0x406641
push str.Windows_NT
push 0x428bf8
call esi
add esp, 8
cmp dword [esp + 8], 5
jne 0x40669d
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x406668
push str.Windows_2000
push 0x428bf8
call esi
mov eax, dword [esp + 0x10]
add esp, 8
cmp eax, 5
jne 0x40669d
cmp dword [esp + 0xc], 1
jne 0x406687
push str.Windows_XP
push 0x428bf8
call esi
mov eax, dword [esp + 0x10]
add esp, 8
cmp eax, 5
jne 0x40669d
cmp dword [esp + 0xc], 2
jne 0x4066b3
push str.Windows_2003
push 0x428bf8
call esi
add esp, 8
cmp dword [esp + 8], 6
jne 0x4066b3
push str.Windows_Windows7_Vista_2008
push 0x428bf8
call esi
add esp, 8
mov eax, 0x428bf8
pop esi
add esp, 0x9c
ret