joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a277
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042933c
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 0x42a2ae
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.00429e89
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 0x42e139
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42e172
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042941d
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00404560
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42fee8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42ff2b
call fcn.0042933c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42ff2b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ff46
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042fa9f
test ebx, ebx
mov esi, eax
je 0x42ff44
test edi, edi
je 0x42ff44
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x431546
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4895f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x431586
push 0x473a74
push 4
push eax
call fcn.00450635
push eax
call fcn.0041c170
add esp, 0x10
jmp 0x431598
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x431606
push edi
call fcn.004500fa
mov edi, dword [eax]
call fcn.004500fa
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0044e6df
add esp, 0x18
mov ebx, eax
call fcn.004500fa
cmp dword [eax], 0
je 0x4315e6
call fcn.004500fa
push dword [eax]
call fcn.004284ef
pop ecx
jmp 0x4315ed
call fcn.004500fa
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x431606
cmp ebx, esi
jae 0x431606
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x431608
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ce74
leave
ret
Function at 0x433423
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x433469
call fcn.0042933c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x433469
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4334ac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x433495
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 0x433495
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4334a9
mov ecx, dword [esi + 0x4c]
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 0x44ce74
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4895f0]
jne 0x44ce7e
repz ret
jmp fcn.00454c4c
Function at 0x44deff
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 0x44df3c
cmp dword [ebp + 0x14], edi
je 0x44df3c
cmp ecx, edi
jne 0x44df43
call fcn.004500fa
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0044d9aa
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x44df57
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x44df78
cmp ebx, 0xffffffff
je 0x44df67
push ebx
push edi
push ecx
call fcn.0044cf00
add esp, 0xc
cmp esi, edi
je 0x44df24
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x44df24
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x44df94
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x44df9b
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x44e08c
test word [esi + 0xc], 0x10c
je 0x44dfef
mov eax, dword [esi + 4]
test eax, eax
je 0x44dfef
jl 0x44e0ed
cmp ebx, eax
mov edi, ebx
jb 0x44dfc0
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x44e094
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0044c9d7
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 0x44e084
cmp ebx, dword [ebp - 0xc]
jb 0x44e05c
cmp dword [ebp - 0xc], 0
je 0x44e019
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x44e00e
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x44e015
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x44e024
mov eax, SysReAllocString
cmp ebx, eax
ja 0x44e024
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x44e0c0
push eax
push dword [ebp - 8]
push esi
call fcn.00451fa9
pop ecx
push eax
call fcn.00456fb0
add esp, 0xc
test eax, eax
je 0x44e0ff
cmp eax, 0xffffffff
je 0x44e0ed
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x44e084
push esi
call fcn.004568cf
cmp eax, 0xffffffff
pop ecx
je 0x44e0f1
cmp dword [ebp - 4], 0
je 0x44e0c0
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 0x44dfa3
mov eax, dword [ebp + 0x14]
jmp 0x44df3e
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x44e0ab
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0044cf00
add esp, 0xc
call fcn.004500fa
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x44df34
cmp dword [ebp + 0xc], 0xffffffff
je 0x44e0d6
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0044cf00
add esp, 0xc
call fcn.004500fa
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x44df34
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x44df3e
or dword [esi + 0xc], 0x10
jmp 0x44e0f1
Function at 0x455ca3
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 + 0x48a0c0]
je 0x455cbe
inc edi
cmp edi, 0x17
jb 0x455caf
cmp edi, 0x17
jae 0x455e3e
push ebp
push 3
call fcn.0045cdbc
cmp eax, 1
pop ecx
je 0x455e0a
push 3
call fcn.0045cdbc
test eax, eax
pop ecx
jne 0x455cf2
cmp dword [0x489640], 1
je 0x455e0a
cmp ebx, 0xfc
je 0x455e3d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x48e438
push ebp
call fcn.00450635
add esp, 0xc
test eax, eax
je 0x455d28
push esi
push esi
push esi
push esi
push esi
call fcn.0044d8ae
add esp, 0x14
push 0x104
mov esi, 0x48e451
push esi
push 0
mov byte [0x48e555], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x455d6c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00450635
add esp, 0xc
test eax, eax
je 0x455d6c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0044d8ae
add esp, 0x14
push esi
call fcn.0044fed0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x455db1
push esi
call fcn.0044fed0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x48e74c
push 0x477994
sub ecx, eax
push ecx
push eax
call fcn.0045020b
add esp, 0x14
test eax, eax
je 0x455db1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0044d8ae
add esp, 0x14
jmp 0x455db3
xor esi, esi
push 0x477990
push ebx
push ebp
call fcn.00450721
add esp, 0xc
test eax, eax
je 0x455dd3
push esi
push esi
push esi
push esi
push esi
call fcn.0044d8ae
add esp, 0x14
push dword [edi*8 + 0x48a0c4]
push ebx
push ebp
call fcn.00450721
add esp, 0xc
test eax, eax
je 0x455df5
push esi
push esi
push esi
push esi
push esi
call fcn.0044d8ae
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0045cbff
add esp, 0xc
jmp 0x455e3d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x455e3d
cmp ebp, 0xffffffff
je 0x455e3d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x48a0c4]
push dword [esi]
call fcn.0044fed0
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 0x45cbff
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004545e9
xor ebx, ebx
cmp dword [0x48eaf0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45ccd5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45cdb5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x478b2c
push edi
call esi
cmp eax, ebx
je 0x45cdb5
push eax
call fcn.0045457b
mov dword [esp], 0x478b1c
push edi
mov dword [0x48eaf0], eax
call esi
push eax
call fcn.0045457b
mov dword [esp], 0x478b08
push edi
mov dword [0x48eaf4], eax
call esi
push eax
call fcn.0045457b
mov dword [0x48eaf8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004503c2
test eax, eax
pop ecx
pop ecx
je 0x45cca3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044d8ae
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45ccd5
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045457b
cmp eax, ebx
pop ecx
mov dword [0x48eb00], eax
je 0x45ccd5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045457b
pop ecx
mov dword [0x48eafc], eax
mov eax, dword [0x48eafc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45cd5a
cmp dword [0x48eb00], ecx
je 0x45cd5a
push eax
call fcn.004545f2
push dword [0x48eb00]
mov esi, eax
call fcn.004545f2
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45cd5a
cmp edi, ebx
je 0x45cd5a
call esi
cmp eax, ebx
je 0x45cd27
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45cd27
test byte [ebp - 0x18], 1
jne 0x45cd5a
lea eax, [ebp - 0x10]
push eax
call fcn.004503f9
test eax, eax
pop ecx
je 0x45cd42
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044d8ae
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45cd51
or dword [ebp + 0x10], 0x200000
jmp 0x45cd95
or dword [ebp + 0x10], 0x40000
jmp 0x45cd95
mov eax, dword [0x48eaf4]
cmp eax, dword [ebp - 8]
je 0x45cd95
push eax
call fcn.004545f2
cmp eax, ebx
pop ecx
je 0x45cd95
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45cd95
mov eax, dword [0x48eaf8]
cmp eax, dword [ebp - 8]
je 0x45cd95
push eax
call fcn.004545f2
cmp eax, ebx
pop ecx
je 0x45cd95
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48eaf0]
call fcn.004545f2
cmp eax, ebx
pop ecx
je 0x45cdb5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45cdb7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4615c9
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4895f0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0046155e
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.0044cf00
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 0x461618
cmp dword [ebp - 0x1c], 5
jb 0x461630
jmp 0x46162c
cmp dword [ebp - 0x10], 1
jne 0x461630
cmp dword [ebp - 0x1c], 4
ja 0x46162c
jne 0x461630
cmp dword [ebp - 0x18], 0
jbe 0x461630
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x479458
call fcn.0046144f
test eax, eax
jge 0x461651
mov byte [0x48c1a8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044ce74
add ebp, 0x78
leave
ret

Function at 0x4619a6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4619d3
call fcn.0045010d
mov dword [eax], esi
call fcn.004500fa
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0044d9aa
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4619af
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x461a02
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00450120
pop ecx
call fcn.004500fa
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x461a29
test al, 1
je 0x461a29
test byte [esp + 0xc], 2
je 0x461a29
call fcn.0045010d
mov dword [eax], 5
call fcn.004500fa
mov dword [eax], 0xd
jmp 0x4619f9
xor eax, eax
pop esi
ret

Function at 0x49e9dc
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1002a509
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10036780]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x1002bdd0
mov dword [esi + 0x20], 0x1002bdc0
mov eax, dword [esi + 0x28]
push eax
mov dword [esp + 0x24], 3
call dword [0x1002b030]
lea edi, [esi + 0x64]
push 0
mov ecx, edi
call fcn.0049848c
mov ecx, edi
mov byte [esp + 0x20], 2
call fcn.0049877c
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
lea edi, [esi + 0x58]
push eax
push edi
push ecx
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x34], 1
call fcn.0049cb0c
mov eax, dword [edi + 4]
push eax
call fcn.004a0428
add esp, 4
lea ecx, [esi + 0x30]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [esp + 0x20], 0
call fcn.0049821c
mov esi, dword [esi + 0x14]
test esi, esi
mov dword [esp + 0x20], 0xffffffff
je 0x49ea97
push esi
call fcn.0049fb1f
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4a1fed
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 0x4a202a
cmp dword [ebp + 0x14], edi
je 0x4a202a
cmp ecx, edi
jne 0x4a2031
call fcn.004a23b6
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004a1e9c
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4a2045
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4a2066
cmp ebx, 0xffffffff
je 0x4a2055
push ebx
push edi
push ecx
call fcn.004a165c
add esp, 0xc
cmp esi, edi
je 0x4a2012
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4a2012
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4a2082
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4a2089
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4a217a
test word [esi + 0xc], 0x10c
je 0x4a20dd
mov eax, dword [esi + 4]
test eax, eax
je 0x4a20dd
jl 0x4a21db
cmp ebx, eax
mov edi, ebx
jb 0x4a20ae
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4a2182
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004a0bb5
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 0x4a2172
cmp ebx, dword [ebp - 0xc]
jb 0x4a214a
cmp dword [ebp - 0xc], 0
je 0x4a2107
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4a20fc
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4a2103
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4a2112
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4a2112
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4a21ae
push eax
push dword [ebp - 8]
push esi
call fcn.004aa630
pop ecx
push eax
call fcn.004ab092
add esp, 0xc
test eax, eax
je 0x4a21ed
cmp eax, 0xffffffff
je 0x4a21db
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4a2172
push esi
call fcn.004aa9b1
cmp eax, 0xffffffff
pop ecx
je 0x4a21df
cmp dword [ebp - 4], 0
je 0x4a21ae
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 0x4a2091
mov eax, dword [ebp + 0x14]
jmp 0x4a202c
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4a2199
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004a165c
add esp, 0xc
call fcn.004a23b6
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4a2022
cmp dword [ebp + 0xc], 0xffffffff
je 0x4a21c4
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004a165c
add esp, 0xc
call fcn.004a23b6
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4a2022
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4a202c
or dword [esi + 0xc], 0x10
jmp 0x4a21df
Function at 0x4dff24
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x14f20
push 0x14ece
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
add ecx, dword [edx + 0x3c]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
movzx edx, word [eax + 0x14]
mov eax, dword [ecx + 0x3c]
add eax, edx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
lea eax, [eax + edx + 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
add edx, dword [eax + 0x78]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
add ecx, dword [edx + 0x80]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
add eax, dword [ecx + 0xa0]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x4e0013
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4b0353
Capabilities:
Packed with generic packer

Disassembly:
pop edi
jmp 0x4b07d7
cmp dword [ecx + 1], 0
jmp 0x4b0152
mov dword [0x4ec93e], ecx
jmp 0x4b047e
je 0x4b0a87
jmp 0x4b0c59
add dword [ebx], edx
jmp 0x4b0382
sub esp, 0x20
jmp 0x4b085d
push ebx
jmp 0x4b07ab
lea ebx, [edx + eax]
jmp 0x4b064a
push dword [ebp + 8]
jmp 0x4b09ae
push edi
jmp 0x4b0bf7
jne 0x4b0b98
jmp 0x4b0134
push dword [ebp - 0xc]
jmp 0x4b0397
pop ebx
jmp 0x4b0228
jne 0x4b0894
jmp 0x4b0ab7
leave
jmp 0x4b0491
push ebp
jmp 0x4b094a
call ecx
jmp section..text
cmp dl, 9
jmp 0x4b089f
popal
jmp 0x4b0953
jge 0x4b02db
cmp byte [ebx - 0x161766d3], ah
and al, 0xfe
invalid
jmp 0x4b0119
add ecx, 5
jmp 0x4b0038
call 0x4b035a
jge 0x4b02e9
xchg dword [esp], edx
lea edx, [edx + 0x4c2]
xchg dword [esp], edx
jmp 0x4b081a
mov ebx, dword [ebp - 8]
jmp 0x4b06c5
add ecx, eax
jmp 0x4b041d
push dword [ebp - 0x10]
jmp 0x4b0069
mov ecx, dword [esi + 0x52]
jmp 0x4b07a2
ret 4
je 0x4b0a87
jmp 0x4b02d1
add edx, eax
jmp 0x4b0102
jmp 0x4b02f5
add ecx, eax
jmp 0x4b02a6
push esp
jmp 0x4b0b73
push edi
jmp 0x4b0763
push esi
jmp 0x4b013d
add dword [edx], ebx
jmp 0x4b02f5
pop esi
jmp 0x4b0177
pushal
jmp 0x4b0775
mov edx, dword [ecx + 1]
jmp 0x4b012b
cmp dword [0x4ec93a], 0
jmp 0x4b01a5
push dword [ebp + 8]
jmp 0x4b0ca8
je 0x4b0a87
jmp 0x4b0c35
mov ebp, esp
jmp 0x4b010d
ret 8
mov ecx, dword [esi + 0x28]
jmp 0x4b015d
add byte [eax], al
push edx
ror byte [ebx + 0x3ce99014], 1
cli
invalid
mov edx, dword [ecx + 1]
jp 0x4b0aad
jnp 0x4b0aad
out 0x25, al
jb 0x4b0a12
cmp dl, 2
jmp 0x4b05eb
cli
add ch, cl
push edx
sti
invalid
add edx, eax
jmp 0x4b07cd
mov dword [0x4ec93a], 1
jmp 0x4b02f0
call 0x4b0ada
fiadd dword [edi - 0x6472dbe4]
popfd
add dword [eax], eax
add byte [edi - 0x7416dbe4], al
add dword [eax], eax
add bh, bl
int 0xf2
jne 0x4b02f5
jmp 0x4b0851
call 0x4b0b79
xchg dword gs:[esp], eax
lea eax, [eax - 0x20a]
xchg dword [esp], eax
jmp 0x4b0270
mov dl, byte [ecx]
jmp 0x4b0a91
call 0x4b0bfe
push ds
xchg edx, eax
xchg dword [esp], ebp
lea ebp, [ebp - 0xb14]
xchg dword [esp], ebp
jmp 0x4b0ad4
cmp dl, 3
jmp 0x4b0095
cmp dl, 0xf
jmp 0x4b0aee
call dword [0x4ec93e]
jmp 0x4b0119