joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10100830
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10100a1d
pushal
mov esi, section.sect_1
lea edi, [esi - 0x9b000]
push edi
or ebp, 0xffffffff
jmp 0x1010085a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10100861
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10100850
mov eax, 1
add ebx, ebx
jne 0x10100873
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10100884
jne 0x101008a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101008a3
dec eax
add ebx, ebx
jne 0x10100890
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10100868
add ebx, ebx
jne 0x1010089f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101008f5
xor ecx, ecx
sub eax, 3
jb 0x101008bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1010092a
sar eax, 1
mov ebp, eax
jmp 0x101008c6
add ebx, ebx
jne 0x101008c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10100894
inc ecx
add ebx, ebx
jne 0x101008d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10100894
add ebx, ebx
jne 0x101008e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101008d6
jne 0x101008f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101008d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10100914
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10100906
jmp 0x10100856
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10100914
add edi, ecx
jmp 0x10100856
pop esi
mov edi, esi
mov ecx, 0x4307
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10100932
cmp byte [edi], 0x16
jne 0x10100932
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 0x10100937
lea edi, [esi + 0xf9000]
mov eax, dword [edi]
or eax, eax
je 0x101009af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x100400]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10049c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10100964
mov ecx, edi
jns 0x10100993
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 + 0x1004a0]
or eax, eax
je 0x101009a9
mov dword [ebx], eax
add ebx, 4
jmp 0x10100981
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101009e0
cmp al, 0xef
ja 0x101009d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101009b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101009c2
mov ebp, dword [esi + 0x1004a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x10100a14
sub esp, 0xffffff80
jmp 0x1000ac61
Function at 0x40e630
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x40ec58
call fcn.0040e998
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x40fc60
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x40e458
cmp eax, esi
jne 0x40e44b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40e45b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40e42f
xor esi, esi
inc esi
cmp dword [0x40fc64], esi
jne 0x40e46d
push 0x1f
call fcn.0057e000
pop ecx
jmp 0x40e4a7
cmp dword [0x40fc64], ebx
jne 0x40e4a1
mov dword [0x40fc64], esi
push 0x4011ec
push 0x4011e0
call fcn.0040e58c
pop ecx
pop ecx
test eax, eax
je 0x40e4a7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40e57c
mov dword [0x40f08c], esi
cmp dword [0x40fc64], esi
jne 0x40e4ca
push 0x4011dc
push 0x4011d4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40fc64], 2
test edi, edi
jne 0x40e4d7
xor eax, eax
mov ecx, 0x40fc60
xchg dword [ecx], eax
cmp dword [0x40fc68], 0
je 0x40e503
push 0x40fc68
call fcn.0040e7f0
pop ecx
test eax, eax
je 0x40e503
push ebx
push 2
push ebx
mov esi, dword [0x40fc68]
mov ecx, esi
call dword [0x410144]
call esi
push dword [0x40f098]
push dword [0x40f094]
push dword [0x40f090]
call fcn.0040923f
add esp, 0xc
mov dword [0x40f088], eax
cmp dword [0x40f0a0], 0
jne 0x40e561
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x40f08c], 0
jne 0x40e575
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x40f088]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.0040e8e5
jmp 0x40e413

Function at 0x40e6d4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40ec78
call fcn.0040e998
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40e734
cmp eax, 0xffffffff
je 0x40e734
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40e72d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40e72d
cmp edx, 0x10000000
jae 0x40e72d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40e72a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40e7a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40e7de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40e7d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40e7e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40e7c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100284b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x100284c0
pop dword [ebp - 0x4c]
mov eax, 0x100284c0
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x4cfab
push 0
mov eax, 0x108c7f80
sub eax, 0x8c6e58
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x47e2
mov esi, eax
mov edi, 0x44a65dc3
add edi, 0xcb61383d
add edi, dword [ebp - 0x4c]
mov edx, 0xa62ed9b4
add edx, 0xa1b14760
sub dword [ebp - 0x38], ecx
mov ebx, dword [edi]
xor ebx, edx
xor dword [ebp - 0x38], edx
mov dword [esi], ebx
xor dword [ebp - 0x38], ecx
add esi, 0x9bc10b98
add esi, 0x643ef46c
add edi, 0x34f9d2a9
sub edi, 0x34f9d2a5
loop 0x10028514
add eax, 0x1125b
mov ebx, eax
add eax, 0xd126a0f6
add eax, 0x2ed95f0f
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x10028fbc
Capabilities:
Get file size
Get system information on windows

