joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004f0df
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor edi, edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
cmp esi, 0xffffffff
jne 0x1004f112
cmp ebx, esi
jne 0x1004f112
push dword [ebp + 0x10]
call fcn.1004f0b7
pop ecx
jmp 0x1004f2af
cmp dword [ebp + 0x10], edx
jle 0x1004f127
mov edi, dword [ebp + 0x10]
call fcn.10045de0
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor edx, edx
xor eax, eax
or ecx, 0xffffffff
inc eax
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x218], edx
cmp esi, ecx
je 0x1004f157
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x114], eax
mov ecx, esi
mov dword [ebp - 0x31c], edx
cmp ebx, 0xffffffff
je 0x1004f1ae
mov dword [ebp - 0x31c], eax
xor eax, eax
mov dword [ebp - 0x318], ebx
cmp dword [ebp - 0x114], edx
jbe 0x1004f18a
cmp dword [ebp + eax*4 - 0x110], ebx
je 0x1004f18a
inc eax
cmp eax, dword [ebp - 0x114]
jb 0x1004f178
cmp eax, dword [ebp - 0x114]
jne 0x1004f1a8
cmp dword [ebp - 0x114], 0x40
jae 0x1004f1a8
mov dword [ebp + eax*4 - 0x110], ebx
inc dword [ebp - 0x114]
cmp ebx, ecx
jbe 0x1004f1ae
mov ecx, ebx
cmp dword [ebp + 0x10], edx
jge 0x1004f1b7
xor ebx, ebx
jmp 0x1004f1ba
lea ebx, [ebp - 0x10]
lea esi, [ecx + 1]
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x1004f1d9
mov eax, edi
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0xc], edx
jmp 0x1004f1de
jne 0x1004f1e1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
push ebx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x1004f23a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1004f214
cmp eax, 0x2714
jne 0x1004f23e
cmp dword [ebp + 0x10], 0
jle 0x1004f1bd
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.10045de0
push edx
push eax
call fcn.10045df6
mov edi, dword [ebp + 0x10]
sub edi, eax
add esp, 0x10
test edi, edi
jg 0x1004f1bd
jmp 0x1004f23e
test eax, eax
jge 0x1004f243
or eax, 0xffffffff
jmp 0x1004f2af
jne 0x1004f249
xor eax, eax
jmp 0x1004f2af
xor esi, esi
cmp dword [ebp + 8], 0xffffffff
je 0x1004f27b
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1004f265
inc esi
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1004f27b
or esi, 4
cmp dword [ebp + 0xc], 0xffffffff
je 0x1004f2ad
lea eax, [ebp - 0x31c]
push eax
push dword [ebp + 0xc]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1004f297
or esi, 2
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 0xc]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1004f2ad
or esi, 4
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1004fdfe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 8]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1004fe0d
jmp dword [eax*4 + 0x1004fe82]
mov al, 0x41
pop ebp
ret
mov al, 0x42
pop ebp
ret
mov al, 0x43
pop ebp
ret
mov al, 0x44
pop ebp
ret
mov al, 0x45
pop ebp
ret
mov al, 0x46
pop ebp
ret
mov al, 0x47
pop ebp
ret
mov al, 0x48
pop ebp
ret
mov al, 0x49
pop ebp
ret
mov al, 0x4a
pop ebp
ret
mov al, 0x4b
pop ebp
ret
mov al, 0x4c
pop ebp
ret
mov al, 0x4d
pop ebp
ret
mov al, 0x4e
pop ebp
ret
mov al, 0x4f
pop ebp
ret
mov al, 0x50
pop ebp
ret
mov al, 0x51
pop ebp
ret
mov al, 0x52
pop ebp
ret
mov al, 0x53
pop ebp
ret
mov al, 0x54
pop ebp
ret
mov al, 0x55
pop ebp
ret
mov al, 0x56
pop ebp
ret
mov al, 0x57
pop ebp
ret
mov al, 0x58
pop ebp
ret
mov al, 0x59
pop ebp
ret
mov al, 0x5a
pop ebp
ret
mov al, byte [ebp + 8]
pop ebp
ret

