Function at 0x416af0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445bce
mov eax, dword fs:[0]
push eax
mov eax, 0x13e4
call fcn.0041bda0
mov eax, dword [0x455670]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x13e0], eax
mov dword [ebp - 0x13b8], ecx
cmp edi, esi
je 0x417b82
cmp ebx, esi
je 0x417b82
cmp eax, esi
je 0x417b82
xor eax, eax
push esi
push 0x44cb6e
lea ecx, [ebp - 0x1398]
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov dword [ebp - 0x1384], 0xf
mov dword [ebp - 0x1388], esi
mov byte [ebp - 0x1398], al
call fcn.0040124e
push 0x10
push str.utl_FileUnpack:
lea ecx, [ebp - 0x13b4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x13a0], 0xf
mov dword [ebp - 0x13a4], esi
mov byte [ebp - 0x13b4], 0
call fcn.0040124e
mov eax, edi
mov byte [ebp - 4], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416bd2
sub eax, edx
mov dword [ebp - 0x13d8], eax
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416be6
sub eax, edx
mov dword [ebp - 0x13dc], eax
mov eax, dword [ebp - 0x13e0]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416c00
sub eax, edx
cmp dword [ebp - 0x13a0], 0x10
mov edx, dword [ebp - 0x13b4]
mov dword [ebp - 0x13e8], eax
jae 0x416c24
lea edx, [ebp - 0x13b4]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416c30
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x1398]
call fcn.0040124e
push 0xd
push str.pszSrcPath_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov eax, edi
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x416c60
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x1398]
call fcn.0040181b
push 0xf
push str.__pszSrcFile_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov eax, ebx
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x416c90
sub eax, ecx
push eax
push ebx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
push 0xf
push str.__pszDstPath_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov esi, dword [ebp - 0x13e0]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416cc3
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov eax, dword [ebp - 0x1398]
mov esi, 0x10
cmp dword [ebp - 0x1384], esi
jae 0x416cf2
lea eax, [ebp - 0x1398]
push 0
push eax
push str.UtlFile
call fcn.00401875
mov edx, dword [ebp - 0x13dc]
add edx, dword [ebp - 0x13d8]
add esp, 0xc
cmp edx, 0x104
jae 0x417b17
cmp dword [ebp - 0x13e8], 0x104
jae 0x417b17
push ebx
push edi
lea ecx, [ebp - 0x16c]
push str._s_s
push ecx
call fcn.0041b420
lea edx, [ebp - 0x16c]
push edx
call fcn.00401631
add esp, 0x14
cmp dword [ebp - 0x13a0], 0x10
mov esi, eax
mov eax, dword [ebp - 0x13b4]
jae 0x416d63
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push 0xf
push str.szSrcAbsFile_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
lea eax, [ebp - 0x16c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416d90
sub eax, edx
push eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040181b
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x416dc1
lea eax, [ebp - 0x1398]
xor ebx, ebx
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
cmp esi, ebx
jne 0x416e10
push ebx
push str.utl_FileUnpack:Err:_152.
push str.UtlFile
call fcn.00401875
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0x98
add esp, 0xc
lea ecx, [ebp - 0x13b4]
call fcn.004016d6
lea ecx, [ebp - 0x1398]
call fcn.004016d6
jmp 0x417ba1
mov edx, dword [ebp - 0x13e0]
push edx
call fcn.00401924
add esp, 4
test eax, eax
jne 0x416e41
push ebx
push str.utl_FileUnpack:Err:_158.
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0x9e
jmp 0x416df2
lea ecx, [ebp - 0x13c4]
push ecx
lea edx, [ebp - 0x13c8]
push edx
lea eax, [ebp - 0x16c]
push eax
mov dword [ebp - 0x13c8], ebx
mov dword [ebp - 0x13c4], ebx
call fcn.00401717
add esp, 0xc
cmp dword [ebp - 0x13a0], 0x10
mov edi, eax
mov eax, dword [ebp - 0x13b4]
jae 0x416e81
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push 0xd
push str.dwSizeHigh_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov esi, dword [ebp - 0x13c8]
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
push 0x44ca14
push ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x416ed7
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x13c4]
push eax
lea ecx, [ebp - 0x30]
push 0x44ca14
push ecx
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416f40
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x416f6e
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
cmp edi, ebx
je 0x417af6
cmp esi, ebx
jne 0x417af6
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp - 0x13c4]
cmp esi, edi
jae 0x417af6
mov eax, dword [ebp - 0x13b4]
sub edi, esi
cmp dword [ebp - 0x13a0], 0x10
mov dword [ebp - 0x13c4], edi
jae 0x416fbb
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push 0x22
push str.dwSizeLow__dwSizeLow___dwOffset
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push 0x44ca14
push eax
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x417010
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417010
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x41703e
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
lea edx, [ebp - 0x16c]
push edx
mov dword [ebp - 0x13bc], ebx
mov dword [ebp - 0x13c0], 1
call fcn.00401730
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x13cc], edi
mov dword [ebp - 0x13c8], 0xffffffff
mov dword [ebp - 0x13d0], ebx
mov dword [ebp - 0x13d4], ebx
mov dword [ebp - 0x13d8], ebx
mov dword [ebp - 0x13ec], ebx
push ebx
cmp edi, 0xffffffff
jne 0x4170c2
push str.utl_FileUnpack:Err:_156.
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13b8]
add esp, 0xc
mov dword [eax], 0x9c
mov dword [ebp - 0x13c0], ebx
jmp 0x4179d1
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x11
lea ecx, [ebp - 0x137c]
push ecx
push edi
mov dword [ebp - 0x13bc], 0x11
call fcn.00401884
add esp, 0xc
test eax, eax
jne 0x41710c
push ebx
push str.utl_FileUnpack:Err:_159.
push str.UtlFile
call fcn.00401875
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0x9f
jmp 0x4179ab
mov edi, dword [ebp - 0x13bc]
mov eax, edi
mov ecx, str._iNode__Reed
lea esi, [ebp - 0x137c]
cmp edi, 4
jb 0x417138
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x41715c
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x417124
cmp eax, ebx
je 0x4171ad
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x41715c
cmp eax, 1
jbe 0x4171ad
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x41715c
cmp eax, 2
jbe 0x4171ad
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x4171ad
push 0x31
lea ecx, [ebp - 0x63]
push ebx
push ecx
mov byte [ebp - 0x64], bl
call fcn.0041bb50
push edi
lea edx, [ebp - 0x64]
push 0x44ca14
push edx
call fcn.0041b420
push ebx
lea eax, [ebp - 0x64]
push eax
push str.UtlFile
call fcn.00401875
push ebx
push str.utl_FileUnpack:Err:_160.
push str.UtlFile
call fcn.00401875
mov ecx, dword [ebp - 0x13b8]
add esp, 0x30
mov dword [ecx], 0xa0
jmp 0x4179ae
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
mov dword [ebp - 0x13e4], edi
jae 0x4171c8
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push 0x10
push str.dwCurTotalLen_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
push edi
lea edx, [ebp - 0x30]
push 0x44ca14
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417218
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040181b
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x417246
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
xor esi, esi
cmp edi, dword [ebp - 0x13c4]
jae 0x4179b4
mov eax, dword [ebp - 0x13b4]
inc esi
mov edi, 0x10
mov dword [ebp - 0x13f0], esi
cmp dword [ebp - 0x13a0], edi
jae 0x417283
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push 0xe
push str.unpack_time_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
push 0x44ca14
push ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4172d3
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], edi
jae 0x417300
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
mov edx, dword [ebp - 0x13cc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push ebx
lea eax, [ebp - 0x13bc]
push eax
mov esi, 4
push esi
lea ecx, [ebp - 0x13d0]
push ecx
push edx
call edi
cmp eax, ebx
je 0x4178e4
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
jae 0x417350
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push 0xf
push str.dwBufDataLen_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x13bc]
push eax
lea ecx, [ebp - 0x30]
push 0x44ca14
push ecx
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4173a6
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
push 0x14
push str._dwCurFileNameLen_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x13d0]
push eax
lea ecx, [ebp - 0x30]
push 0x44ca14
push ecx
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417410
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push 0x44ca14
push eax
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417470
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x41749e
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
cmp dword [ebp - 0x13bc], esi
jne 0x41798f
mov eax, dword [ebp - 0x13d0]
cmp eax, 0x40
ja 0x41798f
add eax, dword [ebp - 0x13e8]
cmp eax, 0x104
jae 0x41798f
mov edx, dword [ebp - 0x13cc]
push ebx
lea eax, [ebp - 0x13bc]
push eax
push esi
lea ecx, [ebp - 0x13d4]
push ecx
push edx
call edi
cmp eax, ebx
je 0x417ad5
cmp dword [ebp - 0x13bc], esi
jne 0x417ad5
mov eax, dword [ebp - 0x13d4]
add eax, dword [ebp - 0x13d0]
mov edx, dword [ebp - 0x13e4]
lea esi, [edx + eax + 8]
mov eax, dword [ebp - 0x13b4]
mov edi, 0x10
mov dword [ebp - 0x13e4], esi
cmp dword [ebp - 0x13a0], edi
jae 0x41753b
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push edi
push str.dwCurTotalLen_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push 0x44ca14
push eax
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417590
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], edi
jae 0x4175bd
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
cmp esi, dword [ebp - 0x13c4]
ja 0x4179f2
mov edx, dword [ebp - 0x13d0]
mov ecx, dword [ebp - 0x13cc]
push edx
lea eax, [ebp - 0x137c]
push eax
push ecx
call fcn.00401884
add esp, 0xc
test eax, eax
je 0x417a10
mov edx, dword [ebp - 0x13d0]
mov ecx, dword [ebp - 0x13e0]
lea eax, [ebp - 0x137c]
push eax
push ecx
mov byte [ebp + edx - 0x137c], 0
lea edx, [ebp - 0x274]
push str._s_s
push edx
call fcn.0041b420
lea eax, [ebp - 0x13dc]
push eax
lea ecx, [ebp - 0x274]
push ecx
mov dword [ebp - 0x13dc], ebx
call fcn.004011f9
mov edi, eax
mov eax, dword [ebp - 0x13b4]
mov esi, 0x10
add esp, 0x18
mov dword [ebp - 0x13c8], edi
cmp dword [ebp - 0x13a0], esi
jae 0x417667
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push 0xf
push str.szDstAbsFile_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
lea eax, [ebp - 0x274]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417690
sub eax, edx
push eax
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], esi
jae 0x4176c0
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
push 0x104
lea eax, [ebp - 0x37b]
push ebx
push eax
mov byte [ebp - 0x37c], 0
call fcn.0041bb50
lea ecx, [ebp - 0x137c]
push ecx
lea edx, [ebp - 0x37c]
push 0x44d350
push edx
call fcn.0041b420
add esp, 0x24
mov ecx, str.iNode_end
lea eax, [ebp - 0x37c]
jmp 0x417710
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417730
test dl, dl
je 0x41772c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417730
add eax, 2
add ecx, 2
test dl, dl
jne 0x417710
xor eax, eax
jmp 0x417735
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x417a31
cmp edi, 0xffffffff
je 0x4177dc
mov eax, dword [ebp - 0x13d4]
cmp eax, ebx
jbe 0x4177c0
mov esi, dword [ebp - 0x13d8]
sub eax, esi
cmp eax, 0x1000
jbe 0x417764
mov eax, 0x1000
mov ecx, dword [ebp - 0x13cc]
push eax
mov dword [ebp - 0x13bc], eax
lea eax, [ebp - 0x137c]
push eax
push ecx
call fcn.00401884
add esp, 0xc
push ebx
test eax, eax
je 0x417a94
mov eax, dword [ebp - 0x13bc]
lea edx, [ebp - 0x13ec]
push edx
push eax
lea ecx, [ebp - 0x137c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x417ab4
mov eax, dword [ebp - 0x13d4]
add esi, dword [ebp - 0x13bc]
mov edx, eax
sub edx, esi
jne 0x417756
push edi
mov dword [ebp - 0x13d8], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x13c8], 0xffffffff
jmp 0x4178c7
push str.utl_FileUnpack:_failed_to_create_file_
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00401271
add esp, 0xc
push eax
lea ecx, [ebp - 0x1398]
mov byte [ebp - 4], 2
call fcn.004013de
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004016d6
lea eax, [ebp - 0x274]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417820
sub eax, edx
push eax
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x13dc]
push eax
lea ecx, [ebp - 0x30]
push str.__sysError__u_
push ecx
call fcn.0041b420
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417874
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], esi
jae 0x4178a1
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13d4]
mov ecx, dword [ebp - 0x13cc]
add esp, 0xc
push 1
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp - 0x13c4]
cmp dword [ebp - 0x13e4], edx
jae 0x4179b4
mov esi, dword [ebp - 0x13f0]
jmp 0x417263
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x30]
push 0x44ca14
push eax
call fcn.0041b420
mov eax, dword [ebp - 0x13b4]
mov esi, 0x10
add esp, 0xc
cmp dword [ebp - 0x13a0], esi
jae 0x41792f
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push 0x1a
push str.ReadFile_failed_with_err.
lea ecx, [ebp - 0x1398]
call fcn.0040181b
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417953
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], esi
jae 0x417980
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
push ebx
push str.utl_FileUnpack:Err:_161.
push str.UtlFile
call fcn.00401875
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0xa1
add esp, 0xc
mov dword [ebp - 0x13c0], ebx
mov edx, dword [ebp - 0x13cc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x13c8]
cmp eax, 0xffffffff
je 0x4179d1
push eax
call esi
lea ecx, [ebp - 0x13b4]
call fcn.004016d6
lea ecx, [ebp - 0x1398]
call fcn.004016d6
mov eax, dword [ebp - 0x13c0]
jmp 0x417ba3
push ebx
push str.utl_FileUnpack:Err:_163.
push str.UtlFile
call fcn.00401875
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0xa3
jmp 0x4179ab
push ebx
push str.utl_FileUnpack:Err:_164.
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0xa4
jmp 0x4179ab
mov eax, dword [ebp - 0x13b4]
mov dword [ebp - 0x13c0], 1
cmp dword [ebp - 0x13a0], esi
jae 0x417a4f
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00401348
push esi
push str.The_file_is_end.
lea ecx, [ebp - 0x1398]
call fcn.0040181b
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], esi
jae 0x417a80
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
jmp 0x4179b4
push str.utl_FileUnpack:Err:_166.
push str.UtlFile
call fcn.00401875
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0xa6
jmp 0x4179ab
push ebx
push str.utl_FileUnpack:Err:_157.
push str.UtlFile
call fcn.00401875
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0x9d
jmp 0x4179ab
push ebx
push str.utl_FileUnpack:Err:_162.
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0xa2
jmp 0x4179ab
push ebx
push str.utl_FileUnpack:Err:_155.
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0x9b
jmp 0x416df2
push 0
push str.utl_FileUnpack:Err:_151.
push str.UtlFile
call fcn.00401875
mov ecx, dword [ebp - 0x13b8]
add esp, 0xc
mov dword [ecx], 0x97
cmp dword [ebp - 0x13a0], esi
jb 0x417b4e
mov edx, dword [ebp - 0x13b4]
push edx
call fcn.0041a986
add esp, 4
mov dword [ebp - 0x13a0], 0xf
mov dword [ebp - 0x13a4], 0
mov byte [ebp - 0x13b4], 0
cmp dword [ebp - 0x1384], esi
jb 0x417ba1
mov eax, dword [ebp - 0x1398]
push eax
call fcn.0041a986
add esp, 4
jmp 0x417ba1
push esi
push str.utl_FileUnpack:Err:_150.
push str.UtlFile
call fcn.00401875
mov ecx, dword [ebp - 0x13b8]
add esp, 0xc
mov dword [ecx], 0x96
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b411
mov esp, ebp
pop ebp
ret