Disassembly:
push 0x38
mov eax, 0x1006db8e
call fcn.1006ca02
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x44], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov ebx, dword [ebp + 0xc]
or dword [esi + 0x14], 0xffffffff
mov ecx, 0x1000
mov dword [ebp - 4], eax
mov dword [esi], fcn.10027600
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x10029017
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, ebx
div ecx
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
push dword [ebp - 0x14]
mov ecx, ebx
mov eax, edx
sub ecx, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
je 0x100290d2
cmp edi, 0xffffffff
jne 0x10029077
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
cmp dword [ebp - 0x14], 0
mov edi, eax
jne 0x100290d2
cmp edi, ebx
jbe 0x100290d2
cmp edi, 0xffffffff
je 0x100290d2
sub edi, ebx
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push dword [esi + 0x14]
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov ebx, dword [ebp - 0x40]
lea ecx, [edi + ebx]
mov dword [esi + 0x18], eax
cmp ecx, edi
jb 0x100290d2
test eax, eax
je 0x100290ad
push 0
push ecx
push dword [ebp - 0x3c]
push 0
push 4
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFileEx]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100290d2
push 0
push 0
lea ecx, [eax + ebx]
push edi
push ecx
mov ecx, esi
call fcn.100284b1
mov byte [esi + 5], 1
mov eax, esi
call fcn.1006ca85
ret 0xc
mov ecx, esi
call fcn.1002913d
push 0x1006ed24
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 1
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x4029d8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402a07
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c58
jmp 0x402a25
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402960
mov edi, eax
test ebx, ebx
je 0x402a25
cmp dword [esi], 0
je 0x402a25
dec ebx
jmp 0x402a0e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4052e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
or byte [eax], bl
jbe 0x40531b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x405302
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x405313
add edx, ecx
invalid
push esp
invalid
Function at 0x405a00
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405977
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x405995
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4059f3
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4059da
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4059e3
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4059ed
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4059cf
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405959
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x4194e4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4194ea
ret

Function at 0x427b1c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004277c4
xor eax, eax
push ebp
push 0x427b91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042777c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041d244
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x427b7b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b98
mov eax, dword [ebp - 4]
call fcn.00427798
ret

