joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e4b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0040f720
xor ebx, ebx
mov dword [esi], vtable.CScrabbleLogic.1.0
mov dword [esi + 4], vtable.CScrabbleLogic.0
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
lea edi, [esi + 0x2ac]
mov ecx, edi
mov byte [esp + 0x1c], 1
mov dword [esi + 0x2a8], ebx
call fcn.00422a70
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x2b8]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00422a70
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
push 0x4257b0
push 0x4257a0
push 3
push 0x10
lea eax, [esi + 0x2c8]
push eax
mov byte [esp + 0x30], 3
call fcn.00469560
lea edi, [esi + 0x318]
mov ecx, edi
mov byte [esp + 0x1c], 4
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x300], ebx
call fcn.00422a70
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x1c], 5
mov dword [esi + 0x334], ebx
mov dword [esi + 0x338], ebx
mov dword [esi + 0x340], ebx
mov byte [esi + 0x344], bl
call fcn.00455fb0
mov dword [esi + 0x348], eax
call fcn.00455f60
push 0xda4
mov dword [esi + 0x34c], eax
call fcn.0048a73b
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x1c], 6
je 0x42baa8
mov ecx, eax
call fcn.004471f0
jmp 0x42baaa
xor eax, eax
push 0x4a3872
lea ecx, [esi + 0x354]
mov byte [esp + 0x20], 5
mov dword [esi + 0x350], eax
call fcn.00445710
mov dword [esi + 0x398], ebx
mov dword [esi + 0x3ac], ebx
mov dword [esi + 0x3c8], ebx
mov byte [esi + 0x3cc], bl
mov byte [esi + 0x3cd], bl
call fcn.00430a40
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x434880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49eb2e
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebp
push esi
push edi
mov edi, dword [esp + 0xd8]
push edi
lea eax, [esp + 0x14]
push str.CDXSurface::Create_START__s
push eax
mov esi, ecx
call fcn.00468e67
xor ebp, ebp
add esp, 0xc
cmp edi, ebp
jne 0x4348c8
or eax, 0xffffffff
jmp 0x434a6b
push 4
call fcn.0048a73b
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebp
mov dword [esp + 0xcc], ebp
je 0x4348ea
mov ecx, eax
call fcn.0043ec40
mov ebp, eax
mov ecx, dword [esp + 0xdc]
push ebx
mov ebx, dword [esp + 0xd8]
mov eax, dword [ebx + 0xc]
push 0
push ecx
push edi
push eax
mov ecx, ebp
mov dword [esp + 0xe0], 0xffffffff
call fcn.0043f020
test ebp, ebp
mov dword [esi + 0x80], eax
je 0x434926
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x4349ab
push 2
push edi
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x434949
mov eax, 0xfffffffe
jmp 0x434a6a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x434960
mov eax, 0xfffffffd
jmp 0x434a6a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x434975
mov eax, 0xfffffffc
jmp 0x434a6a
movzx ecx, byte [esp + 0xe0]
mov eax, dword [ebx + 0xc]
push ecx
lea edx, [esi + 0x88]
push edx
lea ecx, [esi + 0x84]
push ecx
push edi
push eax
call fcn.0043eb20
add esp, 0x14
test eax, eax
mov dword [esi + 0x80], eax
jne 0x4349ab
or eax, 0xffffffff
jmp 0x434a6a
mov ecx, esi
call fcn.00433660
mov ecx, esi
call fcn.00433700
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
xor edx, edx
mov dword [esi + 0x2a4], edx
mov dword [esi + 0x2a0], edx
movzx edx, byte [esp + 0xe0]
mov dword [esi + 0x88], ecx
mov dword [esi + 0x2ac], ecx
lea ecx, [esi + 0x8c]
mov dword [esi + 0x84], eax
mov dword [esi + 0x2a8], eax
mov dword [esi + 0x298], ebx
mov dword [esi + 0x3d4], edx
mov eax, edi
sub ecx, edi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x434a03
mov ecx, dword [esi + 0x80]
lea eax, [esi + 0x2b0]
push eax
push ecx
call fcn.0043e990
add esp, 8
call fcn.0043ead0
mov ecx, dword [esi + 0x298]
push esi
mov dword [esi + 0x29c], eax
call fcn.0043b0c0
mov ecx, dword [esi + 0x298]
call fcn.0043a1c0
mov ecx, esi
mov dword [esi + 0x3d8], eax
call fcn.004331b0
push edi
lea edx, [esp + 0x18]
push 0x4a7410
push edx
call fcn.00468e67
add esp, 0xc
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xc4
ret 0xc
Function at 0x43c340
Capabilities:
Read file on windows

