Function at 0x23a090b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x23bddda0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [esp + 0x90], ebx
jle 0x23a09135
mov esi, eax
lea esp, [esp]
push 1
push 0x23c4169c
lea ecx, [esp + 0x6c]
call fcn.23a028a0
sub esi, 1
jne 0x23a09120
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
xor edx, edx
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
call fcn.23a02610
push 1
push 0x23c416a0
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 1
call fcn.23a028a0
push 0xffffffffffffffff
lea eax, [edi + 0x20]
push ebx
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], eax
call fcn.23a02c20
mov ecx, dword [edi + 0x18]
mov esi, dword [ecx]
mov edi, dword [edi]
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x18]
mov eax, dword [eax]
test edi, edi
je 0x23a091a1
cmp edi, eax
je 0x23a091a6
call fcn.23a49e3d
cmp esi, ebx
je 0x23a09297
push 1
push 0x23c416a4
lea ecx, [esp + 0x50]
call fcn.23a028a0
test edi, edi
jne 0x23a09247
call fcn.23a49e3d
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x23a091d7
call fcn.23a49e3d
push 0xffffffffffffffff
push 0
lea edx, [esi + 0xc]
push edx
lea ecx, [esp + 0x54]
call fcn.23a02c20
push 2
push 0x23c416a8
lea ecx, [esp + 0x50]
call fcn.23a028a0
test edi, edi
jne 0x23a0924b
call fcn.23a49e3d
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x23a0920d
call fcn.23a49e3d
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x28]
push eax
lea ecx, [esp + 0x54]
call fcn.23a02c20
push 1
push 0x23c416b0
lea ecx, [esp + 0x50]
call fcn.23a028a0
test edi, edi
jne 0x23a09237
call fcn.23a49e3d
cmp byte [esi + 0x45], 0
je 0x23a0924f
call fcn.23a49e3d
jmp 0x23a09190
mov eax, dword [edi]
jmp 0x23a091cd
mov eax, dword [edi]
jmp 0x23a09203
mov eax, dword [esi + 8]
cmp byte [eax + 0x45], 0
jne 0x23a09275
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x23a09190
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x23a09266
jmp 0x23a09190
mov eax, dword [esi + 4]
cmp byte [eax + 0x45], 0
jne 0x23a09290
mov edi, edi
cmp esi, dword [eax + 8]
jne 0x23a09290
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x23a09280
mov esi, eax
jmp 0x23a09190
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x68]
sub ecx, dword [ebx + 0x64]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, 8
jne 0x23a092dc
cmp dword [ebx + 0x50], 0
jne 0x23a092dc
push 5
push 0x23c416b4
lea ecx, [esp + 0x50]
call fcn.23a028a0
jmp 0x23a094a4
push 1
push 0x23c416c0
lea ecx, [esp + 0x50]
call fcn.23a028a0
cmp dword [ebx + 0x50], 0
jne 0x23a09302
push 2
push 0x23c416c4
lea ecx, [esp + 0x50]
call fcn.23a028a0
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x60], esi
jae 0x23a09310
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x5c]
add eax, eax
je 0x23a09357
push 0
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [eax]
push ecx
call edi
test eax, eax
jne 0x23a09357
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic.._actBasic_advapi.h
lea ecx, [esp + 0x2c]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x24]
push edx
call fcn.23a49c94
cmp dword [ebx + 0x50], 0
jne 0x23a0937a
cmp dword [esp + 0x7c], esi
jb 0x23a09370
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
jmp 0x23a093ee
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], ecx
jmp 0x23a093ee
cmp dword [ebx + 0x54], esi
jb 0x23a09384
mov eax, dword [ebx + 0x40]
jmp 0x23a09387
lea eax, [ebx + 0x40]
lea esi, [esp + 0x48]
call fcn.23a033c0
cmp dword [esp + 0x60], 8
mov ecx, dword [esp + 0x4c]
jae 0x23a0939f
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x5c]
add eax, eax
je 0x23a093e6
push 0
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [eax]
push ecx
call edi
test eax, eax
jne 0x23a093e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic.._actBasic_advapi.h
lea ecx, [esp + 0x2c]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x24]
push edx
call fcn.23a49c94
mov dword [esp + 0x10], 0x23c40f6c
mov edi, dword [ebx + 0x64]
cmp edi, dword [ebx + 0x68]
jbe 0x23a093fb
call fcn.23a49e3d
mov esi, dword [ebx + 0x58]
mov edi, edi
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x64], eax
jbe 0x23a09411
call fcn.23a49e3d
mov eax, dword [ebx + 0x58]
test esi, esi
je 0x23a0941c
cmp esi, eax
je 0x23a09421
call fcn.23a49e3d
cmp edi, dword [esp + 0x18]
je 0x23a0946f
test esi, esi
jne 0x23a09467
call fcn.23a49e3d
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x23a0943c
call fcn.23a49e3d
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
inc eax
push eax
push ecx
mov ecx, edi
call fcn.23a090b0
test esi, esi
jne 0x23a0946b
call fcn.23a49e3d
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x23a09462
call fcn.23a49e3d
add edi, 0x70
jmp 0x23a09400
mov eax, dword [esi]
jmp 0x23a09432
mov eax, dword [esi]
jmp 0x23a09458
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x23a0947e
mov eax, dword [eax + 4]
jmp 0x23a09481
add eax, 4
mov edx, dword [esp + 0x10]
push eax
push edx
lea eax, [esp + 0x50]
push str._s___s__r_n
push eax
call fcn.23a01220
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0x10
mov esi, 8
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x60], esi
jae 0x23a094b2
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x5c]
add eax, eax
je 0x23a094f9
push 0
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [eax]
push ecx
call edi
test eax, eax
jne 0x23a094f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic.._actBasic_advapi.h
lea ecx, [esp + 0x2c]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x24]
push edx
call fcn.23a49c94
cmp dword [esp + 0x60], esi
jb 0x23a0950c
mov eax, dword [esp + 0x4c]
push eax
call fcn.23a2ed1b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], cx
cmp dword [esp + 0x7c], esi
jb 0x23a09536
mov edx, dword [esp + 0x68]
push edx
call fcn.23a2ed1b
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.23a4addf
mov esp, ebp
pop ebp
ret 8