joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467d35
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x475038
cmp edx, dword [eax]
je 0x467d57
add eax, 8
inc ecx
cmp eax, 0x4750c8
jl 0x467d48
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x475038]
jne 0x467e85
mov eax, dword [0x87d8f8]
cmp eax, 1
je 0x467e5f
test eax, eax
jne 0x467d88
cmp dword [0x474b7c], 1
je 0x467e5f
cmp edx, 0xfc
je 0x467e85
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x467dbf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00465f50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00465a50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x467e02
lea eax, [ebp - 0x1a4]
push eax
call fcn.00465a50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x46cd58
push edi
call fcn.00461210
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00465f50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00465f60
lea eax, [ebp - 0xa0]
push 0x46cd38
push eax
call fcn.00465f60
push dword [esi + 0x47503c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00465f60
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0046a893
add esp, 0x2c
pop edi
jmp 0x467e85
lea eax, [ebp + 8]
lea esi, [esi + 0x47503c]
push 0
push eax
push dword [esi]
call fcn.00465a50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x411ee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
jmp 0x411efa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411ef0
mov eax, 1
add ebx, ebx
jne 0x411f13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411f08
jne 0x411f24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411f08
xor ecx, ecx
sub eax, 3
jb 0x411f38
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411faa
mov ebp, eax
add ebx, ebx
jne 0x411f43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411f50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411f74
inc ecx
add ebx, ebx
jne 0x411f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411f55
jne 0x411f71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411f55
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411f94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411f85
jmp 0x411ef6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411f94
add edi, ecx
jmp 0x411ef6
pop esi
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411ffc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14330]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x143ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411fb1
mov ecx, edi
jns 0x411fe0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x143f4]
or eax, eax
je 0x411ff6
mov dword [ebx], eax
add ebx, 4
jmp 0x411fce
call dword [esi + 0x143f0]
mov ebp, dword [esi + 0x143f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412030
sub esp, 0xffffff80
jmp 0x403956
Function at 0x44a010
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [sym.imp.USER32.dll_GetKeyboardType]
push 1
mov edi, eax
call ebx
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [esp + 0xc]
mov edi, eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x84feb0
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 0
call ebx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test edi, edi
je 0x44a08f
mov edx, dword [0x64fd60]
push 0x64fa78
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalVegaPlagiatus
push 0
lea eax, [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
pop edi
pop esi
mov dword [0x64fd5c], eax
pop ebx
add esp, 0x14
ret

Function at 0x56e77d
Capabilities:
Encode data using xor

Disassembly:
and eax, 0xb60fd251
xor dword [edi + 0x3e], 0xa4f84a8b
inc ecx
cmpsb byte [esi], byte es:[edi]
dec ebp
inc eax
jecxz 0x56e72f
jle 0x56e795
xor al, 0xb
jno 0x56e7a2
je 0x56e7cd
add ah, byte [ecx]
in al, 0x6c
les eax, [eax]
push ecx
and eax, 0xf764f566
and edx, dword [ecx - 0x460b4a4f]
pop edx
jecxz 0x56e72f
xchg ecx, eax
mov cl, 0xb5
hlt
push esp
imul eax, dword [ebx + 0x5b], 0xffffffcb
cmc
leave
add byte [ebx], bl
test ecx, eax
cmc
xor al, 0xe5
sbb byte [esi - 0x1c], dl
pop edi
xor byte [ebp + edi*8 - 0x456f6d29], 0xd1
aad 0xe6
adc byte [ebx - 0x56], al
mov al, byte [0xc835344e]
lea edx, [esp + edx*2 - 0x3d]
out dx, eax
loopne 0x56e7ac
xor al, 0x75
invalid
xor al, 0xa
loopne 0x56e77a
inc esp
aam 0xa7
rep movsd dword es:[edi], dword [esi]
or esi, dword [ebp + esi*8 - 9]
adc ebx, edi
div ebp
adc eax, 0x24f13423
xor byte [edi], 0x1f
xor al, 0x27
pop ds
mov edx, 0x26af3c3
int1
or esi, dword [eax]
add eax, dword [edi + 0x33c928d]
scasd eax, dword es:[edi]
inc ebp
sar cl, cl
stosd dword es:[edi], eax
dec eax
cmp dword [edi], edi
lodsd eax, dword [esi]
fild word [ebp + 0x6d5bd2dc]
ja 0x56e7cc
leave
stosd dword es:[edi], eax
mov ch, 0x12
jns 0x56e83d
dec ebx
pop eax
or ecx, dword [ebp + ebx*8 - 0xd]
rol dword [edx - 0x63], 0xda
jne 0x56e85a
dec ebx
cmpsb byte [esi], byte es:[edi]
or al, 0xc8
jge 0x56e883
lds esi, [ebx]
pop ss
enter 0x2c6a, 0x65
sal byte [edi + 0x4c709148], 4
sal byte [edi], 1
aas
shr byte [esi], cl
and byte [eax], 1
out dx, al
lds esp, [ebx + 0x4bcdb024]
dec ebx
and al, 0xcf
call 0x14be8623
enter 0x84, 0x32
xor dword [ecx - 0x3f67dbf1], 0xf8d55e65
xchg ebp, eax
and al, 0xe9
ret 0xed77
into
adc al, 0x89
xchg ebp, eax
pushal
aad 0x54
lcall 0x1447, 0x1772cb5a
enter 0x241b, 0x34
push 0xea75b42d
inc edx
test eax, 0xebc0550b
and dh, byte [edi]
and esi, edx
pop esp
cdq
fimul word [ebx + 8]
and eax, 0x4e5e97d4
pop esi
dec esi
retf 0xab73
Function at 0x4022e0
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push dword [0x40374f]
call dword [sym.imp.pdh.dll_PdhCloseQuery]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x40230e
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401775], eax
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x16142e03
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2a976c25
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x401440
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x43601c
push 0x80000002
call dword [0x43882c]
test eax, eax
jne 0x40146c
mov eax, 0xd903
jmp 0x401516
mov dword [0x438824], 0x24e1
mov ecx, dword [0x438824]
sub ecx, 0x24e1
mov dword [0x438824], ecx
mov edx, 1
test edx, edx
je 0x401516
mov eax, dword [0x438824]
cmp eax, dword [ebp + 0xc]
jb 0x4014a1
jmp 0x401516
jmp 0x45cad8
mov esp, ebp
pop ebp
ret

Function at 0x401a60
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebp
pop dword [0x438810]
push dword [0x438810]
push 0x401a7b
jmp loc.0045bd6c
Function at 0x40164e
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x2db682c]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2db6784]
test esi, esi
je 0x401694
push ebx
xor ebx, ebx
cmp eax, 0x959
jne 0x40167f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, edi
call fcn.004014f2
add edi, 8
dec esi
je 0x401693
mov eax, dword [0x2db682c]
jmp 0x401667
pop ebx
pop edi
pop esi
ret 4
Function at 0x40d069
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a36c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00404ed5
mov dword [ebp - 0x14], eax
cmp dword [0x4bcee0], esi
jne 0x40d15c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d0e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d23c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d23c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d23c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4bcee0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4bcee4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4bcee8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4bcef0], eax
test eax, eax
je 0x40d159
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4bceec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d181
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d174
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d196
push 4
pop eax
jmp 0x40d23e
cmp dword [ebp - 0x14], esi
je 0x40d196
push dword [0x4bcee0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d17b
mov eax, dword [0x4bceec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d1f4
cmp dword [0x4bcef0], edi
je 0x40d1f4
push eax
call ebx
push dword [0x4bcef0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d1f4
test eax, eax
je 0x40d1f4
call ecx
test eax, eax
je 0x40d1e9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d1e9
test byte [ebp - 8], 1
jne 0x40d1f4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d224
mov eax, dword [0x4bcee4]
cmp eax, edi
je 0x40d221
push eax
call ebx
test eax, eax
je 0x40d221
call eax
mov esi, eax
test esi, esi
je 0x40d221
mov eax, dword [0x4bcee8]
cmp eax, edi
je 0x40d221
push eax
call ebx
test eax, eax
je 0x40d221
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4bcee0]
call ebx
test eax, eax
je 0x40d23c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d23e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040415b
mov esp, ebp
pop ebp
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xe4e008], 0x8088405
inc edx
mov dword [ebx + 0xe4e008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0xe3254a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe32551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0xe338af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0xe50348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0xe50348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0xe4f178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe338b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x709560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x18]
je fcn.007018e7
stc
and si, 0x4a9
mov esi, dword [eax + 0x3c]
movzx dx, al
pushal
ror dx, 8
add esi, eax
pushal
pop edx
rol dx, cl
movsx edx, dl
mov edx, dword [esi + 0x78]
cmc
clc
call fcn.00704a28
xchg ebx, eax
sub ebp, esp
mov ah, 0x24
add byte [ecx - 0x5e966c08], cl
sub eax, edi
sahf
wait
or dword [edx + 0x788002ce], edi
enter 0xffffffffffffd228, 0x53
sub al, 0xd0
jp 0x703d15
and byte [ecx - 0x1573e972], bh
mov bh, 0xe8
aad 0xf8
jmp 0x703d9a
rcr byte [edx - 0x1a], 0x4a
invalid
bt di, 1
push ebp
inc ax
mov ebp, esp
rcr ax, cl
aas
sub esp, 0x18
and ah, ch
movsx ax, dl
pushal
shrd ax, cx, cl
mov dword [esp + 0x1c], esi
pop eax
sub eax, esp
aas
mov dword [esp + 0x14], edi
rcr ax, cl
or al, 0xdd
shr ah, cl
sar eax, cl
mov dword [esp + 0x10], ebx
bsr eax, ebx
mov dword [esp + 0xc], edx
movzx ax, al
rcr ax, cl
bsf ax, si
mov eax, dword [ebp + 8]
stc
test ecx, ebp
test al, 0x1c
stc
test eax, eax
push dword [esp + 4]
pushfd
push 0x64908353
jmp 0x703cfe

Function at 0x9a21d9
Capabilities:
Encode data using xor

Disassembly:
je 0x70ec0f
pushfd
cmp bp, 0xc58e
cmp ebx, 2
jmp 0x70d011
pushfd
lea esp, [esp + 8]
je 0x6fee05
bt si, bp
cmp sp, di
pushfd
call fcn.0070ae25
push ebp
popfd
add bl, byte [esi - 0x7476ff90]
cmp dword [ecx + 0x7d02a379], ebp
popfd
ret
jmp 0x7089d0
lea esp, [esp + 0x2c]
je 0x9a495e
xor cl, 0x31
bsf ax, sp
sub ebx, ebx
btc ax, 2
daa
setge cl
rol cx, cl
mov dword [ebp - 4], ebx
sbb cl, 0xdb
mov eax, edx
bsf cx, ax
cmp ch, 0xfc
rol cx, 1
pushal
shr eax, 0x10
or cl, 0x56
shld cx, cx, cl
mov ecx, dword [esi + 4]
bt si, 0xe
mov word [esp], si
or ecx, ecx
mov byte [esp + 4], 0xef
lea esp, [esp + 0x20]
je 0x9a495e
shr di, 0xb
adc edi, 0xcae02e60
adc bh, 0x16
add dword [ebp - 4], ecx
btc bx, dx
clc
sub ecx, 8
shrd bx, sp, 3
bswap bx
btr di, 6
shr ecx, 1
test bh, 0x27
mov edi, dword [esi]
mov bl, ch
bts bx, 6
sbb bl, 0xd0
sar bx, cl
add edi, dword [ebp + 0x10]
btr bx, dx
sbb bh, 0xf7
shrd bx, bx, 1
clc
add esi, 8
shl bl, cl
mov bx, word [esi]
cmc
cmc
shr ebx, 0xc
cmp bh, ah
cmp ebx, 1
jmp 0x702a82