Disassembly:
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43c34e
jmp 0x4405b0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call fcn.00466360
add esp, 0xc
ret 8
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
and eax, ecx
ret 8
Function at 0x43e610
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, dword [esp + 0xa8]
test ebx, ebx
push esi
je 0x43e70b
mov esi, dword [esp + 0xa8]
test esi, esi
je 0x43e70b
mov eax, dword [esi]
push ebp
push edi
push esi
call dword [eax + 0x6c]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
jne 0x43e657
push str.createcompatible_dc_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x18]
push ecx
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0xc0]
test ebx, ebx
jne 0x43e67c
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc4]
test ebp, ebp
jne 0x43e68b
mov ebp, dword [esp + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x38], 0x7c
mov dword [esp + 0x3c], 6
call dword [edx + 0x58]
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push esi
call dword [ecx + 0x44]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x43e6f5
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x38]
push 0xcc0020
push ebp
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x24]
push edi
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push esi
call dword [edx + 0x68]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x9c
ret
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x9c
ret
Function at 0x43ead0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
push ebx
lea eax, [esp + 8]
push eax
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x20]
cmp eax, 0x182
je 0x43eb0c
cmp eax, 0x1e6
je 0x43eb0c
push eax
push ebx
push ecx
push edx
mov eax, 1
cpuid
mov dword [esp + 0x14], edx
pop edx
pop ecx
pop ebx
pop eax
mov eax, dword [esp + 4]
shr eax, 0x17
and eax, 1
pop ebx
add esp, 0x28
ret

