joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463a76
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00458333
xor ebx, ebx
cmp dword [0x48c6b4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x463b4b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x463ab6
xor eax, eax
jmp 0x463c0f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x473434
push edi
call esi
cmp eax, ebx
je 0x463aaf
push eax
call fcn.004582d0
mov dword [esp], 0x473424
push edi
mov dword [0x48c6b4], eax
call esi
push eax
call fcn.004582d0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48c6b8], eax
call esi
push eax
call fcn.004582d0
mov dword [0x48c6bc], eax
lea eax, [ebp - 8]
push eax
call fcn.0045982c
test eax, eax
pop ecx
pop ecx
je 0x463b19
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004542e2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x463b4b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004582d0
cmp eax, ebx
pop ecx
mov dword [0x48c6c4], eax
je 0x463b4b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004582d0
pop ecx
mov dword [0x48c6c0], eax
mov eax, dword [0x48c6c0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x463bc4
cmp dword [0x48c6c4], esi
je 0x463bc4
push eax
call fcn.0045833c
pop ecx
call eax
cmp eax, ebx
je 0x463b91
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x48c6c4]
call fcn.0045833c
pop ecx
call eax
test eax, eax
je 0x463b91
test byte [ebp - 0x18], 1
jne 0x463bc4
lea eax, [ebp - 0xc]
push eax
call fcn.00459863
test eax, eax
pop ecx
je 0x463bac
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004542e2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x463bbb
or dword [ebp + 0x10], 0x200000
jmp 0x463bf5
or dword [ebp + 0x10], 0x40000
jmp 0x463bf5
mov eax, dword [0x48c6b8]
cmp eax, esi
je 0x463bf5
push eax
call fcn.0045833c
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x463bf5
mov eax, dword [0x48c6bc]
cmp eax, esi
je 0x463bf5
push dword [ebp - 4]
push eax
call fcn.0045833c
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x48c6b4]
call fcn.0045833c
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x22c26bba
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x65db3f44
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813030]
jne 0x401116
repz ret
jmp fcn.00401b11

Function at 0x408edc
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.004047d5
and dword [ebp - 4], 0
cmp dword [0x81578c], 0
mov ebx, eax
jne 0x408f8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40903e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40903e
push eax
call fcn.00404763
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x81578c], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x815790], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x815794], eax
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x81579c], eax
test eax, eax
je 0x408f8d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x815798], eax
mov eax, dword [0x815798]
cmp eax, ebx
je 0x408fe5
cmp dword [0x81579c], ebx
je 0x408fe5
push eax
call fcn.004047de
push dword [0x81579c]
mov esi, eax
call fcn.004047de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408fe5
test edi, edi
je 0x408fe5
call esi
test eax, eax
je 0x408fdc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408fdc
test byte [ebp - 0xc], 1
jne 0x408fe5
or dword [ebp + 0x10], 0x200000
jmp 0x40901e
mov eax, dword [0x815790]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40901e
mov eax, dword [0x815794]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81578c]
call fcn.004047de
pop ecx
test eax, eax
je 0x40903e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409040
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b2d0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x813030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ece1cc]
push ebx
mov ebx, dword [0x2ecdeec]
push esi
mov esi, dword [0x813f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b311
push str.duxafodaz
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ece1cc]
mov dword [0x2ecdee8], esi
cmp eax, 0x114e
jne 0x40b336
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [0x2ece1cc]
cmp eax, 0x2f
jne 0x40b364
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push edi
push ebx
call fcn.0040b170
mov ecx, dword [esp + 0x438]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x4170ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416f21
Function at 0x1005bdf3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1005be02
pop dword [ebp - 0x34]
mov eax, 0xca061dd5
add eax, 0x45ffa02d
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x4554d
push 0
mov eax, 0xa542184b
sub eax, 0x953a972f
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x50d5
xor ebx, ebx
add ebx, eax
mov esi, 0x10187200
add esi, dword [ebp - 0x34]
mov edi, 0x5d1831f8
add dword [ebp - 8], ecx
mov edx, dword [esi]
xor dword [ebp - 0x10], 0xf21c97aa
xor edx, edi
mov dword [ebx], edx
add dword [ebp - 0xc], eax
add ebx, 0x6a23de82
sub ebx, 0x6a23de7e
add esi, 0x776d61d0
sub esi, 0x776d61cc
loop 0x1005be51
add eax, 0x40eb8f0e
add eax, 0xbf15a719
xor ebx, ebx
add ebx, eax
add eax, 0x6196f080
add eax, 0x9e690f85
mov ecx, 0x10000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x10071ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x10071f6b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x10071f22
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x10071f22
cmp esi, ebx
jge 0x10071f22
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10071f65
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10071f65
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x10071f7d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x100721a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x100721c8
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x100721e2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1005bdf3
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.100762d0
leave
ret 4

