joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x314820a3
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x17c26f6a
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40121a
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00411010
mov eax, dword [0x41a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x1010], edx
push ebx
push ebx
push ebx
push ebx
push 0x417ab4
mov dword [ebp - 0x100c], ecx
mov edi, ebx
mov dword [ebp - 0x1008], ebx
mov dword [ebp - 0x1014], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x101c], eax
test eax, eax
je 0x4013d3
push esi
push ebx
push 0x1bb
push str.www.zaptest.com
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, eax
mov dword [ebp - 0x1018], esi
test esi, esi
je 0x4013ca
mov eax, dword [ebp - 0x1010]
test eax, eax
je 0x4012cd
push eax
push dword [ebp - 0x100c]
push dword [0x41b3a0]
call fcn.004057ad
push eax
push str._index.php_optioncom_zapauthr_dsession_swebinsttruetype_d_s
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.004011d6
add esp, 0x1c
jmp 0x4012f8
push dword [ebp - 0x100c]
push dword [0x41b3a0]
call fcn.004057ad
push eax
push str._index.php_optioncom_zapauthr_dsession_swebinsttruetype_d
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.004011d6
add esp, 0x18
push 0x800000
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x1004]
push eax
push 0x417c20
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test esi, esi
je 0x4013c2
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov edi, eax
test edi, edi
je 0x4013bf
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov edi, eax
test edi, edi
je 0x4013bf
and dword [ebp - 0x1008], 0
lea eax, [ebp - 0x1008]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [ebp - 0x1008]
inc eax
push eax
call fcn.00402625
mov dword [ebp - 0x100c], eax
pop ecx
test eax, eax
je 0x4013b8
mov ecx, dword [ebp - 0x1008]
inc ecx
push ecx
push 0
push eax
call fcn.00403500
add esp, 0xc
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x1008]
push dword [ebp - 0x100c]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
push dword [ebp - 0x100c]
call fcn.0040262e
cmp dword [ebp - 0x1008], 0
pop ecx
ja 0x401347
jmp 0x4013bf
and dword [ebp - 0x1008], 0
push esi
call ebx
push dword [ebp - 0x1018]
call ebx
push dword [ebp - 0x101c]
call ebx
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.004025e3
mov esp, ebp
pop ebp
ret
Function at 0x40183f
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x41a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, edx
xor edx, edx
mov dword [0x41b548], ecx
push edx
push ecx
push edx
push edx
push 0x14a
push 0x1f4
push edx
mov eax, SysReAllocString
push eax
push eax
push 0x41b480
push 0x41b3b8
push edx
call esi
mov ebx, eax
test ebx, ebx
je 0x401a09
push 0
push dword [0x41b548]
push 0x68
push ebx
push 0x1e
push 0xfa
push 0x10e
push 0x7d
push 0x50018000
push str.Download_and_Install_ZAPTEST
push str.BUTTON
push 0
call esi
mov dword [0x41b3a8], eax
xor eax, eax
push eax
push dword [0x41b548]
push eax
push ebx
push 0x1e
push 0x1cc
push 0xd2
push 0x14
push 0x50000001
push eax
push str.msctls_progress32
push eax
call esi
push edi
push ebx
mov dword [0x41b3ac], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x40a
push dword [0x41b3ac]
call esi
push 0xc80000
push edi
push 0x401
push dword [0x41b3ac]
call esi
push edi
push 0xc8
push 0x402
push dword [0x41b3ac]
call esi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
push 2
rep stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x2c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x4019c0
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x4019c0
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 1
push 0x14a
push 0x1f4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x418060]
subsd xmm0, qword [0x418070]
cvttsd2si eax, xmm0
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x418060]
subsd xmm0, qword [0x418078]
cvttsd2si eax, xmm0
push eax
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x4019e9
and dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
mov eax, dword [ebp - 0x40]
mov dword [0x41b3a0], eax
jmp 0x4019f3
mov dword [0x41b3a0], str.DEFAULT
xor eax, eax
push eax
push eax
push 1
push 0x401204
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025e3
mov esp, ebp
pop ebp
ret
Function at 0x40212c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41a008]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x401fef
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x18], 0
je 0x4021ab
push 1
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push 0x40207d
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov al, 1
jmp 0x4021ad
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004025e3
mov esp, ebp
pop ebp
ret
Function at 0x4061e0
Capabilities:
Terminate thread
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov eax, dword [0x445b0c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x406260
push esi
push edi
push edi
push 3
push edi
push edi
push 0x40000000
push edi
push 0x445a04
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x1f40
mov dword [esp + 0x3c], edi
call fcn.00406450
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40624d
lea eax, [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x18]
push 0x10
push ecx
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
push 0x3e8
mov edx, dword [0x445b0c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov eax, dword [0x445b08]
cmp eax, edi
je 0x406281
mov eax, dword [0x445b08]
cmp eax, 0xffffffff
je 0x406281
mov eax, dword [0x445b08]
push eax
call ebx
mov dword [0x445b08], edi
mov eax, dword [0x445b0c]
cmp eax, edi
je 0x4062a9
mov eax, dword [0x445b0c]
cmp eax, 0xffffffff
je 0x4062a9
push 0xffffffffffffffff
mov ecx, dword [0x445b0c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x445b0c], edi
call fcn.004063b0
mov dword [0x445b14], edi
pop edi
pop ebx
add esp, 0x14
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1f8ebb0
Capabilities:
Check for trap flag exception

Disassembly:
push 0x4dd5535
call fcn.01fa0ab6
aad 0x44
neg esi
in al, dx
inc esi
bound eax, qword [ebx + 0x75]
bound esp, qword es:[edi + 0x1390115a]
loopne 0x1f8ebee
cmp ebp, ecx
and dword cs:[ecx], reloc.kernel32.dll_DeleteCriticalSection
shl byte [ebp + 0x9d414e9], 0
sub dword [ebp - 0x75], edx
push ebp
mov ebp, esp
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
jmp 0x1f8ebc1
jmp 0x1f8eb86
adc bh, byte [0x18393813]
jnp 0x1f8ec48
adc al, 0xd4
pop ss
cli
jmp eax
test byte [edi], dh
pushfd
or dword [esp], 0x100
popfd
cpuid
nop
jmp 0x1f8ec61
pop ebx
ret

Function at 0x1f9e209
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ecx, dword [esp]
lea ecx, [eax + ecx]
inc ch
bsf cx, di
bsr ecx, ecx
jmp 0x1f9e216
stc
pushfd
pop cx
lea esp, [esp + 2]
xchg dword [esp], esi
jmp 0x1f9e1f0
lea esi, [esi - 0x7a]
mov ecx, dword [esp]
btr cx, dx
mov ch, 0xf4
lea ecx, [edi + 0x52]
sub esp, 0x17
jmp 0x1f9e25b
lea esp, [esp + 3]
xchg dword [esp + 0x14], esi
cmp cl, 0x4e
mov cl, 0xf4
sets ch
call fcn.01f9e245
scasb al, byte es:[edi]
and eax, 0xec2fdcb5
aam 0x47
out dx, al
stc
fdivr dword [ebx]

Function at 0x1fa92b1
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x1f8e3bf
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x1f8e3d9
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x1f8e3c8
pop esi
jmp 0x1f8e3e4
ret 4
jmp 0x1f8e3b2

Function at 0x203f72a
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, 0x208186c
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.0203f76c
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x203f75e
push ebx
call fcn.02058742
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x203f766
mov esp, ebp
pop ebp
ret 8
Function at 0x2040bf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 8
call fcn.0205873c
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0x14], 0
jne 0x2040c3e
cmp dword [ebp + 0x10], 0
jne 0x2040c3e
mov eax, 1
jmp 0x2040c43
mov eax, 0
test eax, eax
je 0x2040c65
mov dword [ebp + 8], 0x112a880
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x14], 0x112a880
jmp 0x2040cb8
cmp dword [ebp + 0x14], 0
jne 0x2040c7b
mov dword [ebp + 0x14], 1
jmp 0x2040cb8
cmp dword [ebp + 0x14], 1
jne 0x2040c91
mov dword [ebp + 0x14], reloc.kernel32.dll_DeleteCriticalSection
jmp 0x2040cb8
cmp dword [ebp + 0x14], 2
jne 0x2040ca7
mov dword [ebp + 0x14], reloc.kernel32.dll_DeleteCriticalSection
jmp 0x2040cb8
cmp dword [ebp + 0x14], 3
jne 0x2040cb8
mov dword [ebp + 0x14], reloc.kernel32.dll_DeleteCriticalSection
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
fild qword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x1c]
fmul qword [ebp - 0x1c]
fmul qword [0x208192d]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.02040316
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebp - 0xc], esp
push 0
push 0
push 0
xor eax, eax
call fcn.01f85aa6
invalid
Function at 0x204d0cb
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x204d17f
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0204d05b
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x204d158
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x204d18b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x204d1a6
test ebp, ebp
je 0x204d1a6
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x204d1ae
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x204d1ee
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x204d24a
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x204d245
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x204d230
test dl, dl
je 0x204d22c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x204d230
add ecx, 2
add eax, 2
test dl, dl
jne 0x204d210
xor eax, eax
jmp 0x204d235
sbb eax, eax
or eax, 1
test eax, eax
je 0x204d254
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x204d1fd
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x204d26b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0204d0cb
test eax, eax
jne 0x204d283
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.0204d18b
mov esi, eax
test esi, esi
jne 0x204d2b9
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x204d2d3
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x204d3cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.0204d0cb
mov esi, eax
test esi, esi
jne 0x204d3e9
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.0204d18b
mov dword [esp + 0x18], eax
test eax, eax
je 0x204d3e1
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.0204d18b
mov dword [esp + 0x34], eax
test eax, eax
je 0x204d3e1
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.0204d18b
mov dword [esp + 0x28], eax
test eax, eax
je 0x204d3e1
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.0204d18b
mov dword [esp + 0x30], eax
test eax, eax
je 0x204d3e1
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x204d5b0
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x204d5b0
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x204d513
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x204d594
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x204d536
movzx esi, ax
jmp 0x204d53b
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x204d55a
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x204d569
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x204d5bd
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x204d52b
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x204d4f0
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x204d5e6
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x204d5e6
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x204d5cb
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x204d5fb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0204d0cb
mov esi, eax
test esi, esi
je 0x204d6b7
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.0204d18b
mov ebp, eax
test ebp, ebp
je 0x204d6b6
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.0204d18b
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x204d6b6
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x204d6b6
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x204d6b5
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x204d69b
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x204da2d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x204da3d
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x204db4b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.0204db5b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x204db4b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.0204db5b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x204db4b
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.0204db5b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x204db4b
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x204db48
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0204db6e
test eax, eax
je 0x204db37
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.0204dba2
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x204daf2
add esp, 0xc
mov eax, 0
jmp 0x204db55
mov esp, ebp
pop ebp
ret 8