joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e990
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x41e9b5
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop edi
add esp, 8
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ecx, dword [eax]
mov dword [esp + 0x10], ebx
push esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x41e9d8
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x41e9da
xor eax, eax
cdq
mov ebp, eax
mov eax, edx
mov dword [esp + 0x20], eax
test ebx, ebx
jl 0x41ea59
jg 0x41e9ed
test esi, esi
je 0x41ea59
test eax, eax
jl 0x41ea29
jg 0x41e9f7
test ebp, ebp
je 0x41ea29
cmp ebx, eax
jg 0x41ea07
jl 0x41ea01
cmp esi, ebp
jae 0x41ea07
mov ebp, esi
mov dword [esp + 0x20], ebx
push ebp
push ecx
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 0x2c]
add esp, 0xc
add dword [esp + 0x1c], ebp
sub esi, ebp
sbb ebx, dword [esp + 0x20]
sub dword [eax], ebp
mov eax, dword [edi + 0x1c]
add dword [eax], ebp
mov ebp, dword [esp + 0x1c]
test ebx, ebx
jl 0x41ea59
jg 0x41ea37
test esi, esi
je 0x41ea59
cmp dword [edi + 0x4c], 0
je 0x41ea59
mov ecx, edi
call fcn.0041d780
push dword [edi + 0x4c]
push esi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, esi
pop esi
pop ebp
sbb edx, ebx
pop ebx
pop edi
add esp, 8
ret 0xc
Function at 0x41ea70
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41ea95
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
add esp, 8
ret 0xc
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x41eab8
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x41eaba
xor eax, eax
cdq
mov ebp, eax
mov eax, edx
mov dword [esp + 0x20], eax
test edi, edi
jl 0x41eb35
jg 0x41eacd
test esi, esi
je 0x41eb35
test eax, eax
jl 0x41eb0d
jg 0x41ead7
test ebp, ebp
je 0x41eb0d
cmp edi, eax
jg 0x41eae7
jl 0x41eae1
cmp esi, ebp
jae 0x41eae7
mov ebp, esi
mov dword [esp + 0x20], edi
push ebp
push dword [esp + 0x20]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [ebx + 0x30]
add ecx, ebp
sub esi, ebp
sbb edi, dword [esp + 0x20]
sub dword [eax], ebp
mov eax, dword [ebx + 0x20]
add dword [eax], ebp
jmp 0x41eb11
mov ecx, dword [esp + 0x1c]
test edi, edi
jl 0x41eb35
jg 0x41eb1b
test esi, esi
je 0x41eb35
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x41eb35
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x41eb50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5be3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x572b90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0040d530
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 0
call fcn.0041ad60
push dword [ebp + 0x1c]
movq xmm0, qword [ebp + 8]
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov byte [ebp - 4], 1
sub esp, 0xc
mov dword [edi], vtable.sf::RenderWindow.0
mov ecx, esp
mov dword [edi + 0x30], vtable.sf::RenderWindow.1.0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.0040d6c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41f350
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5c73
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x572b90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.004208f0
mov edx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp + 0xb]
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 4], 0
mov word [esi + 0xc], 0
lea ebx, [edx + 8]
mov ecx, dword [edx]
lea edi, [esi + 0x18]
mov dword [esi + 0x10], ecx
mov ecx, edi
push ebx
mov dword [ebp - 0x1c], edi
call fcn.0041f270
lea eax, [ebx + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 8]
call fcn.004192f0
mov eax, dword [ebx + 0x30]
lea ecx, [edi + 0x34]
mov dword [edi + 0x30], eax
lea eax, [ebx + 0x34]
push eax
mov byte [ebp - 4], 2
call fcn.00420240
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41f440
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5cb6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x572b90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.004208f0
mov ecx, dword [ebp + 0xc]
mov ebx, eax
lea esi, [ebx + 0x18]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov word [ebx + 0xc], 0
mov ecx, dword [ecx]
mov eax, dword [ecx]
mov ecx, esi
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004208d0
mov dword [esi], eax
lea eax, [esi + 8]
mov byte [ebp - 4], 1
mov ecx, eax
mov dword [ebp + 0xc], eax
call fcn.00419410
mov dword [esi + 0x30], 3
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004235b0
push 0
push 0xff
push 0xff
push 0xff
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0041a7a0
push eax
push 0x80
push 0x80
lea ecx, [ebp - 0x48]
call fcn.00423640
xor edi, edi
cmp edi, 2
jge 0x41f552
xor esi, esi
nop dword [eax]
cmp esi, 2
jge 0x41f54f
push 0xff
push 0xff
push 0xff
push 0xff
lea ecx, [ebp - 0x24]
call fcn.0041a7a0
push eax
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.004238d0
inc esi
jmp 0x41f520
inc edi
jmp 0x41f516
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
mov ecx, esi
movups xmmword [ebp - 0x34], xmm0
call fcn.00419f60
push 1
mov ecx, esi
call fcn.0041a190
lea ecx, [ebp - 0x48]
call fcn.004235e0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x438c90
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.DefaultErrStreamBuf.0
mov edi, dword [eax]
mov eax, dword [esi + 0x20]
mov ebx, dword [eax]
cmp edi, ebx
je 0x438cde
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
sub ebx, edi
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [esi + 0x30]
add esp, 0x14
mov ecx, dword [esi + 0x20]
mov edx, dword [eax]
mov eax, dword [esi + 0x10]
add edx, dword [ecx]
mov eax, dword [eax]
sub edx, eax
mov dword [ecx], eax
mov eax, dword [esi + 0x30]
mov dword [eax], edx
mov eax, dword [esi + 0x10]
mov edi, dword [eax]
push edi
call fcn.004c16b9
add esp, 4
mov ecx, esi
pop edi
pop esi
pop ebx
jmp dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]

