Function at 0x414660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c95b
mov eax, dword fs:[0]
push eax
sub esp, 0xa80
mov eax, dword [0x436680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xa70], eax
mov dword [ebp - 0xa84], edx
cmp dword [eax], edi
jne 0x4146da
lea ecx, [eax + 0x1158]
test ecx, ecx
je 0x4146c5
add eax, 0x1168
push str.There_is_no_PK2_loaded_yet.
push eax
call fcn.0040bb80
add esp, 8
jmp 0x414cea
xor eax, eax
push str.There_is_no_PK2_loaded_yet.
push eax
call fcn.0040bb80
add esp, 8
jmp 0x414cea
mov eax, ecx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4146f0
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.00409930
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov edi, edx
cmp eax, 0x10
jae 0x41484e
lea edi, [ebp - 0x30]
mov ecx, edi
mov ebx, dword [ebp - 0x20]
add ebx, ecx
mov esi, edx
cmp eax, 0x10
jae 0x41472b
lea esi, [ebp - 0x30]
cmp esi, ebx
je 0x41474b
sub edi, esi
movsx edx, byte [esi]
push edx
call fcn.00418f39
mov byte [edi + esi], al
inc esi
add esp, 4
cmp esi, ebx
jne 0x414731
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov edi, edx
cmp eax, 0x10
jae 0x414855
lea edi, [ebp - 0x30]
mov ecx, edi
mov esi, dword [ebp - 0x20]
add esi, ecx
cmp eax, 0x10
mov eax, edx
jae 0x41476a
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x414787
mov edx, edi
sub edx, eax
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x41477f
mov ecx, 0x5c
mov byte [edx + eax], cl
inc eax
cmp eax, esi
jne 0x414772
push 1
mov ebx, 0xf
xor esi, esi
push 0x431a64
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x4c], 0
call fcn.00409930
lea edx, [ebp - 0x4c]
lea edi, [ebp - 0x30]
lea ecx, [ebp - 0xa7c]
mov byte [ebp - 4], 1
call fcn.00413c00
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], 0x10
jb 0x4147d2
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00418f70
add esp, 4
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0xa70]
lea ecx, [ebp - 0xa80]
lea eax, [esi + 0x1200]
push ecx
lea edi, [ebp - 0x30]
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0xa88], eax
call fcn.00414f50
mov ecx, dword [ebp - 0xa80]
cmp ecx, dword [esi + 0x1204]
je 0x41485c
mov edi, dword [ebp - 0xa84]
lea esi, [ecx + 0x28]
mov ecx, 0x20
lea ebx, [ebp - 0xa7c]
rep movsd dword es:[edi], dword [esi]
call fcn.00415390
mov edx, dword [ebp - 0xa7c]
push edx
call fcn.00418f70
add esp, 4
cmp dword [ebp - 0x1c], 0x10
jb 0x414847
mov eax, dword [ebp - 0x30]
push eax
call fcn.00418f70
add esp, 4
mov al, 1
jmp 0x414cec
mov ecx, edx
jmp 0x41471c
mov ecx, edx
jmp 0x41475b
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov ecx, dword [ebp - 0xa84]
mov byte [ebp - 4], 4
mov eax, dword [ecx + 0x6a]
mov ecx, dword [ecx + 0x6e]
mov edx, eax
or edx, ecx
mov edx, dword [esi]
push 0
jne 0x4148e0
mov ecx, dword [esi + 0x10c]
mov eax, dword [esi + 0x108]
push ecx
push eax
push edx
call fcn.0041a15a
add esp, 0x10
test eax, eax
je 0x414915
lea eax, [esi + 0x1158]
test eax, eax
je 0x4148b1
lea eax, [esi + 0x1168]
jmp 0x4148b3
xor eax, eax
push str.Invalid_seek_index.
push eax
call fcn.0040bb80
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.00406c70
lea ebx, [ebp - 0xa7c]
call fcn.00415390
mov ecx, dword [ebp - 0xa7c]
push ecx
jmp 0x414cda
push ecx
push eax
push edx
call fcn.0041a15a
add esp, 0x10
test eax, eax
je 0x414915
lea edx, [esi + 0x1158]
test edx, edx
je 0x414909
lea eax, [esi + 0x1168]
push str.Invalid_seek_index.
jmp 0x414cb7
xor eax, eax
push str.Invalid_seek_index.
jmp 0x414cb7
cmp dword [ebp - 0xa78], 0
je 0x414c9e
mov ecx, dword [ebp - 0xa7c]
mov eax, dword [ecx]
xor ebx, ebx
push 0xffffffffffffffff
add eax, 8
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00408610
lea edi, [ebp - 0xa7c]
mov byte [ebp - 4], 5
call fcn.00415040
mov esi, dword [ebp - 0xa70]
mov edx, dword [esi]
push edx
push 0xa00
lea eax, [ebp - 0xa6c]
push 1
push eax
call fcn.00419c09
add esp, 0x10
cmp eax, 0xa00
jne 0x414ae8
mov dword [ebp - 0xa80], ebx
lea ebx, [ebp - 0xa6c]
jmp 0x414996
mov esi, dword [ebp - 0xa70]
cmp byte [esi + 0x26], 0
je 0x4149ba
push 0
push 0x80
push 0
push 0x80
lea ecx, [esi + 0x110]
push ecx
mov eax, ebx
mov ecx, ebx
call fcn.00412230
cmp byte [ebx + 0x7e], 0
jne 0x414bfd
cmp byte [ebx + 0x7f], 0
jne 0x414bfd
cmp byte [ebx], 0
je 0x414a27
lea eax, [ebp - 0x68]
lea edx, [ebx + 1]
push eax
call fcn.00406ca0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x68]
mov esi, edx
cmp ecx, 0x10
jae 0x414a96
lea esi, [ebp - 0x68]
mov eax, esi
add eax, dword [ebp - 0x58]
cmp ecx, 0x10
mov ecx, edx
jae 0x414a02
lea ecx, [ebp - 0x68]
push esi
push eax
push ecx
mov ecx, fcn.00418f39
lea esi, [ebp - 0xa8c]
call fcn.0040c010
add esp, 0xc
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x68]
call fcn.004159c0
test al, al
jne 0x414a9d
mov eax, dword [ebp - 0xa80]
inc eax
sub ebx, 0xffffff80
mov dword [ebp - 0xa80], eax
cmp eax, 0x14
jl 0x414990
mov eax, dword [ebp - 0x76]
mov ecx, dword [ebp - 0x72]
mov edx, eax
or edx, ecx
je 0x414c8c
mov esi, dword [ebp - 0xa70]
mov edx, dword [esi]
push ecx
push eax
call fcn.00416120
add esp, 8
test eax, eax
jne 0x414c46
lea ecx, [ebp - 0x4c]
lea edi, [ebp - 0xa7c]
call fcn.00415000
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00406c70
cmp dword [ebp - 0xa78], 0
jne 0x414922
jmp 0x414c98
mov eax, edx
jmp 0x4149f5
cmp dword [ebp - 0xa78], 0
je 0x414b31
cmp byte [ebx], 1
jne 0x414bc9
mov ecx, dword [ebx + 0x6e]
mov edx, dword [ebx + 0x6a]
mov esi, dword [ebp - 0xa70]
push ecx
push edx
mov edx, dword [esi]
call fcn.00416120
add esp, 8
test eax, eax
je 0x414a78
lea eax, [esi + 0x1158]
test eax, eax
je 0x414b92
lea eax, [esi + 0x1168]
jmp 0x414b94
lea eax, [esi + 0x1158]
test eax, eax
je 0x414afa
lea eax, [esi + 0x1168]
jmp 0x414afc
xor eax, eax
push str.Could_not_read_a_PK2EntryBlock_object
push eax
call fcn.0040bb80
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00406c70
lea ecx, [ebp - 0x68]
call fcn.00406c70
lea ebx, [ebp - 0xa7c]
call fcn.00415390
mov ecx, dword [ebp - 0xa7c]
push ecx
jmp 0x414cda
mov edi, dword [ebp - 0xa84]
mov ecx, 0x20
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xa88]
lea edx, [ebp - 0x30]
call fcn.00414de0
mov edi, eax
mov ecx, 0x20
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x4c]
call fcn.00406c70
lea ecx, [ebp - 0x68]
call fcn.00406c70
lea ebx, [ebp - 0xa7c]
call fcn.00415390
mov edx, dword [ebp - 0xa7c]
push edx
call fcn.00418f70
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00406c70
mov al, 1
jmp 0x414cec
xor eax, eax
push str.Invalid_seek_index.
push eax
call fcn.0040bb80
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00406c70
lea ecx, [ebp - 0x68]
call fcn.00406c70
lea ebx, [ebp - 0xa7c]
call fcn.00415390
mov ecx, dword [ebp - 0xa7c]
push ecx
jmp 0x414cda
mov eax, dword [ebp - 0xa70]
lea edx, [eax + 0x1158]
test edx, edx
je 0x414be0
add eax, 0x1168
jmp 0x414be2
xor eax, eax
push str.Invalid_entry__files_cannot_have_children_
push eax
call fcn.0040bb80
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00406c70
jmp 0x414cc0
lea ecx, [esi + 0x1158]
test ecx, ecx
je 0x414c0f
lea eax, [esi + 0x1168]
jmp 0x414c11
xor eax, eax
push str.The_padding_is_not_NULL._User_seek_error.
push eax
call fcn.0040bb80
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00406c70
lea ecx, [ebp - 0x68]
call fcn.00406c70
lea ebx, [ebp - 0xa7c]
call fcn.00415390
mov edx, dword [ebp - 0xa7c]
push edx
jmp 0x414cda
lea eax, [esi + 0x1158]
test eax, eax
je 0x414c58
lea eax, [esi + 0x1168]
jmp 0x414c5a
xor eax, eax
push str.Invalid_seek_index_for_nextChain.
push eax
call fcn.0040bb80
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00406c70
lea ecx, [ebp - 0x68]
call fcn.00406c70
lea ebx, [ebp - 0xa7c]
call fcn.00415390
mov ecx, dword [ebp - 0xa7c]
push ecx
jmp 0x414cda
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00406c70
mov esi, dword [ebp - 0xa70]
lea edx, [esi + 0x1158]
test edx, edx
je 0x414cb0
lea eax, [esi + 0x1168]
jmp 0x414cb2
xor eax, eax
push str.The_entry_does_not_exist
push eax
call fcn.0040bb80
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.00406c70
lea ebx, [ebp - 0xa7c]
call fcn.00415390
mov eax, dword [ebp - 0xa7c]
push eax
call fcn.00418f70
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00406c70
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418429
mov esp, ebp
pop ebp
ret 4