Function at 0x10051fc0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x100520f5
push edi
mov edi, dword [ebp - 0xc]
cmp edi, ebx
je 0x100520e9
push esi
push 0x20
call dword [section..data]
mov esi, eax
pop ecx
cmp esi, ebx
je 0x10052099
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
jbe 0x10052061
cmp dword [edi + 0x18], ebx
je 0x10052061
push eax
mov dword [esi + 0x10], eax
call dword [section..data]
pop ecx
mov dword [esi + 0x18], eax
cmp eax, ebx
je 0x100520a2
push dword [esi + 0x10]
push dword [edi + 0x18]
push eax
call fcn.1005c4f0
add esp, 0xc
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x10052077
push eax
call dword [0x100a800c]
pop ecx
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x100520ab
cmp dword [ebp - 4], ebx
jne 0x1005207f
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10052089
mov dword [eax + 0x1c], esi
mov edi, dword [edi + 0x1c]
mov dword [ebp - 0x10], esi
cmp edi, ebx
jne 0x10051fff
jmp 0x100520c9
mov dword [ebp - 8], 8
jmp 0x100520c9
mov dword [ebp - 8], 8
jmp 0x100520c1
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], 8
cmp eax, ebx
je 0x100520c1
push eax
call dword [0x100a8004]
pop ecx
push esi
call dword [0x100a8004]
pop ecx
pop esi
cmp dword [ebp - 0xc], ebx
je 0x100520d8
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 8], ebx
je 0x100520e9
push dword [ebp - 4]
call fcn.10051f81
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret
Function at 0x10052cda
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.1005b758
add esp, 0x18
test eax, eax
je 0x10052cfc
cmp eax, 0xffffffff
jne 0x10052cfe
xor eax, eax
pop ebp
ret

