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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462066
mov eax, dword fs:[0]
push eax
mov eax, 0x1294
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 esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1294], esi
mov dword [ebp - 0x1280], eax
mov dword [ebp - 0x127c], ecx
test edi, edi
je 0x43665e
test esi, esi
je 0x43665e
test ebx, ebx
je 0x43665e
test eax, eax
je 0x43665e
xor eax, eax
push 0x46c3e8
lea ecx, [ebp - 0x125c]
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
call fcn.00407710
push str.utl_FilePack:
lea ecx, [ebp - 0x1278]
mov dword [ebp - 4], 0
call fcn.00407710
mov eax, edi
mov byte [ebp - 4], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435845
sub eax, edx
mov dword [ebp - 0x1284], eax
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435860
sub eax, edx
mov dword [ebp - 0x128c], eax
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435874
sub eax, edx
mov dword [ebp - 0x12a0], eax
mov eax, dword [ebp - 0x1280]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435890
sub eax, edx
cmp dword [ebp - 0x1264], 0x10
mov edx, dword [ebp - 0x1278]
mov dword [ebp - 0x129c], eax
jae 0x4358b4
lea edx, [ebp - 0x1278]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4358c0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x125c]
call fcn.00407c70
push 0xd
push str.pszSrcPath_
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, edi
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4358f0
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x125c]
call fcn.00412810
push 0xe
push str._pszSrcFile_
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov esi, dword [ebp - 0x1294]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435923
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x125c]
call fcn.00412810
push 0xe
push str._pszDstPath_
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435950
sub eax, ecx
push eax
push ebx
lea ecx, [ebp - 0x125c]
call fcn.00412810
push 0xe
push str._pszDstFile_
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov esi, dword [ebp - 0x1280]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435983
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x125c]
call fcn.00412810
cmp dword [ebp - 0x1248], 0x10
mov eax, dword [ebp - 0x125c]
jae 0x4359ae
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424e80
mov eax, dword [ebp - 0x128c]
add eax, dword [ebp - 0x1284]
add esp, 0xc
cmp eax, 0x104
jae 0x43664d
mov edx, dword [ebp - 0x129c]
add edx, dword [ebp - 0x12a0]
cmp edx, 0x104
jae 0x43664d
mov ecx, dword [ebp - 0x1294]
push ecx
push edi
lea edx, [ebp - 0x138]
push 0x466504
push edx
call fcn.0043ac3a
push esi
push ebx
lea eax, [ebp - 0x240]
push 0x466504
push eax
call fcn.0043ac3a
mov eax, dword [ebp - 0x1278]
add esp, 0x20
cmp dword [ebp - 0x1264], 0x10
jae 0x435a31
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0xf
push str.szSrcAbsFile_
lea ecx, [ebp - 0x125c]
call fcn.00412810
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435a58
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov ebx, 0x10
push ebx
push str._szDstAbsFile_
lea ecx, [ebp - 0x125c]
call fcn.00412810
lea eax, [ebp - 0x240]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435a93
sub eax, edx
push eax
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x435ac3
lea eax, [ebp - 0x125c]
xor esi, esi
push esi
push eax
push str.UtlFile
call fcn.00424e80
lea eax, [ebp - 0x138]
push eax
call fcn.00430650
add esp, 0x10
test eax, eax
jne 0x435b0b
mov ecx, dword [ebp - 0x127c]
mov dword [ecx], 0x98
lea ecx, [ebp - 0x1278]
call fcn.00407790
lea ecx, [ebp - 0x125c]
call fcn.00407790
jmp 0x436664
lea edx, [ebp - 0x240]
push edx
call fcn.00430650
add esp, 4
test eax, eax
jne 0x435b31
cmp dword [ebp + 0x1c], esi
je 0x435b57
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x99
jmp 0x435af0
cmp dword [ebp + 0x1c], esi
jne 0x435b57
lea ecx, [ebp - 0x240]
push ecx
call fcn.00430980
add esp, 4
test eax, eax
jne 0x435b57
mov edx, dword [ebp - 0x127c]
mov dword [edx], 0x9a
jmp 0x435af0
lea eax, [ebp - 0x1290]
push eax
lea ecx, [ebp - 0x1280]
push ecx
lea edx, [ebp - 0x138]
push edx
mov dword [ebp - 0x1280], esi
mov dword [ebp - 0x1290], esi
call fcn.00435610
add esp, 0xc
mov edi, eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x435b96
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
jmp 0x435bb0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435bb0
sub eax, edx
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412810
push 0xe
push str._dwSizeHigh_
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov esi, dword [ebp - 0x1280]
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 0x435c16
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412810
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x125c]
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 - 0x1290]
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 esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435c80
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x435cad
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424e80
add esp, 0xc
test edi, edi
je 0x43663c
test esi, esi
jne 0x43663c
xor eax, eax
mov dword [ebp - 0x1288], eax
mov dword [ebp - 0x1298], eax
lea eax, [ebp - 0x138]
push eax
lea edi, [esi + 1]
call fcn.00430ac0
add esp, 4
mov dword [ebp - 0x1280], eax
cmp eax, 0xffffffff
jne 0x435dba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x127c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x435d1e
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0x24
push str.utl_OpenFileForRead_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov ecx, dword [esi]
xor eax, eax
push ecx
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 0x435d70
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x435d9d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424e80
add esp, 0xc
mov dword [esi], 0x9c
xor edi, edi
jmp 0x43658a
lea ecx, [ebp - 0x240]
push ecx
call fcn.00430af0
mov esi, eax
add esp, 4
mov dword [ebp - 0x1284], esi
cmp esi, 0xffffffff
jne 0x435e9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x127c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x435dfc
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0x2a
push str.utl_NewOrOpenFileForWrite_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov edx, dword [esi]
xor eax, eax
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
lea eax, [ebp - 0x30]
push 0x46c464
push eax
call fcn.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435e50
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x435e7d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424e80
add esp, 0xc
mov dword [esi], 0x9c
xor edi, edi
jmp 0x43657d
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x1c], 0
jne 0x435f9c
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x435ec5
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435ee0
sub eax, edx
push eax
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412810
push 7
push str.__bAdd.
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x435f22
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424e80
mov edx, dword [0x468d1c]
mov eax, dword [str._iNode__Reed]
mov ecx, dword [0x468d18]
mov dword [ebp - 0x1238], edx
push 0x11
lea edx, [ebp - 0x1240]
mov dword [ebp - 0x1240], eax
mov eax, dword [0x468d20]
mov dword [ebp - 0x123c], ecx
mov cl, byte [0x468d24]
push edx
push esi
mov dword [ebp - 0x1288], 0x11
mov dword [ebp - 0x1234], eax
mov byte [ebp - 0x1230], cl
call fcn.00430b40
add esp, 0x18
test eax, eax
jne 0x435f9c
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x9d
xor edi, edi
jmp 0x43657d
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x435fb0
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435fc5
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412810
push ebx
push str._dwLenSrcFile_
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov edx, dword [ebp - 0x128c]
xor eax, eax
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
lea eax, [ebp - 0x30]
push 0x46c464
push eax
call fcn.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436030
sub eax, ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412810
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x125c]
call fcn.00412810
xor eax, eax
push 4
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 edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436090
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x4360bd
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424e80
mov eax, dword [ebp - 0x1284]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0xc
push 0
lea ecx, [ebp - 0x1298]
push ecx
push 4
lea edx, [ebp - 0x128c]
push edx
push eax
call esi
test eax, eax
jne 0x4361ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x127c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x436118
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0x1c
push str.WriteFile_1_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov ecx, dword [esi]
xor eax, eax
push ecx
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]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436170
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43619d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424e80
add esp, 0xc
mov dword [esi], 0x9d
xor edi, edi
jmp 0x43657d
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x4361ce
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4361e3
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412810
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov edx, dword [ebp - 0x1290]
xor eax, eax
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
lea eax, [ebp - 0x30]
push 0x46c464
push eax
call fcn.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436250
sub eax, ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412810
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x125c]
call fcn.00412810
xor eax, eax
push 4
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 edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4362b0
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x4362dd
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424e80
mov eax, dword [ebp - 0x1284]
add esp, 0xc
push 0
lea ecx, [ebp - 0x1298]
push ecx
push 4
lea edx, [ebp - 0x1290]
push edx
push eax
call esi
test eax, eax
jne 0x436390
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x127c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x436332
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0x1c
push str.WriteFile_2_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov ecx, dword [esi]
xor eax, eax
push ecx
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 0x436384
jmp 0x436177
mov esi, dword [ebp - 0x128c]
mov ecx, dword [ebp - 0x1294]
push esi
push ecx
lea edx, [ebp - 0x1240]
push edx
call fcn.00439f80
mov ecx, dword [ebp - 0x1284]
push esi
lea eax, [ebp - 0x1240]
push eax
push ecx
call fcn.00430b40
add esp, 0x18
test eax, eax
jne 0x436453
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x127c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x4363eb
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0x1e
push str.MixAndWrite_1_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov edx, dword [esi]
xor eax, eax
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
lea eax, [ebp - 0x30]
push 0x46c464
push eax
call fcn.0043ac3a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436440
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
jmp 0x43617e
mov ecx, dword [ebp - 0x1280]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 0x1288]
push edx
push 0x1000
lea eax, [ebp - 0x1240]
push eax
push ecx
call esi
test eax, eax
je 0x4364cb
jmp 0x436480
mov eax, dword [ebp - 0x1288]
test eax, eax
je 0x4364cb
push eax
mov eax, dword [ebp - 0x1284]
lea edx, [ebp - 0x1240]
push edx
push eax
call fcn.00430b40
add esp, 0xc
test eax, eax
je 0x4365b9
mov eax, dword [ebp - 0x1280]
push 0
lea ecx, [ebp - 0x1288]
push ecx
push 0x1000
lea edx, [ebp - 0x1240]
push edx
push eax
call esi
test eax, eax
jne 0x436480
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x127c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x4364ed
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0x19
push str.ReadFile_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov ecx, dword [esi]
xor eax, eax
push ecx
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]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436540
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43656d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424e80
add esp, 0xc
mov ecx, dword [ebp - 0x1280]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1284]
cmp eax, 0xffffffff
je 0x43659c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1278]
call fcn.00407790
lea ecx, [ebp - 0x125c]
call fcn.00407790
mov eax, edi
jmp 0x436666
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x127c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x4365db
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0x1e
push str.MixAndWrite_2_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00412810
mov ecx, dword [esi]
xor eax, eax
push ecx
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]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436630
jmp 0x436177
mov edx, dword [ebp - 0x127c]
mov dword [edx], 0x9b
jmp 0x435af0
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x97
jmp 0x435af0
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.00439bf4
mov esp, ebp
pop ebp
ret