Function at 0x100723b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x100723e6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10072445
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1005bdf3
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1005bdf3
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.1005bdf3
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100762d0
leave
ret 0x10
Function at 0x10072460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007248c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x100724bd
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100724bb
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1005bdf3
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x100724bd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100762d0
leave
ret 8
Function at 0x40b3f4
Capabilities:
Read file on windows
Terminate process

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x200
push ebx
push ebp
push esi
push edi
push 0xa
push 0x41a274
mov byte [eax], 0
call fcn.0040be80
add esp, 8
test eax, eax
jne 0x40b4bf
mov eax, dword [esp + 0x214]
test eax, eax
jne 0x40b3f4
call fcn.0040a8d0
test eax, eax
je 0x40b3d1
mov ebx, 4
mov edx, dword [0x418738]
lea ecx, [esp + 0x10]
push 0x200
push ecx
push edx
call fcn.00411436
add esp, 4
push eax
call fcn.0041143e
mov edx, eax
add esp, 0xc
test edx, edx
jge 0x40b35b
cmp dword [0x4649f0], ebx
je 0x40b329
test edx, edx
jne 0x40b380
mov eax, dword [0x418738]
cmp eax, 0x417080
je 0x40b372
push eax
call fcn.0040c645
add esp, 4
mov dword [0x418738], 0x417080
xor ebx, ebx
jmp 0x40b3be
jge 0x40b389
push 1
call fcn.0040bd6c
mov edi, 0x41a274
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
mov ecx, edx
add eax, 0x41a274
mov ebx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + edx], 0
push 0xa
push 0x41a274
call fcn.0040be80
add esp, 8
test eax, eax
jne 0x40b3de
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x200
ret
test bl, bl
jne 0x40b4bf
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x200
ret
push 0xa
push 0x41a274
call fcn.0040be80
add esp, 8
test eax, eax
jne 0x40b4bf
mov ebx, 4
mov ecx, dword [0x418738]
lea eax, [esp + 0x10]
push 0x200
push eax
push ecx
call fcn.00411436
add esp, 4
push eax
call fcn.0041143e
mov edx, eax
add esp, 0xc
test edx, edx
jge 0x40b442
cmp dword [0x4649f0], ebx
je 0x40b410
test edx, edx
je 0x40b48b
jl 0x40b4b8
mov edi, 0x41a274
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xa
mov eax, ecx
mov ecx, edx
add eax, 0x41a274
mov ebp, ecx
mov edi, eax
push 0x41a274
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + edx], 0
call fcn.0040be80
add esp, 8
test eax, eax
jne 0x40b4bf
jmp 0x40b410
mov eax, dword [0x418738]
cmp eax, 0x417080
je 0x40b4a0
push eax
call fcn.0040c645
add esp, 4
pop edi
pop esi
pop ebp
mov dword [0x418738], 0x417080
or eax, 0xffffffff
pop ebx
add esp, 0x200
ret
push 1
call fcn.0040bd6c
push 0xa
push 0x41a274
call fcn.0040be80
mov ebx, eax
push 0xd
push 0x41a274
mov byte [ebx], 0
call fcn.0040be80
add esp, 0x10
test eax, eax
je 0x40b4e6
mov byte [eax], 0x20
mov edi, 0x41a274
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebx + 1]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 0x41a274
call fcn.0040c310
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret
Function at 0x41b4e7
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.0040f8ba
and dword [ebp - 4], 0
cmp dword [0x4346f0], 0
mov ebx, eax
jne 0x41b598
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41b649
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41b649
push eax
call fcn.0040f848
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4346f0], eax
call esi
push eax
call fcn.0040f848
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4346f4], eax
call esi
push eax
call fcn.0040f848
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4346f8], eax
call esi
push eax
call fcn.0040f848
pop ecx
mov dword [0x434700], eax
test eax, eax
je 0x41b598
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040f848
pop ecx
mov dword [0x4346fc], eax
mov eax, dword [0x4346fc]
cmp eax, ebx
je 0x41b5f0
cmp dword [0x434700], ebx
je 0x41b5f0
push eax
call fcn.0040f8c3
push dword [0x434700]
mov esi, eax
call fcn.0040f8c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41b5f0
test edi, edi
je 0x41b5f0
call esi
test eax, eax
je 0x41b5e7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41b5e7
test byte [ebp - 0xc], 1
jne 0x41b5f0
or dword [ebp + 0x10], 0x200000
jmp 0x41b629
mov eax, dword [0x4346f4]
cmp eax, ebx
je 0x41b629
push eax
call fcn.0040f8c3
pop ecx
test eax, eax
je 0x41b629
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41b629
mov eax, dword [0x4346f8]
cmp eax, ebx
je 0x41b629
push eax
call fcn.0040f8c3
pop ecx
test eax, eax
je 0x41b629
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4346f0]
call fcn.0040f8c3
pop ecx
test eax, eax
je 0x41b649
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41b64b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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 0x44b682
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx], ch
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x44b6da
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x44b6df
jmp 0x44b032
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
dec dword [ecx - 0x3a37b]
inc dword [ebx - 0x3a343]
inc dword [eax]
je 0x44b726
lea eax, [ebp - 0x714]
push eax
call fcn.004496a0
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00449655
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x44b731
jmp 0x44b736
jmp 0x44b032
cmp dword [ebp - 0x37c], 0
jne 0x44b7e0
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0044986c
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x44b7cc
lea eax, [ebp - 0x714]
push eax
call fcn.004496a0
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.00449735
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4022a0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x4022eb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x4022e4
test esi, esi
je 0x4022e4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4022c0
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4024d0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4025f8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40255e
cmp eax, 4
jne 0x402580
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40256e
cmp edx, 4
je 0x40256e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004024d0

Function at 0x43b640
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
mov ebx, 0x60f82a68
call fcn.0043b669
or ecx, ebx
xor dword [edx], edi
sub ecx, ebx
inc edx
and ebx, ecx
cmp edx, esi
jne fcn.0043b640
inc ebx
mov ecx, ecx
add ecx, ebx
ret