Function at 0x4235c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4af890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x3c], eax
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x4c], eax
test esi, esi
jne 0x423612
lea eax, [esi - 0x66]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0xc]
push 0
push eax
push dword [esi]
call fcn.00472db6
add esp, 0xc
test eax, eax
je 0x42362c
or ebx, 0xffffffff
push dword [esi]
lea eax, [ebp - 0x34]
push 1
push 0x2e
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x423656
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
cmp dword [eax], 0x2014b50
je 0x423676
pop esi
mov eax, 0xffffff99
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov ecx, edx
mov dword [ebp - 0xa8], eax
movsx eax, word [ebp - 0x2e]
mov dword [ebp - 0xa4], eax
movsx eax, word [ebp - 0x2c]
mov dword [ebp - 0xa0], eax
movsx eax, word [ebp - 0x2a]
mov dword [ebp - 0x9c], eax
shr ecx, 0x10
mov eax, ecx
mov esi, dword [ebp - 0xa]
and eax, 0x1f
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x64], eax
mov eax, ecx
shr eax, 5
and eax, 0xf
shr ecx, 9
dec eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x60], eax
add ecx, 0x7bc
mov eax, edx
mov dword [ebp - 0x5c], ecx
shr eax, 0xb
and eax, 0x1f
movsx ecx, word [ebp - 0x16]
mov dword [ebp - 0x68], eax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x6c], eax
add edx, edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], eax
movsx eax, word [ebp - 0x14]
mov dword [ebp - 0x80], eax
movsx eax, word [ebp - 0x12]
mov dword [ebp - 0x7c], eax
movsx eax, word [ebp - 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xe]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x74], eax
push edi
movsx edi, word [ebp - 0x18]
mov dword [ebp - 0x88], edi
test ebx, ebx
jne 0x4237f5
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x423790
mov eax, dword [ebp + 0x18]
cmp edi, eax
jae 0x42375e
mov byte [edx + edi], bl
mov edx, edi
mov dword [ebp - 0x44], edx
jmp 0x423763
mov edx, eax
mov dword [ebp - 0x44], eax
test edi, edi
je 0x423789
test eax, eax
je 0x423789
mov eax, dword [ebp - 0x40]
push dword [eax]
push 1
push edx
push dword [ebp - 0x3c]
call fcn.004729cb
mov ecx, dword [ebp - 0x38]
add esp, 0x10
cmp eax, 1
je 0x423789
or ebx, 0xffffffff
sub edi, dword [ebp - 0x44]
test ebx, ebx
jne 0x4237f5
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x4237f5
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], ecx
cmp ecx, eax
jb 0x4237a4
mov dword [ebp - 0x3c], eax
test edi, edi
je 0x4237cc
mov eax, dword [ebp - 0x40]
push 1
push edi
push dword [eax]
call fcn.00472db6
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov edx, dword [ebp - 0x48]
test eax, eax
mov eax, dword [ebp + 0x20]
jne 0x4237c9
xor edi, edi
jmp 0x4237cc
or ebx, 0xffffffff
test ecx, ecx
je 0x4237f2
test eax, eax
je 0x4237f2
mov eax, dword [ebp - 0x40]
push dword [eax]
push 1
push dword [ebp - 0x3c]
push edx
call fcn.004729cb
mov ecx, dword [ebp - 0x38]
add esp, 0x10
cmp eax, 1
je 0x4237f2
or ebx, 0xffffffff
sub ecx, dword [ebp - 0x3c]
add edi, ecx
test ebx, ebx
jne 0x42389d
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x42387b
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0x80]
cmp ecx, eax
jae 0x423818
mov byte [edx + ecx], bl
mov dword [ebp - 0x44], ecx
jmp 0x42381b
mov dword [ebp - 0x44], eax
test edi, edi
je 0x423841
push 1
push edi
mov edi, dword [ebp - 0x40]
push dword [edi]
call fcn.00472db6
mov ecx, dword [ebp - 0x80]
add esp, 0xc
mov edx, dword [ebp - 0x4c]
test eax, eax
mov eax, dword [ebp + 0x28]
je 0x423844
or ebx, 0xffffffff
jmp 0x423844
mov edi, dword [ebp - 0x40]
test ecx, ecx
je 0x423877
test eax, eax
je 0x423877
push dword [edi]
push 1
push dword [ebp - 0x44]
push edx
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x423877
pop edi
or ebx, 0xffffffff
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x42389d
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x423894
mov ecx, 0x14
lea esi, [ebp - 0xa8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x42389d
mov dword [eax], esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret