joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458db6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49b3d4]
jne 0x458dc0
repz ret
jmp fcn.004614b2

Function at 0x45ab5c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45ab83
call fcn.0045b1be
mov dword [eax], esi
call fcn.0045b1ab
push 0x16
pop esi
mov dword [eax], esi
call fcn.00461dd2
mov eax, esi
jmp 0x45abd8
test dword [ebp + 0xc], 0xfffffff9
jne 0x45ab69
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45abb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045b1d1
pop ecx
call fcn.0045b1ab
mov eax, dword [eax]
jmp 0x45abd8
test al, 0x10
jne 0x45abd6
test al, 1
je 0x45abd6
test byte [ebp + 0xc], 2
je 0x45abd6
call fcn.0045b1be
mov dword [eax], 5
call fcn.0045b1ab
mov dword [eax], 0xd
jmp 0x45aba7
xor eax, eax
pop esi
pop ebp
ret
Function at 0x46cfbf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49b3d4]
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.0046258b
and dword [ebp - 0x14], 0
cmp dword [0x4a1014], 0
mov dword [ebp - 0x18], eax
jne 0x46d072
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x46d11a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x480424
push ebx
call edi
test eax, eax
je 0x46d11a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a1014], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a1018], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a101c], eax
call edi
push eax
call esi
mov dword [0x4a1024], eax
test eax, eax
je 0x46d072
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a1020], eax
mov eax, dword [0x4a1020]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x46d0cb
cmp dword [0x4a1024], ecx
je 0x46d0cb
push eax
call esi
push dword [0x4a1024]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x46d0cb
test ebx, ebx
je 0x46d0cb
call edi
test eax, eax
je 0x46d0c2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46d0c2
test byte [ebp - 8], 1
jne 0x46d0cb
or dword [ebp + 0x10], 0x200000
jmp 0x46d0fe
mov eax, dword [0x4a1018]
cmp eax, dword [ebp - 0x18]
je 0x46d0fe
push eax
call esi
test eax, eax
je 0x46d0fe
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46d0fe
mov eax, dword [0x4a101c]
cmp eax, dword [ebp - 0x18]
je 0x46d0fe
push eax
call esi
test eax, eax
je 0x46d0fe
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a1014]
call esi
test eax, eax
je 0x46d11a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x46d11c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458db6
leave
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 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
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 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac

Function at 0x401840
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x27b0
jmp loc.00422000
Function at 0x408b80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 4]
cmp esi, eax
je 0x408ba6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x408b9d
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00408790
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
jb 0x408bb1
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x408bd1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x408bc0
pop edi
pop esi
mov dword [ebx + 0x1c], edx
pop ebx
pop ebp
ret 4

Function at 0x40ce70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 4], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CBKToken.0
mov ecx, esi
call fcn.004086b0
cmp dword [esi + 0x14], 8
mov ebx, dword [esi + 0x10]
jb 0x40ce9a
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x40ceb6
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x40cea5
mov eax, edi
mov dword [edi + 0x1c], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40dad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a528
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x44b8c8], 8
mov eax, 0x44b8b4
push 0x444a34
cmovae eax, dword [0x44b8b4]
push eax
call fcn.004210ca
mov edi, eax
add esp, 8
test edi, edi
je 0x40dcd5
call fcn.0040c1b0
mov esi, eax
cmp esi, 0x10000
jge 0x40dcbd
cmp esi, 0x8000
jl 0x40db4d
push 0x444910
call fcn.0040ae00
add esp, 4
push edi
push esi
push 1
push 0x48cd98
call fcn.004212ad
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0x44b8cc
call fcn.0040ce70
push 1
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
call fcn.00410620
cmp byte [0x44cd8e], 0
je 0x40dba5
mov ecx, dword [0x44cd90]
test ecx, ecx
je 0x40dba1
test esi, esi
je 0x40db9d
dec ecx
dec esi
or esi, ecx
inc esi
jmp 0x40dba5
xor esi, esi
jmp 0x40dba5
inc esi
and esi, 0xfffffffe
cmp dword [0x44b90c], 0
je 0x40dc09
push 0x44b8fc
lea ecx, [ebp - 0x30]
call fcn.0040ce70
push 1
push esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.00410620
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40dc09
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dbff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd11
push edx
push ecx
call fcn.00418710
add esp, 8
push esi
call fcn.0040f570
push 4
xor eax, eax
mov dword [ebp - 0x18], 0
push str..obj
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408790
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00412080
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x40dc7c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd16
push edx
push ecx
call fcn.00418710
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x40dcca
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dca8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd1b
push edx
push ecx
call fcn.00418710
add esp, 8
push edi
call fcn.00420ec0
add esp, 4
jmp 0x40dcf6
push 0x4449a8
call fcn.0040ae00
add esp, 4
push edi
call fcn.00420ec0
add esp, 4
jmp 0x40dcf6
cmp dword [0x44b8c8], 8
mov eax, 0x44b8b4
cmovae eax, dword [0x44b8b4]
push eax
push 0x444a3c
call fcn.0040ae00
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004186cf
mov esp, ebp
pop ebp
ret
call fcn.0041fbdb
call fcn.0041fbdb
call fcn.0041fbdb
int3
Function at 0x412210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0x5501
mov dword [ebp - 0x1c], 0x5502
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x1020
call fcn.0040f5c0
mov word [ebp - 8], ax
call fcn.0040f520
push dword [0x49cda0]
mov word [ebp - 6], ax
lea eax, [ebp - 0x20]
push 0x14
push 1
push eax
call fcn.00421eef
push dword [0x49cda0]
lea eax, [ebp - 0xc]
push 8
push 1
push eax
call fcn.00421eef
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
mov al, 1
call fcn.004186cf
mov esp, ebp
pop ebp
ret

