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

Disassembly:
mov eax, dword [0x659958]
sub esp, 0x80
cmp eax, 0x1c
push ebx
push esi
mov esi, ecx
jl 0x42a8ea
push edi
xor ebx, ebx
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x2c], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
mov ecx, 0xb
mov dword [esp + 0x20], eax
lea edi, [esp + 0x60]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x74], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push 0x18
push ecx
push edx
mov dword [esp + 0x30], eax
call fcn.00472400
mov ecx, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0xc
lea eax, [esp + 0x14]
push 0x14
push eax
push ecx
call edi
add esp, 4
push eax
call fcn.00472400
mov eax, dword [0x659a18]
add esp, 0xc
lea edx, [esp + 0x60]
push 0x2c
push edx
push eax
call edi
add esp, 4
push eax
call fcn.00472400
mov ecx, dword [0x659a18]
lea edx, [esp + 0x4c]
push ecx
push 1
push 0x20
push edx
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esi + 0x214]
add esp, 0x1c
test ah, 4
pop edi
je 0x42a859
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebx
je 0x42a82b
lea ecx, [esp + 0x3c]
push 1
push ecx
mov ecx, eax
call fcn.00489020
jmp 0x42a82d
xor eax, eax
push 0x24
mov dword [esi + 0x224], eax
call fcn.00470250
add esp, 4
cmp eax, ebx
je 0x42a851
lea edx, [esp + 0x4c]
push 1
push edx
mov ecx, eax
call fcn.00489020
jmp 0x42a853
xor eax, eax
mov dword [esi + 0x228], eax
test byte [esp + 0x24], 1
je 0x42a88e
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
or ecx, 0x80000000
push esi
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00443080
add esp, 0xc
mov ecx, esi
mov dword [esi + 0x21c], eax
call fcn.00429bb0
mov edx, dword [0x659a34]
mov eax, dword [esp + 0x5c]
test edx, eax
je 0x42a8ea
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, esi
mov dword [esp + 8], eax
call fcn.0042a620
test eax, eax
je 0x42a8d1
mov eax, dword [esi + 0x214]
shr eax, 0x18
cmp eax, ebx
jg 0x42a8cc
mov ecx, 0x675aa8
call fcn.004a13e0
add word [esp + 0xe], ax
lea edx, [esp + 8]
lea eax, [esp + 0x5c]
push edx
push esi
push eax
call fcn.00443420
add esp, 0xc
mov dword [esi + 0x220], eax
pop esi
pop ebx
add esp, 0x80
ret 4