Function at 0x438eb0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
mov ebx, dword [eax]
mov eax, dword [esi + 0x20]
mov edi, dword [eax]
cmp ebx, edi
je 0x438ef3
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
sub edi, ebx
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [esi + 0x30]
add esp, 0x14
mov ecx, dword [esi + 0x20]
mov edx, dword [eax]
mov eax, dword [esi + 0x10]
add edx, dword [ecx]
mov eax, dword [eax]
sub edx, eax
mov dword [ecx], eax
mov eax, dword [esi + 0x30]
mov dword [eax], edx
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x439210
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x439230
push eax
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
xor edx, edx
ret 0xc
or eax, 0xffffffff
or edx, eax
ret 0xc
Function at 0x4392a0
Capabilities:
Check for time delay via queryperformancecounter
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c660c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x572b90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x575fe4]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x575fc0]
cmp eax, dword [esi + 4]
jg 0x439370
cmp byte [0x575fc4], 0
je 0x439321
mov eax, dword [0x575fcc]
cmp eax, dword [esi + 4]
jg 0x4393c5
push 0x575fc8
lea ecx, [ebp - 0x10]
call fcn.00439070
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x10]
call fcn.00439090
jmp 0x43932b
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0xf4240
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004c15c0
push dword [0x575fbc]
push dword [0x575fb8]
push edx
push eax
call fcn.004c1600
mov esi, dword [ebp + 8]
push edx
push eax
push esi
call fcn.00437e80
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x575fc0
call fcn.004c0dab
add esp, 4
cmp dword [0x575fc0], 0xffffffff
jne 0x4392e6
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [ebp - 0x14]
mov dword [0x575fb8], eax
mov eax, dword [ebp - 0x10]
mov dword [0x575fbc], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
push 0x575fc0
setb byte [0x575fc4]
call fcn.004c0d61
add esp, 4
jmp 0x4392e6
push 0x575fcc
call fcn.004c0dab
add esp, 4
cmp dword [0x575fcc], 0xffffffff
jne 0x439300
mov ecx, 0x575fc8
mov dword [ebp - 4], 0
call fcn.00438fb0
push 0x4c6aa0
call fcn.004c0c63
push 0x575fcc
mov dword [ebp - 4], 0xffffffff
call fcn.004c0d61
add esp, 8
jmp 0x439300
Function at 0x46b910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
movzx edx, word [eax]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 4], ebx
cmp ebx, eax
jb 0x46b933
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x14]
sub eax, ebx
cmp esi, eax
push edi
cmova esi, eax
xor edi, edi
mov dword [ebp + 0x14], esi
test esi, esi
je 0x46b981
mov edi, dword [ebp + 0x10]
sub ebx, edi
lea ecx, [ecx]
movzx eax, byte [ebx + edi]
lea edi, [edi + 1]
mov ecx, edx
shr ecx, 8
xor ecx, eax
add eax, edx
imul eax, eax, 0x3193
mov edx, 0x58bf
mov byte [edi - 1], cl
sub edx, eax
and edx, 0xffff
dec esi
jne 0x46b950
mov esi, dword [ebp + 0x14]
mov edi, esi
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 8]
lea ecx, [ebx + esi]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov word [eax], dx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4905f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push edi
mov edi, dword [eax + 0x14]
test edi, edi
je 0x490650
mov edx, dword [eax + 0x10]
mov ecx, dword [eax]
push ebp
push esi
mov esi, dword [eax + 0x1c]
mov ebp, dword [ecx + edx*4]
cmp esi, edi
jae 0x490648
push ebx
mov ebx, dword [eax + 0x18]
mov ecx, 0x18
mov edx, ebp
sub ecx, esi
add esi, 8
shr edx, cl
mov ecx, ebx
shr ecx, 8
movzx edx, dl
xor edx, ecx
movzx ebx, bl
shl ebx, 8
xor ebx, dword [edx*4 + 0x4e24b0]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], esi
cmp esi, edi
jb 0x490611
mov ax, bx
pop ebx
pop esi
pop ebp
pop edi
ret
mov ax, word [eax + 0x18]
pop esi
pop ebp
pop edi
ret
mov ax, word [eax + 0x18]
pop edi
ret

