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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x552064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x12c], esi
cmp byte [edi + 0x30], 0
je 0x408729
xor eax, eax
jmp 0x408743
mov eax, dword [edi + 0x20]
test eax, eax
je 0x408735
sub eax, dword [edi + 0x24]
jmp 0x408743
push dword [edi + 0x14]
call fcn.00502c51
add esp, 4
sub eax, dword [edi + 0x18]
mov dword [esi], eax
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x408778
lea edx, [ecx + 0x1b]
cmp edx, dword [edi + 0x28]
ja 0x408790
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x20], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x10], xmm0
mov ax, word [ecx + 0x18]
mov word [ebp - 8], ax
mov al, byte [ecx + 0x1a]
mov byte [ebp - 6], al
mov dword [edi + 0x20], edx
jmp 0x408797
push dword [edi + 0x14]
lea eax, [ebp - 0x20]
push 1
push 0x1b
push eax
call fcn.0050248a
add esp, 0x10
cmp eax, 1
je 0x408797
mov dword [edi + 0x5d], 1
cmp byte [ebp - 0x20], 0x4f
jne 0x4088be
cmp byte [ebp - 0x1f], 0x67
jne 0x4088be
cmp byte [ebp - 0x1e], 0x67
jne 0x4088be
cmp byte [ebp - 0x1d], 0x53
jne 0x4088be
mov ecx, dword [edi + 0x20]
movzx eax, byte [ebp - 6]
test ecx, ecx
je 0x4087e8
lea esi, [ecx + eax]
cmp esi, dword [edi + 0x28]
ja 0x408802
push eax
push ecx
lea eax, [ebp - 0x120]
push eax
call fcn.004fd9e0
add esp, 0xc
mov dword [edi + 0x20], esi
jmp 0x408809
push dword [edi + 0x14]
push 1
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0050248a
add esp, 0x10
cmp eax, 1
je 0x408809
mov dword [edi + 0x5d], 1
movzx eax, byte [ebp - 6]
xor esi, esi
push ebx
xor ebx, ebx
mov dword [ebp - 0x128], eax
xor ecx, ecx
mov dword [ebp - 0x124], ebx
cmp eax, 2
jb 0x408851
lea edx, [eax - 1]
nop dword [eax + eax]
movzx eax, byte [ebp + ecx - 0x120]
add esi, eax
movzx eax, byte [ebp + ecx - 0x11f]
add ecx, 2
add ebx, eax
cmp ecx, edx
jl 0x408830
mov eax, dword [ebp - 0x128]
cmp ecx, eax
jge 0x408863
movzx ecx, byte [ebp + ecx - 0x120]
mov dword [ebp - 0x124], ecx
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
add eax, edx
add eax, ebx
add eax, esi
mov esi, dword [ebp - 0x124]
add esi, 0x1b
add eax, esi
movzx esi, byte [ebp - 0x17]
mov dword [ecx + 4], eax
movzx eax, byte [ebp - 0x18]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 0x19]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 0x1a]
shl esi, 8
add esi, eax
mov dword [ecx + 8], esi
mov ecx, edi
call fcn.00401ff0
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e66f2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e66f2
mov esp, ebp
pop ebp
ret
Function at 0x408fa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x552064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0
je 0x408fd1
mov dword [esi + 0x61], 2
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e66f2
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x319]
test ecx, ecx
jne 0x409156
mov eax, dword [esi + 0x20]
test eax, eax
je 0x408feb
sub eax, dword [esi + 0x24]
jmp 0x408ff9
push dword [esi + 0x14]
call fcn.00502c51
add esp, 4
sub eax, dword [esi + 0x18]
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0x18], eax
cmp edx, 0x10000
jb 0x409012
add edx, 0xffff0000
cmp edx, dword [esi + 0x31]
jae 0x409015
mov edx, dword [esi + 0x31]
push ebx
mov ecx, esi
call fcn.00401ff0
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea edx, [ebp - 0x14]
call fcn.00408400
add esp, 4
test eax, eax
jne 0x409041
mov dword [esi + 0x61], 0x24
or ebx, 0xffffffff
jmp 0x40913f
cmp byte [esi + 0x30], 0
push edi
je 0x40904c
xor edi, edi
jmp 0x409068
mov edi, dword [esi + 0x20]
test edi, edi
je 0x409058
sub edi, dword [esi + 0x24]
jmp 0x409068
push dword [esi + 0x14]
call fcn.00502c51
mov edi, eax
add esp, 4
sub edi, dword [esi + 0x18]
cmp dword [ebp - 0x10], 0
jne 0x4090bb
nop
mov edx, dword [ebp - 0x14]
mov ecx, esi
call fcn.00401ff0
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea edx, [ebp - 0x14]
call fcn.00408400
add esp, 4
test eax, eax
je 0x4090bb
cmp byte [esi + 0x30], 0
je 0x409099
xor edi, edi
jmp 0x4090b5
mov edi, dword [esi + 0x20]
test edi, edi
je 0x4090a5
sub edi, dword [esi + 0x24]
jmp 0x4090b5
push dword [esi + 0x14]
call fcn.00502c51
mov edi, eax
add esp, 4
sub edi, dword [esi + 0x18]
cmp dword [ebp - 0x10], 0
je 0x409070
mov edx, edi
mov ecx, esi
call fcn.00401ff0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4090e5
lea edx, [ecx + 6]
cmp edx, dword [esi + 0x28]
ja 0x4090fd
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov ax, word [ecx + 4]
mov word [ebp - 8], ax
mov dword [esi + 0x20], edx
jmp 0x409104
push dword [esi + 0x14]
lea eax, [ebp - 0xc]
push 1
push 6
push eax
call fcn.0050248a
add esp, 0x10
cmp eax, 1
je 0x409104
mov dword [esi + 0x5d], 1
mov ecx, esi
call fcn.00401f00
mov ecx, esi
mov ebx, eax
call fcn.00401f00
cmp ebx, 0xffffffff
jne 0x409128
cmp eax, ebx
jne 0x409128
mov dword [esi + 0x61], 0x24
or ebx, ebx
jmp 0x40913e
test eax, eax
mov dword [esi + 0x41], edi
mov eax, dword [ebp - 0x14]
mov ecx, 0xfffffffe
cmovne ebx, ecx
mov dword [esi + 0x45], eax
mov dword [esi + 0x49], ebx
pop edi
mov edx, dword [ebp - 0x18]
mov ecx, esi
mov dword [esi + 0x319], ebx
call fcn.00401ff0
mov ecx, dword [esi + 0x319]
pop ebx
xor eax, eax
cmp ecx, 0xffffffff
pop esi
cmovne eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e66f2
mov esp, ebp
pop ebp
ret
Function at 0x411b10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
cmp eax, 1
jbe 0x411b7b
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 4]
and eax, 0xf
sub eax, 0
je 0x411b7f
sub eax, 1
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax]
je 0x411b5e
test ecx, ecx
je 0x411b86
mov eax, dword [0x5645d8]
mov edx, dword [0x5645d4]
sub eax, edx
sar eax, 2
cmp eax, ecx
jbe 0x411b86
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x411b86
cmp eax, ecx
jbe 0x411b86
mov ecx, dword [edx + ecx*4]
jmp 0x411b88
test ecx, ecx
je 0x411b86
mov eax, dword [0x5645d8]
mov edx, dword [0x5645d4]
sub eax, edx
sar eax, 2
cmp eax, ecx
jbe 0x411b86
mov ecx, dword [edx + ecx*4]
jmp 0x411b88
test eax, eax
je 0x411b86
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax]
jmp 0x411b88
xor ecx, ecx
mov eax, dword [0x55f180]
cmp dword [eax + 4], ecx
jae 0x411b9c
mov ecx, str.st_gEnemy_idx
jmp fcn.00469b60
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov byte [eax + 0xbc], 1
pop ebp
ret