Function at 0x42aa10
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x659958]
sub esp, 0x10
cmp eax, 0x1d
push esi
mov esi, ecx
jl 0x42aa89
mov eax, dword [esp + 0x18]
mov ecx, dword [0x659a18]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
lea eax, [esp + 0x10]
push edx
push 1
push 0x10
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esi + 0x214]
add esp, 0x1c
test ah, 8
je 0x42aa89
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x42aa81
lea ecx, [esp + 4]
push 1
push ecx
mov ecx, eax
call fcn.00489020
mov dword [esi + 0x22c], eax
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov dword [esi + 0x22c], eax
pop esi
add esp, 0x10
ret 4
Function at 0x42c930
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x52fd38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00429890
lea ebp, [esi + 0x24c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [ebp], eax
mov dword [esi + 0x250], eax
mov dword [esi + 0x254], eax
mov dword [esi + 0x258], eax
mov dword [esi + 0x25c], eax
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], eax
mov dword [esi + 0x268], eax
mov dword [esi + 0x26c], eax
or eax, 0xffffffff
mov dword [esi + 0x270], eax
mov dword [esi + 0x274], eax
mov dword [esi], 0x533b10
mov dword [esi + 0x248], eax
mov ecx, dword [0x659a18]
lea edx, [esi + 0x1d0]
push ecx
push 1
push 0x10
push edx
call edi
mov eax, dword [0x659a18]
lea ecx, [esp + 0x34]
push eax
push 1
push 2
push ecx
call edi
movsx eax, word [esp + 0x44]
mov edx, eax
mov ebx, dword [sym.imp.MSVCRT.dll_ftell]
shl edx, 5
sub edx, eax
mov eax, dword [0x5c4868]
add esp, 0x20
lea ecx, [eax + edx*4]
mov dword [esi + 0x1e0], ecx
mov edx, dword [0x659a18]
push 1
push edx
call ebx
add esp, 4
mov ecx, esi
push eax
call fcn.0042aec0
mov eax, dword [0x659a18]
push eax
call ebx
add esp, 4
mov ecx, esi
push eax
call fcn.0042a690
mov ecx, dword [0x659a18]
push ecx
call ebx
add esp, 4
mov ecx, esi
push eax
call fcn.0042a740
mov edx, dword [0x659a18]
push edx
call ebx
add esp, 4
mov ecx, esi
push eax
call fcn.0042aa10
mov eax, dword [0x659a18]
push eax
push 1
lea ecx, [esi + 0x240]
push 8
push ecx
call edi
mov edx, dword [0x659a18]
push edx
push 1
push 4
push ebp
call edi
add esp, 0x20
mov ecx, esi
call fcn.0042cb30
test eax, eax
jbe 0x42ca98
mov eax, dword [esi + 0x1e8]
cmp eax, 0xa
jl 0x42ca92
mov eax, 0xa
mov dword [esi + 0x1e8], eax
call fcn.004bd680
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x278], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x42f5e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x52fdd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00429890
push 0x7c
mov dword [esp + 0x18], 0
mov dword [esi], 0x533d30
call fcn.00470250
add esp, 4
test eax, eax
je 0x42f62d
mov ecx, eax
call fcn.00416cc0
jmp 0x42f62f
xor eax, eax
push 1
lea ecx, [edi + 8]
push 0
push ecx
mov ecx, eax
mov dword [esi + 0x1e0], eax
call fcn.004170f0
mov edx, dword [0x659a18]
add edi, 0x34
push 0
push edi
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x659a18]
add esp, 0xc
mov ecx, esi
push eax
push 1
push 0x10
call fcn.0043a330
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push eax
call edi
mov ecx, dword [0x659a18]
lea edx, [esi + 0x1d0]
push ecx
push 1
push 0x10
push edx
call edi
mov eax, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x20
push 1
push eax
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0042aec0
mov ecx, dword [0x659a18]
push ecx
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0042a690
mov edx, dword [0x659a18]
push edx
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0042aa10
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x42f980
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x52fe18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00429890
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x533e40
mov ecx, dword [0x659a18]
lea edx, [esi + 0x1d0]
push ecx
push 1
push 0x10
push edx
mov dword [esp + 0x24], 0
call edi
mov eax, dword [0x659a18]
lea ecx, [esp + 0x2c]
push eax
push 1
push 2
push ecx
call edi
movsx eax, word [esp + 0x3c]
mov ecx, dword [0x5c4870]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
add eax, ecx
add esp, 0x20
mov edx, eax
shl edx, 5
sub edx, eax
mov eax, dword [0x5c4868]
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x1e0], ecx
mov eax, dword [0x659a18]
push edx
push eax
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0042aec0
mov ecx, dword [0x659a18]
push ecx
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0042a690
mov edx, dword [0x659a18]
push edx
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0042aa10
mov eax, dword [esi + 0x214]
test ah, 0x20
je 0x42fa6a
mov eax, dword [0x659a18]
push eax
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0042a900
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x430570
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 1
mov esi, ecx
push eax
call fcn.0042f980
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x534280
mov edx, dword [0x659a18]
push 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push eax
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
mov dword [esp + 0x2c], 0
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x24c]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x659a18]
lea edx, [esi + 0x250]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [0x659a18]
lea ecx, [esi + 0x254]
push eax
push 1
push 4
push ecx
call edi
add esp, 0x4c
mov eax, esi
pop edi
pop esi
ret 8