Function at 0x100532b4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi]
push ebx
xor ebx, ebx
cmp dword [eax + 4], 2
push edi
sete bl
test ebx, ebx
je 0x100532d8
push dword [eax + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [esi + 0xc]
jmp 0x10053309
cmp dword [esi + 8], 0
jne 0x100532f9
push 0x100841e4
push dword [eax + 8]
call fcn.100605f4
pop ecx
pop ecx
mov dword [esi + 8], eax
test eax, eax
jne 0x100532f9
or eax, 0xffffffff
jmp 0x1005332f
push dword [esi + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.1005e4ee
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10053317
cmp edi, dword [ebp + 0xc]
jbe 0x1005332d
test ebx, ebx
jne 0x10053327
push dword [esi + 8]
call fcn.1005ff6c
and dword [esi + 8], ebx
pop ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop ebx
pop ebp
ret
Function at 0x10053f3a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x1a4]
test esi, esi
jne 0x10053f55
mov esi, dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.10045de0
push edx
push eax
call fcn.10045df6
add edi, 0x19c
add esp, 0x10
sub esi, eax
cmp dword [edi], 0
je 0x10053f9c
push dword [ebx + 0xbc]
push dword [ebx + 0xb8]
call fcn.10045de0
push edx
push eax
call fcn.10045df6
mov edi, dword [edi]
sub edi, eax
add esp, 0x10
cmp esi, edi
jl 0x10053f9c
mov esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x1005452d
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [section..data]
mov edi, eax
pop ecx
test edi, edi
je 0x1005460b
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov ecx, dword [esi + 0xc]
add ecx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x1005458f
push eax
call dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [esi + 4]
mov ebx, dword [edi + 8]
add ebx, dword [esi + 0xc]
push dword [edi + 4]
push ebx
call dword [esi + 8]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esi + 0x14]
add esp, 0x18
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
and dword [ebp - 4], 0
pop ecx
pop ecx
test ebx, ebx
jbe 0x100545de
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov al, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
inc ebx
mov dword [ebp + 0xc], ebx
call dword [esi + 4]
add esp, 0x18
dec dword [ebp - 8]
jne 0x100545a9
pop ebx
jmp 0x10054601
push 1
push 0x1008483c
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x1008483d
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x10]
jb 0x100545e1
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x1005466b
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x10056ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
lea edi, [ebp - 0x400]
xor ebx, ebx
mov edx, 0xedb88320
mov eax, ebx
mov ecx, 8
xor esi, esi
shr eax, 1
cmovb esi, edx
xor eax, esi
dec ecx
jne 0x10056ad0
mov dword [edi], eax
add edi, 4
inc bl
jne 0x10056ac9
mov ecx, dword [ebp + 0xc]
or eax, 0xffffffff
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x400]
sub ecx, 4
jl 0x10056b27
xor eax, dword [esi]
add esi, 4
movzx edx, al
shr eax, 8
xor eax, dword [edi + edx*4]
movzx edx, al
shr eax, 8
xor eax, dword [edi + edx*4]
movzx edx, al
shr eax, 8
xor eax, dword [edi + edx*4]
movzx edx, al
shr eax, 8
xor eax, dword [edi + edx*4]
sub ecx, 4
jge 0x10056af9
mov edx, dword [ecx*4 + 0x100a8250]
and edx, dword [esi]
xor eax, edx
lea esi, [ecx + esi + 4]
jmp dword [ecx*4 + 0x100a8260]
Function at 0x10059925
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100aa3d8], 0
push esi
jne 0x10059898
call fcn.100597be
test eax, eax
je 0x100598db
mov eax, dword [0x100aa3d8]
cmp eax, 1
jne 0x100598b9
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100598db
pop esi
ret
push eax
call dword [0x100aa3e0]
test eax, eax
jne 0x10059923
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x100598df
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x100aa3d8]
call dword [0x100aa3e0]
mov edi, eax
test edi, edi
je 0x10059904
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10059920
mov edi, esi
add esi, 0xff0
push edi
push dword [0x100aa3d8]
call dword [0x100aa3dc]
add edi, 0x10
cmp edi, esi
jb 0x1005990c
mov eax, edi
pop edi
pop esi
ret
jmp 0x10059885

