Function at 0x429100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x1c
mov ebx, eax
mov eax, dword [ebx + 0x3c]
mov ecx, 0xffffffff
test eax, eax
jne 0x429132
mov eax, dword [ebx + 4]
test eax, eax
je 0x4291b0
mov edx, dword [ebx]
dec eax
mov dword [ebx + 4], eax
lea eax, [edx + 1]
movzx ecx, byte [edx]
mov dword [ebx], eax
cmp dword [esi*4 + 0x550670], ecx
jne 0x42955e
inc esi
cmp esi, 1
jbe 0x42910d
mov edx, dword [ebx + 0x3c]
mov esi, 0xffffffff
test edx, edx
je 0x429190
mov dword [ebp - 0x10], 0xffffffff
test edx, edx
jne 0x429178
mov eax, dword [ebx + 4]
test eax, eax
je 0x429365
mov edx, dword [ebx]
dec eax
lea ecx, [edx + 1]
mov dword [ebx + 4], eax
movzx edi, byte [edx]
mov dword [ebx], ecx
mov dword [ebp - 0x10], edi
cmp esi, 8
je 0x429210
mov dword [ebx + 0x38], 0xfffffffd
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
test eax, eax
je 0x429306
mov ecx, dword [ebx]
dec eax
lea edi, [ecx + 1]
mov dword [ebx + 4], eax
movzx esi, byte [ecx]
mov dword [ebx], edi
jmp 0x429151
mov eax, dword [ebx + 0x40]
mov ecx, 0x4000
mov edi, 1
mov dword [esp + 8], ecx
xor edx, edx
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov dword [0x63ebc0], edx
mov edx, dword [ebx + 0x44]
mov dword [esp], edx
call sub.msvcrt.dll_fread
test eax, eax
jne 0x4292fc
mov dword [ebx + 4], 0
mov edi, dword [ebx + 0x40]
mov dword [ebx + 0x3c], 1
test byte [edi + 0xc], 0x20
je 0x429202
mov dword [ebx + 0x38], 0xffffffff
mov ecx, 0xffffffff
jmp 0x429132
test byte [ebp - 0x10], 0xe0
jne 0x429181
mov esi, dword [ebx + 0x3c]
mov edi, 5
lea esi, [esi]
lea edi, [edi]
test esi, esi
jne 0x42924a
mov eax, dword [ebx + 4]
test eax, eax
je 0x429502
mov edx, dword [ebx]
dec eax
mov dword [ebx + 4], eax
lea eax, [edx + 1]
mov dword [ebx], eax
dec edi
jns 0x429230
test byte [ebp - 0x10], 4
je 0x4293e4
test esi, esi
mov edi, 0xffffffff
je 0x4295b2
test esi, esi
mov ecx, 0xffffffff
jne 0x429286
mov eax, dword [ebx + 4]
test eax, eax
je 0x429630
mov edx, dword [ebx]
dec eax
mov dword [ebx + 4], eax
lea eax, [edx + 1]
movzx ecx, byte [edx]
mov dword [ebx], eax
shl ecx, 8
add edi, ecx
jmp 0x4292a5
mov ecx, dword [ebx]
dec eax
mov dword [ebx + 4], eax
lea eax, [ecx + 1]
movzx edx, byte [ecx]
mov dword [ebx], eax
inc edx
je 0x4293e4
dec edi
cmp edi, 0xffffffff
je 0x4293e4
test esi, esi
jne 0x4293e4
mov eax, dword [ebx + 4]
test eax, eax
jne 0x429290
mov eax, dword [ebx + 0x40]
mov edx, 0x4000
mov esi, 1
mov dword [esp + 8], edx
xor ecx, ecx
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov dword [0x63ebc0], ecx
mov ecx, dword [ebx + 0x44]
mov dword [esp], ecx
call sub.msvcrt.dll_fread
test eax, eax
je 0x4293c3
mov ecx, dword [ebx + 0x44]
mov esi, dword [ebx + 0x3c]
mov dword [ebx], ecx
jmp 0x429292
mov edx, dword [ebx + 0x44]
mov dword [ebx], edx
jmp 0x429126
mov eax, dword [ebx + 0x40]
mov edx, 1
mov edi, 0x4000
mov dword [esp + 8], edi
xor ecx, ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov esi, dword [ebx + 0x44]
mov dword [0x63ebc0], ecx
mov dword [esp], esi
call sub.msvcrt.dll_fread
test eax, eax
jne 0x429585
mov dword [ebx + 4], 0
mov esi, dword [ebx + 0x40]
mov dword [ebx + 0x3c], 1
test byte [esi + 0xc], 0x20
je 0x429358
mov dword [ebx + 0x38], 0xffffffff
mov edx, dword [ebx + 0x3c]
mov esi, 0xffffffff
jmp 0x429151
mov edi, dword [ebx + 0x40]
mov ecx, 0x4000
mov eax, 1
mov dword [esp + 8], ecx
xor edx, edx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [0x63ebc0], edx
mov edx, dword [ebx + 0x44]
mov dword [esp], edx
call sub.msvcrt.dll_fread
test eax, eax
jne 0x429592
mov dword [ebx + 4], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x3c], 1
test byte [eax + 0xc], 0x20
je 0x4293b7
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
jmp 0x429178
mov dword [ebx + 4], 0
mov edi, dword [ebx + 0x40]
mov dword [ebx + 0x3c], 1
test byte [edi + 0xc], 0x20
je 0x4293e1
mov dword [ebx + 0x38], 0xffffffff
mov esi, dword [ebx + 0x3c]
test byte [ebp - 0x10], 8
je 0x429414
lea esi, [esi]
test esi, esi
jne 0x429414
mov eax, dword [ebx + 4]
test eax, eax
je 0x429481
mov edx, dword [ebx]
dec eax
lea edi, [edx + 1]
mov dword [ebx + 4], eax
movzx ecx, byte [edx]
mov dword [ebx], edi
test ecx, ecx
je 0x429414
inc ecx
jne 0x4293f0
test byte [ebp - 0x10], 0x10
je 0x429444
lea esi, [esi]
test esi, esi
jne 0x429444
mov eax, dword [ebx + 4]
test eax, eax
je 0x4294c1
mov edx, dword [ebx]
dec eax
mov dword [ebx + 4], eax
lea eax, [edx + 1]
movzx ecx, byte [edx]
mov dword [ebx], eax
test ecx, ecx
je 0x429444
inc ecx
jne 0x429420
test byte [ebp - 0x10], 2
je 0x42946c
mov edi, 1
test esi, esi
jne 0x429469
mov eax, dword [ebx + 4]
test eax, eax
je 0x4295d0
mov edx, dword [ebx]
dec eax
mov dword [ebx + 4], eax
lea eax, [edx + 1]
mov dword [ebx], eax
dec edi
jns 0x42944f
cmp esi, 1
sbb eax, eax
not eax
and eax, 0xfffffffd
mov dword [ebx + 0x38], eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0x40]
mov ecx, 1
mov edi, 0x4000
mov dword [esp + 8], edi
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edx
mov esi, dword [ebx + 0x44]
mov dword [0x63ebc0], eax
mov dword [esp], esi
call sub.msvcrt.dll_fread
test eax, eax
je 0x429734
mov edx, dword [ebx + 0x44]
mov esi, dword [ebx + 0x3c]
mov dword [ebx], edx
jmp 0x429401
mov esi, dword [ebx + 0x40]
mov eax, 0x4000
mov edx, 1
mov dword [esp + 8], eax
xor edi, edi
mov dword [esp + 4], edx
mov dword [esp + 0xc], esi
mov ecx, dword [ebx + 0x44]
mov dword [0x63ebc0], edi
mov dword [esp], ecx
call sub.msvcrt.dll_fread
test eax, eax
je 0x42970e
mov edx, dword [ebx + 0x44]
mov esi, dword [ebx + 0x3c]
mov dword [ebx], edx
jmp 0x429431
mov ecx, dword [ebx + 0x40]
mov eax, 0x4000
mov edx, 1
mov dword [esp + 8], eax
xor esi, esi
mov dword [esp + 4], edx
mov dword [esp + 0xc], ecx
mov dword [0x63ebc0], esi
mov esi, dword [ebx + 0x44]
mov dword [esp], esi
call sub.msvcrt.dll_fread
test eax, eax
jne 0x42959c
mov dword [ebx + 4], 0
mov edx, dword [ebx + 0x40]
mov esi, 1
mov dword [ebx + 0x3c], 1
test byte [edx + 0xc], 0x20
je 0x42924a
mov dword [ebx + 0x38], 0xffffffff
jmp 0x42924a
test esi, esi
jne 0x4295a7
mov eax, dword [ebx + 4]
inc ecx
je 0x429575
dec dword [ebx]
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x58], 1
test eax, eax
sete cl
movzx eax, cl
mov dword [ebx + 0x38], eax
jmp 0x429479
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
mov dword [ebx], ecx
jmp 0x42919d
mov edx, dword [ebx + 0x44]
mov dword [ebx], edx
jmp 0x429169
mov edx, dword [ebx + 0x44]
mov esi, dword [ebx + 0x3c]
jmp 0x429241
dec dword [ebx]
mov eax, dword [ebx + 4]
inc eax
mov dword [ebx + 4], eax
jmp 0x429565
mov eax, dword [ebx + 4]
test eax, eax
je 0x42969a
mov edx, dword [ebx]
dec eax
lea ecx, [edx + 1]
mov dword [ebx + 4], eax
movzx edi, byte [edx]
mov dword [ebx], ecx
jmp 0x429264
mov eax, dword [ebx + 0x40]
mov ecx, 0x4000
mov esi, 1
mov dword [esp + 8], ecx
xor edx, edx
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov dword [0x63ebc0], edx
mov edx, dword [ebx + 0x44]
mov dword [esp], edx
call sub.msvcrt.dll_fread
test eax, eax
jne 0x42968f
mov dword [ebx + 4], 0
mov ecx, dword [ebx + 0x40]
mov esi, 1
mov dword [ebx + 0x3c], 1
test byte [ecx + 0xc], 0x20
je 0x429469
mov dword [ebx + 0x38], 0xffffffff
jmp 0x429469
mov ecx, dword [ebx + 0x40]
mov eax, 0x4000
mov edx, 1
mov dword [esp + 8], eax
xor esi, esi
mov dword [esp + 4], edx
mov dword [esp + 0xc], ecx
mov dword [0x63ebc0], esi
mov esi, dword [ebx + 0x44]
mov dword [esp], esi
call sub.msvcrt.dll_fread
test eax, eax
jne 0x429701
mov dword [ebx + 4], 0
mov edx, dword [ebx + 0x40]
mov dword [ebx + 0x3c], 1
test byte [edx + 0xc], 0x20
je 0x429682
mov dword [ebx + 0x38], 0xffffffff
mov esi, dword [ebx + 0x3c]
mov ecx, 0xffffffff
jmp 0x429286
mov edx, dword [ebx + 0x44]
mov esi, dword [ebx + 0x3c]
jmp 0x429460
mov edx, dword [ebx + 0x40]
mov ecx, 1
mov esi, 0x4000
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edx
mov edi, dword [ebx + 0x44]
mov dword [0x63ebc0], eax
mov dword [esp], edi
call sub.msvcrt.dll_fread
test eax, eax
jne 0x4296f4
mov dword [ebx + 4], 0
mov edi, dword [ebx + 0x40]
mov dword [ebx + 0x3c], 1
test byte [edi + 0xc], 0x20
je 0x4296e7
mov dword [ebx + 0x38], 0xffffffff
mov esi, dword [ebx + 0x3c]
mov edi, 0xffffffff
jmp 0x429264
mov edx, dword [ebx + 0x44]
mov esi, dword [ebx + 0x3c]
mov dword [ebx], edx
jmp 0x4295bf
mov edx, dword [ebx + 0x44]
mov esi, dword [ebx + 0x3c]
mov dword [ebx], edx
jmp 0x42927a
mov dword [ebx + 4], 0
mov ecx, dword [ebx + 0x40]
mov dword [ebx + 0x3c], 1
test byte [ecx + 0xc], 0x20
je 0x42972c
mov dword [ebx + 0x38], 0xffffffff
mov esi, dword [ebx + 0x3c]
jmp 0x429444
mov dword [ebx + 4], 0
mov esi, dword [ebx + 0x40]
mov dword [ebx + 0x3c], 1
test byte [esi + 0xc], 0x20
je 0x429752
mov dword [ebx + 0x38], 0xffffffff
mov esi, dword [ebx + 0x3c]
jmp 0x429414