Function at 0x42a540
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x49005a
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x11c]
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], cx
mov dword [esp + 0x114], ebx
xor edx, edx
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
mov byte [esp + 0x114], 1
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 8]
push eax
lea edi, [esp + 0x24]
call fcn.0041d960
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x120], 2
call fcn.00417270
mov byte [esp + 0x114], 1
cmp dword [esp + 0x38], 8
jb 0x42a619
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0045352f
add esp, 4
lea edi, [esp + 0x94]
lea esi, [esp + 0x74]
call fcn.0041bc30
test eax, eax
jne 0x42a63d
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0xa
jne 0x42a5d5
jmp 0x42a681
cmp dword [0x4b431c], ebx
je 0x42a67a
cmp dword [esp + 0xac], 8
mov eax, dword [esp + 0x98]
jae 0x42a65d
lea eax, [esp + 0x98]
push eax
push str.statistics::EndTask::InTimeCachePost
push str._s__in_time_file_:__s
push ecx
call fcn.0041c830
add esp, 4
push eax
call fcn.0041c300
add esp, 0x10
cmp dword [esp + 0x18], 0xa
jne 0x42a6e7
mov eax, dword [esp + 0x74]
cmp eax, 0xffffffff
je 0x42a699
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x74], 0xffffffff
mov esi, 8
cmp dword [esp + 0x90], esi
jb 0x42a6b4
mov edx, dword [esp + 0x7c]
push edx
call fcn.0045352f
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
cmp dword [esp + 0xac], esi
jb 0x42a9e3
mov ecx, dword [esp + 0x98]
push ecx
jmp 0x42a9db
lea edx, [esp + 0xb0]
push edx
push ebp
call fcn.0042aa10
lea eax, [esp + 0xe8]
mov byte [esp + 0x114], 3
mov ecx, dword [ebp + 4]
push eax
push ecx
call fcn.00416e00
mov byte [esp + 0x114], 4
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0xb0]
cmp eax, 2
je 0x42a777
cmp eax, 1
je 0x42a777
push 2
lea eax, [esp + 0xb4]
call fcn.00417150
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xec]
push ecx
lea edi, [esp + 0x28]
call fcn.00419fb0
add esp, 8
mov esi, eax
lea edi, [esp + 0x74]
call fcn.0041bcf0
mov ebp, 0x10
cmp dword [esp + 0x38], ebp
jb 0x42a903
mov edx, dword [esp + 0x24]
push edx
jmp 0x42a8fb
push 2
push 0x49c9e8
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.00402f80
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x118], 5
call fcn.004297f0
push eax
mov edi, str.1E385666
lea esi, [esp + 0x24]
mov byte [esp + 0x118], 6
call fcn.00419f00
add esp, 4
push eax
mov edi, 0x49c9ec
lea esi, [esp + 0x5c]
mov byte [esp + 0x118], 7
call fcn.00419f00
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xd4]
mov byte [esp + 0x11c], 8
call fcn.00417740
mov ebp, 0x10
cmp dword [esp + 0x70], ebp
jb 0x42a821
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0045352f
add esp, 4
mov esi, 0xf
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x38], ebp
jb 0x42a845
mov edx, dword [esp + 0x24]
push edx
call fcn.0045352f
add esp, 4
mov byte [esp + 0x114], 5
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x54], ebp
jb 0x42a86c
mov eax, dword [esp + 0x40]
push eax
call fcn.0045352f
add esp, 4
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0xec]
push edx
lea edi, [esp + 0x44]
call fcn.00419fb0
mov esi, eax
mov eax, dword [esp + 0x7c]
add esp, 8
cmp eax, 0xffffffff
je 0x42a8cf
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x18], ebp
jb 0x42a8b9
mov esi, dword [esi + 4]
jmp 0x42a8bc
add esi, 4
mov edx, dword [esp + 0x74]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x54], ebp
jb 0x42a8e2
mov eax, dword [esp + 0x40]
push eax
call fcn.0045352f
add esp, 4
mov byte [esp + 0x114], 4
cmp dword [esp + 0xe4], ebp
jb 0x42a903
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0045352f
add esp, 4
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 4]
lea edx, [esp + 0x94]
push edx
add edi, 0x258
call fcn.0041b970
cmp dword [esp + 0x100], ebp
jb 0x42a936
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0045352f
add esp, 4
mov esi, 0xf
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0xc8], ebp
jb 0x42a969
mov edx, dword [esp + 0xb4]
push edx
call fcn.0045352f
add esp, 4
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp eax, 0xffffffff
je 0x42a996
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x74], 0xffffffff
mov esi, 8
cmp dword [esp + 0x90], esi
jb 0x42a9b1
mov eax, dword [esp + 0x7c]
push eax
call fcn.0045352f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], cx
cmp dword [esp + 0xac], esi
jb 0x42a9e3
mov edx, dword [esp + 0x98]
push edx
call fcn.0045352f
add esp, 4
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0046fd33
add esp, 0x104
ret 4