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

Disassembly:
push 0xffffffffffffffff
push 0x530648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
mov dword [esp + 0x14], ebp
call fcn.0044b060
mov eax, dword [ebp + 0xc4]
xor ebx, ebx
mov dword [ebp + 0x210], ebx
mov dword [ebp + 0x314], ebx
mov dword [ebp], 0x53603c
mov ecx, dword [eax + 0x20]
and ecx, 0xfffffffe
push 1
mov dword [eax + 0x20], ecx
mov ecx, dword [0x659a18]
push pe_nt_image_headers32
push ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
xor edx, edx
push eax
mov dword [esp + 0x25], edx
push 1
lea ecx, [esp + 0x28]
mov word [esp + 0x2d], dx
push 4
push ecx
mov byte [esp + 0x30], bl
mov byte [esp + 0x37], dl
call edi
add esp, 0x1c
mov esi, str.flag
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x44bb42
cmp cl, bl
je 0x44bb3e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x44bb42
add eax, 2
add esi, 2
cmp cl, bl
jne 0x44bb1e
xor eax, eax
jmp 0x44bb47
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x44bb97
mov eax, dword [0x659a18]
lea ecx, [esp + 0x44]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x659a18]
lea eax, [esp + 0x34]
push edx
push 1
push 0x10
push eax
call edi
mov ecx, dword [0x659a38]
mov eax, dword [esp + 0x64]
add esp, 0x20
test ecx, eax
je 0x44bb97
mov edx, dword [0x659a18]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, ebp
push eax
call fcn.0043b300
mov ecx, 0x675aa8
lea esi, [ebp + 0x10]
call fcn.004a13e0
movsx edx, word [esi]
shl eax, 1
mov ecx, eax
movsx eax, word [esi + 4]
sub eax, ecx
mov ecx, 0x675aa8
sub eax, edx
inc eax
cdq
sub eax, edx
mov edi, eax
sar edi, 1
call fcn.004a13e0
movsx edx, word [esi + 2]
mov ecx, eax
movsx eax, word [esi + 6]
sub eax, edx
sub eax, ecx
movsx ecx, word [esi]
inc eax
push eax
push edi
movsx eax, word [ebp + 0x12]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004b4a60
mov edx, dword [eax]
mov dword [esi], edx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
movsx ecx, word [esi + 6]
movsx edx, word [esi + 2]
movsx eax, word [esi + 4]
sub ecx, edx
inc ecx
push ecx
movsx ecx, word [esi]
sub eax, ecx
lea ecx, [esp + 0x28]
inc eax
push eax
push ebx
push ebx
call fcn.004b4a60
mov edx, dword [eax]
push esi
mov dword [ebp + 0x34], edx
mov ecx, ebp
mov eax, dword [eax + 4]
mov dword [ebp + 0x38], eax
call fcn.0043dbd0
push pe_nt_image_headers32
call fcn.00470250
add esp, 4
cmp eax, ebx
je 0x44bc41
mov ecx, eax
call fcn.004be820
jmp 0x44bc43
xor eax, eax
mov ecx, ebp
mov dword [ebp + 0x210], eax
call fcn.0044c060
mov ecx, 0x40
xor eax, eax
lea edi, [ebp + 0x214]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x34]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x44c420
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0044b060
lea ebp, [esi + 0x418]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esi + 0x210], eax
mov dword [ebp], eax
mov eax, dword [esi + 0xc4]
mov dword [esi], 0x536224
lea edx, [esi + 0x314]
mov ebx, dword [eax + 0x20]
mov ecx, 0x41
and ebx, 0xfffffffe
mov edi, edx
mov dword [eax + 0x20], ebx
xor eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
rep stosd dword es:[edi], eax
mov ecx, dword [0x659a18]
push ecx
push 1
push pe_nt_image_headers32
push edx
call ebx
mov eax, dword [0x659a18]
xor edx, edx
mov dword [esp + 0x25], edx
push eax
push 1
lea ecx, [esp + 0x2c]
mov word [esp + 0x31], dx
push 4
push ecx
mov byte [esp + 0x34], 0
mov byte [esp + 0x3b], dl
call ebx
add esp, 0x20
mov edi, str.flag
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x44c4f3
test cl, cl
je 0x44c4ef
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x44c4f3
add eax, 2
add edi, 2
test cl, cl
jne 0x44c4cf
xor eax, eax
jmp 0x44c4f8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44c544
mov eax, dword [0x659a18]
push eax
push 1
push 4
push ebp
call ebx
mov ecx, dword [0x659a18]
lea edx, [esi + 0x41c]
push ecx
push 1
push 0x10
push edx
call ebx
mov eax, dword [0x659a38]
mov ecx, dword [ebp]
add esp, 0x20
test eax, ecx
je 0x44c544
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043b300
mov eax, dword [esp + 0x40]
mov ecx, 0x675aa8
lea edi, [esi + 0x10]
movsx ebp, word [eax + 0x14]
movsx edx, word [eax + 0x10]
sub ebp, edx
inc ebp
call fcn.004a13e0
movsx edx, word [edi + 2]
mov ecx, eax
movsx eax, word [edi + 6]
sub eax, edx
inc eax
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
sub ebx, ecx
mov ecx, 0x675aa8
call fcn.004a13e0
movsx ecx, word [esi + 0x14]
sub ecx, ebp
push ebx
sub ecx, eax
push ebp
movsx eax, word [esi + 0x12]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004b4a60
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
movsx eax, word [edi + 6]
movsx ecx, word [edi + 2]
movsx edx, word [edi + 4]
sub eax, ecx
lea ecx, [esp + 0x24]
inc eax
push eax
movsx eax, word [edi]
sub edx, eax
inc edx
push edx
push 0
push 0
call fcn.004b4a60
mov ecx, dword [eax]
push edi
mov dword [esi + 0x34], ecx
mov ecx, esi
mov edx, dword [eax + 4]
mov dword [esi + 0x38], edx
call fcn.0043dbd0
mov eax, dword [esp + 0x40]
lea edi, [esi + 0x214]
mov ecx, dword [eax + 0x210]
xor eax, eax
mov dword [esi + 0x210], ecx
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x44cad0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5306a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0044b060
mov ebx, dword [esp + 0x48]
mov eax, dword [esi + 0xc4]
mov dword [esi + 0x210], ebx
mov dword [esi], 0x536318
mov ecx, dword [eax + 0x20]
push 1
and ecx, 0xfffffffe
push pe_nt_image_headers32
mov dword [eax + 0x20], ecx
mov ecx, dword [0x659a18]
push ecx
mov dword [esp + 0x48], 0
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x659a18]
xor edx, edx
mov dword [esp + 0x21], edx
push eax
push 1
lea ecx, [esp + 0x28]
mov word [esp + 0x2d], dx
push 4
push ecx
mov byte [esp + 0x30], 0
mov byte [esp + 0x37], dl
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov ebp, str.flag
lea edi, [esp + 0x14]
mov dl, byte [edi]
mov cl, byte [ebp]
mov al, dl
cmp dl, cl
jne 0x44cb95
test al, al
je 0x44cb91
mov cl, byte [edi + 1]
mov dl, byte [ebp + 1]
mov al, cl
cmp cl, dl
jne 0x44cb95
add edi, 2
add ebp, 2
test al, al
jne 0x44cb6c
xor eax, eax
jmp 0x44cb9a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44cbf0
mov edx, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
lea eax, [esp + 0x4c]
push 4
push eax
call edi
mov ecx, dword [0x659a18]
lea edx, [esp + 0x34]
push ecx
push 1
push 0x10
push edx
call edi
mov eax, dword [0x659a38]
mov ecx, dword [esp + 0x64]
add esp, 0x20
test eax, ecx
je 0x44cbf0
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043b300
movsx ebp, word [ebx + 0x14]
movsx edx, word [ebx + 0x10]
movsx edi, word [ebx + 0x16]
movsx eax, word [ebx + 0x12]
movsx ebx, word [ebx + 0x10]
sub ebp, edx
sub edi, eax
inc ebp
mov ecx, 0x675aa8
inc edi
call fcn.004a13e0
movsx ecx, word [esi + 0x12]
mov edx, edi
push edi
add edx, eax
push ebp
add ecx, edx
push ecx
push ebx
lea ecx, [esp + 0x2c]
call fcn.004b4a60
mov ecx, dword [eax]
lea edi, [esi + 0x10]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
movsx eax, word [edi + 6]
movsx ecx, word [edi + 2]
movsx edx, word [edi + 4]
sub eax, ecx
lea ecx, [esp + 0x24]
inc eax
push eax
movsx eax, word [edi]
sub edx, eax
inc edx
push edx
push 0
push 0
call fcn.004b4a60
mov ecx, dword [eax]
push edi
mov dword [esi + 0x34], ecx
mov ecx, esi
mov edx, dword [eax + 4]
mov dword [esi + 0x38], edx
call fcn.0043dbd0
mov ecx, 0x40
xor eax, eax
lea edi, [esi + 0x214]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x34]
and ah, 0xfe
pop edi
or ah, 2
mov dword [esi + 8], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x44eab0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530728
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.0043d090
lea eax, [esi + 0x1e4]
xor edx, edx
or ecx, 0xffffffff
lea ebx, [esi + 0x1ec]
mov word [eax + 2], dx
mov word [eax], dx
mov word [eax + 6], cx
mov word [eax + 4], cx
mov dword [ebx], edx
mov ecx, dword [esi + 0xc4]
mov dword [esi], 0x5365f4
mov dword [esp + 0x18], edx
mov edi, dword [ecx + 0x20]
and edi, 0xfffffffe
mov dword [ecx + 0x20], edi
mov ecx, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ecx
push 1
push 8
push eax
call edi
mov edx, dword [0x659a18]
push edx
push 1
push 8
push ebx
call edi
mov eax, dword [0x659a18]
lea ecx, [esi + 0x1f4]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x200]
push edx
push 1
push 2
push eax
call edi
mov ecx, dword [0x659a18]
add esp, 0x40
lea edx, [esi + 0x202]
push ecx
push 1
push 2
push edx
call edi
mov eax, dword [0x659a18]
lea ecx, [esi + 0x1f8]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x1fc]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x34
mov ecx, esi
push eax
call fcn.0043b300
mov eax, dword [esi + 8]
or al, 1
mov ecx, 8
mov dword [esi + 8], eax
xor eax, eax
lea edi, [esi + 0x204]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xb8], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x44f1e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530788
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.0043d090
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x536718
mov ecx, dword [0x659a18]
lea edx, [esi + 0x1e4]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x24], 0
call edi
mov eax, dword [0x659a18]
lea ecx, [esi + 0x1e8]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x659a18]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043b300
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x44f350
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5307a8
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.0043d090
lea edi, [esi + 0x1ec]
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esp + 0x1c], 0
mov dword [edi], 0
mov eax, dword [esi + 0xc4]
mov dword [esi], 0x536804
mov ebx, dword [eax + 0x20]
and ebx, 0xfffffffe
mov dword [eax + 0x20], ebx
mov ecx, dword [0x659a18]
push ecx
lea ebx, [esi + 0x1e4]
push 1
push 4
push ebx
call ebp
mov edx, dword [0x659a18]
lea eax, [esi + 0x1e8]
push edx
push 1
push 4
push eax
call ebp
mov ecx, dword [0x659a18]
push ecx
push 1
push 4
push edi
call ebp
mov ebx, dword [ebx]
add esp, 0x30
test bl, 3
mov ebx, dword [sym.imp.MSVCRT.dll_ftell]
jne 0x44f405
mov edx, dword [0x659a18]
push 1
push 0x10
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
jmp 0x44f434
push 0x24
call fcn.00470250
mov edi, eax
add esp, 4
test edi, edi
je 0x44f42c
mov eax, dword [0x659a18]
push 1
push eax
call ebx
add esp, 4
mov ecx, edi
push eax
call fcn.00488fd0
jmp 0x44f42e
xor eax, eax
mov dword [esi + 0x114], eax
mov ecx, dword [0x659a18]
push ecx
call ebx
add esp, 4
mov ecx, esi
push eax
call fcn.0043b300
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
or al, 1
mov dword [esi + 0xb8], 0x10
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x44f7b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5307e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.0043d090
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x5368f0
mov ecx, dword [0x659a18]
lea edx, [esi + 0x1e4]
push ecx
push 1
xor ebp, ebp
push 4
push edx
mov dword [esp + 0x30], ebp
call edi
mov ecx, dword [0x659a18]
lea eax, [esi + 0x1e8]
push ecx
push 1
push 0x10
push eax
call edi
mov edx, dword [0x659a18]
lea ebx, [esi + 0x1fc]
push edx
push 1
push 4
push ebx
call edi
mov eax, dword [0x659a18]
lea ecx, [esp + 0x58]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x68], ebp
call edi
mov edx, dword [0x659a18]
add esp, 0x40
lea ebp, [esi + 0x204]
push edx
push 1
push 4
push ebp
call edi
mov eax, dword [0x659a18]
lea ecx, [esp + 0x20]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x30], 0
call edi
mov edx, dword [0x659a18]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043b300
mov edx, dword [esi + 8]
mov eax, dword [ebx]
or edx, 1
test eax, eax
mov dword [esi + 8], edx
jle 0x44f8da
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x44f8da
shl eax, 3
push eax
call fcn.00470c30
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x200], eax
mov edx, dword [0x659a18]
push 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x659a18]
mov ecx, dword [ebx]
mov edx, dword [esi + 0x200]
push eax
push ecx
push 8
push edx
call edi
add esp, 0x20
jmp 0x44f8e4
mov dword [esi + 0x200], 0
mov eax, dword [ebp]
test eax, eax
jle 0x44f933
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x44f933
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.00470c30
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x208], eax
mov edx, dword [0x659a18]
push 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x659a18]
mov ecx, dword [ebp]
mov edx, dword [esi + 0x208]
push eax
push ecx
push 0xc
push edx
call edi
add esp, 0x20
jmp 0x44f93d
mov dword [esi + 0x208], 0
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x44f95d
lea ecx, [esi + 0x1e8]
push 1
push ecx
mov ecx, eax
call fcn.00489020
jmp 0x44f95f
xor eax, eax
mov ecx, esi
mov dword [esi + 0x12c], eax
call fcn.0043a330
mov ecx, eax
call fcn.004b53f0
push eax
call fcn.00470c30
add esp, 4
mov ecx, esi
mov dword [esi + 0x210], eax
call fcn.0043a330
mov ecx, eax
call fcn.004b53f0
mov edi, dword [esi + 0x210]
mov ecx, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x450940
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0043d090
xor eax, eax
lea ebx, [esi + 0x200]
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x1f8], eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x1fc], eax
mov eax, 1
lea ebp, [esi + 0x208]
mov word [ebx], ax
mov word [ebx + 2], ax
mov dword [ebx + 4], eax
mov word [ebp], ax
mov word [ebp + 2], ax
mov dword [ebp + 4], eax
or eax, 0xffffffff
mov word [esi + 0x210], ax
mov word [esi + 0x212], ax
push 0x24
mov dword [esi], 0x536ac8
call fcn.00470250
mov edi, eax
add esp, 4
test edi, edi
je 0x4509f3
mov ecx, dword [0x659a18]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, edi
push eax
call fcn.00488fd0
jmp 0x4509f5
xor eax, eax
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0xcc], eax
mov edx, dword [0x659a18]
lea eax, [esi + 0x1e4]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x659a18]
lea eax, [esi + 0x1e8]
push ecx
push 1
push 4
push eax
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x1ec]
push edx
push 1
push 4
push eax
call edi
mov eax, dword [0x659a18]
push eax
push 1
lea eax, [esi + 0x1f0]
push 4
push eax
call edi
mov ecx, dword [0x659a18]
add esp, 0x40
lea eax, [esi + 0x1f4]
push ecx
push 1
push 4
push eax
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x1f8]
push edx
push 1
push 4
push eax
call edi
mov eax, dword [0x659a18]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043aef0
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043b340
mov edx, dword [0x659a3c]
mov eax, dword [esi + 0x1e4]
test eax, edx
je 0x450b19
mov eax, dword [esi + 0x1ec]
mov ecx, dword [esi + 0x1e8]
lea eax, [eax + ecx - 2]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x450af9
lea edx, [eax*4]
push edx
call fcn.00470c30
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x1fc], eax
mov ecx, dword [0x659a18]
push ecx
push edx
push 4
push eax
call edi
add esp, 0x14
mov eax, dword [0x659a18]
push eax
push 1
push 8
push ebx
call edi
mov ecx, dword [0x659a18]
push ecx
push 1
push 8
push ebp
call edi
add esp, 0x20
jmp 0x450b4b
mov eax, dword [esi + 0x1f8]
mov ecx, 1
mov word [esp + 0x10], cx
mov word [esp + 0x12], cx
mov edx, dword [esp + 0x10]
mov word [esp + 0x10], cx
mov word [esp + 0x12], cx
mov ecx, dword [esp + 0x10]
mov dword [ebx], edx
mov dword [ebp], ecx
mov dword [ebx + 4], eax
mov dword [ebp + 4], eax
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x18]
and dh, 0xfd
mov dword [esi + 0xb8], 0x10
or edx, 0x101
mov eax, esi
mov dword [esi + 8], edx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4513f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5308d8
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.0043d090
xor ebx, ebx
mov ebp, 1
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x230], ebx
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebp
mov dword [esi + 0x240], ebp
mov dword [esi + 0x244], ebp
mov dword [esi + 0x248], ebp
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov word [esi + 0x24c], bx
mov word [esi + 0x24e], bx
mov dword [esi], 0x536bb4
mov ecx, dword [0x659a18]
lea eax, [esi + 0x1e4]
push ecx
push ebp
push 4
push eax
mov dword [esp + 0x2c], ebx
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x1e8]
push edx
push ebp
push 4
push eax
call edi
mov ecx, dword [0x659a18]
lea eax, [esi + 0x1ec]
push ecx
push ebp
push 0x10
push eax
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x1fc]
push edx
push ebp
push 0x10
push eax
call edi
mov ecx, dword [0x659a18]
add esp, 0x40
lea eax, [esi + 0x20c]
push ecx
push ebp
push 0x10
push eax
call edi
mov edx, dword [0x659a18]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043b340
mov eax, dword [0x659a18]
lea ebp, [esi + 0x21c]
push eax
push 1
push 0x10
push ebp
call edi
mov ecx, dword [0x659a3c]
mov eax, dword [esi + 0x1e4]
add esp, 0x10
test ecx, eax
je 0x451531
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebx
je 0x451529
push 1
push ebp
mov ecx, eax
call fcn.00489020
jmp 0x45152b
xor eax, eax
mov dword [esi + 0x11c], eax
mov edx, dword [0x659a34]
mov eax, dword [esi + 0x1e4]
test edx, eax
je 0x451569
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebx
je 0x451561
lea ecx, [esi + 0x1ec]
push 1
push ecx
mov ecx, eax
call fcn.00489020
jmp 0x451563
xor eax, eax
mov dword [esi + 0x124], eax
mov eax, dword [0x659a38]
mov ecx, dword [esi + 0x1e4]
test eax, ecx
je 0x4515a0
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebx
je 0x451598
lea ecx, [esi + 0x20c]
push 1
push ecx
mov ecx, eax
call fcn.00489020
jmp 0x45159a
xor eax, eax
mov dword [esi + 0x12c], eax
mov ecx, dword [esi + 8]
mov eax, esi
and ch, 0xfd
pop edi
or ecx, 0x100101
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x451dd0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00439c20
lea ebx, [esi + 0x1d4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.0041b350
lea ecx, [esi + 0x1f0]
call fcn.004b11b0
mov eax, 1
mov dword [esi + 0x314], edi
mov dword [esi + 0x318], edi
mov dword [esi + 0x31c], eax
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], eax
mov dword [esi + 0x328], eax
mov dword [esi + 0x32c], edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x536ca0
mov ecx, dword [0x659a18]
lea ebp, [esi + 0x1d0]
push ecx
push eax
push 4
push ebp
call edi
mov edx, dword [0x659a18]
push edx
push 1
push 0xc
push ebx
call edi
mov eax, dword [0x659a18]
lea ebx, [esi + 0x1e0]
push eax
push 1
push 0x10
push ebx
call edi
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x34
mov ecx, esi
push eax
call fcn.0043b300
mov edx, dword [0x659a18]
lea eax, [esp + 0x14]
push edx
push 1
push 0x10
push eax
call edi
mov ecx, dword [0x659a34]
mov eax, dword [ebp]
add esp, 0x10
test ecx, eax
je 0x451ee9
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x451ee1
lea edx, [esp + 0x14]
push 1
push edx
mov ecx, eax
call fcn.00489020
jmp 0x451ee3
xor eax, eax
mov dword [esi + 0x12c], eax
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x451f03
push 1
push ebx
mov ecx, eax
call fcn.00489020
jmp 0x451f05
xor eax, eax
mov dword [esi + 0x124], eax
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x24]
and ah, 0xfd
or eax, 0x100100
pop edi
mov dword [esi + 8], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x452610
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530958
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.00439c20
lea ebp, [esi + 0x1d4]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.0041b350
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0x400], ebx
mov dword [esi + 0x404], ebx
mov dword [esi + 0x408], ebx
mov dword [esi + 0x40c], ebx
mov dword [esi + 0x410], ebx
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x420], 5
mov dword [esi], 0x536d88
mov ecx, dword [0x659a18]
push ecx
push 1
lea edx, [esi + 0x1d0]
push 4
push edx
call edi
mov eax, dword [0x659a18]
push eax
push 1
push 0xc
push ebp
call edi
mov ecx, dword [0x659a18]
lea ebp, [esi + 0x1e0]
push ecx
push 1
push 0x10
push ebp
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x1f0]
push edx
push 1
push 0x10
push eax
call edi
mov ecx, dword [0x659a18]
add esp, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043b300
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebx
je 0x452705
push 1
push ebp
mov ecx, eax
call fcn.00489020
jmp 0x452707
xor eax, eax
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
and dh, 0xfd
mov dword [esi + 0x124], eax
or edx, 0x100100
mov eax, esi
mov dword [esi + 8], edx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4