Function at 0x415ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54afc8
push 0x4fd560
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x552064]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
call fcn.00415970
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
cmp byte [0x55695e], 0
jne 0x415f3f
call fcn.00417c50
push esi
push dword [0x5568e0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 4
push dword [0x5568e0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x5568e0]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [ebp - 4], 0xfffffffe
call fcn.00415f87
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416150
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x552064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004fdf60
mov eax, dword [0x556948]
add esp, 0xc
cmp eax, dword [0x5568f8]
jne 0x4161e2
push 0x100
lea eax, [ebp - 0x108]
push eax
push dword [0x55691c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov al, byte [ebp - 0x108]
test al, al
je 0x4161cd
cmp al, 0x30
jne 0x4161b8
cmp byte [ebp - 0x107], 0
je 0x4161cd
mov ecx, dword [0x55693c]
mov dl, 1
lea ecx, [ecx + 1]
call fcn.00491e80
jmp 0x41630b
mov ecx, dword [0x55693c]
xor dl, dl
lea ecx, [ecx + 1]
call fcn.00491e80
jmp 0x41630b
cmp eax, dword [0x5568fc]
jne 0x41626e
push 0x100
lea eax, [ebp - 0x108]
push eax
push dword [0x55691c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [0x556960], 0
mov ecx, 0x10
mov eax, 0xa
cmovne eax, ecx
push eax
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00501c74
mov esi, dword [0x55693c]
add esp, 0xc
inc esi
mov edi, eax
test esi, esi
jle 0x41630b
mov ecx, dword [0x5645d8]
mov edx, dword [0x5645d4]
sub ecx, edx
sar ecx, 2
cmp ecx, esi
ja 0x416266
lea eax, [esi + 1]
mov ecx, 0x5645d4
push eax
call fcn.004519a0
mov edx, dword [0x5645d4]
mov dword [edx + esi*4], edi
jmp 0x41630b
cmp eax, dword [0x556904]
jne 0x416310
push dword [0x55691c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea esi, [eax + 0x10]
lea edi, [esi + 1]
mov eax, edi
call fcn.004e70b0
mov ebx, esp
test ebx, ebx
je 0x4162eb
push edi
push 0
push ebx
call fcn.004fdf60
add esp, 0xc
push esi
push ebx
push dword [0x55691c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4162b8
sub esi, ecx
je 0x4162f9
lea ecx, [esi + 0xc]
and ecx, 0xfffffffc
call fcn.004a2590
push esi
push ebx
lea edi, [eax + 8]
mov dword [eax], 1
push edi
mov dword [eax + 4], esi
call fcn.004fe1f0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4162fb
push esi
push ebx
push dword [0x55691c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor edi, edi
mov ecx, dword [0x55693c]
mov edx, edi
lea ecx, [ecx + 1]
call fcn.00491fc0
call fcn.00417ae0
lea esp, [ebp - 0x118]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e66f2
mov esp, ebp
pop ebp
ret
Function at 0x416520
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x552064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, dword [0x556900]
push 0
push 0
push 0x1009
push edi
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x40], 1
push 0
push 0x1007
push edi
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 0x2c], str.Filename
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Current_Pos
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Goal_Pos
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Scale
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Transparency
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Time
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Tone
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Type
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Sync
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Chromakey
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 9
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Effect
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 0xa
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Cell
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 0xb
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Layer
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x38], 0
call ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], str.Blend
push eax
push 0
push 0x1007
push edi
mov dword [ebp - 0x3c], 0xd
mov dword [ebp - 0x38], 0
call ebx
xor esi, esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 0x543724
push eax
push 0
push 0x1006
push edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 1
call ebx
inc esi
cmp esi, 0xe
jl 0x416761
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e66f2
mov esp, ebp
pop ebp
ret
Function at 0x41a500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x552064]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x556aa5], 0
push esi
jne 0x41a59e
mov eax, dword [0x563dc8]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x6b
push eax
mov byte [0x556aa5], 1
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x41a170
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
call esi
push 0x7f00
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x6c
push dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], str.rm2k3MediaOption
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov byte [0x556aa5], 1
cmp byte [0x556aa6], 0
jne 0x41a5b3
mov byte [0x556aa6], 1
call fcn.00419970
cmp byte [0x556a85], 0
mov eax, dword [0x556a2c]
cmovne eax, dword [0x556a30]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0xf1
push eax
mov dword [0x556a80], 0xffffffff
call esi
mov eax, dword [0x556a88]
sub eax, 1
je 0x41a60b
sub eax, 2
je 0x41a604
sub eax, 1
je 0x41a5fd
mov eax, dword [0x556a3c]
jmp 0x41a610
mov eax, dword [0x556a44]
jmp 0x41a610
mov eax, dword [0x556a40]
jmp 0x41a610
mov eax, dword [0x556a38]
push 0
push 1
push 0xf1
push eax
call esi
movzx eax, byte [0x556a8c]
push 0
push eax
push 0xf1
push dword [0x556a48]
call esi
xor eax, eax
cmp byte [0x556a86], al
push 0
sete al
push eax
push 0xf1
push dword [0x556a4c]
call esi
movzx eax, byte [0x556a8e]
push 0
push eax
push 0xf1
push dword [0x556a54]
call esi
movzx eax, byte [0x556a8f]
push 0
push eax
push 0xf1
push dword [0x556a58]
call esi
movzx eax, byte [0x556a90]
push 0
push eax
push 0xf1
push dword [0x556a5c]
call esi
movzx eax, byte [0x556a91]
push 0
push eax
push 0xf1
push dword [0x556a60]
call esi
movzx eax, byte [0x556aa4]
push 0
push eax
push 0xf1
push dword [0x556a64]
call esi
push 1
push dword [0x556a20]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x556a20]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [0x556a20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov byte [0x556bc3], 1
pop esi
call fcn.004e66f2
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x41abfb
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41abe4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x41c670
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x18
bsr ecx, eax
push ebx
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x41c803
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x564b78]
push eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x564b80
lea eax, [esi + esi]
push eax
call fcn.0041c1b0
mov edi, dword [0x564b78]
lea eax, [esi - 1]
mov ecx, dword [ebp - 0xc]
mov dword [0x564b8c], eax
mov dword [0x564b90], esi
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x41c7db
nop dword [eax]
cmp dword [edi + 0x1c], 0x10
lea ebx, [edi + 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
jb 0x41c6f6
mov edx, dword [ebx]
mov dword [ebp - 0x10], edx
mov edx, dword [ebx + 0x10]
mov esi, 0x811c9dc5
mov dword [ebp - 0x14], edx
xor edx, edx
cmp dword [ebx + 0x10], edx
jbe 0x41c730
mov ebx, dword [ebp - 0x10]
mov ecx, esi
mov eax, dword [ebp - 0x14]
movzx esi, byte [edx + ebx]
inc edx
xor esi, ecx
imul ecx, esi, 0x1000193
cmp edx, eax
jb 0x41c710
mov eax, dword [ebp - 8]
lea ebx, [edi + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
and esi, dword [0x564b8c]
mov edx, dword [0x564b80]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], esi
cmp esi, ecx
jne 0x41c752
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x41c7d1
mov esi, dword [edx + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.0041c8e0
test al, al
jne 0x41c78c
mov ebx, dword [esi]
mov eax, dword [ebp - 8]
cmp ebx, edi
je 0x41c784
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], edi
jmp 0x41c7ce
mov ebx, esi
cmp dword [ebp - 0x10], esi
je 0x41c7ae
mov esi, dword [esi + 4]
mov ebx, esi
lea eax, [ebx + 8]
push eax
lea eax, [edi + 8]
push eax
call fcn.0041c8e0
test al, al
je 0x41c7e4
cmp dword [ebp - 0x10], esi
jne 0x41c793
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov edi, eax
cmp eax, ecx
jne 0x41c6e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x41c7ce
push str.invalid_hash_bucket_count
call fcn.004cea8e
int3
Function at 0x420c70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524280
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x552064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e692f
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004ced59
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4282e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x552064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x428315
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e66f2
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x428353
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x428353
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e66f2
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x42841c
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x42837d
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42838a
push dword [esi + 0x4c]
push edi
jmp 0x4283c5
movzx eax, di
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x42841c
cmp eax, 1
jle 0x4283ef
cmp eax, 3
jne 0x42841c
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.00505120
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x428421
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e66f2
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x42840c
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.00505d91
add esp, 0x10
cmp ebx, eax
jne 0x42841c
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x42833d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004e66f2
mov esp, ebp
pop ebp
ret 4