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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464606
mov eax, dword fs:[0]
push eax
mov eax, 0x1294
call fcn.0043ed10
mov eax, dword [0x4775a8]
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 0x43884e
test esi, esi
je 0x43884e
test ebx, ebx
je 0x43884e
test eax, eax
je 0x43884e
xor eax, eax
push 0x46e670
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 0x437a35
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 0x437a50
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 0x437a64
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 0x437a80
sub eax, edx
cmp dword [ebp - 0x1264], 0x10
mov edx, dword [ebp - 0x1278]
mov dword [ebp - 0x129c], eax
jae 0x437aa4
lea edx, [ebp - 0x1278]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437ab0
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.00412db0
mov eax, edi
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437ae0
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push 0xe
push str._pszSrcFile_
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov esi, dword [ebp - 0x1294]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437b13
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push 0xe
push str._pszDstPath_
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437b40
sub eax, ecx
push eax
push ebx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push 0xe
push str._pszDstFile_
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov esi, dword [ebp - 0x1280]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437b73
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x125c]
call fcn.00412db0
cmp dword [ebp - 0x1248], 0x10
mov eax, dword [ebp - 0x125c]
jae 0x437b9e
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.004269e0
mov eax, dword [ebp - 0x128c]
add eax, dword [ebp - 0x1284]
add esp, 0xc
cmp eax, 0x104
jae 0x43883d
mov edx, dword [ebp - 0x129c]
add edx, dword [ebp - 0x12a0]
cmp edx, 0x104
jae 0x43883d
mov ecx, dword [ebp - 0x1294]
push ecx
push edi
lea edx, [ebp - 0x138]
push 0x4685c4
push edx
call fcn.0043ce2a
push esi
push ebx
lea eax, [ebp - 0x240]
push 0x4685c4
push eax
call fcn.0043ce2a
mov eax, dword [ebp - 0x1278]
add esp, 0x20
cmp dword [ebp - 0x1264], 0x10
jae 0x437c21
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
push 0xf
push str.szSrcAbsFile_
lea ecx, [ebp - 0x125c]
call fcn.00412db0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437c48
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov ebx, 0x10
push ebx
push str._szDstAbsFile_
lea ecx, [ebp - 0x125c]
call fcn.00412db0
lea eax, [ebp - 0x240]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437c83
sub eax, edx
push eax
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x437cb3
lea eax, [ebp - 0x125c]
xor esi, esi
push esi
push eax
push str.UtlFile
call fcn.004269e0
lea eax, [ebp - 0x138]
push eax
call fcn.00432840
add esp, 0x10
test eax, eax
jne 0x437cfb
mov ecx, dword [ebp - 0x127c]
mov dword [ecx], 0x98
lea ecx, [ebp - 0x1278]
call fcn.00407790
lea ecx, [ebp - 0x125c]
call fcn.00407790
jmp 0x438854
lea edx, [ebp - 0x240]
push edx
call fcn.00432840
add esp, 4
test eax, eax
jne 0x437d21
cmp dword [ebp + 0x1c], esi
je 0x437d47
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x99
jmp 0x437ce0
cmp dword [ebp + 0x1c], esi
jne 0x437d47
lea ecx, [ebp - 0x240]
push ecx
call fcn.00432b70
add esp, 4
test eax, eax
jne 0x437d47
mov edx, dword [ebp - 0x127c]
mov dword [edx], 0x9a
jmp 0x437ce0
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.00437800
add esp, 0xc
mov edi, eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x437d86
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004077c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
jmp 0x437da0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437da0
sub eax, edx
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push 0xe
push str._dwSizeHigh_
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov esi, dword [ebp - 0x1280]
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
push 0x46e6ec
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.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437e06
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x125c]
call fcn.00412db0
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 0x46e6ec
push ecx
call fcn.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437e70
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x437e9d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.004269e0
add esp, 0xc
test edi, edi
je 0x43882c
test esi, esi
jne 0x43882c
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.00432cb0
add esp, 4
mov dword [ebp - 0x1280], eax
cmp eax, 0xffffffff
jne 0x437faa
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 0x437f0e
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.00412db0
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x46e6ec
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.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437f60
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x437f8d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.004269e0
add esp, 0xc
mov dword [esi], 0x9c
xor edi, edi
jmp 0x43877a
lea ecx, [ebp - 0x240]
push ecx
call fcn.00432ce0
mov esi, eax
add esp, 4
mov dword [ebp - 0x1284], esi
cmp esi, 0xffffffff
jne 0x43808a
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 0x437fec
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.00412db0
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 0x46e6ec
push eax
call fcn.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438040
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43806d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.004269e0
add esp, 0xc
mov dword [esi], 0x9c
xor edi, edi
jmp 0x43876d
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x1c], 0
jne 0x43818c
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x4380b5
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 0x4380d0
sub eax, edx
push eax
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push 7
push str.__bAdd.
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x438112
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.004269e0
mov edx, dword [0x46afa4]
mov eax, dword [str._iNode__Reed]
mov ecx, dword [0x46afa0]
mov dword [ebp - 0x1238], edx
push 0x11
lea edx, [ebp - 0x1240]
mov dword [ebp - 0x1240], eax
mov eax, dword [0x46afa8]
mov dword [ebp - 0x123c], ecx
mov cl, byte [0x46afac]
push edx
push esi
mov dword [ebp - 0x1288], 0x11
mov dword [ebp - 0x1234], eax
mov byte [ebp - 0x1230], cl
call fcn.00432d30
add esp, 0x18
test eax, eax
jne 0x43818c
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x9d
xor edi, edi
jmp 0x43876d
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x4381a0
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 0x4381b5
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push ebx
push str._dwLenSrcFile_
lea ecx, [ebp - 0x125c]
call fcn.00412db0
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 0x46e6ec
push eax
call fcn.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x438220
sub eax, ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x125c]
call fcn.00412db0
xor eax, eax
push 4
lea edx, [ebp - 0x30]
push 0x46e6ec
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.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438280
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x4382ad
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.004269e0
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 0x4383aa
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 0x438308
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.00412db0
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x46e6ec
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.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438360
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43838d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.004269e0
add esp, 0xc
mov dword [esi], 0x9d
xor edi, edi
jmp 0x43876d
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x4383be
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 0x4383d3
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x125c]
call fcn.00412db0
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 0x46e6ec
push eax
call fcn.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x438440
sub eax, ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00412db0
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x125c]
call fcn.00412db0
xor eax, eax
push 4
lea edx, [ebp - 0x30]
push 0x46e6ec
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.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4384a0
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x4384cd
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.004269e0
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 0x438580
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 0x438522
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.00412db0
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x46e6ec
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.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438574
jmp 0x438367
mov esi, dword [ebp - 0x128c]
mov ecx, dword [ebp - 0x1294]
push esi
push ecx
lea edx, [ebp - 0x1240]
push edx
call fcn.0043c170
mov ecx, dword [ebp - 0x1284]
push esi
lea eax, [ebp - 0x1240]
push eax
push ecx
call fcn.00432d30
add esp, 0x18
test eax, eax
jne 0x438643
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 0x4385db
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.00412db0
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 0x46e6ec
push eax
call fcn.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438630
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
jmp 0x43836e
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 0x4386bb
jmp 0x438670
mov eax, dword [ebp - 0x1288]
test eax, eax
je 0x4386bb
push eax
mov eax, dword [ebp - 0x1284]
lea edx, [ebp - 0x1240]
push edx
push eax
call fcn.00432d30
add esp, 0xc
test eax, eax
je 0x4387a9
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 0x438670
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 0x4386dd
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.00412db0
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x46e6ec
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.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438730
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00412db0
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43875d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.004269e0
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 0x43878c
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 0x438856
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 0x4387cb
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.00412db0
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x46e6ec
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.0043ce2a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438820
jmp 0x438367
mov edx, dword [ebp - 0x127c]
mov dword [edx], 0x9b
jmp 0x437ce0
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x97
jmp 0x437ce0
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.0043bde4
mov esp, ebp
pop ebp
ret