Function at 0x430930
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push ebx
push esi
push edi
mov edi, ecx
push 0
push eax
lea esi, [edi + 4]
mov word [esi], 1
mov word [esi + 2], 1
mov dword [esi + 4], 1
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
push 4
push edi
call ebx
mov eax, dword [0x659a18]
push eax
push 1
push 8
push esi
call ebx
mov ecx, dword [0x659a18]
lea edx, [esp + 0x38]
push ecx
push 1
push 0x20
push edx
call ebx
push 0x24
call fcn.00470250
add esp, 0x40
test eax, eax
je 0x4309b2
lea ecx, [esp + 0xc]
push 1
push ecx
mov ecx, eax
call fcn.00489020
jmp 0x4309b4
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x1c]
lea edx, [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 8], eax
mov eax, edi
pop edi
pop esi
mov dword [edx + 0xc], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x4316f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x52fe96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0041d850
lea eax, [esi + 0x1fc]
lea edi, [esi + 0x204]
lea ebp, [esi + 0x20c]
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
or eax, 0xffffffff
mov ecx, ebp
mov dword [esp + 0x1c], ebx
mov word [edi + 2], bx
mov word [edi], bx
mov word [edi + 6], ax
mov word [edi + 4], ax
call fcn.004a81e0
mov dword [esi + 0x224], ebx
mov dword [esi + 0x228], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x230], 0xffffffff
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi], 0x534524
mov eax, dword [0x659958]
cmp eax, 0x19
mov byte [esp + 0x1c], 1
jge 0x4317d9
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x4317cf
mov ecx, dword [0x659a18]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
mov ecx, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00488fd0
mov dword [esi + 0xec], eax
jmp 0x4317ed
xor eax, eax
mov dword [esi + 0xec], eax
jmp 0x4317ed
mov edx, dword [0x659a18]
push 1
push 0x10
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov eax, dword [0x659a18]
push eax
push 1
push 8
push edi
call dword [sym.imp.MSVCRT.dll_fread]
movsx edx, word [edi + 6]
movsx eax, word [edi + 2]
mov ecx, dword [0x659a28]
add esp, 0x10
sub edx, eax
push ebx
inc edx
push ecx
push edx
movsx ecx, word [edi + 4]
movsx edx, word [edi]
sub ecx, edx
inc ecx
push ecx
mov ecx, ebp
call fcn.004a8300
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
and eax, 0xfffffdfb
pop edi
or eax, 0x901
mov dword [esi + 8], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x432800
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x659a18]
sub esp, 0x10
push esi
push edi
mov esi, ecx
push eax
push 1
lea ecx, [esp + 0x10]
push 0x10
push ecx
xor edi, edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov ecx, esi
call fcn.00432780
test eax, eax
je 0x43286f
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x43285a
lea edx, [esp + 8]
push edi
push edx
mov ecx, eax
call fcn.00489020
mov dword [esi + 0xcc], eax
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 4
xor eax, eax
pop edi
mov dword [esi + 0xcc], eax
mov eax, 1
pop esi
add esp, 0x10
ret 4
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x436b60
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x52ff98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x10], esi
call fcn.004316f0
lea eax, [esi + 0x244]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esp + 0x18], 0
mov dword [eax], 0
mov dword [esi], 0x53475c
mov ecx, dword [0x659a18]
push ecx
push 1
push 8
push eax
call ebx
mov eax, dword [0x659958]
add esp, 0x10
cmp eax, 0x16
jl 0x436bdb
mov edx, dword [0x659a18]
lea eax, [esi + 0x228]
push edx
push 1
push 4
push eax
call ebx
add esp, 0x10
mov ecx, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
push ecx
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0043aef0
mov edx, dword [0x659a18]
push edx
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0043b340
cmp dword [0x659958], 0x1a
jl 0x436c57
mov ecx, dword [0x659a18]
lea eax, [esi + 0x22c]
push 0x10
push eax
push ecx
call edi
add esp, 4
push eax
call fcn.00472400
mov edx, dword [0x659a18]
push edx
call edi
add esp, 0x10
mov ecx, esi
push eax
call fcn.00432800
mov eax, dword [0x659a18]
lea ecx, [esi + 0x23c]
push eax
push 1
push 4
push ecx
call ebx
add esp, 0x10
mov ecx, esi
call fcn.0043a330
mov ecx, eax
call fcn.004b53f0
mov dword [esi + 0x2cc], eax
mov ecx, 0x20
xor eax, eax
lea edi, [esi + 0x24c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x437d70
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x52ffb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.004316f0
lea eax, [esi + 0x244]
xor ecx, ecx
lea ebp, [esi + 0x24c]
lea ebx, [esi + 0x250]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [eax], ecx
mov dword [esp + 0x1c], ecx
mov dword [ebp], ecx
mov dword [ebx], ecx
mov dword [esi + 0x258], ecx
mov dword [esi + 0x25c], ecx
mov dword [esi], 0x534870
mov ecx, dword [0x659a18]
push ecx
push 1
push 8
push eax
call edi
mov edx, dword [0x659a18]
push edx
push 1
push 2
push ebx
call edi
mov eax, dword [0x659a18]
push eax
push 1
push 2
push ebp
call edi
movsx eax, word [esi + 0x20a]
movsx ecx, word [esi + 0x206]
sub eax, ecx
add esp, 0x30
movsx ecx, word [esi + 0x248]
inc eax
cdq
idiv ecx
mov dword [esi + 0x254], eax
mov eax, dword [0x659958]
cmp eax, 0x16
jl 0x437e54
mov edx, dword [0x659a18]
lea eax, [esi + 0x228]
push edx
push 1
push 4
push eax
call edi
mov al, byte [esi + 0x22b]
add esp, 0x10
test al, al
je 0x437e54
and eax, 0xff
mov dword [esi + 0x254], eax
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043aef0
mov edx, dword [0x659a18]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043b340
cmp dword [0x659958], 0x1a
jl 0x437eda
mov ecx, dword [0x659a18]
lea eax, [esi + 0x22c]
push 0x10
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
push eax
call fcn.00472400
mov edx, dword [0x659a18]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
mov ecx, esi
push eax
call fcn.00432800
mov eax, dword [0x659a18]
lea ecx, [esi + 0x23c]
push eax
push 1
push 4
push ecx
call edi
add esp, 0x10
mov edx, dword [ebp]
imul edx, dword [ebx]
push edx
call fcn.00470b90
mov ecx, dword [ebp]
mov edi, eax
imul ecx, dword [ebx]
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x25c], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x439a00
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x659a18]
push edi
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
push 4
push esi
call ebx
mov eax, dword [0x659a18]
lea edi, [esi + 4]
push eax
push 1
push 0x10
push edi
call ebx
mov al, byte [esi]
add esp, 0x2c
test al, 3
je 0x439a6c
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x439a67
push 1
push edi
mov ecx, eax
call fcn.00489020
mov dword [esi + 0x14], eax
pop edi
pop esi
pop ebx
ret 4
xor eax, eax
mov dword [esi + 0x14], eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x43a1b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [0x659a18]
xor eax, eax
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esp + 0x11], eax
push ecx
push 4
lea edx, [esp + 0x18]
mov word [esp + 0x1d], ax
push 1
push edx
mov byte [esp + 0x20], 0
mov byte [esp + 0x27], al
call edi
add esp, 0x10
mov esi, str.flag
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43a219
test cl, cl
je 0x43a215
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43a219
add eax, 2
add esi, 2
test cl, cl
jne 0x43a1f1
xor eax, eax
jmp 0x43a21e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43a296
mov eax, dword [0x659a18]
lea esi, [ebp + 0x1a0]
push eax
push 1
push 4
push esi
call edi
mov ecx, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
push ecx
call edi
add esp, 0x14
mov ecx, ebp
push eax
call fcn.0043b300
mov edx, dword [0x659a34]
mov eax, dword [esi]
test edx, eax
je 0x43a296
push 0x24
call fcn.00470250
mov esi, eax
add esp, 4
test esi, esi
je 0x43a28e
mov eax, dword [0x659a18]
push 1
push eax
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.00488fd0
pop edi
mov dword [ebp + 0x12c], eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor eax, eax
mov dword [ebp + 0x12c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x43aef0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x659958]
push esi
cmp eax, 0x18
mov esi, ecx
jl 0x43af35
mov eax, dword [esp + 8]
mov ecx, dword [0x659a18]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
add esi, 0x184
push edx
push 1
push 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x43af40
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [0x659958]
push ebx
push esi
cmp eax, 0x19
push edi
mov esi, ecx
jl 0x43b020
mov edi, dword [esp + 0x14]
mov eax, dword [0x659a18]
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 0
push edi
push eax
mov dword [esp + 0x18], 0
call ebx
mov ecx, dword [0x659a18]
lea edx, [esp + 0x18]
push ecx
push 1
push 4
push edx
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x28]
add esp, 0x1c
test eax, eax
jle 0x43b020
push 0x2c
call fcn.00470250
add esp, 4
test eax, eax
je 0x43afb2
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, eax
call fcn.0043cab0
jmp 0x43afb4
xor eax, eax
mov dword [esi + 0x19c], eax
mov cl, byte [eax]
test cl, 1
je 0x43afec
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x43afe4
mov edx, dword [esi + 0x19c]
push 0
add edx, 0xc
mov ecx, eax
push edx
call fcn.00489020
jmp 0x43afe6
xor eax, eax
mov dword [esi + 0xe4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
test eax, eax
je 0x43b002
mov eax, dword [esi + 8]
and al, 0xfb
mov dword [esi + 8], eax
mov ecx, dword [0x659a18]
add edi, 4
push 0
push edi
push ecx
call ebx
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x43b030
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [0x659958]
push ebx
push esi
cmp eax, 0x19
push edi
mov esi, ecx
jl 0x43b0f5
mov edi, dword [esp + 0x14]
mov eax, dword [0x659a18]
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 0
push edi
push eax
mov dword [esp + 0x18], 0
call ebx
mov ecx, dword [0x659a18]
lea edx, [esp + 0x18]
push ecx
push 1
push 4
push edx
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x28]
add esp, 0x1c
test eax, eax
jle 0x43b0f5
push 0x58
call fcn.00470250
add esp, 4
test eax, eax
je 0x43b09e
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, eax
call fcn.0043cbc0
jmp 0x43b0a0
xor eax, eax
mov dword [esi + 0x194], eax
mov cl, byte [eax]
test cl, 1
je 0x43b0d8
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x43b0d0
mov edx, dword [esi + 0x194]
push 1
add edx, 0x10
mov ecx, eax
push edx
call fcn.00489020
jmp 0x43b0d2
xor eax, eax
mov dword [esi + 0xf4], eax
mov eax, dword [0x659a18]
add edi, 4
push 0
push edi
push eax
call ebx
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x43b100
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [0x659958]
push ebx
push esi
cmp eax, 0x19
push edi
mov esi, ecx
jl 0x43b1dd
mov edi, dword [esp + 0x14]
mov eax, dword [0x659a18]
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 0
push edi
push eax
mov dword [esp + 0x18], 0
call ebx
mov ecx, dword [0x659a18]
lea edx, [esp + 0x18]
push ecx
push 1
push 4
push edx
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x28]
add esp, 0x1c
test eax, eax
jle 0x43b1dd
push 0x58
call fcn.00470250
add esp, 4
test eax, eax
je 0x43b172
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, eax
call fcn.0043cbc0
jmp 0x43b174
xor eax, eax
mov dword [esi + 0x198], eax
mov cl, byte [eax]
test cl, 1
je 0x43b1c0
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x43b1a4
mov edx, dword [esi + 0x198]
push 1
add edx, 0x10
mov ecx, eax
push edx
call fcn.00489020
jmp 0x43b1a6
xor eax, eax
mov ecx, eax
mov dword [esi + 0xec], eax
call fcn.004b5510
test al, al
je 0x43b1c0
mov eax, dword [esi + 8]
or ah, 0x40
mov dword [esi + 8], eax
mov eax, dword [0x659a18]
add edi, 4
push 0
push edi
push eax
call ebx
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x43b1f0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x659958]
sub esp, 0x10c
cmp eax, 0x19
push ebp
push esi
mov esi, ecx
jl 0x43b2e7
mov eax, dword [esp + 0x118]
mov ecx, dword [0x659a18]
xor ebp, ebp
push ebp
push eax
push ecx
mov dword [esp + 0x14], ebp
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
lea eax, [esp + 0x14]
push edx
push 1
push 4
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x24]
add esp, 0x1c
cmp eax, ebp
jle 0x43b2e7
push ebx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.0043d030
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xe0]
mov dword [esp + 0x18], eax
lea edi, [esp + 0x1c]
mov ebx, 0x659a34
add esi, 0xc8
cmp ebp, dword [esp + 0x14]
jae 0x43b2b9
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
test ecx, eax
je 0x43b2ab
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x43b2a7
mov edx, edi
push 1
push edx
mov ecx, eax
inc ebp
add edi, 0x10
call fcn.00489020
jmp 0x43b2a9
xor eax, eax
mov dword [esi], eax
add ebx, 4
add esi, 8
cmp ebx, 0x659a74
jl 0x43b277
mov edx, dword [esp + 0x120]
mov eax, dword [0x659a18]
add edx, 4
push 0
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov eax, 1
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x10c
ret 4
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4