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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4620a6
mov eax, dword fs:[0]
push eax
mov eax, 0x13dc
call fcn.0043cb20
mov eax, dword [0x4745a8]
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 - 0x13dc], eax
mov dword [ebp - 0x13b8], ecx
cmp edi, esi
je 0x437633
cmp ebx, esi
je 0x437633
cmp eax, esi
je 0x437633
xor eax, eax
push esi
push 0x46c3e8
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.00407c70
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.00407c70
mov eax, edi
mov byte [ebp - 4], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436772
sub eax, edx
mov dword [ebp - 0x13c4], eax
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436786
sub eax, edx
mov dword [ebp - 0x13d4], eax
mov eax, dword [ebp - 0x13dc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4367a0
sub eax, edx
cmp dword [ebp - 0x13a0], 0x10
mov edx, dword [ebp - 0x13b4]
mov dword [ebp - 0x13e0], eax
jae 0x4367c4
lea edx, [ebp - 0x13b4]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4367d0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x1398]
call fcn.00407c70
push 0xd
push str.pszSrcPath_
lea ecx, [ebp - 0x1398]
call fcn.00412810
mov eax, edi
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436800
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x1398]
call fcn.00412810
push 0xe
push str._pszSrcFile_
lea ecx, [ebp - 0x1398]
call fcn.00412810
mov eax, ebx
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436830
sub eax, ecx
push eax
push ebx
lea ecx, [ebp - 0x1398]
call fcn.00412810
push 0xe
push str._pszDstPath_
lea ecx, [ebp - 0x1398]
call fcn.00412810
mov esi, dword [ebp - 0x13dc]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436863
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x1398]
call fcn.00412810
mov eax, dword [ebp - 0x1398]
mov esi, 0x10
cmp dword [ebp - 0x1384], esi
jae 0x436892
lea eax, [ebp - 0x1398]
push 0
push eax
push str.UtlFile
call fcn.00424e80
mov edx, dword [ebp - 0x13d4]
add edx, dword [ebp - 0x13c4]
add esp, 0xc
cmp edx, 0x104
jae 0x4375c8
cmp dword [ebp - 0x13e0], 0x104
jae 0x4375c8
push ebx
push edi
lea ecx, [ebp - 0x16c]
push 0x466504
push ecx
call fcn.0043ac3a
lea edx, [ebp - 0x16c]
push edx
call fcn.00430650
add esp, 0x14
cmp dword [ebp - 0x13a0], 0x10
mov esi, eax
mov eax, dword [ebp - 0x13b4]
jae 0x436903
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0xf
push str.szSrcAbsFile_
lea ecx, [ebp - 0x1398]
call fcn.00412810
lea eax, [ebp - 0x16c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436930
sub eax, edx
push eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00412810
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x436961
lea eax, [ebp - 0x1398]
xor ebx, ebx
push ebx
push eax
push str.UtlFile
call fcn.00424e80
add esp, 0xc
cmp esi, ebx
jne 0x4369b0
push ebx
push str.utl_FileUnpack:Err:_152.
push str.UtlFile
call fcn.00424e80
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0x98
add esp, 0xc
lea ecx, [ebp - 0x13b4]
call fcn.00407790
lea ecx, [ebp - 0x1398]
call fcn.00407790
jmp 0x437652
mov edx, dword [ebp - 0x13dc]
push edx
call fcn.004306f0
add esp, 4
test eax, eax
jne 0x4369e1
push ebx
push str.utl_FileUnpack:Err:_158.
push str.UtlFile
call fcn.00424e80
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0x9e
jmp 0x436992
lea ecx, [ebp - 0x13c8]
push ecx
lea edx, [ebp - 0x13c4]
push edx
lea eax, [ebp - 0x16c]
push eax
mov dword [ebp - 0x13c4], ebx
mov dword [ebp - 0x13c8], ebx
call fcn.00435610
add esp, 0xc
cmp dword [ebp - 0x13a0], 0x10
mov edi, eax
mov eax, dword [ebp - 0x13b4]
jae 0x436a21
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0xd
push str.dwSizeHigh_
lea ecx, [ebp - 0x1398]
call fcn.00412810
mov esi, dword [ebp - 0x13c4]
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
push 0x46c464
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.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436a77
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412810
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x1398]
call fcn.00412810
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 - 0x13c8]
push eax
lea ecx, [ebp - 0x30]
push 0x46c464
push ecx
call fcn.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436ae0
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412810
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x436b0e
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424e80
add esp, 0xc
cmp edi, ebx
je 0x4375a7
cmp esi, ebx
jne 0x4375a7
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp - 0x13c8]
cmp esi, edi
jae 0x4375a7
mov eax, dword [ebp - 0x13b4]
sub edi, esi
cmp dword [ebp - 0x13a0], 0x10
mov dword [ebp - 0x13c8], edi
jae 0x436b5b
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0x22
push str.dwSizeLow__dwSizeLow___dwOffset
lea ecx, [ebp - 0x1398]
call fcn.00412810
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 0x46c464
push eax
call fcn.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x436bb0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436bb0
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.00412810
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x436bde
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424e80
lea edx, [ebp - 0x16c]
push edx
mov dword [ebp - 0x13c0], ebx
mov dword [ebp - 0x13bc], 1
call fcn.00430ac0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x13d0], edi
mov dword [ebp - 0x13c4], 0xffffffff
mov dword [ebp - 0x13cc], ebx
mov dword [ebp - 0x13d8], ebx
mov dword [ebp - 0x13d4], ebx
mov dword [ebp - 0x13e4], ebx
push ebx
cmp edi, 0xffffffff
jne 0x436c62
push str.utl_FileUnpack:Err:_156.
push str.UtlFile
call fcn.00424e80
mov eax, dword [ebp - 0x13b8]
add esp, 0xc
mov dword [eax], 0x9c
mov dword [ebp - 0x13bc], ebx
jmp 0x43745e
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 - 0x13c0], 0x11
call fcn.00430b80
add esp, 0xc
test eax, eax
jne 0x436cac
push ebx
push str.utl_FileUnpack:Err:_159.
push str.UtlFile
call fcn.00424e80
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0x9f
jmp 0x437438
mov edi, dword [ebp - 0x13c0]
mov eax, edi
mov ecx, str._iNode__Reed
lea esi, [ebp - 0x137c]
cmp edi, 4
jb 0x436cd8
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x436cfc
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x436cc4
cmp eax, ebx
je 0x436d4d
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x436cfc
cmp eax, 1
jbe 0x436d4d
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x436cfc
cmp eax, 2
jbe 0x436d4d
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x436d4d
push 0x31
lea ecx, [ebp - 0x63]
push ebx
push ecx
mov byte [ebp - 0x64], bl
call fcn.0043abc0
push edi
lea edx, [ebp - 0x64]
push 0x46c464
push edx
call fcn.0043ac3a
push ebx
lea eax, [ebp - 0x64]
push eax
push str.UtlFile
call fcn.00424e80
push ebx
push str.utl_FileUnpack:Err:_160.
push str.UtlFile
call fcn.00424e80
mov ecx, dword [ebp - 0x13b8]
add esp, 0x30
mov dword [ecx], 0xa0
jmp 0x43743b
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
jae 0x436d62
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0x10
push str.dwCurTotalLen_
lea ecx, [ebp - 0x1398]
call fcn.00412810
xor eax, eax
push edi
lea edx, [ebp - 0x30]
push 0x46c464
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.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436db2
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00412810
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x436de0
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424e80
add esp, 0xc
xor esi, esi
cmp edi, dword [ebp - 0x13c8]
jae 0x437441
lea ecx, [ecx]
mov eax, dword [ebp - 0x13b4]
inc esi
cmp dword [ebp - 0x13a0], 0x10
mov dword [ebp - 0x13e8], esi
jae 0x436e1c
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0xe
push str.unpack_time_
lea ecx, [ebp - 0x1398]
call fcn.00412810
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
push 0x46c464
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.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436e70
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412810
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x436e9e
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424e80
mov edx, dword [ebp - 0x13d0]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push ebx
lea eax, [ebp - 0x13c0]
push eax
push 4
lea ecx, [ebp - 0x13cc]
push ecx
push edx
call esi
cmp eax, ebx
je 0x43736a
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
jae 0x436eea
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0xf
push str.dwBufDataLen_
lea ecx, [ebp - 0x1398]
call fcn.00412810
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 - 0x13c0]
push eax
lea ecx, [ebp - 0x30]
push 0x46c464
push ecx
call fcn.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436f40
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412810
push 0x14
push str._dwCurFileNameLen_
lea ecx, [ebp - 0x1398]
call fcn.00412810
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 - 0x13cc]
push eax
lea ecx, [ebp - 0x30]
push 0x46c464
push ecx
call fcn.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436fa3
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412810
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x1398]
call fcn.00412810
xor eax, eax
push 4
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 0x46c464
push eax
call fcn.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437001
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.00412810
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x43702f
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424e80
add esp, 0xc
cmp dword [ebp - 0x13c0], 4
jne 0x43741c
mov eax, dword [ebp - 0x13cc]
cmp eax, 0x40
ja 0x43741c
add eax, dword [ebp - 0x13e0]
cmp eax, 0x104
jae 0x43741c
mov edx, dword [ebp - 0x13d0]
push ebx
lea eax, [ebp - 0x13c0]
push eax
push 4
lea ecx, [ebp - 0x13d8]
push ecx
push edx
call esi
test eax, eax
je 0x437586
cmp dword [ebp - 0x13c0], 4
jne 0x437586
mov ecx, dword [ebp - 0x13d8]
add ecx, dword [ebp - 0x13cc]
mov eax, dword [ebp - 0x13b4]
mov esi, 0x10
lea edi, [edi + ecx + 8]
cmp dword [ebp - 0x13a0], esi
jae 0x4370c3
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push esi
push str.dwCurTotalLen_
lea ecx, [ebp - 0x1398]
call fcn.00412810
xor eax, eax
push edi
lea edx, [ebp - 0x30]
push 0x46c464
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.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437112
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00412810
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], esi
jae 0x43713f
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424e80
add esp, 0xc
cmp edi, dword [ebp - 0x13c8]
ja 0x43747f
mov ecx, dword [ebp - 0x13cc]
mov eax, dword [ebp - 0x13d0]
push ecx
lea edx, [ebp - 0x137c]
push edx
push eax
call fcn.00430b80
add esp, 0xc
test eax, eax
je 0x43749d
mov ecx, dword [ebp - 0x13cc]
mov eax, dword [ebp - 0x13dc]
lea edx, [ebp - 0x137c]
push edx
push eax
mov byte [ebp + ecx - 0x137c], bl
lea ecx, [ebp - 0x37c]
push 0x466504
push ecx
call fcn.0043ac3a
lea edx, [ebp - 0x37c]
push edx
call fcn.00430af0
mov esi, eax
mov eax, dword [ebp - 0x13b4]
add esp, 0x14
cmp dword [ebp - 0x13a0], 0x10
mov dword [ebp - 0x13c4], esi
jae 0x4371d7
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0xf
push str.szDstAbsFile_
lea ecx, [ebp - 0x1398]
call fcn.00412810
lea eax, [ebp - 0x37c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437200
sub eax, edx
push eax
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00412810
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x437231
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424e80
push 0x104
lea ecx, [ebp - 0x273]
push ebx
push ecx
mov byte [ebp - 0x274], bl
call fcn.0043abc0
lea edx, [ebp - 0x137c]
push edx
lea eax, [ebp - 0x274]
push 0x46c48c
push eax
call fcn.0043ac3a
add esp, 0x24
mov ecx, str.iNode_end
lea eax, [ebp - 0x274]
jmp 0x437280
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4372a0
test dl, dl
je 0x43729c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4372a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x437280
xor eax, eax
jmp 0x4372a5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4374be
cmp esi, 0xffffffff
je 0x437524
mov eax, dword [ebp - 0x13d8]
cmp eax, ebx
jbe 0x437336
mov esi, dword [ebp - 0x13d4]
sub eax, esi
cmp eax, 0x1000
jbe 0x4372d4
mov eax, 0x1000
mov edx, dword [ebp - 0x13d0]
push eax
lea ecx, [ebp - 0x137c]
push ecx
push edx
mov dword [ebp - 0x13c0], eax
call fcn.00430b80
add esp, 0xc
push ebx
test eax, eax
je 0x437545
mov ecx, dword [ebp - 0x13c0]
lea eax, [ebp - 0x13e4]
push eax
mov eax, dword [ebp - 0x13c4]
push ecx
lea edx, [ebp - 0x137c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x437565
mov eax, dword [ebp - 0x13d8]
add esi, dword [ebp - 0x13c0]
mov ecx, eax
sub ecx, esi
jne 0x4372c6
mov edx, dword [ebp - 0x13c4]
push edx
mov dword [ebp - 0x13d4], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x13c4], 0xffffffff
cmp edi, dword [ebp - 0x13c8]
jae 0x437441
mov esi, dword [ebp - 0x13e8]
jmp 0x436e00
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 0x46c464
push eax
call fcn.0043ac3a
mov eax, dword [ebp - 0x13b4]
mov esi, 0x10
add esp, 0xc
cmp dword [ebp - 0x13a0], esi
jae 0x4373b5
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0x1a
push str.ReadFile_failed_with_err.
lea ecx, [ebp - 0x1398]
call fcn.00412810
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4373e0
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.00412810
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], esi
jae 0x43740d
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424e80
add esp, 0xc
push ebx
push str.utl_FileUnpack:Err:_161.
push str.UtlFile
call fcn.00424e80
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0xa1
add esp, 0xc
mov dword [ebp - 0x13bc], ebx
mov eax, dword [ebp - 0x13d0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov eax, dword [ebp - 0x13c4]
cmp eax, 0xffffffff
je 0x43745e
push eax
call esi
lea ecx, [ebp - 0x13b4]
call fcn.00407790
lea ecx, [ebp - 0x1398]
call fcn.00407790
mov eax, dword [ebp - 0x13bc]
jmp 0x437654
push ebx
push str.utl_FileUnpack:Err:_163.
push str.UtlFile
call fcn.00424e80
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0xa3
jmp 0x437438
push ebx
push str.utl_FileUnpack:Err:_164.
push str.UtlFile
call fcn.00424e80
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0xa4
jmp 0x437438
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
mov dword [ebp - 0x13bc], 1
jae 0x4374dd
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0x10
push str.The_file_is_end.
lea ecx, [ebp - 0x1398]
call fcn.00412810
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x437510
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424e80
add esp, 0xc
jmp 0x437441
push ebx
push str.utl_FileUnpack:Err:_165.
push str.UtlFile
call fcn.00424e80
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0xa5
jmp 0x437438
push str.utl_FileUnpack:Err:_166.
push str.UtlFile
call fcn.00424e80
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0xa6
jmp 0x437438
push ebx
push str.utl_FileUnpack:Err:_157.
push str.UtlFile
call fcn.00424e80
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0x9d
jmp 0x437438
push ebx
push str.utl_FileUnpack:Err:_162.
push str.UtlFile
call fcn.00424e80
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0xa2
jmp 0x437438
push ebx
push str.utl_FileUnpack:Err:_155.
push str.UtlFile
call fcn.00424e80
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0x9b
jmp 0x436992
push 0
push str.utl_FileUnpack:Err:_151.
push str.UtlFile
call fcn.00424e80
mov edx, dword [ebp - 0x13b8]
add esp, 0xc
mov dword [edx], 0x97
cmp dword [ebp - 0x13a0], esi
jb 0x4375ff
mov eax, dword [ebp - 0x13b4]
push eax
call fcn.00439f71
add esp, 4
mov dword [ebp - 0x13a0], 0xf
mov dword [ebp - 0x13a4], 0
mov byte [ebp - 0x13b4], 0
cmp dword [ebp - 0x1384], esi
jb 0x437652
mov ecx, dword [ebp - 0x1398]
push ecx
call fcn.00439f71
add esp, 4
jmp 0x437652
push esi
push str.utl_FileUnpack:Err:_150.
push str.UtlFile
call fcn.00424e80
mov edx, dword [ebp - 0x13b8]
add esp, 0xc
mov dword [edx], 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.00439bf4
mov esp, ebp
pop ebp
ret