Function at 0x43ee00
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49ec84
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x15c]
push esi
xor esi, esi
cmp eax, esi
push edi
mov edi, dword [esp + 0x168]
jne 0x43ee3d
push edi
push ebx
call fcn.0043ec60
cmp eax, 5
ja case.default.0x43ee46
jmp dword [eax*4 + 0x43efe8]
push str.Error:_CDXImage___Unsupported_Image_type.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp case.default.0x43ee46
lea ecx, [esp + 0xc]
call fcn.00441c00
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x160]
push eax
push edi
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], esi
call fcn.00441e60
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.00441c20
jmp case.default.0x43ee46
lea ecx, [esp + 0xc]
call fcn.00440630
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x160]
push edx
push edi
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], 1
call fcn.00440760
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.00440650
jmp case.default.0x43ee46
lea ecx, [esp + 0xc]
call fcn.00441740
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x160]
push ecx
push edi
push ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], 2
call fcn.00441960
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.00441760
jmp case.default.0x43ee46
lea ecx, [esp + 0xc]
call fcn.004413f0
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x160]
push eax
push edi
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], 3
call fcn.004414e0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.00441410
jmp case.default.0x43ee46
lea ecx, [esp + 0xf0]
call fcn.004411b0
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x160]
push edx
push edi
push ebx
push eax
lea ecx, [esp + 0x100]
mov dword [esp + 0x168], 4
call fcn.00441240
lea ecx, [esp + 0xf0]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.004411d0
mov ecx, dword [esp + 0x150]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 0x14
Function at 0x441790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 0x40]
push ebx
mov ebx, dword [ecx + 0x3c]
imul ebx, eax
push ebp
push esi
push edi
xor edi, edi
cmp word [esp + 0x44], di
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xff
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 3
mov dword [esp + 0x10], ebx
je 0x4418e2
movzx ecx, word [esp + 0x40]
imul ecx, eax
mov eax, dword [esp + 0x38]
lea edx, [eax + ecx*2]
xor eax, eax
mov dword [esp + 0x38], eax
jmp 0x441800
xor edi, edi
lea ebx, [ebx]
mov ebp, dword [esp + eax*4 + 0x14]
movzx eax, word [esp + 0x40]
cmp ebp, eax
jl 0x44182e
test ebx, ebx
jle 0x4418c6
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + ebp*4 + 0x24]
add eax, ebp
mov esi, ebx
mov byte [eax], cl
add eax, 4
dec esi
jne 0x441821
jmp 0x4418c6
test ebx, ebx
mov dword [esp + 0x44], 0
jle 0x4418c6
mov edi, edi
movzx eax, byte [edx]
inc edx
cmp eax, 0x80
je 0x4418bc
jge 0x44187d
mov esi, dword [esp + 0x44]
inc eax
add esi, eax
test eax, eax
mov dword [esp + 0x44], esi
je 0x4418bc
mov esi, dword [esp + 0x3c]
lea ecx, [ebp + edi*4]
add ecx, esi
mov esi, eax
add edi, eax
lea ebx, [ebx]
mov al, byte [edx]
mov byte [ecx], al
inc edx
add ecx, 4
dec esi
jne 0x441870
jmp 0x4418bc
cmp eax, 0x80
jle 0x4418bc
mov esi, dword [esp + 0x44]
mov bl, byte [edx]
xor eax, 0xff
add eax, 2
add esi, eax
inc edx
test eax, eax
mov dword [esp + 0x44], esi
je 0x4418b8
mov esi, dword [esp + 0x3c]
lea ecx, [ebp + edi*4]
add ecx, esi
mov esi, eax
add edi, eax
jmp 0x4418b0
mov byte [ecx], bl
add ecx, 4
dec esi
jne 0x4418b0
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x44], ebx
jl 0x441840
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 4
mov dword [esp + 0x38], eax
jl 0x4417f8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
xor ebp, ebp
lea esp, [esp]
movzx ecx, word [esp + 0x40]
mov eax, dword [esp + ebp*4 + 0x14]
cmp eax, ecx
jle 0x44191a
test ebx, ebx
jle 0x44192d
mov dl, byte [esp + eax*4 + 0x24]
add eax, edi
mov ecx, ebx
lea esp, [esp]
mov byte [eax], dl
add eax, 4
dec ecx
jne 0x441910
jmp 0x44192d
test ebx, ebx
jle 0x44192d
add eax, edi
mov ecx, ebx
mov dl, byte [esi]
mov byte [eax], dl
inc esi
add eax, 4
dec ecx
jne 0x441922
inc ebp
cmp ebp, 4
jl 0x4418f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x445a70
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
mov edx, eax
and edx, 0xffff
imul edx, edx, 0x9069
shr eax, 0x10
add edx, eax
mov dword [ecx], edx
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0xffff
imul edx, edx, 0x4650
shr eax, 0x10
add edx, eax
mov dword [ecx + 4], edx
push esi
push edi
mov edi, dword [ecx + 8]
imul edi, edi, 0x10dcd
add edi, 0x12d687
mov dword [ecx + 8], edi
mov edx, dword [ecx + 0xc]
mov eax, edx
shl eax, 0x11
xor eax, edx
mov edx, eax
shr edx, 0xd
xor edx, eax
mov esi, edx
shl esi, 5
xor esi, edx
mov dword [ecx + 0xc], esi
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
shl eax, 0x10
add eax, edx
xor eax, edi
pop edi
add eax, esi
pop esi
ret
Function at 0x44bab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49ef63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4c5550]
xor eax, dword [esp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
xor eax, eax
mov dword [esi], 0x4aaab8
mov dword [esp + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x18], 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
call fcn.00456f10
lea edx, [esi + 0x34]
push 0x4a3872
push edx
mov dword [esi + 0x20], eax
call fcn.00456d70
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x24], 0x63327ea
mov dword [esi + 0x28], 0x6e3f28e
mov dword [esi + 0x2c], 0xf5cf21a
mov dword [esi + 0x30], 0x56efe89
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, esi
pop esi
call fcn.0046b6d9
add esp, 0x14
ret 0xc

Function at 0x44c8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49ef83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [esp + 4], esi
xor eax, eax
mov dword [esi], 0x4aaaf8
mov dword [esp + 0x28], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0x44c830
push edx
push ecx
mov byte [esp + 0x3c], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
call fcn.004601b0
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4578f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49f598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp], 0x4ab3d4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x2c]
push eax
push edx
mov dword [esp + 0x2c], 0
call fcn.004577d0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x1c

