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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468c36
mov eax, dword fs:[0]
push eax
mov eax, 0x1294
call fcn.00442d40
mov eax, dword [0x47c5a8]
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 0x43c86e
test esi, esi
je 0x43c86e
test ebx, ebx
je 0x43c86e
test eax, eax
je 0x43c86e
xor eax, eax
push 0x472d70
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.00407810
push str.utl_FilePack:
lea ecx, [ebp - 0x1278]
mov dword [ebp - 4], 0
call fcn.00407810
mov eax, edi
mov byte [ebp - 4], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ba55
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 0x43ba70
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 0x43ba84
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 0x43baa0
sub eax, edx
cmp dword [ebp - 0x1264], 0x10
mov edx, dword [ebp - 0x1278]
mov dword [ebp - 0x129c], eax
jae 0x43bac4
lea edx, [ebp - 0x1278]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bad0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x125c]
call fcn.00407d70
push 0xd
push str.pszSrcPath_
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, edi
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43bb00
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x125c]
call fcn.00413820
push 0xe
push str._pszSrcFile_
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov esi, dword [ebp - 0x1294]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43bb33
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x125c]
call fcn.00413820
push 0xe
push str._pszDstPath_
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43bb60
sub eax, ecx
push eax
push ebx
lea ecx, [ebp - 0x125c]
call fcn.00413820
push 0xe
push str._pszDstFile_
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov esi, dword [ebp - 0x1280]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bb93
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x125c]
call fcn.00413820
cmp dword [ebp - 0x1248], 0x10
mov eax, dword [ebp - 0x125c]
jae 0x43bbbe
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.0042a600
mov eax, dword [ebp - 0x128c]
add eax, dword [ebp - 0x1284]
add esp, 0xc
cmp eax, 0x104
jae 0x43c85d
mov edx, dword [ebp - 0x129c]
add edx, dword [ebp - 0x12a0]
cmp edx, 0x104
jae 0x43c85d
mov ecx, dword [ebp - 0x1294]
push ecx
push edi
lea edx, [ebp - 0x138]
push 0x46c9e8
push edx
call fcn.00440e5a
push esi
push ebx
lea eax, [ebp - 0x240]
push 0x46c9e8
push eax
call fcn.00440e5a
mov eax, dword [ebp - 0x1278]
add esp, 0x20
cmp dword [ebp - 0x1264], 0x10
jae 0x43bc41
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
push 0xf
push str.szSrcAbsFile_
lea ecx, [ebp - 0x125c]
call fcn.00413820
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bc68
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov ebx, 0x10
push ebx
push str._szDstAbsFile_
lea ecx, [ebp - 0x125c]
call fcn.00413820
lea eax, [ebp - 0x240]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bca3
sub eax, edx
push eax
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43bcd3
lea eax, [ebp - 0x125c]
xor esi, esi
push esi
push eax
push str.UtlFile
call fcn.0042a600
lea eax, [ebp - 0x138]
push eax
call fcn.00436550
add esp, 0x10
test eax, eax
jne 0x43bd1b
mov ecx, dword [ebp - 0x127c]
mov dword [ecx], 0x98
lea ecx, [ebp - 0x1278]
call fcn.00407890
lea ecx, [ebp - 0x125c]
call fcn.00407890
jmp 0x43c874
lea edx, [ebp - 0x240]
push edx
call fcn.00436550
add esp, 4
test eax, eax
jne 0x43bd41
cmp dword [ebp + 0x1c], esi
je 0x43bd67
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x99
jmp 0x43bd00
cmp dword [ebp + 0x1c], esi
jne 0x43bd67
lea ecx, [ebp - 0x240]
push ecx
call fcn.00436b90
add esp, 4
test eax, eax
jne 0x43bd67
mov edx, dword [ebp - 0x127c]
mov dword [edx], 0x9a
jmp 0x43bd00
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.0043b820
add esp, 0xc
mov edi, eax
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x43bda6
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
jmp 0x43bdc0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bdc0
sub eax, edx
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00413820
push 0xe
push str._dwSizeHigh_
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov esi, dword [ebp - 0x1280]
xor eax, eax
push esi
lea ecx, [ebp - 0x30]
push 0x472dec
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.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43be26
sub eax, ecx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00413820
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x125c]
call fcn.00413820
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 0x472dec
push ecx
call fcn.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43be90
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43bebd
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.0042a600
add esp, 0xc
test edi, edi
je 0x43c84c
test esi, esi
jne 0x43c84c
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.00436cd0
add esp, 4
mov dword [ebp - 0x1280], eax
cmp eax, 0xffffffff
jne 0x43bfca
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 0x43bf2e
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
push 0x24
push str.utl_OpenFileForRead_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x472dec
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.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bf80
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43bfad
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.0042a600
add esp, 0xc
mov dword [esi], 0x9c
xor edi, edi
jmp 0x43c79a
lea ecx, [ebp - 0x240]
push ecx
call fcn.00436d00
mov esi, eax
add esp, 4
mov dword [ebp - 0x1284], esi
cmp esi, 0xffffffff
jne 0x43c0aa
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 0x43c00c
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
push 0x2a
push str.utl_NewOrOpenFileForWrite_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00413820
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 0x472dec
push eax
call fcn.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c060
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43c08d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.0042a600
add esp, 0xc
mov dword [esi], 0x9c
xor edi, edi
jmp 0x43c78d
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x1c], 0
jne 0x43c1ac
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x43c0d5
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c0f0
sub eax, edx
push eax
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x125c]
call fcn.00413820
push 7
push str.__bAdd.
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43c132
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.0042a600
mov edx, dword [0x46f6a4]
mov eax, dword [str._iNode__Reed]
mov ecx, dword [0x46f6a0]
mov dword [ebp - 0x1238], edx
push 0x11
lea edx, [ebp - 0x1240]
mov dword [ebp - 0x1240], eax
mov eax, dword [0x46f6a8]
mov dword [ebp - 0x123c], ecx
mov cl, byte [0x46f6ac]
push edx
push esi
mov dword [ebp - 0x1288], 0x11
mov dword [ebp - 0x1234], eax
mov byte [ebp - 0x1230], cl
call fcn.00436d50
add esp, 0x18
test eax, eax
jne 0x43c1ac
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x9d
xor edi, edi
jmp 0x43c78d
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x43c1c0
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c1d5
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00413820
push ebx
push str._dwLenSrcFile_
lea ecx, [ebp - 0x125c]
call fcn.00413820
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 0x472dec
push eax
call fcn.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c240
sub eax, ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00413820
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x125c]
call fcn.00413820
xor eax, eax
push 4
lea edx, [ebp - 0x30]
push 0x472dec
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.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c2a0
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43c2cd
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.0042a600
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 0x43c3ca
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 0x43c328
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
push 0x1c
push str.WriteFile_1_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x472dec
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.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c380
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43c3ad
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.0042a600
add esp, 0xc
mov dword [esi], 0x9d
xor edi, edi
jmp 0x43c78d
mov eax, dword [ebp - 0x1278]
cmp dword [ebp - 0x1264], ebx
jae 0x43c3de
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
lea eax, [ebp - 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c3f3
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00413820
push 0xd
push str._dwSizeLow_
lea ecx, [ebp - 0x125c]
call fcn.00413820
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 0x472dec
push eax
call fcn.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c460
sub eax, ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x125c]
call fcn.00413820
push 0x11
push str._sizeof_DWORD__
lea ecx, [ebp - 0x125c]
call fcn.00413820
xor eax, eax
push 4
lea edx, [ebp - 0x30]
push 0x472dec
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.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c4c0
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43c4ed
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.0042a600
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 0x43c5a0
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 0x43c542
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
push 0x1c
push str.WriteFile_2_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x472dec
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.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c594
jmp 0x43c387
mov esi, dword [ebp - 0x128c]
mov ecx, dword [ebp - 0x1294]
push esi
push ecx
lea edx, [ebp - 0x1240]
push edx
call fcn.004401a0
mov ecx, dword [ebp - 0x1284]
push esi
lea eax, [ebp - 0x1240]
push eax
push ecx
call fcn.00436d50
add esp, 0x18
test eax, eax
jne 0x43c663
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 0x43c5fb
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
push 0x1e
push str.MixAndWrite_1_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00413820
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 0x472dec
push eax
call fcn.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c650
sub eax, edx
push eax
lea ecx, [ebp - 0x30]
push ecx
jmp 0x43c38e
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 0x43c6db
jmp 0x43c690
mov eax, dword [ebp - 0x1288]
test eax, eax
je 0x43c6db
push eax
mov eax, dword [ebp - 0x1284]
lea edx, [ebp - 0x1240]
push edx
push eax
call fcn.00436d50
add esp, 0xc
test eax, eax
je 0x43c7c9
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 0x43c690
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 0x43c6fd
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
push 0x19
push str.ReadFile_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x472dec
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.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c750
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov eax, dword [ebp - 0x125c]
cmp dword [ebp - 0x1248], ebx
jae 0x43c77d
lea eax, [ebp - 0x125c]
push 0
push eax
push str.UtlPack
call fcn.0042a600
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 0x43c7ac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1278]
call fcn.00407890
lea ecx, [ebp - 0x125c]
call fcn.00407890
mov eax, edi
jmp 0x43c876
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 0x43c7eb
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x125c]
call fcn.004078c0
push 0x1e
push str.MixAndWrite_2_failed_with_err
lea ecx, [ebp - 0x125c]
call fcn.00413820
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x30]
push 0x472dec
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.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c840
jmp 0x43c387
mov edx, dword [ebp - 0x127c]
mov dword [edx], 0x9b
jmp 0x43bd00
mov eax, dword [ebp - 0x127c]
mov dword [eax], 0x97
jmp 0x43bd00
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.0043fe0a
mov esp, ebp
pop ebp
ret