Function at 0x423e53
Capabilities:
Write file on windows

Disassembly:
push 8
push 0x58
mov eax, 0x451e40
call fcn.0044f9c6
mov dword [ebp - 0x38], ecx
mov al, byte [ebx + 0x34]
mov edi, dword [ebx + 8]
mov byte [ebp - 0x39], al
mov dword [ebp - 0x1c], edi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], eax
cmp byte [ecx + 0x78], al
jne 0x423ed9
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x423ea4
test byte [eax + 0x1c], 2
je 0x423ea4
push dword [eax + 0x14]
mov edx, 0x463ba4
push dword [eax + 0x10]
push 0x13
pop ecx
call fcn.00407d99
pop ecx
pop ecx
call fcn.0040731c
sub esp, 0x14
mov dword [ebp - 0x28], str.F:ckp_srcEP_MiniInstallE86_40SrcHttphelper.cpp
mov edi, esp
mov dword [ebp - 0x24], 0x10c
mov dword [ebp - 0x20], str.HTTPHelper::DownloadFile
lea esi, [ebp - 0x28]
mov ecx, dword [eax + 0x114]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0042434f
jmp 0x42422a
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
call fcn.00425472
mov ecx, eax
xor edx, edx
movzx eax, byte [ebp - 0x39]
push edx
push 0x80
xor eax, 1
add eax, 2
push eax
push ecx
push edx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x423f9d
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x423f45
test byte [eax + 0x1c], 2
je 0x423f45
push edi
push dword [eax + 0x14]
mov edx, 0x463ba4
push dword [eax + 0x10]
push 0x14
pop ecx
call fcn.00407db1
add esp, 0xc
call fcn.0040731c
mov dword [ebp - 0x28], str.F:ckp_srcEP_MiniInstallE86_40SrcHttphelper.cpp
lea esi, [ebp - 0x28]
mov dword [ebp - 0x24], 0x121
lea edi, [ebp - 0x50]
mov dword [ebp - 0x20], str.HTTPHelper::DownloadFile
mov ecx, dword [eax + 0x114]
lea eax, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push eax
push ecx
push ecx
movsd dword es:[edi], dword [esi]
mov eax, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
mov dword [eax], str.HTTPHelper_DownloadFile_cannot_create:_
mov dword [eax + 4], 0x29
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00424378
xor eax, eax
mov dword [ebp - 0x40], eax
jmp 0x424217
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x38]
push ecx
mov edi, dword [eax + 0x28]
mov ecx, edi
push dword [eax + 0x70]
call dword [0x453350]
call edi
test eax, eax
je 0x424179
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x424169
push eax
lea ecx, [ebp - 0x28]
call fcn.00422811
push dword [ebp - 0x18]
xor edx, edx
push edx
push dword [ebp - 0x28]
call fcn.00430240
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov edi, dword [eax + 0xc]
push ecx
push dword [ebp - 0x18]
mov ecx, edi
push dword [ebp - 0x28]
push dword [eax + 0x70]
call dword [0x453350]
call edi
test eax, eax
je 0x424104
xor eax, eax
push eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42407e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x424240
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x453350]
mov ecx, dword [ebx + 0x30]
call edi
cmp dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
je 0x424169
test eax, eax
je 0x424169
xor eax, eax
jmp 0x423fb4
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x4240b2
test byte [eax + 0x1c], 2
je 0x4240b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
mov edx, 0x463ba4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x17
pop ecx
call fcn.00407e06
add esp, 0xc
call fcn.0040731c
mov eax, dword [eax + 0x114]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x50]
mov dword [ebp - 0x50], str.F:ckp_srcEP_MiniInstallE86_40SrcHttphelper.cpp
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x4c], 0x14d
lea edi, [ebp - 0x68]
mov dword [ebp - 0x48], str.HTTPHelper::DownloadFile
push eax
movsd dword es:[edi], dword [esi]
push ecx
push ecx
mov ecx, dword [ebp - 0x38]
mov eax, esp
movsd dword es:[edi], dword [esi]
mov dword [eax], str.HTTPHelper_WriteFile_failed:_
movsd dword es:[edi], dword [esi]
mov dword [eax + 4], 0x1f
jmp 0x4241fa
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x424138
test byte [eax + 0x1c], 2
je 0x424138
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
mov edx, 0x463ba4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.00407e06
add esp, 0xc
call fcn.0040731c
mov eax, dword [eax + 0x114]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x38]
mov eax, esp
mov dword [ebp - 0x4c], 0x13d
mov dword [eax], str.HTTPHelper_HTTPHelper_ImpWinHttpReadData_failed_
jmp 0x4241dc
xor ecx, ecx
cmp ecx, eax
sbb al, al
inc al
mov byte [ebp - 0x40], al
jmp 0x42420f
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x4241ad
test byte [eax + 0x1c], 2
je 0x4241ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
mov edx, 0x463ba4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
pop ecx
call fcn.00407e06
add esp, 0xc
call fcn.0040731c
mov eax, dword [eax + 0x114]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x38]
mov eax, esp
mov dword [ebp - 0x4c], 0x12d
mov dword [eax], str.HTTPHelper_ImpWinHttpQueryDataAvailable_failed:_
mov dword [ebp - 0x50], str.F:ckp_srcEP_MiniInstallE86_40SrcHttphelper.cpp
lea edi, [ebp - 0x68]
mov dword [ebp - 0x48], str.HTTPHelper::DownloadFile
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [eax + 4], 0x32
sub esp, 0x10
lea esi, [ebp - 0x68]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004243a1
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x28]
call fcn.0040a207
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x42422a
cmp eax, 0xffffffff
je 0x42422a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebx + 0xc]
call fcn.0040a1c2
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
call fcn.0044f9a4
ret 0x30
call fcn.0042c5ba
int3