Function at 0x403f50
Capabilities:
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x4677c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6d8
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x184]
call fcn.00411b80
mov esi, dword [esp + 0x700]
mov ebp, dword [esp + 0x6f8]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x6f0], ebx
mov dword [esp + 0x34], ebx
jne 0x403fac
xor edi, edi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4049d8
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], al
call fcn.00405c50
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x54]
call fcn.00405aa0
push esi
mov byte [esp + 0x6f4], 1
call fcn.00402030
add esp, 4
test eax, eax
jne 0x4049c6
cmp dword [esp + 0x6f8], ebx
je 0x4049c6
lea ecx, [esp + 0x6f8]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x486660
call fcn.004062e0
mov ecx, dword [0x486664]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
je 0x4040e1
mov edi, dword [eax + 0x10]
mov al, byte [edi + 0x20]
push ebx
lea ecx, [esp + 0x70]
lea esi, [edi + 0x20]
mov byte [esp + 0x70], al
call fcn.00405c50
mov ecx, dword [0x46c634]
push ecx
push ebx
push esi
lea ecx, [esp + 0x78]
call fcn.004058a0
mov eax, dword [esp + 0x70]
mov byte [esp + 0x6f0], 2
cmp eax, ebx
jne 0x404062
mov eax, 0x46c630
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jne 0x40406f
mov ecx, 0x46c630
push eax
push ecx
call fcn.004439d0
add esp, 8
test eax, eax
jne 0x4040ce
cmp dword [edi + 8], ebx
je 0x4040ce
lea edx, [esp + 0x6f8]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, 0x486638
call fcn.00406e60
mov eax, dword [0x48663c]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x4040b6
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x486638
call fcn.00406990
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x6f4], 1
call fcn.00405c50
jmp 0x4049c6
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x6f4], 1
call fcn.00405c50
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x80]
push ebp
push ebx
push 0x400
rep stosd dword es:[edi], eax
call dword [0x46c218]
mov edx, dword [esp + 0x6f8]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], edx
jne 0x40448d
lea eax, [esp + 0x6f8]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x486660
call fcn.00407430
mov eax, dword [0x486664]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x40414f
mov edx, dword [esp + 0x6f8]
mov esi, dword [ecx + 0xc]
cmp edx, esi
jb 0x40414f
lea ecx, [esp + 0x24]
jmp 0x404157
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
cmp dword [ecx], eax
jne 0x404407
push 0x90
call fcn.00460f0e
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x6f0], 0xf
je 0x4042d0
mov al, byte [esp + 0x13]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00405c50
mov cl, byte [esp + 0x13]
lea ebp, [esi + 0x10]
push ebx
mov byte [esp + 0x6f4], 0x10
mov byte [ebp], cl
mov ecx, ebp
call fcn.00405c50
mov dl, byte [esp + 0x13]
lea ecx, [esi + 0x20]
push ebx
mov byte [esp + 0x6f4], 0x11
mov byte [ecx], dl
call fcn.00405c50
lea eax, [esp + 0x13]
lea ecx, [esi + 0x30]
push eax
mov byte [esp + 0x6f4], 0x12
call fcn.00404d60
lea edx, [esp + 0x2b]
lea ecx, [esi + 0x40]
push edx
mov byte [esp + 0x6f4], 0x13
call fcn.00404d60
lea eax, [esp + 0x23]
lea ecx, [esi + 0x50]
push eax
mov byte [esp + 0x6f4], 0x14
call fcn.00404d60
lea ecx, [esi + 0x6c]
mov byte [esp + 0x6f0], 0x15
call fcn.004019f0
mov edx, dword [esp + 0x700]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00405aa0
mov ecx, dword [esp + 0x1c]
mov edi, 0x4868b4
mov dword [esi + 0x64], ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 0x60], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4868b4
mov ecx, ebp
call fcn.00405aa0
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4868b4
lea ecx, [esi + 0x20]
call fcn.00405aa0
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4868b4
lea ecx, [esi + 0x30]
call fcn.00405aa0
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4868b4
lea ecx, [esi + 0x40]
call fcn.00405aa0
mov dword [esi + 0x68], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esp + 0x24], esi
jmp 0x4042d6
mov dword [esp + 0x24], ebx
mov esi, ebx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edx
mov edi, str.0.0.0.0
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 0x68], ebx
lea edx, [esi + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, edx
push ebp
mov byte [esp + 0x6f8], 1
mov dword [esp + 0x1c], edx
call fcn.00407310
test al, al
je 0x404345
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
mov esi, str.0.0.0.0
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add eax, 0x10
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0x24]
mov dword [eax + 8], ebp
add ebp, ecx
mov byte [ebp], bl
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esi + 0x50]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, edx
push ebp
mov dword [esp + 0x1c], edx
call fcn.00407310
test al, al
je 0x404396
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4868b4
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0x24]
mov dword [eax + 8], ebp
add ebp, ecx
mov byte [ebp], bl
mov edi, dword [esp + 0x700]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esi + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebp
push edi
mov dword [esp + 0x1c], edi
call fcn.00407310
test al, al
je 0x4043ea
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x700]
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov dword [ebp + 8], eax
mov ebp, dword [ebp + 4]
mov byte [ebp + eax], bl
add ebp, eax
mov ecx, esi
call fcn.00404cc0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, 0x486660
call fcn.00405ca0
jmp 0x404459
lea eax, [esp + 0x6f8]
mov ecx, 0x486638
push eax
call fcn.004096e0
mov ecx, dword [0x48663c]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x40443b
mov edx, dword [esp + 0x6f8]
mov esi, dword [eax + 0xc]
cmp edx, esi
jb 0x40443b
lea eax, [esp + 0x14]
jmp 0x404443
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ecx
je 0x404459
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, 0x486638
call fcn.00406990
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
je 0x40447c
mov al, byte [ecx - 1]
dec ecx
cmp al, bl
je 0x404473
cmp al, 0xff
je 0x404473
dec al
mov byte [ecx], al
jmp 0x40447c
push ecx
call fcn.00460f37
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
jmp 0x4049d8
mov eax, dword [0x486680]
cmp eax, ebx
je 0x4044c4
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x34]
push ecx
push 4
push edx
push ebp
call eax
test eax, eax
je 0x4044c4
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x80]
push 0x104
push eax
push ecx
push ebp
call dword [0x48667c]
jmp 0x40451f
lea edx, [esp + 0x80]
push 0x104
push edx
push ebp
call fcn.0045fd88
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40451f
lea eax, [esp + 0x80]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004023f0
mov edx, dword [esp + 0x24]
push 0x1fe
lea eax, [esp + 0x8c]
push edx
push eax
call fcn.004419a0
add esp, 0x14
lea ecx, [esp + 0x1c]
call fcn.004611cd
lea ecx, [esp + 0x6f8]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, 0x486660
call fcn.004062e0
mov eax, dword [0x486664]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x404861
push 0x90
call fcn.00460f0e
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0x6f0], 3
je 0x4046cf
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x6f8]
mov dl, byte [esp + 0x23]
mov dword [esp + 0x14], ecx
push ebx
mov ecx, esi
mov dword [esp + 0x20], eax
mov byte [esi], dl
call fcn.00405c50
lea ebp, [esi + 0x10]
lea eax, [esp + 0x23]
push eax
mov ecx, ebp
mov byte [esp + 0x6f4], 4
call fcn.00404d60
lea edx, [esp + 0x2b]
lea ecx, [esi + 0x20]
push edx
mov byte [esp + 0x6f4], 5
call fcn.00404d60
lea eax, [esp + 0x13]
lea ecx, [esi + 0x30]
push eax
mov byte [esp + 0x6f4], 6
call fcn.00404d60
lea edx, [esp + 0x3b]
lea ecx, [esi + 0x40]
push edx
mov byte [esp + 0x6f4], 7
call fcn.00404d60
lea eax, [esp + 0x1b]
lea ecx, [esi + 0x50]
push eax
mov byte [esp + 0x6f4], 8
call fcn.00404d60
lea ecx, [esi + 0x6c]
mov byte [esp + 0x6f0], 9
call fcn.004019f0
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call fcn.00405aa0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x64], eax
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 0x60], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4868b4
mov ecx, ebp
call fcn.00405aa0
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4868b4
lea ecx, [esi + 0x20]
call fcn.00405aa0
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4868b4
lea ecx, [esi + 0x30]
call fcn.00405aa0
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4868b4
lea ecx, [esi + 0x40]
call fcn.00405aa0
mov ebp, dword [esp + 0x24]
mov dword [esi + 0x68], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
jmp 0x4046d1
xor esi, esi
mov ecx, esi
mov byte [esp + 0x6f0], 1
call fcn.00404cc0
mov ecx, dword [esp + 0x6f8]
lea edi, [esp + 0x80]
mov dword [esp + 0x6c], ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x70], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40470d
push esi
call fcn.00403c00
add esp, 4
jmp 0x40474b
mov edi, dword [esp + 0x700]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esi + 0x20]
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x700]
not ecx
dec ecx
push ecx
push edi
mov ecx, edx
call fcn.00405aa0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x700]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00405aa0
cmp dword [esi + 0x38], ebx
jne 0x404803
mov al, byte [esp + 0x1b]
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
call fcn.00405c50
mov cl, byte [esp + 0x1b]
push ebx
mov byte [esp + 0x60], cl
lea ecx, [esp + 0x60]
mov byte [esp + 0x6f4], 0xa
call fcn.00405c50
lea edx, [esp + 0x3c]
mov byte [esp + 0x6f0], 0xb
push edx
push ebp
call fcn.00401520
add esp, 8
lea eax, [esp + 0x5c]
lea edx, [esp + 0x3c]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00404d80
call fcn.00403920
mov eax, dword [0x46c634]
add esp, 0x14
lea edx, [esp + 0x5c]
lea ecx, [esi + 0x30]
push eax
push ebx
push edx
call fcn.004058a0
mov eax, dword [0x46c634]
lea ecx, [esp + 0x3c]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004058a0
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x6f4], 0xa
call fcn.00405c50
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x6f4], 1
call fcn.00405c50
lea ecx, [esi + 0x20]
call fcn.00404ea0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0046123b
mov ecx, esi
mov byte [esp + 0x6f4], 0xc
call fcn.00404ea0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0046123b
lea ecx, [esp + 0x18c]
mov byte [esp + 0x6f8], 1
call fcn.00413dd0
lea edx, [esp + 0x6c]
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, 0x486660
call fcn.00405ca0
jmp 0x4049bf
lea ecx, [esp + 0x6f8]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x486638
call fcn.00406e60
lea eax, [esp + 0x6f8]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, 0x486660
call fcn.004062e0
mov eax, dword [0x486664]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x4049a2
mov esi, dword [ecx + 0x10]
cmp esi, ebx
je 0x4049a2
mov edx, dword [esp + 0x700]
push str.system
push edx
call fcn.004439d0
add esp, 8
test eax, eax
je 0x4049a2
cmp dword [esi + 0x18], ebx
jne 0x4048e9
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4048e9
push esi
call fcn.00403c00
add esp, 4
cmp dword [esi + 0x38], ebx
jne 0x4049a2
mov al, byte [esp + 0x1b]
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
call fcn.00405c50
mov cl, byte [esp + 0x1b]
push ebx
mov byte [esp + 0x60], cl
lea ecx, [esp + 0x60]
mov byte [esp + 0x6f4], 0xd
call fcn.00405c50
lea edx, [esp + 0x3c]
mov byte [esp + 0x6f0], 0xe
push edx
push ebp
call fcn.00401520
add esp, 8
lea eax, [esp + 0x5c]
lea edx, [esp + 0x3c]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00404d80
call fcn.00403920
mov eax, dword [0x46c634]
add esp, 0x14
lea ecx, [esp + 0x5c]
push eax
push ebx
push ecx
lea ecx, [esi + 0x30]
call fcn.004058a0
mov edx, dword [0x46c634]
lea eax, [esp + 0x3c]
push edx
push ebx
push eax
mov ecx, esi
call fcn.004058a0
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x6f4], 0xd
call fcn.00405c50
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x6f4], 1
call fcn.00405c50
mov eax, dword [0x48663c]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x4049bf
push ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x486638
call fcn.00406990
push ebp
call dword [0x46c1ec]
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x6f4], bl
call fcn.00405c50
lea ecx, [esp + 0x184]
mov dword [esp + 0x6f0], 0xffffffff
call fcn.00411d40
mov ecx, dword [esp + 0x6e8]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x6e4
ret