Function at 0x491410
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
je 0x491440
push edi
mov edi, dword [esp + 0xc]
movzx ecx, byte [edi]
lea edi, [edi + 1]
mov edx, eax
shl eax, 8
shr edx, 8
xor edx, ecx
xor eax, dword [edx*4 + 0x4e24b0]
movzx eax, ax
sub esi, 1
jne 0x491420
pop edi
pop esi
ret

Function at 0x491450
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor al, al
test edx, edx
je 0x491477
push esi
mov esi, dword [esp + 8]
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx eax, al
xor ecx, eax
mov al, byte [ecx + 0x4e23b0]
sub edx, 1
jne 0x491460
pop esi
ret
Function at 0x49ae30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
xor ebx, ebx
test eax, eax
push edi
sete bl
cmp dword [esi + 0x180], 0
je 0x49b03f
xor ecx, ecx
xorps xmm0, xmm0
add eax, dword [esi + 0x188]
movups xmmword [esp + 0x20], xmm0
adc ecx, dword [esi + 0x18c]
cmp dword [esi + 0x184], 0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
je 0x49aef9
cmp dword [esp + 0x70], 0x26
jne 0x49b088
movzx eax, byte [0x4e3434]
mov byte [esp + 0x30], al
mov eax, dword [str.FLAC]
push 0x26
push dword [esp + 0x70]
mov eax, dword [eax]
mov dword [esp + 0x39], eax
mov eax, dword [esi + 4]
shr eax, 8
mov byte [esp + 0x3f], al
movzx eax, byte [esi + 4]
mov byte [esp + 0x40], al
mov eax, dword [str.fLaCCaLf]
mov dword [esp + 0x41], eax
lea eax, [esp + 0x45]
push eax
mov word [esp + 0x41], 1
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], 0x33
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 1
mov dword [esi + 0x184], 0
jmp 0x49af09
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
cmp dword [esp + 0x7c], 0
lea edi, [esi + 8]
mov ebp, 1
push ecx
cmovne eax, ebp
push edi
mov dword [esp + 0x24], eax
call fcn.004bf910
add esp, 8
test eax, eax
je 0x49af3d
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x54
ret
test ebx, ebx
lea ebx, [esi + 0x170]
push ebx
push edi
je 0x49afc6
call fcn.004bf3b0
add esp, 8
test eax, eax
je 0x49b06d
mov ebp, dword [esp + 0x88]
push ebp
push dword [esp + 0x7c]
push 0
push dword [esi + 0x174]
push dword [ebx]
push dword [esp + 0x98]
call dword [esp + 0x98]
add esp, 0x18
test eax, eax
jne 0x49b088
push ebp
push dword [esp + 0x7c]
push eax
push dword [esi + 0x17c]
push dword [esi + 0x178]
push dword [esp + 0x98]
call dword [esp + 0x98]
add esp, 0x18
test eax, eax
jne 0x49b088
push ebx
push edi
call fcn.004bf3b0
add esp, 8
test eax, eax
jne 0x49af60
jmp 0x49b06d
call fcn.004bfc90
add esp, 8
test eax, eax
je 0x49b06d
mov ebp, dword [esp + 0x88]
nop dword [eax]
push ebp
push dword [esp + 0x7c]
push 0
push dword [esi + 0x174]
push dword [ebx]
push dword [esp + 0x98]
call dword [esp + 0x98]
add esp, 0x18
test eax, eax
jne 0x49b088
push ebp
push dword [esp + 0x7c]
push eax
push dword [esi + 0x17c]
push dword [esi + 0x178]
push dword [esp + 0x98]
call dword [esp + 0x98]
add esp, 0x18
test eax, eax
jne 0x49b088
push ebx
push edi
call fcn.004bfc90
add esp, 8
test eax, eax
jne 0x49afe0
jmp 0x49b06d
test ebx, ebx
je 0x49b088
cmp dword [esp + 0x78], 0
jne 0x49b088
test eax, eax
jne 0x49b088
cmp dword [esp + 0x70], 4
jne 0x49b088
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
cmp eax, dword [str.fLaCCaLf]
jne 0x49b088
mov dword [esi + 0x180], 1
mov eax, dword [esp + 0x74]
add dword [esi + 0x188], eax
pop edi
adc dword [esi + 0x18c], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret
Function at 0x4bf1b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4bf250
mov ecx, dword [esi]
xor eax, eax
push ebx
push edi
xor edi, edi
mov byte [ecx + 0x16], al
mov ecx, dword [esi]
mov byte [ecx + 0x17], al
mov ecx, dword [esi]
mov byte [ecx + 0x18], al
mov ecx, dword [esi]
mov byte [ecx + 0x19], al
mov ebx, dword [esi + 4]
test ebx, ebx
jle 0x4bf200
mov esi, dword [esi]
movzx edx, byte [esi + edi]
mov ecx, eax
shr ecx, 0x18
inc edi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x569380]
cmp edi, ebx
jl 0x4bf1e3
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0xc]
xor edi, edi
test ebx, ebx
jle 0x4bf22d
mov esi, dword [esi + 8]
nop dword [eax]
movzx edx, byte [esi + edi]
mov ecx, eax
shr ecx, 0x18
inc edi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x569380]
cmp edi, ebx
jl 0x4bf210
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov edx, eax
shr edx, 8
pop edi
pop ebx
mov byte [ecx + 0x16], al
mov ecx, dword [esi]
mov byte [ecx + 0x17], dl
mov edx, eax
mov ecx, dword [esi]
shr edx, 0x10
shr eax, 0x18
mov byte [ecx + 0x18], dl
mov ecx, dword [esi]
mov byte [ecx + 0x19], al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c1c2b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4c1c6a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4c1c6a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4c1c6a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4c1c6a
cmp dword [ecx + 0x74], 0xe
jbe 0x4c1c6a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4042a3
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x4042ea
cmp ebx, 0x20
je 0x4042ea
cmp ebx, 0xffffffe0
je 0x4042ea
jne 0x4042f3
add eax, 1
cmp esi, eax
je 0x404300
jne 0x4042cf
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x404304
jne 0x4042cb
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x40435d
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x404363
add eax, 4
pop esi
dec esi
push esi
jne 0x404345
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x41141d
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x411423
add eax, 4
pop esi
dec esi
push esi
jne 0x411405
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x4121b1
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00412361
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4122af
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x412252
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x412295
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x412269
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x412284
test al, 0x40
je 0x41227b
mov ecx, dword [edi + 0x20]
jmp 0x412282
test al, 0x80
je 0x412295
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x412295
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x412221
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x424700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x424745
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x42474b
add eax, 4
pop esi
dec esi
push esi
jne 0x42472d
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8