Function at 0x442ca0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52742c
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
call fcn.004263d0
mov edi, eax
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
mov dword [esp + 0x24], edi
push eax
push 9
mov ecx, dword [edi + 0x478]
push 0
push 0x408a00
push reloc.WS2_32.dll_accept
call ecx
test eax, eax
jne 0x443063
lea eax, [esp + 0x184]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x443063
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
push 2
lea eax, [esp + 0x188]
mov dword [esp + 0x39c], 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0x408308
call fcn.00472770
mov dword [esp + 0x398], 1
xor ebx, ebx
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffA]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x90]
mov dword [esp + 0x90], 0x100
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x2c], ebx
push eax
mov eax, dword [edi + 0x4c0]
push ebx
push dword [esp + 0x54]
call eax
sub eax, 0
je 0x442dca
sub eax, 0xea
jne 0x443037
inc ebx
jmp 0x442d83
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
push 9
push 0
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x48]
mov eax, dword [edi + 0x478]
call eax
xor al, al
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], ebx
push 0
push 0
lea eax, [esp + 0x4c]
mov dword [esp + 0x18], ebx
push eax
push 0
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 0x100
push eax
lea eax, [esp + 0x298]
push eax
mov eax, dword [edi + 0x4c8]
push ebx
push dword [esp + 0x58]
call eax
sub eax, 0
je 0x442e3f
sub eax, 0xea
jne 0x442fea
inc ebx
jmp 0x442dfb
cmp dword [esp + 0x44], 1
jne 0x442f1a
cmp dword [esp + 0x40], 2
jb 0x442f1a
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
push 2
lea eax, [esp + 0x288]
mov byte [esp + 0x39c], 2
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x408308
call fcn.00472770
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x398], 3
test ecx, ecx
je 0x442eb3
cmp dword [esp + 0x7c], 0x10
lea eax, [esp + 0x68]
push ecx
cmovae eax, dword [esp + 0x6c]
push eax
call esi
mov ecx, dword [esp + 0x78]
cmp ecx, 1
jbe 0x443087
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x68]
cmp ecx, 0x10
cmovae eax, edx
cmp byte [eax + 1], 0x3a
jne 0x442efc
movzx eax, byte [0x5581b0]
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x68]
push eax
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [ecx + 0x48]
call fcn.0042ef10
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x68]
mov byte [esp + 0x398], 1
mov dword [esp + 0x64], 0x408308
cmp ecx, 0x10
jb 0x442f1a
push edx
call fcn.004f9345
add esp, 4
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x442f34
cmp dword [esp + 0x60], 0x10
lea eax, [esp + 0x4c]
push ecx
cmovae eax, dword [esp + 0x50]
push eax
call esi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.0042e7f0
mov esi, eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x20], eax
cmp esi, eax
je 0x442fb6
lea eax, [esi + 0x10]
test eax, eax
je 0x442f5e
add eax, 4
jmp 0x442f60
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov edi, dword [eax + 0x10]
jb 0x442f6b
mov eax, dword [eax]
cmp dword [esp + 0x60], 0x10
lea edx, [esp + 0x4c]
mov ebx, dword [esp + 0x5c]
mov ecx, edi
cmovae edx, dword [esp + 0x4c]
cmp ebx, edi
cmovb ecx, ebx
push ecx
push eax
push edx
call fcn.0042e950
add esp, 0xc
test eax, eax
jne 0x442f9e
cmp ebx, edi
jb 0x442fae
cmp ebx, edi
setne al
test eax, eax
mov ebx, dword [esp + 0x10]
js 0x442fb2
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x2c]
jmp 0x442fbe
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffA]
cmp eax, dword [edx + 0x48]
mov eax, 1
mov edi, dword [esp + 0x24]
movzx ecx, cl
cmovne ecx, eax
inc ebx
mov dword [esp + 0x1c], ecx
jmp 0x442dfb
sub eax, 0x19
jne 0x443048
push dword [esp + 0x3c]
mov eax, dword [edi + 0x2a8]
call eax
mov eax, dword [esp + 0x1c]
test al, al
jne 0x44303c
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
push dword [eax + 4]
call fcn.00427640
mov eax, dword [esi + 0x48]
mov ebx, dword [esp + 0x18]
inc ebx
mov dword [eax + 4], eax
mov eax, dword [esi + 0x48]
mov dword [eax], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 8], eax
mov dword [esi + 0x4c], 0
jmp 0x442d7d
sub eax, 0x19
jne 0x443048
push dword [esp + 0x38]
mov eax, dword [edi + 0x2a8]
call eax
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x48], 0x408308
jb 0x443063
push dword [esp + 0x4c]
call fcn.004f9345
add esp, 4
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.004f9e32
mov esp, ebp
pop ebp
ret
push 0x408500
call fcn.004f8977
int3