Function at 0x4153e7
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
jne 0x41545c
mov dword [ebp - 0x20], esp
xor eax, eax
call dword [0x479864]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x415454
push 0x4f
push 0x404e0f0
push 6
call fcn.00451c08
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x415495
mov dword [ebp - 0x20], esp
push dword [ebp + 8]
push 0
push 0x400
xor eax, eax
call dword [0x479858]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x415492
push 0x7d
push 0x404e0f0
push 6
call fcn.00451c08
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4154a9
mov eax, 0x4765d6
jmp 0x41585f
push 0x80000301
push 0
push 0x20a
push 1
mov ebx, 0x1bc
call fcn.00455240
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4154de
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
push 0x104
mov eax, dword [ebp - 8]
test eax, eax
je 0x4154f4
add eax, 8
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41551e
push 0x174
push 0x404e0f0
push 6
call fcn.00451c08
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x479814]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41554d
push 0x19b
push 0x404e0f0
push 6
call fcn.00451c08
add esp, 0xc
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4765de]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4765de]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401cc7
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41558e
mov eax, 0x4765d6
push eax
push 2
mov ebx, 0x1a0
call fcn.00456f20
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4155b8
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, 0x477074
test eax, eax
je 0x4155d8
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00451bfc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4155e9
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x20a
push 1
mov ebx, 0x1bc
call fcn.00455240
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x415622
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
lea eax, [ebp - 0x18]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x1a
jg 0x415852
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
inc byte [ebx]
mov dword [ebp - 0x20], esp
push 0x104
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x415667
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x415672
add eax, 8
push eax
xor eax, eax
call dword [0x479868]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x415699
push 0x376
push 0x404e0f0
push 6
call fcn.00451c08
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x41584b
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4765de]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x477082]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401cc7
dec eax
pop ebx
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
mov byte [ebx], 0x5c
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4765de]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x4765de]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401cc7
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41572b
mov eax, 0x4765d6
push eax
push 2
mov ebx, 0x1a0
call fcn.00456f20
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x415755
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x415772
mov eax, 0x4765d6
push eax
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x415786
mov eax, 0x4765d6
push eax
push 3
mov ebx, 0x1ac
call fcn.00456f50
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jne 0x41584b
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 4
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov byte [ebx], 0x5c
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4157d4
mov eax, 0x4765d6
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000301
push 0
push 1
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4157fe
mov eax, 0x4765d6
push eax
push 4
mov ebx, 0x1b4
call fcn.004570c0
add esp, 0x34
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x415828
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x415846
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00451bfc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41585f
pop ebx
pop ecx
jmp 0x41562d
add esp, 8
mov eax, 0x4765d6
jmp 0x41585f
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x415870
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x415880
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x415890
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4158a0
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8