joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f0e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e64
xor eax, eax
push ebp
push 0x44f21d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x44f189
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x44f238
mov edx, dword [ebp - 4]
call fcn.00403cfc
lea eax, [ebp - 0x102]
mov cl, 0x20
mov edx, 0xfa
call fcn.00402abc
mov byte [ebp - 9], 0
lea eax, [ebp - 0x102]
push eax
push 0
lea eax, [ebp - 8]
call fcn.00403e80
push eax
call sub.shell32.dll_FindExecutableA
cmp eax, 0x20
ja 0x44f16c
lea eax, [ebp - 8]
call fcn.00403a30
jmp 0x44f17f
lea eax, [ebp - 8]
lea edx, [ebp - 0x102]
mov ecx, 0xfa
call fcn.00403b18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f19b
cmp dword [ebp - 8], 0
je 0x44f1ad
mov eax, dword [ebp - 8]
call fcn.004080cc
test al, al
jne 0x44f1d5
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403e74
push eax
push 0x44f23c
mov eax, dword [0x4548d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
jmp 0x44f202
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00403e74
push eax
mov eax, dword [ebp - 8]
call fcn.00403e74
push eax
push 0x44f23c
mov eax, dword [0x4548d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f224
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a54
ret
Function at 0x7987c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x69f015
lea edi, [esi - 0x29e015]
push edi
or ebp, 0xffffffff
jmp 0x7987e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7987e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7987d8
mov eax, 1
add ebx, ebx
jne 0x7987fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x79880c
jne 0x79882b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x79882b
dec eax
add ebx, ebx
jne 0x798818
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7987f0
add ebx, ebx
jne 0x798827
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x79887d
xor ecx, ecx
sub eax, 3
jb 0x798843
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7988b2
sar eax, 1
mov ebp, eax
jmp 0x79884e
add ebx, ebx
jne 0x79884e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x79881c
inc ecx
add ebx, ebx
jne 0x79885c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x79881c
add ebx, ebx
jne 0x798869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x79885e
jne 0x79887a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x79885e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x79889c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x79888e
jmp 0x7987de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x79889c
add edi, ecx
jmp 0x7987de
pop esi
mov edi, esi
mov ecx, 0x43bf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7988ba
cmp byte [edi], 0xa
jne 0x7988ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7988bf
lea edi, [esi + 0x393000]
mov eax, dword [edi]
or eax, eax
je 0x79892e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x40202c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4020e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7988ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4020e4]
or eax, eax
je 0x798928
mov dword [ebx], eax
add ebx, 4
jmp 0x798909
call dword [esi + 0x4020f4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x79895f
cmp al, 0xef
ja 0x798952
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x798934
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x798941
mov ebp, dword [esi + 0x4020e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x3989ba]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7989ab
sub esp, 0xffffff80
jmp 0x4013f0
Function at 0x4062b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80fd6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404584
call fcn.00406f11
push 4
mov dword [esp + 0x18], 0
call fcn.00407db6
mov edi, eax
add esp, 4
test edi, edi
je 0x406324
push ebx
call fcn.00406de9
mov dword [edi], eax
call fcn.00406ba8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406ed2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406318
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406efa
pop ebx
jmp 0x406326
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408821
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813520]
jne 0x40882b
repz ret
jmp fcn.0040cf7c
Function at 0x411bc2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813520]
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.0040af21
and dword [ebp - 0x14], 0
cmp dword [0x816374], 0
mov dword [ebp - 0x18], eax
jne 0x411c75
push 0x403944
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je GetTimeZoneInformation
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403938
push ebx
call edi
test eax, eax
je 0x411d1d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403928
push ebx
mov dword [0x816374], eax
call edi
push eax
call esi
push 0x403914
push ebx
mov dword [0x816378], eax
call edi
push eax
call esi
push 0x4038f8
push ebx
mov dword [0x81637c], eax
call edi
push eax
call esi
mov dword [0x816384], eax
test eax, eax
je 0x411c75
push GetPrivateProfileIntW
push ebx
call edi
push eax
call esi
mov dword [0x816380], eax
mov eax, dword [0x816380]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je reloc.KERNEL32.dll_GetCurrentDirectoryW
cmp dword [0x816384], ecx
je reloc.KERNEL32.dll_GetCurrentDirectoryW
push eax
call esi
push dword [GetConsoleAliasesW]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je reloc.KERNEL32.dll_GetCurrentDirectoryW
test ebx, ebx
je reloc.KERNEL32.dll_GetCurrentDirectoryW
call edi
test eax, eax
je 0x411cc5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je GetLastError
test byte [ebp - 8], 1
jne reloc.KERNEL32.dll_GetCurrentDirectoryW
or dword [ebp + 0x10], 0x200000
jmp 0x411d01
mov eax, dword [0x816378]
cmp eax, dword [ebp - 0x18]
je 0x411d01
push eax
call esi
test eax, eax
je 0x411d01
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je ReadConsoleOutputCharacterA
mov eax, dword [0x81637c]
cmp eax, dword [ebp - 0x18]
je 0x411d01
push eax
call esi
test eax, eax
je 0x411d01
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [GetProcAddress]
call esi
test eax, eax
je 0x411d1d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411d1f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408821
leave
ret
Function at 0x80e8e0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9b100], 0x37
jne 0x80e978
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404110
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404148
push 0x4041c0
push 0x4041e8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9b104]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81b164]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x80ebc0
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9b100]
sub esp, 0x574
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x81b164]
cmp eax, ebx
jbe 0x80eda8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80ebf6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9b100], 0x1c
jne 0x80ec0d
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x814700]
mov eax, dword [0x814704]
mov esi, dword [edi]
mov ebp, dword [0x814708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81470c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80ec4a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0xb9a084], ebx
mov eax, dword [esp + 0x18]
add dword [0xb9a084], eax
mov edx, dword [0xb9a084]
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0xb9b100], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80ece4
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x34]
cmp dword [0xb9b100], 0x979
mov dword [0xb9a088], 0xff6b3619
mov dword [0xb9a08c], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80ed2b
push 0
lea eax, [esp + 0x184]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0xb9b100]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x80ed4d
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80ec48
cmp eax, 0x8d4
jne 0x80ed64
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], ecx
cmp dword [0xb9b100], 0x17
jne 0x80ed97
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80ebf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x574
ret
Function at 0x402ca8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x446008], 0x8088405
inc edx
mov dword [ebx + 0x446008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x43e154
Capabilities:
Parse pe header

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffeb8
push ebx
push esi
push edi
push eax
pop esi
mov byte [ebp - 1], 0
sub ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.004044e4
push eax
call fcn.004062b8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cdq
cmp edx, 0
jne 0x43e1a1
cmp eax, 0xffffffff
jne 0x43e1a1
mov byte [ebp - 1], 1
jmp 0x43e31e
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43e1d0
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x4e]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004064a0
test eax, eax
je 0x43e1d0
mov bl, 1
test bl, bl
jne 0x43e1dd
mov byte [ebp - 1], 1
jmp 0x43e31e
xor ebx, ebx
cmp word [ebp - 0x4e], 0x5a4d
je 0x43e1ed
cmp dword [ebp - 8], 0x40
jne 0x43e23f
push 0
push 0
mov eax, dword [ebp - 0x12]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43e23f
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x146]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004064a0
test eax, eax
je 0x43e23f
mov eax, dword [ebp - 0x146]
cmp eax, 0x4550
je 0x43e23d
cmp eax, 0x454e
je 0x43e23d
cmp eax, 0x454c
jne 0x43e23f
mov bl, 1
test bl, bl
je 0x43e315
xor eax, eax
push ebp
push 0x43e30b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043e0ac
mov dword [ebp - 0x13e], eax
call fcn.00402ab0
nop
push 9
nop
pop eax
call fcn.00402ca8
mov word [ebp - 0x102], ax
nop
push 9
nop
pop eax
call fcn.00402ca8
mov word [ebp - 0x100], ax
push 0
push 0
mov eax, dword [ebp - 0x12]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43e2c1
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x146]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004064e8
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp word [ebp - 0x4e], 0x5a4d
je 0x43e301
mov word [ebp - 0xe], 0x5a4d
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43e301
push 0
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 0xe]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004064e8
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43e315
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406290
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e5bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
push edx
pop edi
mov dword [ebp - 4], eax
sub eax, eax
push ebp
push 0x43e636
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
pop eax
call fcn.00404024
mov eax, dword [ebp - 4]
call fcn.004042e4
mov esi, eax
or esi, esi
jle 0x43e620
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov bl, byte [eax + edx - 1]
xor bl, 0xa
lea eax, [ebp - 0xc]
push ebx
pop edx
call fcn.0040420c
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004042ec
inc dword [ebp - 8]
dec esi
jne 0x43e5f9
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e63d
lea eax, [ebp - 0xc]
call fcn.00404024
ret

