Function at 0x23a11d10
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x23bcee20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov ebx, ecx
or edi, 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x84]
push 0x80
push 2
push 1
push 0x40000000
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x90], 0
call fcn.23a01460
test eax, eax
je 0x23a11daf
mov esi, dword [esp + 0xc]
mov dword [esp + 0x7c], edi
cmp esi, edi
je 0x23a1245f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x23a1245f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CloseHandle_0x_08X__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 8
push 0x42444553
lea ecx, [esp + 0x10]
call fcn.23a11770
push 0
lea ecx, [esp + 0x10]
call fcn.23a11770
mov eax, dword [0x23c7a190]
mov esi, dword [eax + 0x70]
mov edi, dword [eax + 0x74]
push 1
lea ecx, [esp + 0x10]
call fcn.23a11770
push 8
lea ecx, [esp + 0x10]
call fcn.23a11770
push esi
lea ecx, [esp + 0x10]
call fcn.23a11770
push edi
lea ecx, [esp + 0x10]
call fcn.23a11770
push 2
lea ecx, [esp + 0x10]
call fcn.23a11770
push 4
lea ecx, [esp + 0x10]
call fcn.23a11770
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + 0x30]
push eax
lea ecx, [esp + 0x10]
call fcn.23a11770
push 3
lea ecx, [esp + 0x10]
call fcn.23a11770
mov eax, dword [ebx + 0x3c]
lea esi, [eax + eax]
push esi
lea ecx, [esp + 0x10]
call fcn.23a11770
cmp dword [ebx + 0x40], 8
jb 0x23a11e4d
mov eax, dword [ebx + 0x2c]
jmp 0x23a11e50
lea eax, [ebx + 0x2c]
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.23a04e70
push 4
lea ecx, [esp + 0x10]
call fcn.23a11770
push 0x10
lea ecx, [esp + 0x10]
call fcn.23a11770
push 0x10
lea edx, [ebx + 0x44]
push edx
lea ecx, [esp + 0x14]
call fcn.23a04e70
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov esi, dword [ebx]
mov ebx, dword [esp + 0xc]
mov edi, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
push ebp
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 0x18]
mov eax, dword [eax]
test esi, esi
je 0x23a11ea7
cmp esi, eax
je 0x23a11eac
call fcn.23a49e3d
cmp edi, ebp
je 0x23a1202b
test esi, esi
jne 0x23a11f80
call fcn.23a49e3d
cmp edi, dword [esi + 0x18]
jne 0x23a11ecb
call fcn.23a49e3d
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x90]
push eax
push 4
lea ecx, [esp + 0x94]
push ecx
push ebx
mov dword [esp + 0x9c], 0
call ebp
test eax, eax
je 0x23a11f87
mov edx, dword [edi + 0x28]
mov esi, dword [edx - 0xc]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0x94]
add esi, esi
push edx
lea eax, [esi + 4]
push ebx
mov dword [esp + 0x9c], eax
call ebp
test eax, eax
je 0x23a11fb0
mov eax, dword [edi + 0x30]
push 0
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x94]
push edx
push ebx
mov dword [esp + 0x9c], eax
call ebp
test eax, eax
je 0x23a11fd9
mov edi, dword [edi + 0x28]
test esi, esi
je 0x23a11f6a
push 0
lea eax, [esp + 0x24]
push eax
push esi
push edi
push ebx
call ebp
test eax, eax
je 0x23a12002
lea ecx, [esp + 0x24]
call fcn.23a0ffd0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x23a11e96
mov esi, dword [esi]
jmp 0x23a11ec1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x54]
push ecx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x54]
push edx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x54]
push eax
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x54]
push ecx
call fcn.23a49c94
mov edi, dword [0x23c7a190]
add edi, 0xa0
xor edx, edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], dx
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x23a12062
call fcn.23a49e3d
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
mov ebp, esi
lea ebx, [ebx]
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x23a12081
call fcn.23a49e3d
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
test ecx, ecx
je 0x23a1208b
cmp ecx, eax
je 0x23a12094
call fcn.23a49e3d
mov ecx, dword [esp + 0x2c]
cmp ebp, esi
je 0x23a122bc
test ecx, ecx
jne 0x23a1220d
call fcn.23a49e3d
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x23a120b5
call fcn.23a49e3d
mov ecx, dword [ebp + 4]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov eax, ecx
mov byte [esp + 0x80], 2
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x23a120e0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.23a03130
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x88], 3
call fcn.23a03ac0
add esp, 8
cmp dword [esp + 0x68], 0x10
mov byte [esp + 0x80], 1
jb 0x23a1212a
mov edx, dword [esp + 0x54]
push edx
call fcn.23a2ed1b
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x24]
push eax
push 4
lea ecx, [esp + 0x94]
push ecx
push ebx
mov dword [esp + 0x9c], 7
call edi
test eax, eax
je 0x23a12218
mov esi, dword [esp + 0x48]
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x94]
add esi, esi
push ecx
lea edx, [esi + 4]
push ebx
mov dword [esp + 0x9c], edx
call edi
test eax, eax
je 0x23a12241
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
push eax
call fcn.23a11c60
xor edx, edx
push 0
test al, al
lea eax, [esp + 0x1c]
push eax
setne dl
push 4
lea ecx, [esp + 0x94]
push ecx
push ebx
mov dword [esp + 0x9c], edx
call edi
test eax, eax
je 0x23a1226a
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x23a121c9
lea eax, [esp + 0x38]
test esi, esi
je 0x23a121e1
push 0
lea edx, [esp + 0x28]
push edx
push esi
push eax
push ebx
call edi
test eax, eax
je 0x23a12293
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x23a12214
call fcn.23a49e3d
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x23a121fa
call fcn.23a49e3d
mov edi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x2c]
add ebp, 0x28
jmp 0x23a12070
mov eax, dword [ecx]
jmp 0x23a120ab
mov eax, dword [eax]
jmp 0x23a121f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x54]
push eax
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x54]
push ecx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x54]
push edx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x54]
push eax
call fcn.23a49c94
cmp dword [esp + 0x4c], 8
mov byte [esp + 0x80], 0
jb 0x23a122d8
mov ecx, dword [esp + 0x38]
push ecx
call fcn.23a2ed1b
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x8c]
mov eax, dword [eax]
mov esi, dword [ecx + 0x74]
mov edi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 0x8c]
mov eax, dword [eax + 0x74]
test esi, esi
je 0x23a12306
cmp esi, eax
je 0x23a1230b
call fcn.23a49e3d
cmp edi, ebp
je 0x23a1242d
test esi, esi
jne 0x23a12381
call fcn.23a49e3d
cmp edi, dword [esi + 0x18]
jne 0x23a12326
call fcn.23a49e3d
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x90]
push edx
push 4
lea eax, [esp + 0x94]
push eax
push ebx
mov dword [esp + 0x9c], 6
call ebp
test eax, eax
je 0x23a123b2
mov esi, dword [edi + 0x20]
push 0
lea ecx, [esp + 0x28]
push ecx
push 4
lea edx, [esp + 0x94]
push edx
add esi, esi
push ebx
mov dword [esp + 0x9c], esi
call ebp
test eax, eax
je 0x23a123db
cmp dword [edi + 0x24], 8
jb 0x23a12385
mov edi, dword [edi + 0x10]
jmp 0x23a12388
mov esi, dword [esi]
jmp 0x23a1231c
add edi, 0x10
test esi, esi
je 0x23a1239c
push 0
lea eax, [esp + 0x24]
push eax
push esi
push edi
push ebx
call ebp
test eax, eax
je 0x23a12404
lea ecx, [esp + 0x2c]
call fcn.23a10040
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
jmp 0x23a122f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x54]
push ecx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x54]
push edx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x5c]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x54]
push eax
call fcn.23a49c94
mov dword [esp + 0x80], 0xffffffff
cmp ebx, 0xffffffff
je 0x23a1245e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x23a1245e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.CloseHandle_0x_08X__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
pop ebp
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 8