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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44592e
mov eax, dword fs:[0]
push eax
mov eax, 0x13e4
call fcn.0041bb10
mov eax, dword [0x454670]
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 0x417912
cmp ebx, esi
je 0x417912
cmp eax, esi
je 0x417912
xor eax, eax
push esi
push 0x44ba96
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.00401253
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.00401253
mov eax, edi
mov byte [ebp - 4], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416962
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 0x416976
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 0x416990
sub eax, edx
cmp dword [ebp - 0x13a0], 0x10
mov edx, dword [ebp - 0x13b4]
mov dword [ebp - 0x13e8], eax
jae 0x4169b4
lea edx, [ebp - 0x13b4]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4169c0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x1398]
call fcn.00401253
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 0x4169f0
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x1398]
call fcn.0040181b
push 0xe
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 0x416a20
sub eax, ecx
push eax
push ebx
lea ecx, [ebp - 0x1398]
call fcn.0040181b
push 0xe
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 0x416a53
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 0x416a82
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 0x4178a7
cmp dword [ebp - 0x13e8], 0x104
jae 0x4178a7
push ebx
push edi
lea ecx, [ebp - 0x16c]
push str._s_s
push ecx
call fcn.0041b190
lea edx, [ebp - 0x16c]
push edx
call fcn.00401636
add esp, 0x14
cmp dword [ebp - 0x13a0], 0x10
mov esi, eax
mov eax, dword [ebp - 0x13b4]
jae 0x416af3
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
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 0x416b20
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 0x416b51
lea eax, [ebp - 0x1398]
xor ebx, ebx
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
cmp esi, ebx
jne 0x416ba0
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.004016db
lea ecx, [ebp - 0x1398]
call fcn.004016db
jmp 0x417931
mov edx, dword [ebp - 0x13e0]
push edx
call fcn.00401924
add esp, 4
test eax, eax
jne 0x416bd1
push ebx
push str.utl_FileUnpack:Err:_158.
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0x9e
jmp 0x416b82
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 0x416c11
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
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 0x44b93c
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.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x416c67
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 0x44b93c
push ecx
call fcn.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416cd0
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 0x416cfe
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
cmp edi, ebx
je 0x417886
cmp esi, ebx
jne 0x417886
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp - 0x13c4]
cmp esi, edi
jae 0x417886
mov eax, dword [ebp - 0x13b4]
sub edi, esi
cmp dword [ebp - 0x13a0], 0x10
mov dword [ebp - 0x13c4], edi
jae 0x416d4b
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
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 0x44b93c
push eax
call fcn.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x416da0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416da0
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 0x416dce
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 0x416e52
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 0x417761
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 0x416e9c
push ebx
push str.utl_FileUnpack:Err:_159.
push str.UtlFile
call fcn.00401875
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0x9f
jmp 0x41773b
mov edi, dword [ebp - 0x13bc]
mov eax, edi
mov ecx, str._iNode__Reed
lea esi, [ebp - 0x137c]
cmp edi, 4
jb 0x416ec8
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x416eec
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x416eb4
cmp eax, ebx
je 0x416f3d
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x416eec
cmp eax, 1
jbe 0x416f3d
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x416eec
cmp eax, 2
jbe 0x416f3d
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x416f3d
push 0x31
lea ecx, [ebp - 0x63]
push ebx
push ecx
mov byte [ebp - 0x64], bl
call fcn.0041b8c0
push edi
lea edx, [ebp - 0x64]
push 0x44b93c
push edx
call fcn.0041b190
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 0x41773e
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
mov dword [ebp - 0x13e4], edi
jae 0x416f58
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
push 0x10
push str.dwCurTotalLen_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
push edi
lea edx, [ebp - 0x30]
push 0x44b93c
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.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416fa8
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 0x416fd6
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 0x417744
mov eax, dword [ebp - 0x13b4]
inc esi
mov edi, 0x10
mov dword [ebp - 0x13f0], esi
cmp dword [ebp - 0x13a0], edi
jae 0x417013
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
push 0xe
push str.unpack_time_
lea ecx, [ebp - 0x1398]
call fcn.0040181b
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
push 0x44b93c
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.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417063
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 0x417090
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 0x417674
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
jae 0x4170e0
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
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 0x44b93c
push ecx
call fcn.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417136
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 0x44b93c
push ecx
call fcn.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4171a0
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 0x44b93c
push eax
call fcn.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417200
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 0x41722e
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
cmp dword [ebp - 0x13bc], esi
jne 0x41771f
mov eax, dword [ebp - 0x13d0]
cmp eax, 0x40
ja 0x41771f
add eax, dword [ebp - 0x13e8]
cmp eax, 0x104
jae 0x41771f
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 0x417865
cmp dword [ebp - 0x13bc], esi
jne 0x417865
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 0x4172cb
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
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 0x44b93c
push eax
call fcn.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417320
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 0x41734d
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
cmp esi, dword [ebp - 0x13c4]
ja 0x417782
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 0x4177a0
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.0041b190
lea eax, [ebp - 0x13dc]
push eax
lea ecx, [ebp - 0x274]
push ecx
mov dword [ebp - 0x13dc], ebx
call fcn.004011fe
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 0x4173f7
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
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 0x417420
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 0x417450
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.0041b8c0
lea ecx, [ebp - 0x137c]
push ecx
lea edx, [ebp - 0x37c]
push 0x44c278
push edx
call fcn.0041b190
add esp, 0x24
mov ecx, str.iNode_end
lea eax, [ebp - 0x37c]
jmp 0x4174a0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4174c0
test dl, dl
je 0x4174bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4174c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4174a0
xor eax, eax
jmp 0x4174c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4177c1
cmp edi, 0xffffffff
je 0x41756c
mov eax, dword [ebp - 0x13d4]
cmp eax, ebx
jbe 0x417550
mov esi, dword [ebp - 0x13d8]
sub eax, esi
cmp eax, 0x1000
jbe 0x4174f4
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 0x417824
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 0x417844
mov eax, dword [ebp - 0x13d4]
add esi, dword [ebp - 0x13bc]
mov edx, eax
sub edx, esi
jne 0x4174e6
push edi
mov dword [ebp - 0x13d8], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x13c8], 0xffffffff
jmp 0x417657
push str.utl_FileUnpack:_failed_to_create_file_
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00401276
add esp, 0xc
push eax
lea ecx, [ebp - 0x1398]
mov byte [ebp - 4], 2
call fcn.004013e3
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004016db
lea eax, [ebp - 0x274]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4175b0
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.0041b190
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417604
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 0x417631
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 0x417744
mov esi, dword [ebp - 0x13f0]
jmp 0x416ff3
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 0x44b93c
push eax
call fcn.0041b190
mov eax, dword [ebp - 0x13b4]
mov esi, 0x10
add esp, 0xc
cmp dword [ebp - 0x13a0], esi
jae 0x4176bf
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
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 0x4176e3
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 0x417710
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 0x417761
push eax
call esi
lea ecx, [ebp - 0x13b4]
call fcn.004016db
lea ecx, [ebp - 0x1398]
call fcn.004016db
mov eax, dword [ebp - 0x13c0]
jmp 0x417933
push ebx
push str.utl_FileUnpack:Err:_163.
push str.UtlFile
call fcn.00401875
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0xa3
jmp 0x41773b
push ebx
push str.utl_FileUnpack:Err:_164.
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0xa4
jmp 0x41773b
mov eax, dword [ebp - 0x13b4]
mov dword [ebp - 0x13c0], 1
cmp dword [ebp - 0x13a0], esi
jae 0x4177df
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040134d
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 0x417810
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00401875
add esp, 0xc
jmp 0x417744
push str.utl_FileUnpack:Err:_166.
push str.UtlFile
call fcn.00401875
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0xa6
jmp 0x41773b
push ebx
push str.utl_FileUnpack:Err:_157.
push str.UtlFile
call fcn.00401875
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0x9d
jmp 0x41773b
push ebx
push str.utl_FileUnpack:Err:_162.
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0xa2
jmp 0x41773b
push ebx
push str.utl_FileUnpack:Err:_155.
push str.UtlFile
call fcn.00401875
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0x9b
jmp 0x416b82
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 0x4178de
mov edx, dword [ebp - 0x13b4]
push edx
call fcn.0041a6fe
add esp, 4
mov dword [ebp - 0x13a0], 0xf
mov dword [ebp - 0x13a4], 0
mov byte [ebp - 0x13b4], 0
cmp dword [ebp - 0x1384], esi
jb 0x417931
mov eax, dword [ebp - 0x1398]
push eax
call fcn.0041a6fe
add esp, 4
jmp 0x417931
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.0041b181
mov esp, ebp
pop ebp
ret