Function at 0x457b00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49f598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp], 0x4ab3d4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx + 0xc], edx
mov dword [esp + 0x14], eax
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp]
mov dword [ecx + 0x14], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x18], edx
mov dl, byte [esp + 0x38]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x30]
mov byte [ecx + 8], dl
mov edx, dword [ecx + 4]
push eax
mov eax, dword [edx + 0x10]
shl eax, 0xa
push eax
call fcn.00457860
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x20
Function at 0x45b2d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x424
mov eax, dword [0x4c5550]
xor eax, dword [esp + 0x424]
push esi
mov dword [esp + 0x424], eax
lea eax, [esp + 0x24]
push 0x4a3872
push eax
mov esi, ecx
call fcn.00456d70
lea ecx, [esi + 0xb18]
push ecx
lea edx, [esp + 0x230]
push edx
call fcn.00456d70
mov eax, dword [esi + 0x1f94]
add esp, 0x10
test eax, eax
mov dword [esp + 8], 0
jle 0x45b467
push ebx
lea eax, [esi + 0x1e94]
push ebp
mov dword [esp + 0xc], eax
push edi
mov ecx, dword [esp + 0x10]
xor edi, edi
mov di, word [ecx]
lea edx, [esp + 0x1c]
mov ecx, esi
push edi
push edx
call fcn.0045abb0
mov dl, byte [esp + 0x1c]
test dl, dl
lea ecx, [esp + 0x1c]
je 0x45b375
mov al, dl
lea esp, [esp]
movsx eax, al
mov ebx, dword [esp + eax*4 + 0x30]
lea eax, [esp + eax*4 + 0x30]
inc ebx
inc ecx
mov dword [eax], ebx
mov al, byte [ecx]
test al, al
jne 0x45b360
mov eax, dword [esp + 0x12c]
cmp eax, dword [esp + 0x32c]
jge 0x45b41f
test dl, dl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ecx
je 0x45b41f
mov al, dl
jmp 0x45b3a0
cmp al, 0x3f
je 0x45b40f
cmp al, byte [ecx + 1]
je 0x45b40f
movsx ecx, al
mov edx, dword [esp + ecx*4 + 0x30]
lea eax, [edx + ecx*8]
mov edx, dword [esp + 0x12c]
movzx edx, byte [esi + edx*2 + 0x1880]
movzx eax, word [esi + eax*2 + 0x148e]
not dl
and eax, edi
and edx, 0x7f
or eax, edx
mov edx, dword [esi + 0x1468]
mov ecx, dword [edx + ecx*4 + 0x72c]
movzx edx, di
movsx edx, word [esi + edx*2 + 0x2198]
movzx eax, ax
movsx ebp, word [esi + eax*2 + 0x2198]
lea eax, [esi + eax*2 + 0x2198]
movsx ebx, dx
sub ebx, ecx
cmp ebp, ebx
jge 0x45b40b
sub edx, ecx
mov word [eax], dx
mov dl, byte [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 1]
inc ecx
test al, al
mov dword [esp + 0x18], ecx
jne 0x45b3a0
test dl, dl
lea ecx, [esp + 0x1c]
je 0x45b442
mov al, dl
lea esp, [esp]
inc ecx
movsx edx, al
mov al, byte [ecx]
test al, al
mov dword [esp + edx*4 + 0x30], 0
jne 0x45b430
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x1f94]
inc eax
add edx, 2
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x45b335
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x424]
xor ecx, dword [esp + 0x428]
pop esi
add esp, 0x424
jmp fcn.0046b6d9
Function at 0x463120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49f7ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x30], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [esp + 0xe0]
push 1
push 1
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0xe4], ebx
call fcn.0042c050
mov byte [esp + 0xd8], 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.0041ae70
mov ecx, eax
call fcn.0041ae70
mov ecx, eax
call fcn.0041ae70
cmp eax, ebx
jne 0x4631a2
xor ecx, ecx
jmp 0x4631a9
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 4]
and dl, 6
neg dl
sbb edx, edx
not edx
test ecx, edx
je 0x46325f
mov eax, dword [esi + 4]
cmp eax, ebx
mov ebp, dword [esp + 0x14]
jne 0x4631cc
xor edx, edx
jmp 0x4631e6
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebp
ja 0x463240
mov edi, ebp
sub edi, edx
inc edi
jmp 0x4631f0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0xdc], 2
call fcn.00463090
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov byte [esp + 0xd8], 1
je 0x463231
push eax
call fcn.0048a76b
add esp, 4
dec edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
jne 0x4631f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
sub edx, ecx
mov ecx, dword [esi + 4]
lea eax, [ebp + ebp*4]
push edx
lea ecx, [ecx + eax*4]
call fcn.00462ab0
jmp 0x463174
xor ebp, ebp
xor edi, edi
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x4632ab
mov edx, dword [esi + 8]
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jae 0x4632ab
mov eax, dword [edi + ecx + 0xc]
mov ecx, dword [edi + ecx + 8]
mov edx, eax
sub edx, ecx
sar edx, 1
push edx
push ecx
mov edx, esp
mov dword [edx], eax
push ecx
mov eax, esp
mov dword [eax], ecx
call fcn.00462250
add esp, 0xc
inc ebp
add edi, 0x14
jmp 0x463263
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x9c]
mov dword [esp + 0x10], eax
mov dword [esp + edx + 0x34], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd8], 3
call fcn.0042aac0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x34], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd8], bl
mov dword [esp + 0x9c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.00479acd
mov ecx, dword [esp + 0xd0]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret 4