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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4619d6
mov eax, dword fs:[0]
push eax
mov eax, 0x1294
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 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 0x43613e
test esi, esi
je 0x43613e
test ebx, ebx
je 0x43613e
test eax, eax
je 0x43613e
xor eax, eax
push 0x46b340
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 0x435325
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 0x435340
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 0x435354
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 0x435370
sub eax, edx
cmp dword [ebp - 0x1264], 0x10
mov edx, dword [ebp - 0x1278]
mov dword [ebp - 0x129c], eax
jae 0x435394
lea edx, [ebp - 0x1278]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4353a0
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.00412850
mov eax, edi
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4353d0
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x125c]
call fcn.00412850
push 0xe
push str._pszSrcFile_
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov esi, dword [ebp - 0x1294]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435403
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x125c]
call fcn.00412850
push 0xe
push str._pszDstPath_
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435430
sub eax, ecx
push eax
push ebx
lea ecx, [ebp - 0x125c]
call fcn.00412850
push 0xe
push str._pszDstFile_
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov esi, dword [ebp - 0x1280]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435463
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x125c]
call fcn.00412850
cmp dword [ebp - 0x1248], 0x10
mov eax, dword [ebp - 0x125c]
jae 0x43548e
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424ac0
mov eax, dword [ebp - 0x128c]
add eax, dword [ebp - 0x1284]
add esp, 0xc
cmp eax, 0x104
jae 0x43612d
mov edx, dword [ebp - 0x129c]
add edx, dword [ebp - 0x12a0]
cmp edx, 0x104
jae 0x43612d
mov ecx, dword [ebp - 0x1294]
push ecx
push edi
lea edx, [ebp - 0x138]
push 0x465478
push edx
call fcn.0043a71a
push esi
push ebx
lea eax, [ebp - 0x240]
push 0x465478
push eax
call fcn.0043a71a
mov eax, dword [ebp - 0x1278]
add esp, 0x20
cmp dword [ebp - 0x1264], 0x10
jae 0x435511
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0xf
push str.szSrcAbsFile_
lea ecx, [ebp - 0x125c]
call fcn.00412850
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435538
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov ebx, 0x10
push ebx
push str._szDstAbsFile_
lea ecx, [ebp - 0x125c]
call fcn.00412850
lea eax, [ebp - 0x240]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435573
sub eax, edx
push eax
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x4355a3
lea eax, [ebp - 0x125c]
xor esi, esi
push esi
push eax
push str.UtlFile
call fcn.00424ac0
lea eax, [ebp - 0x138]
push eax
call fcn.00430130
add esp, 0x10
test eax, eax
jne 0x4355eb
mov ecx, dword [ebp - 0x127c]
mov dword [ecx], 0x98
lea ecx, [ebp - 0x1278]
call fcn.00407790
lea ecx, [ebp - 0x125c]
call fcn.00407790
jmp 0x436144
lea edx, [ebp - 0x240]
push edx
call fcn.00430130
add esp, 4
test eax, eax
jne 0x435611
cmp dword [ebp + 0x1c], esi
je 0x435637
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x99
jmp 0x4355d0
cmp dword [ebp + 0x1c], esi
jne 0x435637
lea ecx, [ebp - 0x240]
push ecx
call fcn.00430460
add esp, 4
test eax, eax
jne 0x435637
mov edx, dword [ebp - 0x127c]
mov dword [edx], 0x9a
jmp 0x4355d0
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.004350f0
add esp, 0xc
mov edi, eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x435676
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
jmp 0x435690
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435690
sub eax, edx
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412850
push 0xe
push str._dwSizeHigh_
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov esi, dword [ebp - 0x1280]
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 0x4356f6
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412850
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x125c]
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 - 0x1290]
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 esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435760
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43578d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424ac0
add esp, 0xc
test edi, edi
je 0x43611c
test esi, esi
jne 0x43611c
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.004305a0
add esp, 4
mov dword [ebp - 0x1280], eax
cmp eax, 0xffffffff
jne 0x43589a
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 0x4357fe
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.00412850
mov ecx, dword [esi]
xor eax, eax
push ecx
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 0x435850
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43587d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424ac0
add esp, 0xc
mov dword [esi], 0x9c
xor edi, edi
jmp 0x43606a
lea ecx, [ebp - 0x240]
push ecx
call fcn.004305d0
mov esi, eax
add esp, 4
mov dword [ebp - 0x1284], esi
cmp esi, 0xffffffff
jne 0x43597a
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 0x4358dc
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.00412850
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 0x46b3bc
push eax
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435930
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43595d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424ac0
add esp, 0xc
mov dword [esi], 0x9c
xor edi, edi
jmp 0x43605d
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x1c], 0
jne 0x435a7c
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x4359a5
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 0x4359c0
sub eax, edx
push eax
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412850
push 7
push str.__bAdd.
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x435a02
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424ac0
mov edx, dword [0x467c74]
mov eax, dword [str._iNode__Reed]
mov ecx, dword [0x467c70]
mov dword [ebp - 0x1238], edx
push 0x11
lea edx, [ebp - 0x1240]
mov dword [ebp - 0x1240], eax
mov eax, dword [0x467c78]
mov dword [ebp - 0x123c], ecx
mov cl, byte [0x467c7c]
push edx
push esi
mov dword [ebp - 0x1288], 0x11
mov dword [ebp - 0x1234], eax
mov byte [ebp - 0x1230], cl
call fcn.00430620
add esp, 0x18
test eax, eax
jne 0x435a7c
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x9d
xor edi, edi
jmp 0x43605d
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x435a90
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 0x435aa5
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412850
push ebx
push str._dwLenSrcFile_
lea ecx, [ebp - 0x125c]
call fcn.00412850
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 0x46b3bc
push eax
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435b10
sub eax, ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412850
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x125c]
call fcn.00412850
xor eax, eax
push 4
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 edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435b70
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x435b9d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424ac0
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 0x435c9a
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 0x435bf8
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.00412850
mov ecx, dword [esi]
xor eax, eax
push ecx
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]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435c50
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x435c7d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424ac0
add esp, 0xc
mov dword [esi], 0x9d
xor edi, edi
jmp 0x43605d
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x435cae
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 0x435cc3
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412850
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x125c]
call fcn.00412850
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 0x46b3bc
push eax
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435d30
sub eax, ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412850
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x125c]
call fcn.00412850
xor eax, eax
push 4
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 edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435d90
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x435dbd
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424ac0
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 0x435e70
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 0x435e12
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.00412850
mov ecx, dword [esi]
xor eax, eax
push ecx
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 0x435e64
jmp 0x435c57
mov esi, dword [ebp - 0x128c]
mov ecx, dword [ebp - 0x1294]
push esi
push ecx
lea edx, [ebp - 0x1240]
push edx
call fcn.00439a60
mov ecx, dword [ebp - 0x1284]
push esi
lea eax, [ebp - 0x1240]
push eax
push ecx
call fcn.00430620
add esp, 0x18
test eax, eax
jne 0x435f33
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 0x435ecb
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.00412850
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 0x46b3bc
push eax
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435f20
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
jmp 0x435c5e
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 0x435fab
jmp 0x435f60
mov eax, dword [ebp - 0x1288]
test eax, eax
je 0x435fab
push eax
mov eax, dword [ebp - 0x1284]
lea edx, [ebp - 0x1240]
push edx
push eax
call fcn.00430620
add esp, 0xc
test eax, eax
je 0x436099
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 0x435f60
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 0x435fcd
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.00412850
mov ecx, dword [esi]
xor eax, eax
push ecx
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]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436020
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412850
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43604d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.00424ac0
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 0x43607c
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 0x436146
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 0x4360bb
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.00412850
mov ecx, dword [esi]
xor eax, eax
push ecx
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]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436110
jmp 0x435c57
mov edx, dword [ebp - 0x127c]
mov dword [edx], 0x9b
jmp 0x4355d0
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x97
jmp 0x4355d0
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.004396d4
mov esp, ebp
pop ebp
ret