Function at 0x43f894
Capabilities:
Parse pe header

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x150], ebx
push ecx
pop esi
mov dword [ebp - 4], edx
push eax
pop ebx
mov edi, dword [ebp + 8]
sub eax, eax
push ebp
push 0x43fa20
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dword [esi], 2
mov eax, edi
call fcn.00404024
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
pop eax
call fcn.004044e4
push eax
call fcn.004062b8
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43fa02
push 0
push 0
push 0
push ebx
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43f9fc
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.004064a0
or eax, eax
je 0x43f9fc
cmp word [ebp - 0x50], 0x5a4d
jne 0x43f9fc
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push ebx
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43f9fc
push 0
lea eax, [ebp - 0xc]
push eax
push 0xf8
lea eax, [ebp - 0x148]
push eax
push ebx
call fcn.004064a0
test eax, eax
je 0x43f9fc
cmp dword [ebp - 0x148], 0x4550
jne 0x43f9fc
mov eax, dword [ebp - 0x140]
xor eax, 0x50485e00
xor eax, dword [ebp - 0x120]
movzx edx, word [ebp - 0x142]
xor eax, edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 2
jne 0x43f9af
call fcn.0043c774
add eax, 0x7c6
xor dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jle 0x43f9c9
cmp dword [ebp - 0x10], 0x7a120
jge 0x43f9c9
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov byte [ebp - 5], 1
jmp 0x43f9fc
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x10]
call fcn.00407a8c
mov eax, dword [ebp - 0x14c]
push eax
lea edx, [ebp - 0x150]
mov eax, 0x43fa3c
call fcn.0043e5bc
mov edx, dword [ebp - 0x150]
mov eax, edi
pop ecx
call fcn.00404330
push ebx
call fcn.00406290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fa27
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00404048
ret
Function at 0x43fa6c
Capabilities:
Parse pe header

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x43fc2a
push dword fs:[eax]
mov dword fs:[eax], esp
sub ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.004044e4
push eax
call fcn.004062b8
mov esi, eax
cmp esi, 0xffffffff
je 0x43fc0e
push 0
push 0
push 0
push esi
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43fc08
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.004064a0
or eax, eax
je 0x43fc08
cmp word [ebp - 0x4c], 0x5a4d
jne 0x43fc08
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push esi
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43fc08
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push esi
call fcn.004064a0
test eax, eax
je 0x43fc08
cmp dword [ebp - 0x144], 0x4550
jne 0x43fc08
call fcn.00406380
add eax, 0x7c6
xor eax, dword [ebp - 0x13c]
mov dword [ebp - 0x13c], eax
call fcn.00402ab0
nop
push 9
nop
pop eax
call fcn.00402ca8
mov word [ebp - 0x100], ax
nop
push 9
nop
pop eax
call fcn.00402ca8
mov word [ebp - 0xfe], ax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push esi
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43fbac
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push esi
call fcn.004064e8
cmp eax, 1
sbb ebx, ebx
inc ebx
cmp byte [ebp - 1], 0
je 0x43fc08
mov eax, 0x200
call fcn.00402ca8
mov edi, eax
shl edi, 4
or edi, edi
jle 0x43fc08
push 2
push 0
push 0
push esi
call fcn.004064c8
cmp eax, 0xffffffff
je 0x43fc08
push edi
lea eax, [ebp - 0xc]
nop
nop
push 1
pop ecx
mov edx, dword [0x43fa48]
call fcn.004053ac
add esp, 4
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.00406574
push 0
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push esi
call fcn.004064e8
push esi
call fcn.00406290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fc31
lea eax, [ebp - 0xc]
mov edx, dword [0x43fa48]
call fcn.004053b8
ret

Function at 0x442670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push ecx
pop edi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4426ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404024
mov eax, dword [ebp - 4]
call fcn.004042e4
push eax
pop esi
or esi, esi
jle 0x4426d7
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov bl, byte [eax + edx - 1]
xor bl, byte [ebp - 5]
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040420c
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.004042ec
inc dword [ebp - 0xc]
dec esi
jne 0x4426b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4426f4
lea eax, [ebp - 0x10]
call fcn.00404024
ret
Function at 0x42e003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x7e261eb
nop
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x21d04a33
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219