Function at 0x427ba0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004277c4
xor eax, eax
push ebp
push 0x427c15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042777c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x427bff
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427c1c
mov eax, dword [ebp - 4]
call fcn.00427798
ret
Function at 0x4499ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x4499e4
mov eax, esi
call fcn.00432c74
test al, al
je 0x4499e4
mov eax, dword [ebx + 0x6c]
call fcn.0043284c
push eax
call fcn.0040746c
test eax, eax
je 0x4499e4
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0043284c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x48a2c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fa4
mov eax, dword [ebp - 8]
call fcn.00403fa4
mov eax, dword [ebp - 0xc]
call fcn.00403fa4
xor eax, eax
push ebp
push 0x48a397
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x48a3b0
call fcn.00403df8
lea eax, [ebp - 8]
mov edx, 0x48a3b0
call fcn.00403df8
lea eax, [ebp - 0xc]
mov edx, 0x48a3b0
call fcn.00403df8
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.00403fc0
push eax
lea eax, [ebp - 8]
call fcn.00403fc0
push eax
lea eax, [ebp - 4]
call fcn.00403fc0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x48a37c
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x48a3bc
call fcn.00403e3c
mov eax, dword [ebp - 0x10]
mov cx, word [0x48a3d0]
mov dl, 1
call fcn.0044cc90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a39e
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403b98
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 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x27363791
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7f133d5e
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40ae50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ad02
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5bd06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0
call fcn.0047f432
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
jne 0x40aee4
mov dword [ebp - 0x18], 0x5a660c
mov dword [ebp - 0x1c], 0x575fec
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00401ba0
push eax
push esi
call fcn.0047f77a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4171b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
test ebx, ebx
je 0x4171d7
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x4171d2
mov eax, dword [ebx]
jmp 0x4171d4
mov eax, ebx
mov byte [eax], 0
call fcn.0041b010
test al, al
je 0x4171e9
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00419510
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4171e0
push 0x10000
call fcn.004824ab
add esp, 4
mov dword [ebp - 8], 0
mov esi, eax
push edi
push 0x10000
push 1
push esi
call fcn.0051e021
mov edi, eax
add esp, 0x10
test edi, edi
je 0x417276
mov eax, dword [ebp + 8]
nop dword [eax]
test ebx, ebx
je 0x41724c
mov ecx, eax
mov eax, edi
sub ecx, dword [ebp - 8]
cmp ecx, edi
cmovb eax, ecx
mov ecx, ebx
push eax
push esi
call fcn.00406220
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
sub eax, ecx
cmp eax, edi
jb 0x41728c
push dword [ebp - 0xc]
add ecx, edi
push 0x10000
push 1
push esi
mov dword [ebp - 8], ecx
call fcn.0051e021
mov edi, eax
add esp, 0x10
mov eax, dword [ebp + 8]
test edi, edi
jne 0x417230
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0051d06f
add esp, 4
test eax, eax
jne 0x41728f
mov byte [ebp - 1], 1
jmp 0x417293
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 1], 0
push ebx
call fcn.0051d2f7
add esp, 4
test esi, esi
je 0x4172a9
push esi
call fcn.00482276
add esp, 4
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5bd06c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x41819f
cmp byte [ebx + 0x3d], 0
je 0x41819f
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4180ad
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00482224
mov esp, ebp
pop ebp
ret
push 0
push 8
lea ecx, [esp + 0x1c]
call fcn.00411fe0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
lea eax, [esp + 0x10]
mov ecx, dword [ebx + 0x38]
lea edi, [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
lea esi, [esp + 0x18]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41811e
sub eax, 1
je 0x418122
sub eax, 2
je 0x418180
lea ecx, [esp + 0x14]
xor bl, bl
call fcn.004053a0
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00482224
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3d], 0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x14]
cmp ecx, 0x10
mov esi, dword [esp + 0x10]
cmovae eax, edx
sub esi, eax
je 0x418161
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [esp + 0x18]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0051d8bb
add esp, 0x10
cmp esi, eax
jne 0x4180ff
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [ebx + 0x3d], 0
je 0x418180
test esi, esi
jne 0x4180c2
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.00413800
jmp 0x4180ba
lea ecx, [esp + 0x14]
mov bl, 1
call fcn.004053a0
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00482224
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00482224
mov esp, ebp
pop ebp
ret
Function at 0x420350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x5bd06c]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
push edi
call fcn.00420b30
add esp, 4
lea eax, [esp + 0x10]
lea esi, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.0041c1a0
mov eax, dword [0x75f9f0]
test eax, eax
je 0x4203b9
lea ecx, [esp + 0x10]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x4204ce
test byte [0x74904c], 2
je 0x4203d9
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [0x575488]
jmp 0x4203de
cmp dword [ebx], 2
jl 0x42041d
cmp dword [esp + 0x24], 0x10
lea edi, [esp + 0x10]
mov esi, dword [esp + 0x20]
cmovae edi, dword [esp + 0x10]
push 2
call fcn.0051d593
add esp, 4
push eax
push 1
push esi
push edi
call fcn.0051d8bb
push 2
call fcn.0051d593
add esp, 0x14
push eax
call fcn.0051d228
lea edi, [ebx + 8]
add esp, 4
lea esi, [ebx + 0xc]
test byte [0x74904c], 1
je 0x420455
call fcn.0041ffa0
test al, al
je 0x420455
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push dword [0x75f9f4]
call dword [0x575284]
cmp dword [ebx], 3
jne 0x4204ce
mov ecx, 0x400
lea eax, [esp + 0x10]
cmp dword [esp + 0x20], ecx
cmovb ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
test ecx, ecx
je 0x420489
push ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00515080
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.00428df0
add esp, 4
cmp dword [0x75fa00], 0
je 0x4204c4
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.0041c1a0
lea eax, [esp + 0x28]
push eax
call dword [0x75fa00]
add esp, 4
lea ecx, [esp + 0x28]
call fcn.004053a0
jmp 0x4204ce
cmp byte [0x75fb10], 0
jne 0x420511
int3
lea ecx, [esp + 0x10]
call fcn.004053a0
push dword [ebx + 0xac]
call dword [0x575204]
lea esi, [edi + 0x50]
mov ecx, esi
call fcn.0041b4e0
push esi
mov dword [esi], 0x596c00
call fcn.0047fc46
mov ecx, dword [esp + 0x448]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00482224
mov esp, ebp
pop ebp
ret
push 1
call fcn.005183df
int3
Function at 0x4258c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x42591b
mov ecx, esi
jmp 0x425920
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x425945
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x42592f
mov eax, dword [eax]
jmp 0x425913
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8