Function at 0x4122a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.0040f580
push dword [0x49cda0]
mov esi, eax
mov dword [ebp - 0x18], 0x5501
push 0x14
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x5503
push 1
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
call fcn.00421eef
add esp, 0x10
test esi, esi
je 0x412307
push dword [0x49cda0]
push esi
push 1
push 0x48cd98
call fcn.00421eef
add esp, 0x10
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004186cf
mov esp, ebp
pop ebp
ret
Function at 0x412320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov eax, 0x66666667
mov dword [ebp - 0x2c], edi
mov esi, dword [edi + 8]
sub esi, dword [edi + 4]
imul esi
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x30], ebx
je 0x4124bb
push dword [0x49cda0]
call fcn.004219bc
push dword [0x49cda0]
mov ecx, dword [ebp - 8]
push 0x14
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x24]
push 1
push eax
mov dword [ebp - 0x24], 0x5501
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
call fcn.00421eef
add esp, 0x14
xor esi, esi
xor ebx, ebx
mov ecx, dword [ebp - 0x2c]
mov eax, 0x66666667
mov edi, dword [edi + 4]
mov dword [ebp - 0x28], edi
mov ecx, dword [ecx + 8]
sub ecx, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x4124ce
mov edi, dword [0x49cda0]
lea eax, [ebp - 0xc]
push edi
push 4
push 1
push eax
mov dword [ebp - 0xc], 0x5508
call fcn.00421eef
mov eax, dword [ebp - 0x28]
push edi
push 4
add eax, ebx
push 1
push eax
call fcn.00421eef
mov eax, dword [ebp - 0x28]
push edi
push 4
add eax, 4
add eax, ebx
push 1
push eax
call fcn.00421eef
push edi
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x550a
push 1
push eax
call fcn.00421eef
mov eax, dword [ebp - 0x28]
add esp, 0x40
mov eax, dword [eax + ebx + 0x1c]
push edi
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 1
push eax
call fcn.00421eef
mov ecx, dword [ebp - 8]
add esp, 0x10
test ecx, ecx
je 0x41245f
mov eax, dword [ebp - 0x28]
add ecx, ecx
add eax, 0xc
add eax, ebx
cmp dword [eax + 0x14], 8
jb 0x412452
mov eax, dword [eax]
push edi
push ecx
push 1
push eax
call fcn.00421eef
add esp, 0x10
mov edi, dword [ebp - 0x2c]
inc esi
add ebx, 0x28
cmp esi, dword [ebp - 0x30]
jb 0x4123a1
push dword [0x49cda0]
call fcn.004219bc
mov esi, eax
mov eax, dword [ebp - 0x34]
push 0
mov ecx, esi
sub ecx, eax
push eax
push dword [0x49cda0]
sub ecx, 0x14
mov dword [ebp - 0x1c], ecx
call fcn.00421c9c
push dword [0x49cda0]
lea eax, [ebp - 0x24]
push 0x14
push 1
push eax
call fcn.00421eef
push 0
push esi
push dword [0x49cda0]
call fcn.00421c9c
add esp, 0x2c
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004186cf
mov esp, ebp
pop ebp
ret
call fcn.00410390
int3
Function at 0x4124e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x49cde0]
mov eax, 0x4ec4ec4f
sub ecx, dword [0x49cddc]
imul ecx
push ebx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x2c], ebx
je 0x41267b
push esi
push edi
push dword [0x49cda0]
call fcn.004219bc
push dword [0x49cda0]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x24]
push 0x14
push 1
push eax
mov dword [ebp - 0x24], 0x5501
mov dword [ebp - 0x20], 0x5506
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
call fcn.00421eef
add esp, 0x14
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ecx, dword [0x49cde0]
mov eax, 0x4ec4ec4f
mov esi, dword [0x49cddc]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x41268c
add ebx, esi
mov dword [ebp - 0xc], 0x5509
mov esi, dword [0x49cda0]
lea eax, [ebp - 0xc]
push esi
push 4
push 1
push eax
call fcn.00421eef
push esi
push 4
push 1
push ebx
call fcn.00421eef
push esi
push 4
lea eax, [ebx + 4]
push 1
push eax
call fcn.00421eef
push esi
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x550a
push 1
push eax
call fcn.00421eef
mov eax, dword [ebx + 0x1c]
add esp, 0x40
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push esi
push 4
push 1
push eax
call fcn.00421eef
mov ecx, dword [ebp - 8]
add esp, 0x10
test ecx, ecx
je 0x412610
lea eax, [ebx + 0xc]
add ecx, ecx
cmp dword [eax + 0x14], 8
jb 0x412603
mov eax, dword [eax]
push esi
push ecx
push 1
push eax
call fcn.00421eef
add esp, 0x10
lea eax, [ebx + 0x28]
push eax
push esi
call fcn.004156f0
mov ebx, dword [ebp - 0x28]
inc edi
add ebx, 0x34
mov dword [ebp - 0x28], ebx
cmp edi, dword [ebp - 0x2c]
jb 0x412563
push dword [0x49cda0]
call fcn.004219bc
mov esi, eax
mov eax, dword [ebp - 0x30]
push 0
mov ecx, esi
sub ecx, eax
push eax
push dword [0x49cda0]
sub ecx, 0x14
mov dword [ebp - 0x1c], ecx
call fcn.00421c9c
push dword [0x49cda0]
lea eax, [ebp - 0x24]
push 0x14
push 1
push eax
call fcn.00421eef
push 0
push esi
push dword [0x49cda0]
call fcn.00421c9c
add esp, 0x2c
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.004186cf
mov esp, ebp
pop ebp
ret
call fcn.00410390
int3
Function at 0x4126a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x49ce3c]
mov ecx, dword [0x49ce40]
cmp eax, ecx
je 0x41276a
sub ecx, eax
mov dword [ebp - 0x18], 0x5501
mov eax, 0x2e8ba2e9
mov dword [ebp - 0x14], 0x5507
imul ecx
push esi
sar edx, 3
mov eax, edx
mov dword [ebp - 0x10], 0
shr eax, 0x1f
push edi
push dword [0x49cda0]
add eax, edx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
call fcn.004219bc
push dword [0x49cda0]
mov edi, eax
lea eax, [ebp - 0x18]
push 0x14
push 1
push eax
call fcn.00421eef
add esp, 0x10
call fcn.00417800
push dword [0x49cda0]
call fcn.004219bc
mov esi, eax
push 0
mov ecx, esi
sub ecx, edi
push edi
push dword [0x49cda0]
sub ecx, 0x14
mov dword [ebp - 0x10], ecx
call fcn.00421c9c
push dword [0x49cda0]
lea eax, [ebp - 0x18]
push 0x14
push 1
push eax
call fcn.00421eef
push 0
push esi
push dword [0x49cda0]
call fcn.00421c9c
add esp, 0x2c
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004186cf
mov esp, ebp
pop ebp
ret
Function at 0x4138d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
push esi
push 4
push 1
push eax
mov edi, ecx
mov dword [ebp - 8], 0x550b
call fcn.00421eef
push esi
push 1
push 1
push edi
call fcn.00421eef
movzx eax, byte [edi]
add esp, 0x20
cmp eax, 4
ja case.default.0x413916
jmp dword [eax*4 + 0x413a8c]
push esi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x550e
push 1
push eax
call fcn.00421eef
push esi
push 4
lea eax, [edi + 4]
jmp 0x413a6f
push esi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x550d
push 1
push eax
call fcn.00421eef
push esi
push 4
lea eax, [edi + 4]
push 1
push eax
call fcn.00421eef
push esi
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x550a
push 1
push eax
call fcn.00421eef
mov eax, dword [edi + 0x1c]
push esi
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 1
push eax
call fcn.00421eef
mov eax, dword [ebp - 0xc]
add esp, 0x40
test eax, eax
je case.default.0x413916
add edi, 0xc
add eax, eax
cmp dword [edi + 0x14], 8
jb 0x4139a4
mov edi, dword [edi]
push esi
push eax
push 1
push edi
call fcn.00421eef
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004186cf
mov esp, ebp
pop ebp
ret 4
push esi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x550d
push 1
push eax
call fcn.00421eef
push esi
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x550a
push 1
push eax
call fcn.00421eef
mov eax, dword [edi + 0x1c]
push esi
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 1
push eax
call fcn.00421eef
mov eax, dword [ebp - 0xc]
add esp, 0x30
test eax, eax
je case.default.0x413916
add edi, 0xc
add eax, eax
cmp dword [edi + 0x14], 8
jb 0x413a18
mov edi, dword [edi]
push esi
push eax
push 1
push edi
call fcn.00421eef
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004186cf
mov esp, ebp
pop ebp
ret 4
push esi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x550f
push 1
push eax
call fcn.00421eef
push esi
push 4
lea eax, [edi + 4]
jmp 0x413a6f
push esi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x550c
push 1
push eax
call fcn.00421eef
push esi
push 1
lea eax, [edi + 1]
push 1
push eax
call fcn.00421eef
add esp, 0x20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004186cf
mov esp, ebp
pop ebp
ret 4
Function at 0x4156f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
push esi
sar edx, 4
mov eax, edx
mov dword [ebp - 0x14], ebx
shr eax, 0x1f
push ebx
add eax, edx
mov dword [ebp - 0xc], 0x5510
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 1
push eax
call fcn.00421eef
push ebx
push 4
lea eax, [ebp - 8]
push 1
push eax
call fcn.00421eef
xor esi, esi
add esp, 0x20
cmp dword [ebp - 8], esi
jbe 0x41578b
push edi
xor edi, edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
sub ecx, ebx
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x41579d
push dword [ebp - 0x14]
lea ecx, [edi + ebx]
call fcn.004138d0
inc esi
add edi, 0x28
cmp esi, dword [ebp - 8]
jb 0x415757
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004186cf
mov esp, ebp
pop ebp
ret 8
call fcn.00410390
int3
Function at 0x415dc0
Capabilities:
Access peb ldr_data
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b1e1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov dword [edi], vtable.CReader.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
push esi
call fcn.004086b0
xor eax, eax
mov byte [edi + 0x2c], 1
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], eax
mov al, byte [ebp + 0xc]
mov byte [edi + 0x34], al
xor eax, eax
mov dword [edi + 0x38], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 7
mov word [edi + 0x3c], ax
mov byte [ebp - 4], 2
mov ecx, edi
push esi
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], 0xffffffff
call fcn.00416b70
mov cl, al
test cl, cl
jne 0x415e71
mov byte [edi + 0x34], al
jmp case.default.0x415eac
mov al, byte [edi + 0x34]
cmp al, 1
jne 0x415e7f
mov byte [edi + 0x34], cl
mov al, cl
jmp 0x415e9d
cmp al, 5
jne 0x415e8f
cmp cl, 6
jne 0x415e8f
mov byte [edi + 0x34], cl
mov al, cl
jmp 0x415e9d
cmp al, 6
jne 0x415e9d
cmp cl, 5
jne 0x415e9d
mov byte [edi + 0x34], cl
mov al, cl
movzx eax, al
add eax, 0xfffffffe
cmp eax, 4
ja case.default.0x415eac
jmp dword [eax*4 + 0x415f74]
cmp dword [esi + 0x14], 8
jb 0x415ebb
mov esi, dword [esi]
push 0x444a34
push esi
call fcn.004210ca
add esp, 8
mov dword [edi + 0x30], eax
jmp 0x415f4a
cmp dword [esi + 0x14], 8
jb 0x415ed6
mov esi, dword [esi]
push 0x444a34
push esi
call fcn.004210ca
push eax
push 3
mov dword [edi + 0x30], eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.004212ad
add esp, 0x18
cmp byte [ebp - 0x14], 0xef
jne 0x415f3b
cmp byte [ebp - 0x13], 0xbb
jne 0x415f3b
cmp byte [ebp - 0x12], 0xbf
jmp 0x415f39
cmp dword [esi + 0x14], 8
jb 0x415f0f
mov esi, dword [esi]
push 0x4461c8
push esi
call fcn.004210ca
push eax
push 2
mov dword [edi + 0x30], eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.004212ad
mov ax, word [ebp - 0x14]
add esp, 0x18
cmp al, 0xff
jne 0x415f3b
cmp ah, 0xfe
je 0x415f4a
push 0
push 0
push dword [edi + 0x30]
call fcn.00421c9c
add esp, 0xc
push 0
mov ecx, edi
call fcn.00416810
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004186cf
mov esp, ebp
pop ebp
ret 8