Function at 0x4344a0
Capabilities:
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x118], eax
cmp dword [ecx + 0x10], 0
je 0x4344d1
cmp byte [ecx + 0xb], 0
mov dword [esp + 0x1c], ecx
js 0x4344d8
mov eax, ecx
jmp 0x4344da
xor ebx, ebx
jmp 0x435037
mov eax, dword [ecx]
sub esp, 0x1c
movdqa xmm0, xmmword [0x508070]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
test eax, eax
je 0x43452b
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp edi, 0xffffffff
je 0x435051
call fcn.0046dd90
mov esi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
lea eax, [esi + 1]
cmp eax, 2
jb 0x435024
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], ebx
mov eax, dword [esp + 0x1c]
movups xmm0, xmmword [eax + 0x24]
movups xmmword [esp + 0x108], xmm0
movdqu xmm0, xmmword [eax + 0x14]
movdqu xmmword [esp + 0xf8], xmm0
mov esi, dword [eax + 0x40]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
test esi, esi
je 0x4345cd
cmp esi, 0x20000000
jae 0x435064
lea eax, [esi*8]
push eax
call fcn.0048e8dd
add esp, 4
lea ecx, [eax + esi*8]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
xor eax, eax
lea ecx, [esp + 0x98]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [esp + 0x18], esi
push esi
call fcn.004357b0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x38]
add eax, 0x3c
mov ebx, 0
mov dword [esp + 0x2c], eax
cmp edx, eax
je 0x4349f3
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x20], edi
movzx ecx, byte [edx + 0x1b]
test cl, cl
jns 0x434616
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x24], edx
xor eax, eax
mov esi, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
add esi, 5
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ecx
je 0x4349d3
js 0x435072
push esi
call fcn.0048e8dd
add esp, 4
mov ebx, eax
mov dword [esp + 0x50], eax
lea edi, [eax + esi]
mov dword [esp + 0x58], edi
push esi
push 0
push eax
call fcn.004926b0
add esp, 0xc
mov dword [esp + 0x54], edi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x10]
mov eax, ecx
mov dword [ebx], ecx
add ebx, 4
mov esi, dword [esp + 0x24]
cmp byte [esi + 0x1b], 0
jns 0x434689
mov ecx, dword [esi + 0x10]
jmp 0x43468c
lea ecx, [esi + 0x10]
push eax
push ecx
push ebx
call fcn.00491bb0
add esp, 0xc
mov ecx, dword [esp + 4]
mov eax, ecx
not eax
add edi, eax
mov byte [ecx + edi], 0
movzx eax, byte [esi + 0x27]
test al, al
jns 0x4346b0
mov eax, dword [esi + 0x20]
xor edi, edi
mov ebx, eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
add ebx, 5
mov dword [esp + 0x10], eax
je 0x4349e4
js 0x43507b
push ebx
call fcn.0048e8dd
add esp, 4
mov edi, eax
add eax, ebx
push ebx
mov ebx, eax
push 0
push edi
call fcn.004926b0
add esp, 0xc
mov dword [esp + 0x14], ebx
lea eax, [esi + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [edi], edx
lea ecx, [edi + 4]
cmp byte [eax + 0xb], 0
jns 0x43470f
mov eax, dword [eax]
push edx
push eax
push ecx
call fcn.00491bb0
add esp, 0xc
mov eax, edi
not eax
mov ecx, dword [esp + 0x14]
add ecx, eax
mov byte [edi + ecx], 0
mov eax, dword [esp + 4]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edi
xor edi, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa0]
jae 0x434813
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov ecx, dword [esp + 0xc0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xc8]
mov dword [eax + 8], ecx
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov ecx, dword [esp + 0xcc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xd0]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xd4]
mov dword [eax + 0x14], ecx
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], edi
add eax, 0x18
mov dword [esp + 0x9c], eax
jmp 0x434842
lea ecx, [esp + 0x98]
lea eax, [esp + 0xc0]
push eax
call fcn.004358f0
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x434842
mov dword [esp + 0xd0], eax
push eax
call fcn.0048e90d
add esp, 4
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x43485d
mov dword [esp + 0xc4], eax
push eax
call fcn.0048e90d
add esp, 4
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x434871
push eax
call fcn.0048e90d
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x434882
push eax
call fcn.0048e90d
add esp, 4
mov ebx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
cmp ebx, eax
jae 0x4348a8
mov dword [ebx + 4], edi
mov dword [ebx], edi
add ebx, 8
mov dword [esp + 0xa8], ebx
jmp 0x434963
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
sub ebx, ecx
mov edi, ebx
sar edi, 3
lea ecx, [edi + 1]
cmp ecx, 0x20000000
jae 0x435058
sub eax, dword [esp + 4]
mov edx, eax
sar edx, 2
cmp edx, ecx
cmovb edx, ecx
cmp eax, 0x7ffffff8
mov eax, 0x1fffffff
cmovae edx, eax
test edx, edx
mov dword [esp + 8], edx
je 0x43490c
cmp edx, 0x20000000
jae 0x435064
lea eax, [edx*8]
push eax
call fcn.0048e8dd
add esp, 4
mov ecx, eax
jmp 0x43490e
xor ecx, ecx
xor eax, eax
mov dword [ecx + edi*8 + 4], eax
mov dword [ecx + edi*8], eax
test ebx, ebx
jle 0x43492e
push ebx
mov eax, dword [esp + 8]
push eax
push ecx
mov ebx, ecx
call fcn.00491bb0
mov ecx, ebx
add esp, 0xc
mov eax, dword [esp + 8]
lea eax, [ecx + eax*8]
lea ebx, [ecx + edi*8]
add ebx, 8
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], eax
cmp dword [esp + 4], 0
je 0x434963
push dword [esp + 4]
call fcn.0048e90d
add esp, 4
mov edx, dword [esp + 0x20]
mov dword [ebx - 8], edx
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx - 0x14]
sub eax, dword [ecx - 0x18]
add eax, edx
mov ecx, dword [esp + 0xa8]
mov dword [ecx - 4], eax
mov ecx, dword [esp + 0x9c]
mov edi, dword [ecx - 8]
sub edi, dword [ecx - 0xc]
mov ebx, dword [esp + 0x30]
add ebx, dword [ecx - 0x14]
add ebx, edi
sub ebx, dword [ecx - 0x18]
mov edx, dword [esi + 4]
test edx, edx
je 0x4349ad
mov ecx, edx
mov edx, dword [edx]
test edx, edx
jne 0x4349a3
jmp 0x4349c3
mov ecx, dword [esi + 8]
cmp dword [ecx], esi
je 0x4349c3
add esi, 8
mov edx, dword [esi]
lea esi, [edx + 8]
mov ecx, dword [edx + 8]
cmp dword [ecx], edx
jne 0x4349b7
add edi, eax
mov edx, ecx
cmp ecx, dword [esp + 0x2c]
jne 0x434607
jmp 0x4349f3
mov dword [esp + 8], 0
xor edi, edi
xor ebx, ebx
jmp 0x43466b
xor ebx, ebx
mov dword [esp + 0x14], 0
jmp 0x4346fb
mov eax, dword [esp + 0x18]
lea eax, [ebx + eax*8]
xor edi, edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov ecx, 0
add eax, 0x38
je 0x434a55
js 0x43507b
push eax
mov edi, eax
call fcn.0048e8dd
add esp, 4
mov esi, eax
mov dword [esp + 0x8c], eax
mov eax, edi
add edi, esi
mov dword [esp + 0x94], edi
push eax
push 0
push esi
call fcn.004926b0
mov ecx, esi
add esp, 0xc
mov dword [esp + 0x90], edi
mov esi, dword [esp + 0x18]
lea eax, [ebx + esi*8]
add eax, 4
mov dword [ecx], 1
movups xmm0, xmmword [esp + 0x108]
movups xmmword [ecx + 4], xmm0
movdqu xmm0, xmmword [esp + 0xf8]
movdqu xmmword [ecx + 0x14], xmm0
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], 0x34
xor eax, eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], esi
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
sub ebx, eax
mov dword [esp + 8], ecx
add ecx, 0x38
push ebx
push eax
push ecx
call fcn.00491bb0
add esp, 0xc
test esi, esi
je 0x434b39
add ebx, 0x38
lea eax, [esi - 1]
mov dword [esp + 4], eax
mov edx, dword [esp + 8]
xor edi, edi
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + edi]
mov esi, dword [eax + edi + 4]
sub esi, ecx
add edx, ebx
push esi
push ecx
push edx
call fcn.00491bb0
add esp, 0xc
add esi, ebx
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + edi + 0xc]
mov ebx, dword [eax + edi + 0x10]
sub ebx, ecx
mov eax, dword [esp + 0x8c]
add eax, esi
push ebx
push ecx
push eax
call fcn.00491bb0
add esp, 0xc
mov eax, dword [esp + 4]
sub eax, 1
jb 0x434b29
mov dword [esp + 4], eax
add ebx, esi
mov edx, dword [esp + 0x8c]
add edi, 0x18
jmp 0x434aca
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
jmp 0x434b3d
mov ecx, dword [esp + 8]
lea eax, [esp + 0x80]
mov dword [eax], 0x43500001
mov dword [eax + 8], ecx
mov dword [esp + 8], ecx
sub edi, ecx
mov dword [eax + 4], edi
lea edi, [esp + 0x78]
mov dword [edi], 1
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
mov ecx, esi
call dword [section..00cfg]
lea eax, [esp + 0xb0]
push 0
push edi
push eax
push 0x40
mov edi, dword [esp + 0x1c]
push edi
push dword [esp + 0x18]
push ebx
call esi
xor ebx, ebx
test eax, eax
je 0x434f71
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x50]
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
lea ecx, [esp + 0xc0]
mov dword [ecx], 0xffffffff
push ebx
push ecx
push 0x20
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x434f71
cmp dword [esp + 0xc0], 0x20
mov eax, dword [esp + 8]
jne 0x434f93
mov esi, edi
xor edi, edi
push edi
push edi
push dword [esp + 0x64]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
xor eax, eax
dec eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
cmp dword [esp + 0x58], edi
je 0x434f77
mov eax, dword [esp + 0x18]
lea eax, [eax*8]
xor ebx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 4], edi
mov dword [esp + 0xc0], 0xffffffff
push 0
lea eax, [esp + 0xc4]
push eax
push 0xc
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
test eax, eax
je 0x434f79
cmp dword [esp + 0xc0], 0xc
jne 0x434f79
cmp ebx, dword [esp + 0x4c]
je 0x434ca6
mov eax, dword [esp + 0x40]
mov dword [ebx + 8], eax
movq xmm0, qword [esp + 0x38]
movq qword [ebx], xmm0
add ebx, 0xc
mov dword [esp + 0x48], ebx
jmp 0x434d6b
mov ecx, dword [esp + 0x44]
sub ebx, ecx
mov eax, ebx
sar eax, 2
imul edi, eax, 0xaaaaaaab
lea eax, [edi + 1]
cmp eax, 0x15555556
jae 0x435069
lea esi, [edi + edi]
cmp esi, eax
cmovb esi, eax
cmp edi, 0xaaaaaaa
mov eax, 0x15555555
cmovae esi, eax
test esi, esi
mov dword [esp + 8], ecx
je 0x434d08
cmp esi, 0x15555556
jae 0x435064
lea eax, [esi*4]
lea eax, [eax + eax*2]
push eax
call fcn.0048e8dd
add esp, 4
mov ecx, dword [esp + 8]
jmp 0x434d0a
xor eax, eax
lea edx, [edi + edi*2]
mov dword [esp + 0x24], edx
lea edi, [eax + edx*4]
mov edx, dword [esp + 0x40]
mov dword [edi + 8], edx
movq xmm0, qword [esp + 0x38]
movq qword [edi], xmm0
sub edi, ebx
test ebx, ebx
jle 0x434d3e
push ebx
push ecx
push edi
mov ebx, eax
call fcn.00491bb0
mov eax, ebx
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea edx, [esi + esi*2]
lea edx, [eax + edx*4]
mov esi, dword [esp + 0x24]
lea ebx, [eax + esi*4]
add ebx, 0xc
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
test ecx, ecx
je 0x434d67
push ecx
call fcn.0048e90d
add esp, 4
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 4]
cmp dword [esp + 0x38], 0x43500001
jne 0x434d81
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
inc edi
cmp edi, dword [esp + 0x58]
jb 0x434c44
xor ebx, ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x434f77
push ebx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ecx, ecx
dec ecx
mov dword [esp + 0xf0], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
mov eax, esi
lea esi, [esp + 0xbc]
mov dword [esi], ecx
push ebx
push esi
push 0x34
lea ecx, [esp + 0xcc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x434f6d
cmp dword [esp + 0xbc], 0x34
jne 0x434f6d
cmp dword [esp + 0xe8], 0x34
jne 0x434f6d
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0x34]
mov dword [esp + 0xe8], eax
xor ebx, ebx
push ebx
push ebx
push ecx
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0xbc], 0xffffffff
push ebx
push esi
push 0x34
lea eax, [esp + 0xcc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x434f6d
cmp dword [esp + 0xbc], 0x34
jne 0x434f6d
xor ebx, ebx
push ebx
push ebx
push dword [esp + 0xf0]
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x34]
xor ecx, ecx
dec ecx
mov dword [eax], ecx
mov dword [esp + 0xbc], ecx
push ebx
push esi
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x434f6d
cmp dword [esp + 0xbc], 4
jne 0x434f6d
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x34], eax
jne 0x434f6d
mov edi, dword [esp + 0xa4]
mov dword [esp + 0xbc], 0xffffffff
push 0
push esi
push dword [esp + 0x1c]
push edi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ebx, ebx
test eax, eax
je 0x434f6d
mov eax, dword [esp + 0x14]
cmp dword [esp + 0xbc], eax
jne 0x434f6d
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xa8]
cmp ecx, edi
je 0x434f28
mov edx, dword [esp + 0x34]
lea eax, [eax + edx*8]
add eax, 4
add dword [edi], eax
add dword [edi + 4], eax
add edi, 8
cmp edi, ecx
jne 0x434f0e
mov eax, dword [esp + 0xe8]
mov edi, dword [esp + 0xa4]
add eax, 4
xor ecx, ecx
push ecx
push ecx
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [esp + 0x34]
shl ebx, 3
mov dword [esp + 0xbc], 0xffffffff
xor eax, eax
push eax
push esi
push ebx
push edi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
cmp dword [esp + 0xbc], ebx
sete bl
and bl, al
mov edi, ebx
jmp 0x434f79
mov eax, dword [esp + 8]
jmp 0x434f93
xor edi, edi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x434f8a
push eax
call fcn.0048e90d
add esp, 4
mov eax, dword [esp + 0x8c]
mov ebx, edi
test eax, eax
je 0x434fa0
push eax
call fcn.0048e90d
add esp, 4
mov esi, dword [esp + 0x98]
test esi, esi
je 0x435008
mov edi, dword [esp + 0x9c]
cmp edi, esi
je 0x434ff6
mov dword [esp + 4], ebx
mov eax, dword [edi - 0xc]
test eax, eax
je 0x434fcd
mov dword [edi - 8], eax
push eax
call fcn.0048e90d
add esp, 4
lea ebx, [edi - 0x18]
mov eax, dword [edi - 0x18]
test eax, eax
je 0x434fe3
mov dword [edi - 0x14], eax
push eax
call fcn.0048e90d
add esp, 4
mov edi, ebx
cmp ebx, esi
jne 0x434fba
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 4]
jmp 0x434ff8
mov eax, esi
mov dword [esp + 0x9c], esi
push eax
call fcn.0048e90d
add esp, 4
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x43501c
push eax
call fcn.0048e90d
add esp, 4
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
cmp eax, 2
jb 0x435037
call fcn.0046dd90
push esi
call fcn.00470d70
add esp, 4
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.0048f468
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
xor esi, esi
jmp 0x434524
lea ecx, [esp + 0xa4]
call fcn.004b9210
call fcn.004a2770
lea ecx, [esp + 0x44]
call fcn.004b9210
lea ecx, [esp + 0x50]
call fcn.004b9210
lea ecx, [esp + 0x8c]
call fcn.004b9210
int3