Function at 0x10059ccb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100a82b0]
jne 0x10059cd5
repz ret
jmp fcn.10063fc8
Function at 0x10073823
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.10066c7d
and dword [ebp - 4], 0
cmp dword [0x100aaf1c], 0
mov ebx, eax
jne 0x100738d4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10073985
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10073985
push eax
call fcn.10066c0b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100aaf1c], eax
call esi
push eax
call fcn.10066c0b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100aaf20], eax
call esi
push eax
call fcn.10066c0b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100aaf24], eax
call esi
push eax
call fcn.10066c0b
pop ecx
mov dword [0x100aaf2c], eax
test eax, eax
je 0x100738d4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10066c0b
pop ecx
mov dword [0x100aaf28], eax
mov eax, dword [0x100aaf28]
cmp eax, ebx
je 0x1007392c
cmp dword [0x100aaf2c], ebx
je 0x1007392c
push eax
call fcn.10066c86
push dword [0x100aaf2c]
mov esi, eax
call fcn.10066c86
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1007392c
test edi, edi
je 0x1007392c
call esi
test eax, eax
je 0x10073923
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10073923
test byte [ebp - 0xc], 1
jne 0x1007392c
or dword [ebp + 0x10], 0x200000
jmp 0x10073965
mov eax, dword [0x100aaf20]
cmp eax, ebx
je 0x10073965
push eax
call fcn.10066c86
pop ecx
test eax, eax
je 0x10073965
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10073965
mov eax, dword [0x100aaf24]
cmp eax, ebx
je 0x10073965
push eax
call fcn.10066c86
pop ecx
test eax, eax
je 0x10073965
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100aaf1c]
call fcn.10066c86
pop ecx
test eax, eax
je 0x10073985
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10073987
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10074699
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 0x100746ca
call fcn.1005f846
mov dword [eax], esi
call fcn.1005f833
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10062c5e
add esp, 0x14
push 0x16
pop eax
jmp 0x1007471f
test dword [ebp + 0xc], 0xfffffff9
jne 0x100746a6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100746f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1005f859
pop ecx
call fcn.1005f833
mov eax, dword [eax]
jmp 0x1007471f
test al, 0x10
jne 0x1007471d
test al, 1
je 0x1007471d
test byte [ebp + 0xc], 2
je 0x1007471d
call fcn.1005f846
mov dword [eax], 5
call fcn.1005f833
mov dword [eax], 0xd
jmp 0x100746ee
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10074fae
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 0x10074fdf
call fcn.1005f846
mov dword [eax], esi
call fcn.1005f833
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10062c5e
add esp, 0x14
push 0x16
pop eax
jmp 0x10075034
test dword [ebp + 0xc], 0xfffffff9
jne 0x10074fbb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1007500c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1005f859
pop ecx
call fcn.1005f833
mov eax, dword [eax]
jmp 0x10075034
test al, 0x10
jne 0x10075032
test al, 1
je 0x10075032
test byte [ebp + 0xc], 2
je 0x10075032
call fcn.1005f846
mov dword [eax], 5
call fcn.1005f833
mov dword [eax], 0xd
jmp 0x10075003
xor eax, eax
pop esi
pop ebp
ret
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
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.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x407ef8
nop
mov ecx, 0x43a95fbb
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, str.5_H
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x3c752fd0
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x424040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, dword [esp + 0x360]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
push esi
mov dword [esp + 0x14], edi
call fcn.0040c9d0
add esp, 4
test eax, eax
je 0x42420e
mov ebx, dword [esp + 0x368]
test ebx, ebx
je 0x42420e
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esp + 0x18]
push esi
push eax
call edi
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
lea edx, [esp + 0x18]
push ebx
push edx
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424137
call fcn.004246e0
lea edx, [esp + 0x11c]
push esi
push edx
call edi
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x11c]
push ecx
push edx
call ebp
test byte [esp + 0x220], 0x10
jne 0x42411d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jl 0x42411d
inc dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4240c3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0040ce70
add esp, 8
lea eax, [esp + 0x18]
push 0x42b1bc
push eax
call ebp
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241fd
call fcn.004246e0
test byte [esp + 0x220], 0x10
je 0x4241e3
cmp byte [esp + 0x24c], 0x2e
je 0x4241e3
lea eax, [esp + 0x11c]
push esi
push eax
call edi
lea ecx, [esp + 0x11c]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
lea edx, [esp + 0x24c]
lea eax, [esp + 0x11c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x368]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00424040
add dword [esp + 0x10], eax
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42417b
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x404b1e
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push edi
mov edi, dword [ebx]
mov dword [ebp - 4], 0xc6ef3720
mov dword [ebp - 0x20], 0x9e3779b9
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x20
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
lea ecx, [eax + edi]
mov eax, edi
shr eax, 5
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
add dword [ebp + 8], eax
push ecx
lea eax, [ebp - 8]
push eax
mov dword [0x4400e4], 0xffcf03fc
call fcn.00404472
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 8]
push dword [ebp - 0x18]
and dword [0x4400e4], 0
or dword [0x4400ec], 0xffffffff
sub esi, eax
mov eax, dword [ebp - 4]
lea edx, [eax + esi]
mov eax, esi
shr eax, 5
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov dword [0x4400e8], 0xff6b3619
call fcn.00404b01
and dword [ebp + 0xc], 0
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x1c]
xor eax, dword [ebp + 8]
xor eax, edx
sub edi, eax
mov eax, dword [ebp - 0x20]
add dword [ebp + 0xc], eax
sub dword [ebp - 4], eax
dec dword [ebp - 0xc]
jne 0x404b5e
mov dword [ebx], edi
pop edi
mov dword [ebx + 4], esi
pop esi
pop ebx
leave
ret 8