Function at 0x439f10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e29c6
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
call fcn.004282c0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push 9
xor ebx, ebx
push ebx
push 0x4188b8
mov dword [esp + 0x2c], ebx
mov ecx, dword [edi + 0x230]
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x48], edi
call ecx
cmp eax, ebx
jne 0x43a215
lea edx, [esp + 0x8c]
push edx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x43a215
push 2
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x74]
call fcn.004370a0
mov dword [esp + 0x3a0], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1a0]
push edx
push eax
mov dword [esp + 0x4c], 0x100
mov edx, dword [edi + 0x278]
push ecx
call edx
sub eax, ebx
je 0x43a002
sub eax, 0xea
jne 0x43a1ef
inc dword [esp + 0x18]
jmp 0x439fc2
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 0x230]
push 9
push ebx
lea ecx, [esp + 0x198]
push ecx
push edx
mov dword [esp + 0x34], ebx
call eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x28], 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
lea edx, [esp + 0x34]
push edx
mov edx, dword [edi + 0x280]
lea eax, [esp + 0x2a0]
push eax
push ebx
push ecx
mov dword [esp + 0x44], 0x100
call edx
sub eax, 0
je 0x43a071
sub eax, 0xea
jne 0x43a190
inc ebx
jmp 0x43a030
cmp dword [esp + 0x28], 1
jne 0x43a121
cmp dword [esp + 0x24], 2
jb 0x43a121
push 2
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x54]
call fcn.004370a0
mov eax, dword [esp + 0x64]
mov byte [esp + 0x3a0], 1
mov edi, 0x10
test eax, eax
je 0x43a0c9
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x43a0bd
lea ecx, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov eax, dword [esp + 0x64]
cmp eax, 1
ja 0x43a0d3
call fcn.004ca9f0
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x43a0e1
lea eax, [esp + 0x54]
cmp byte [eax + 1], 0x3a
jne 0x43a0fc
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esi + 0xf0]
call fcn.00430d40
mov byte [esp + 0x3a0], 0
mov dword [esp + 0x4c], 0x41c480
cmp dword [esp + 0x68], edi
jb 0x43a126
mov eax, dword [esp + 0x54]
push eax
call fcn.004cada5
add esp, 4
jmp 0x43a126
mov edi, 0x10
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x43a14a
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], edi
jae 0x43a142
lea eax, [esp + 0x74]
push ecx
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x3c]
add esi, 0xf0
push edx
mov ecx, esi
call fcn.00437480
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
test eax, eax
je 0x43a172
cmp eax, esi
je 0x43a177
call fcn.004caf0d
cmp dword [esp + 0x3c], edi
je 0x43a182
mov byte [esp + 0x17], 1
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
inc ebx
jmp 0x43a030
sub eax, 0x19
jne 0x43a239
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x288]
push eax
call ecx
cmp byte [esp + 0x17], 0
jne 0x43a25a
mov edx, dword [esi + 0x108]
mov eax, dword [edx + 4]
add esi, 0xf0
push eax
mov ecx, esi
call fcn.00437b10
mov eax, dword [esi + 0x18]
inc dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
mov esi, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x439fc2
sub eax, 0x19
jne 0x43a201
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x288]
push ecx
call edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x3a0], 0xffffffff
call fcn.00447570
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.004cb3aa
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x6c], 0x41c480
jb 0x43a215
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004cada5
add esp, 4
jmp 0x43a215
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x288]
push edx
call eax
jmp 0x43a201