Function at 0x442120
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
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
push 0x14
call fcn.0048e371
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 1
push 0x14
call dword [0x539991]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4421aa
push 6
call fcn.0048e37d
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4421ca
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4421c6
imul eax, dword [ebx]
jmp 0x4421bb
mov ecx, eax
test ecx, ecx
je 0x44220d
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4421e8
push ebx
call fcn.0048e377
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4421fc
push ebx
call fcn.0048e377
add esp, 4
pop ebx
call fcn.0048e377
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4421d0
call fcn.0048e377
add esp, 4
mov eax, 0x50832b
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.00491200
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x442254
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [ebp - 8]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x4000
jg 0x442632
fild dword [ebp - 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x50e5d7]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004025e9
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
call fcn.004426a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4422b9
cmp dword [ebp - 0x14], 0xc0000022
je 0x4422b9
xor eax, eax
jmp 0x4422be
mov eax, 1
test eax, eax
je 0x44262b
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
cmp dword [ebp - 0x14], 0xc0000022
jne 0x44231f
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov eax, 0x5082b0
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x442302
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
jmp 0x442331
mov ebx, dword [ebp - 0x18]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x18]
add ebx, 0x10
mov dword [ebp - 0x20], ebx
push 1
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
call fcn.004427c4
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
push 0x104
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x442377
push 6
call fcn.0048e37d
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4423c7
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4423a9
push eax
mov ebx, eax
call fcn.00402d2c
inc eax
push eax
call fcn.0048e371
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4423bc
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4423f8
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 4]
push eax
call fcn.00442c01
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4423f2
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x28], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x442428
mov eax, 0x5082b0
push eax
push 1
mov ebx, 0x130
call fcn.004909f0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x30], ebx
push 0xa0000101
push 0
push 0x50e5ce
push 1
mov ebx, 0x168
call fcn.00490de0
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x44248d
mov eax, 0x5082b0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x4424a3
mov eax, 0x5082b0
push eax
push 4
mov ebx, 0x14c
call fcn.00491760
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4424c9
push ebx
call fcn.0048e377
add esp, 4
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.004025e9
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x442503
mov eax, 0x5082b0
push eax
push 2
mov ebx, 0x138
call fcn.00490a10
add esp, 0x1c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x44252f
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.00490350
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
call fcn.0040c16c
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp - 0x24]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x442579
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x24]
call fcn.0048e38f
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x28]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x20]
push edi
push eax
push 0x14
call fcn.0048e371
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4425d5
push eax
mov ebx, eax
call fcn.00402d2c
inc eax
push eax
call fcn.0048e371
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4425f4
push eax
mov ebx, eax
call fcn.00402d2c
inc eax
push eax
call fcn.0048e371
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
cmp dword [ebp - 0x10], 0
je 0x44262b
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
call dword [0x539995]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x44262b
push 6
call fcn.0048e37d
add esp, 4
pop ebx
pop ecx
jmp 0x44225f
add esp, 8
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00402234
jmp 0x442644
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x442655
push ebx
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x44266c
push ebx
call fcn.0048e377
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x442680
push ebx
call fcn.0048e377
add esp, 4
pop ebx
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x442699
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8