Function at 0x23a178e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x23bcf280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
push edi
mov ebx, ecx
or edi, 0xffffffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x108]
push 0x80
push 3
push 1
push SysReAllocStringLen
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x114], 0
call fcn.23a01460
test eax, eax
je 0x23a17976
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x100], edi
cmp esi, edi
je 0x23a181d4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x23a181d4
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
jmp 0x23a181d4
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
mov ebp, dword [esp + 0x60]
push 0
lea ecx, [esp + 0x68]
push ecx
push 4
lea edx, [esp + 0x40]
push edx
push ebp
call edi
test eax, eax
jne 0x23a179bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x44]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x3c]
push eax
call fcn.23a49c94
push 0
lea ecx, [esp + 0x68]
push ecx
push 4
lea edx, [esp + 0x40]
push edx
push ebp
call edi
test eax, eax
jne 0x23a179fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x44]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x3c]
push eax
call fcn.23a49c94
push 0
lea ecx, [esp + 0x6c]
push ecx
push 4
lea edx, [esp + 0x40]
push edx
push ebp
call edi
test eax, eax
je 0x23a18125
jmp 0x23a17a24
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x68], 4
mov esi, 7
jb 0x23a1814e
push 0
lea eax, [esp + 0xe8]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push ebp
call edi
test eax, eax
je 0x23a181ee
mov eax, dword [esp + 0x34]
cmp eax, esi
ja case.default.0x23a17a5c
jmp dword [eax*4 + 0x23a18464]
push 0
lea edx, [esp + 0xd0]
push edx
push 4
lea eax, [esp + 0x84]
push eax
push ebp
call edi
test eax, eax
je 0x23a18217
mov eax, dword [esp + 0x10]
sub eax, 4
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0
mov word [esp + 0x18], cx
shr eax, 1
mov byte [esp + 0x104], 1
lea ecx, [esp + 0x14]
jne 0x23a17aba
push 0xffffffffffffffff
push eax
call fcn.23a029c0
jmp 0x23a17ac2
push 0
push eax
call fcn.23a02550
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp edx, 8
jb 0x23a17bc0
mov esi, eax
test eax, eax
je 0x23a17b02
mov ecx, eax
cmp edx, 8
jae 0x23a17ae4
lea ecx, [esp + 0x18]
cmp ecx, esi
ja 0x23a17b02
mov ecx, eax
cmp edx, 8
jae 0x23a17af3
lea ecx, [esp + 0x18]
mov ebx, dword [esp + 0x28]
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x30]
cmp esi, ecx
jbe 0x23a17b0f
call fcn.23a49e3d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
cmp ecx, 0xfffffffc
je 0x23a17b31
cmp edx, 8
jae 0x23a17b21
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x28]
lea eax, [eax + edx*2]
cmp esi, eax
jb 0x23a17b31
call fcn.23a49e3d
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0xe4]
push ecx
push edx
push esi
push ebp
call edi
test eax, eax
je 0x23a18240
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x23a17b5f
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0xf4]
call fcn.23a13740
lea edx, [esp + 0xec]
push edx
mov ecx, ebx
mov byte [esp + 0x108], 2
call fcn.23a17000
lea ecx, [esp + 0xec]
mov byte [esp + 0x104], 1
call fcn.23a10b00
mov byte [esp + 0x104], 0
cmp dword [esp + 0x2c], esi
jb 0x23a1810c
mov eax, dword [esp + 0x18]
push eax
call fcn.23a2ed1b
add esp, 4
jmp 0x23a1810c
lea esi, [esp + 0x18]
jmp 0x23a17ad9
push 0
lea ecx, [esp + 0xec]
push ecx
push 4
lea edx, [esp + 0xc0]
push edx
push ebp
call edi
test eax, eax
je 0x23a18269
xor eax, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x10]
shr eax, 1
mov byte [esp + 0x104], 3
lea ecx, [esp + 0x14]
jne 0x23a17c19
push 0xffffffffffffffff
push eax
call fcn.23a029c0
jmp 0x23a17c21
push 0
push eax
call fcn.23a02550
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp edx, 8
jb 0x23a17cea
mov esi, eax
test eax, eax
je 0x23a17c61
mov ecx, eax
cmp edx, 8
jae 0x23a17c43
lea ecx, [esp + 0x18]
cmp ecx, esi
ja 0x23a17c61
mov ecx, eax
cmp edx, 8
jae 0x23a17c52
lea ecx, [esp + 0x18]
mov ebx, dword [esp + 0x28]
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x30]
cmp esi, ecx
jbe 0x23a17c6e
call fcn.23a49e3d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
cmp ecx, 0xfffffffc
je 0x23a17c90
cmp edx, 8
jae 0x23a17c80
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x28]
lea eax, [eax + edx*2]
cmp esi, eax
jb 0x23a17c90
call fcn.23a49e3d
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0xd8]
push ecx
push edx
push esi
push ebp
call edi
test eax, eax
je 0x23a18292
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x23a17cbe
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.23a167a0
mov byte [esp + 0x104], 0
cmp dword [esp + 0x2c], esi
jb 0x23a1810c
mov eax, dword [esp + 0x18]
push eax
call fcn.23a2ed1b
add esp, 4
jmp 0x23a1810c
lea esi, [esp + 0x18]
jmp 0x23a17c38
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0
mov word [esp + 0x18], cx
mov eax, dword [esp + 0x10]
shr eax, 1
mov byte [esp + 0x104], 4
lea ecx, [esp + 0x14]
jne 0x23a17d24
push 0xffffffffffffffff
push eax
call fcn.23a029c0
jmp 0x23a17d2c
push 0
push eax
call fcn.23a02550
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp edx, 8
jb 0x23a17e40
mov esi, eax
test eax, eax
je 0x23a17d6c
mov ecx, eax
cmp edx, 8
jae 0x23a17d4e
lea ecx, [esp + 0x18]
cmp ecx, esi
ja 0x23a17d6c
mov ecx, eax
cmp edx, 8
jae 0x23a17d5d
lea ecx, [esp + 0x18]
mov ebx, dword [esp + 0x28]
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x30]
cmp esi, ecx
jbe 0x23a17d79
call fcn.23a49e3d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
cmp ecx, 0xfffffffc
je 0x23a17d9b
cmp edx, 8
jae 0x23a17d8b
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x28]
lea eax, [eax + edx*2]
cmp esi, eax
jb 0x23a17d9b
call fcn.23a49e3d
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0xc4]
push ecx
push edx
push esi
push ebp
call edi
test eax, eax
je 0x23a182bb
mov esi, 0xf
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x10c], 5
call fcn.23a039b0
add esp, 8
lea edx, [esp + 0x38]
push edx
lea ecx, [ebx + 0x54]
call fcn.23a17610
mov byte [eax], 1
cmp dword [esp + 0x50], 0x10
jb 0x23a17e0a
mov eax, dword [esp + 0x3c]
push eax
call fcn.23a2ed1b
add esp, 4
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x104], 0
jb 0x23a1810c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.23a2ed1b
add esp, 4
jmp 0x23a1810c
lea esi, [esp + 0x18]
jmp 0x23a17d43
push 0
lea edx, [esp + 0xdc]
push edx
push 4
lea eax, [esp + 0x78]
push eax
push ebp
call edi
test eax, eax
je 0x23a182ea
mov eax, dword [esp + 0x10]
sub eax, 4
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0
mov word [esp + 0x18], cx
shr eax, 1
mov byte [esp + 0x104], 6
lea ecx, [esp + 0x14]
jne 0x23a17e9d
push 0xffffffffffffffff
push eax
call fcn.23a029c0
jmp 0x23a17ea5
push 0
push eax
call fcn.23a02550
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp edx, 8
jb 0x23a17f7b
mov esi, eax
test eax, eax
je 0x23a17ee1
mov ecx, eax
cmp edx, 8
jae 0x23a17ec7
lea ecx, [esp + 0x18]
cmp ecx, esi
ja 0x23a17ee1
mov ecx, eax
cmp edx, 8
jae 0x23a17ed6
lea ecx, [esp + 0x18]
mov ebx, dword [esp + 0x28]
lea ecx, [ecx + ebx*2]
cmp esi, ecx
jbe 0x23a17eee
call fcn.23a49e3d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
cmp ecx, 0xfffffffc
je 0x23a17f10
cmp edx, 8
jae 0x23a17f00
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x28]
lea eax, [eax + edx*2]
cmp esi, eax
jb 0x23a17f10
call fcn.23a49e3d
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0xcc]
push ecx
push edx
push esi
push ebp
call edi
test eax, eax
je 0x23a18319
mov esi, 0xf
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x10c], 7
call fcn.23a039b0
mov ecx, dword [esp + 0x38]
add esp, 8
cmp dword [esp + 0x6c], 0
lea edx, [esp + 0x38]
setne bl
push edx
add ecx, 0x54
call fcn.23a17610
mov byte [eax], bl
jmp 0x23a17df6
lea esi, [esp + 0x18]
jmp 0x23a17ebc
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x3c]
lea esi, [ebx + 0x28]
shr eax, 1
cmp eax, ecx
ja 0x23a17fa0
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.23a029c0
jmp 0x23a17fac
sub eax, ecx
push 0
push eax
mov ecx, esi
call fcn.23a02550
mov ecx, dword [esi + 0x18]
lea edi, [esi + 4]
cmp ecx, 8
jb 0x23a17fbb
mov ebx, dword [edi]
jmp 0x23a17fbd
mov ebx, edi
test ebx, ebx
je 0x23a17fe5
cmp ecx, 8
jb 0x23a17fca
mov eax, dword [edi]
jmp 0x23a17fcc
mov eax, edi
cmp eax, ebx
ja 0x23a17fe5
cmp ecx, 8
jb 0x23a17fd9
mov eax, dword [edi]
jmp 0x23a17fdb
mov eax, edi
mov edx, dword [esi + 0x14]
lea eax, [eax + edx*2]
cmp ebx, eax
jbe 0x23a17fea
call fcn.23a49e3d
cmp esi, 0xfffffffc
je 0x23a18006
cmp dword [esi + 0x18], 8
jb 0x23a17ff7
mov edi, dword [edi]
mov ecx, dword [esi + 0x14]
lea edx, [edi + ecx*2]
cmp ebx, edx
jb 0x23a18006
call fcn.23a49e3d
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0xe0]
push eax
push ecx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x23a18348
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x23a1810c
push 0
lea edx, [esp + 0xd4]
push edx
push 4
lea eax, [esp + 0x80]
push eax
push ebp
call edi
test eax, eax
je 0x23a18377
push 0
lea ecx, [esp + 0xbc]
push ecx
push 4
lea edx, [esp + 0x7c]
push edx
push ebp
call edi
test eax, eax
je 0x23a183a6
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
jmp 0x23a1810c
push 0
lea edx, [esp + 0xc0]
push edx
push 4
lea eax, [esp + 0x70]
push eax
push ebp
call edi
test eax, eax
je 0x23a183d5
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x110]
mov dword [edx + 0x30], ecx
jmp 0x23a1810c
push 0
lea eax, [esp + 0xc8]
push eax
push 0x10
lea ecx, [esp + 0xb0]
push ecx
push ebp
call edi
test eax, eax
je 0x23a18404
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [ebx + 0x44], edx
mov edx, dword [esp + 0xb0]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], ecx
mov dword [ebx + 0x50], edx
jmp 0x23a1810c
mov eax, dword [esp + 0x10]
push 1
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x23a18433
push 0
lea ecx, [esp + 0x6c]
push ecx
push 4
lea edx, [esp + 0x40]
push edx
push ebp
call edi
test eax, eax
jne 0x23a17a20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x44]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x3c]
push eax
call fcn.23a49c94
cmp dword [ebx + 0x3c], 0
jne 0x23a181a2
push 0x23be38d8
lea ecx, [esp + 0x3c]
call fcn.23a01070
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x40]
lea ecx, [ebx + 0x28]
push edx
mov byte [esp + 0x110], 8
call fcn.23a02610
cmp dword [esp + 0x50], 8
jb 0x23a1818f
mov eax, dword [esp + 0x3c]
push eax
call fcn.23a2ed1b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
mov dword [esp + 0x104], 0xffffffff
cmp ebp, 0xffffffff
je 0x23a181d3
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x23a181d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebp
push str.CloseHandle_0x_08X__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
pop ebp
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xf8
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x44]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x3c]
push edx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x44]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x3c]
push eax
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x44]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x3c]
push ecx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x44]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x3c]
push edx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x44]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x3c]
push eax
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x88]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x80]
push ecx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x88]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x80]
push edx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x88]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x80]
push eax
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x88]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x80]
push ecx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x88]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x80]
push edx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x88]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x80]
push eax
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x88]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x80]
push ecx
call fcn.23a49c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x88]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x80]
push edx
call fcn.23a49c94
jmp [eax - 0x44]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x489
push str.d:_builds_temporary_activitymon20_sources_actbasic_advapi.h
lea ecx, [esp + 0x88]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x80]
push eax
call fcn.23a49c94
mov edi, edi
arpl word [edx - 0x5f], di
and esi, dword [eax]
and byte [ecx - 0x5e7f81dd], 0x23
test byte [edi - 0x5f], bh
and ebp, dword [edx - 215768704]
jl 0x23a1841c
and ecx, ecx
jnp 0x23a18420
and ecx, dword [ecx + 0x7e]
mov eax, dword [0xcccccc23]
int3