Function at 0x469640
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x51c]
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 4], 0
je 0x469855
push 0
call fcn.0046b630
mov eax, dword [ebx + 0x51c]
mov esi, 1
mov dword [eax + 0x14], esi
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x28c]
push 0x104
push edx
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x38c]
lea ecx, [ebp - 0x48c]
push eax
lea edx, [ebp - 0x188]
push ecx
lea eax, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x28c]
push eax
push ecx
call fcn.0051d13a
add esp, 0x14
lea edx, [ebp - 0x188]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x18]
push str.IDMGrHlp.exe
push edx
push eax
push 0x59879c
push ecx
call fcn.0053091a
mov edx, dword [ebp - 0x18]
add esp, 0x14
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4697f6
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x4c], esi
mov word [ebp - 0x48], 5
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5ba7e0]
mov byte [ebp - 4], 2
test eax, eax
je 0x469793
mov ecx, dword [0x5baee0]
mov edx, dword [0x5baee4]
mov eax, dword [0x5baee8]
push ecx
mov ecx, dword [0x5baeec]
push edx
mov edx, dword [ebx + 0x43c]
push eax
mov eax, dword [ebx + 0x454]
push ecx
mov ecx, dword [ebx + 0x450]
push edx
mov edx, dword [ebx + 0x530]
push eax
mov eax, dword [ebp - 0x18]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1c]
push str.__s___a_1__w__ld__i_2000000000__fn___s___ct___s___u___s___cp___s___lb___s___ok___s___cb___s_
push ecx
call fcn.0053091a
add esp, 0x2c
jmp 0x4697c4
mov edx, dword [ebx + 0x43c]
mov eax, dword [ebx + 0x454]
mov ecx, dword [ebx + 0x450]
push edx
mov edx, dword [ebx + 0x530]
push eax
mov eax, dword [ebp - 0x18]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1c]
push str.__s___a_1__w__ld__i_2000000000__fn___s___ct___s___u___s_
push ecx
call fcn.0053091a
add esp, 0x1c
lea edx, [ebp - 0x88]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x78]
push edx
push eax
push 0
push 0
push 0x30
push esi
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
je 0x469844
call fcn.00537b04
mov edx, dword [ebx + 0x51c]
push 0
mov dword [ebp - 0x30], edx
call fcn.0051dc52
mov ecx, dword [ebx + 0x51c]
add esp, 4
mov dword [ecx + 0x18], eax
mov edx, dword [ebx + 0x51c]
mov byte [edx + 0x1c], 1
mov ecx, dword [ebx + 0x510]
mov eax, dword [ebx + 0x50c]
mov esi, ecx
mov dword [ebp - 0x20], esi
lea edi, [esi + 1]
test edi, edi
jne 0x469892
test eax, eax
je 0x46987f
mov edx, ecx
dec ecx
test edx, edx
je 0x469866
add eax, 8
jmp 0x469838
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x50c]
push eax
call fcn.005380ca
add esp, 4
mov dword [ebx + 0x50c], 0
xor eax, eax
mov dword [ebx + 0x514], eax
mov dword [ebx + 0x510], eax
jmp 0x469a23
test eax, eax
jne 0x4698e9
lea esi, [edi*8]
push esi
call fcn.005380a1
mov edx, eax
mov ecx, esi
mov dword [ebx + 0x50c], eax
mov dword [ebp - 0x14], edi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4698d2
add edx, 8
jmp 0x4698c6
mov esi, dword [ebp - 0x20]
lea eax, [esi + 1]
mov dword [ebx + 0x514], eax
mov dword [ebx + 0x510], eax
jmp 0x469a23
cmp edi, dword [ebx + 0x514]
jg 0x469949
cmp ecx, edi
jge 0x469925
mov edx, edi
lea edi, [eax + ecx*8]
sub edx, ecx
xor eax, eax
mov dword [ebp - 0x14], edi
lea ecx, [edx*8]
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
mov ecx, edx
dec edx
test ecx, ecx
je 0x469938
add eax, 8
jmp 0x469919
jle 0x46993b
sub ecx, edi
lea edi, [eax + edi*8]
mov edx, ecx
dec ecx
test edx, edx
je 0x46993b
add edi, 8
jmp 0x46992c
mov esi, dword [ebp - 0x20]
lea eax, [esi + 1]
mov dword [ebx + 0x510], eax
jmp 0x469a23
mov eax, dword [ebx + 0x518]
test eax, eax
jne 0x469976
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x46996a
mov eax, 4
jmp 0x469976
cmp eax, 0x400
jle 0x469976
mov eax, 0x400
mov ecx, dword [ebx + 0x514]
add eax, ecx
cmp edi, eax
mov dword [ebp - 0x14], eax
jl 0x469988
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x14]
lea ecx, [eax*8]
push ecx
call fcn.005380a1
mov ecx, dword [ebx + 0x510]
mov esi, dword [ebx + 0x50c]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x20]
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x510]
inc edx
sub edx, ecx
mov dword [ebp - 0x28], eax
lea edi, [eax + ecx*8]
xor eax, eax
lea ecx, [edx*8]
mov dword [ebp - 0x2c], edi
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x2c]
mov ecx, edx
dec edx
test ecx, ecx
je 0x4699f5
add eax, 8
jmp 0x4699e9
mov eax, dword [ebx + 0x50c]
push eax
call fcn.005380ca
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add esp, 4
inc eax
mov dword [ebx + 0x50c], edx
mov dword [ebx + 0x510], eax
mov dword [ebx + 0x514], ecx
mov edx, dword [ebx + 0x50c]
mov eax, 0x77359400
mov dword [edx + esi*8], eax
mov eax, dword [ebp - 0x30]
mov dword [edx + esi*8 + 4], eax
jmp 0x469849