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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461a16
mov eax, dword fs:[0]
push eax
mov eax, 0x13dc
call fcn.0043c540
mov eax, dword [0x4735a8]
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 0x437113
cmp ebx, esi
je 0x437113
cmp eax, esi
je 0x437113
xor eax, eax
push esi
push 0x46b340
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 0x436252
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 0x436266
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 0x436280
sub eax, edx
cmp dword [ebp - 0x13a0], 0x10
mov edx, dword [ebp - 0x13b4]
mov dword [ebp - 0x13e0], eax
jae 0x4362a4
lea edx, [ebp - 0x13b4]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4362b0
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.00412850
mov eax, edi
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4362e0
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x1398]
call fcn.00412850
push 0xe
push str._pszSrcFile_
lea ecx, [ebp - 0x1398]
call fcn.00412850
mov eax, ebx
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436310
sub eax, ecx
push eax
push ebx
lea ecx, [ebp - 0x1398]
call fcn.00412850
push 0xe
push str._pszDstPath_
lea ecx, [ebp - 0x1398]
call fcn.00412850
mov esi, dword [ebp - 0x13dc]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436343
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x1398]
call fcn.00412850
mov eax, dword [ebp - 0x1398]
mov esi, 0x10
cmp dword [ebp - 0x1384], esi
jae 0x436372
lea eax, [ebp - 0x1398]
push 0
push eax
push str.UtlFile
call fcn.00424ac0
mov edx, dword [ebp - 0x13d4]
add edx, dword [ebp - 0x13c4]
add esp, 0xc
cmp edx, 0x104
jae 0x4370a8
cmp dword [ebp - 0x13e0], 0x104
jae 0x4370a8
push ebx
push edi
lea ecx, [ebp - 0x16c]
push 0x465478
push ecx
call fcn.0043a71a
lea edx, [ebp - 0x16c]
push edx
call fcn.00430130
add esp, 0x14
cmp dword [ebp - 0x13a0], 0x10
mov esi, eax
mov eax, dword [ebp - 0x13b4]
jae 0x4363e3
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0xf
push str.szSrcAbsFile_
lea ecx, [ebp - 0x1398]
call fcn.00412850
lea eax, [ebp - 0x16c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436410
sub eax, edx
push eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00412850
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x436441
lea eax, [ebp - 0x1398]
xor ebx, ebx
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
add esp, 0xc
cmp esi, ebx
jne 0x436490
push ebx
push str.utl_FileUnpack:Err:_152.
push str.UtlFile
call fcn.00424ac0
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 0x437132
mov edx, dword [ebp - 0x13dc]
push edx
call fcn.004301d0
add esp, 4
test eax, eax
jne 0x4364c1
push ebx
push str.utl_FileUnpack:Err:_158.
push str.UtlFile
call fcn.00424ac0
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0x9e
jmp 0x436472
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.004350f0
add esp, 0xc
cmp dword [ebp - 0x13a0], 0x10
mov edi, eax
mov eax, dword [ebp - 0x13b4]
jae 0x436501
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0xd
push str.dwSizeHigh_
lea ecx, [ebp - 0x1398]
call fcn.00412850
mov esi, dword [ebp - 0x13c4]
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
push 0x46b3bc
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.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436557
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412850
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x1398]
call fcn.00412850
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 0x46b3bc
push ecx
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4365c0
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412850
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x4365ee
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
add esp, 0xc
cmp edi, ebx
je 0x437087
cmp esi, ebx
jne 0x437087
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp - 0x13c8]
cmp esi, edi
jae 0x437087
mov eax, dword [ebp - 0x13b4]
sub edi, esi
cmp dword [ebp - 0x13a0], 0x10
mov dword [ebp - 0x13c8], edi
jae 0x43663b
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.00412850
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 0x46b3bc
push eax
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x436690
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436690
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.00412850
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x4366be
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
lea edx, [ebp - 0x16c]
push edx
mov dword [ebp - 0x13c0], ebx
mov dword [ebp - 0x13bc], 1
call fcn.004305a0
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 0x436742
push str.utl_FileUnpack:Err:_156.
push str.UtlFile
call fcn.00424ac0
mov eax, dword [ebp - 0x13b8]
add esp, 0xc
mov dword [eax], 0x9c
mov dword [ebp - 0x13bc], ebx
jmp 0x436f3e
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.00430660
add esp, 0xc
test eax, eax
jne 0x43678c
push ebx
push str.utl_FileUnpack:Err:_159.
push str.UtlFile
call fcn.00424ac0
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0x9f
jmp 0x436f18
mov edi, dword [ebp - 0x13c0]
mov eax, edi
mov ecx, str._iNode__Reed
lea esi, [ebp - 0x137c]
cmp edi, 4
jb 0x4367b8
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4367dc
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x4367a4
cmp eax, ebx
je 0x43682d
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x4367dc
cmp eax, 1
jbe 0x43682d
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x4367dc
cmp eax, 2
jbe 0x43682d
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x43682d
push 0x31
lea ecx, [ebp - 0x63]
push ebx
push ecx
mov byte [ebp - 0x64], bl
call fcn.0043a6a0
push edi
lea edx, [ebp - 0x64]
push 0x46b3bc
push edx
call fcn.0043a71a
push ebx
lea eax, [ebp - 0x64]
push eax
push str.UtlFile
call fcn.00424ac0
push ebx
push str.utl_FileUnpack:Err:_160.
push str.UtlFile
call fcn.00424ac0
mov ecx, dword [ebp - 0x13b8]
add esp, 0x30
mov dword [ecx], 0xa0
jmp 0x436f1b
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
jae 0x436842
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0x10
push str.dwCurTotalLen_
lea ecx, [ebp - 0x1398]
call fcn.00412850
xor eax, eax
push edi
lea edx, [ebp - 0x30]
push 0x46b3bc
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.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436892
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00412850
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x4368c0
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
add esp, 0xc
xor esi, esi
cmp edi, dword [ebp - 0x13c8]
jae 0x436f21
lea ecx, [ecx]
mov eax, dword [ebp - 0x13b4]
inc esi
cmp dword [ebp - 0x13a0], 0x10
mov dword [ebp - 0x13e8], esi
jae 0x4368fc
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.00412850
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
push 0x46b3bc
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.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436950
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412850
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x43697e
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
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 0x436e4a
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
jae 0x4369ca
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0xf
push str.dwBufDataLen_
lea ecx, [ebp - 0x1398]
call fcn.00412850
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 0x46b3bc
push ecx
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436a20
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412850
push 0x14
push str._dwCurFileNameLen_
lea ecx, [ebp - 0x1398]
call fcn.00412850
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 0x46b3bc
push ecx
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436a83
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1398]
call fcn.00412850
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x1398]
call fcn.00412850
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 0x46b3bc
push eax
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436ae1
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.00412850
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x436b0f
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
add esp, 0xc
cmp dword [ebp - 0x13c0], 4
jne 0x436efc
mov eax, dword [ebp - 0x13cc]
cmp eax, 0x40
ja 0x436efc
add eax, dword [ebp - 0x13e0]
cmp eax, 0x104
jae 0x436efc
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 0x437066
cmp dword [ebp - 0x13c0], 4
jne 0x437066
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 0x436ba3
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push esi
push str.dwCurTotalLen_
lea ecx, [ebp - 0x1398]
call fcn.00412850
xor eax, eax
push edi
lea edx, [ebp - 0x30]
push 0x46b3bc
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.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436bf2
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00412850
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], esi
jae 0x436c1f
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
add esp, 0xc
cmp edi, dword [ebp - 0x13c8]
ja 0x436f5f
mov ecx, dword [ebp - 0x13cc]
mov eax, dword [ebp - 0x13d0]
push ecx
lea edx, [ebp - 0x137c]
push edx
push eax
call fcn.00430660
add esp, 0xc
test eax, eax
je 0x436f7d
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 0x465478
push ecx
call fcn.0043a71a
lea edx, [ebp - 0x37c]
push edx
call fcn.004305d0
mov esi, eax
mov eax, dword [ebp - 0x13b4]
add esp, 0x14
cmp dword [ebp - 0x13a0], 0x10
mov dword [ebp - 0x13c4], esi
jae 0x436cb7
lea eax, [ebp - 0x13b4]
push eax
lea ecx, [ebp - 0x1398]
call fcn.004077c0
push 0xf
push str.szDstAbsFile_
lea ecx, [ebp - 0x1398]
call fcn.00412850
lea eax, [ebp - 0x37c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436ce0
sub eax, edx
push eax
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x1398]
call fcn.00412850
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x436d11
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
push 0x104
lea ecx, [ebp - 0x273]
push ebx
push ecx
mov byte [ebp - 0x274], bl
call fcn.0043a6a0
lea edx, [ebp - 0x137c]
push edx
lea eax, [ebp - 0x274]
push 0x46b3e4
push eax
call fcn.0043a71a
add esp, 0x24
mov ecx, str.iNode_end
lea eax, [ebp - 0x274]
jmp 0x436d60
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x436d80
test dl, dl
je 0x436d7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x436d80
add eax, 2
add ecx, 2
test dl, dl
jne 0x436d60
xor eax, eax
jmp 0x436d85
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x436f9e
cmp esi, 0xffffffff
je 0x437004
mov eax, dword [ebp - 0x13d8]
cmp eax, ebx
jbe 0x436e16
mov esi, dword [ebp - 0x13d4]
sub eax, esi
cmp eax, 0x1000
jbe 0x436db4
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.00430660
add esp, 0xc
push ebx
test eax, eax
je 0x437025
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 0x437045
mov eax, dword [ebp - 0x13d8]
add esi, dword [ebp - 0x13c0]
mov ecx, eax
sub ecx, esi
jne 0x436da6
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 0x436f21
mov esi, dword [ebp - 0x13e8]
jmp 0x4368e0
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 0x46b3bc
push eax
call fcn.0043a71a
mov eax, dword [ebp - 0x13b4]
mov esi, 0x10
add esp, 0xc
cmp dword [ebp - 0x13a0], esi
jae 0x436e95
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.00412850
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436ec0
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1398]
call fcn.00412850
mov eax, dword [ebp - 0x1398]
cmp dword [ebp - 0x1384], esi
jae 0x436eed
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
add esp, 0xc
push ebx
push str.utl_FileUnpack:Err:_161.
push str.UtlFile
call fcn.00424ac0
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 0x436f3e
push eax
call esi
lea ecx, [ebp - 0x13b4]
call fcn.00407790
lea ecx, [ebp - 0x1398]
call fcn.00407790
mov eax, dword [ebp - 0x13bc]
jmp 0x437134
push ebx
push str.utl_FileUnpack:Err:_163.
push str.UtlFile
call fcn.00424ac0
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0xa3
jmp 0x436f18
push ebx
push str.utl_FileUnpack:Err:_164.
push str.UtlFile
call fcn.00424ac0
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0xa4
jmp 0x436f18
cmp dword [ebp - 0x13a0], 0x10
mov eax, dword [ebp - 0x13b4]
mov dword [ebp - 0x13bc], 1
jae 0x436fbd
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.00412850
cmp dword [ebp - 0x1384], 0x10
mov eax, dword [ebp - 0x1398]
jae 0x436ff0
lea eax, [ebp - 0x1398]
push ebx
push eax
push str.UtlFile
call fcn.00424ac0
add esp, 0xc
jmp 0x436f21
push ebx
push str.utl_FileUnpack:Err:_165.
push str.UtlFile
call fcn.00424ac0
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0xa5
jmp 0x436f18
push str.utl_FileUnpack:Err:_166.
push str.UtlFile
call fcn.00424ac0
mov edx, dword [ebp - 0x13b8]
mov dword [edx], 0xa6
jmp 0x436f18
push ebx
push str.utl_FileUnpack:Err:_157.
push str.UtlFile
call fcn.00424ac0
mov eax, dword [ebp - 0x13b8]
mov dword [eax], 0x9d
jmp 0x436f18
push ebx
push str.utl_FileUnpack:Err:_162.
push str.UtlFile
call fcn.00424ac0
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0xa2
jmp 0x436f18
push ebx
push str.utl_FileUnpack:Err:_155.
push str.UtlFile
call fcn.00424ac0
mov ecx, dword [ebp - 0x13b8]
mov dword [ecx], 0x9b
jmp 0x436472
push 0
push str.utl_FileUnpack:Err:_151.
push str.UtlFile
call fcn.00424ac0
mov edx, dword [ebp - 0x13b8]
add esp, 0xc
mov dword [edx], 0x97
cmp dword [ebp - 0x13a0], esi
jb 0x4370df
mov eax, dword [ebp - 0x13b4]
push eax
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x13a0], 0xf
mov dword [ebp - 0x13a4], 0
mov byte [ebp - 0x13b4], 0
cmp dword [ebp - 0x1384], esi
jb 0x437132
mov ecx, dword [ebp - 0x1398]
push ecx
call fcn.00439a51
add esp, 4
jmp 0x437132
push esi
push str.utl_FileUnpack:Err:_150.
push str.UtlFile
call fcn.00424ac0
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.004396d4
mov esp, ebp
pop ebp
ret