Function at 0x4da930
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f3e1
mov eax, dword fs:[0]
push eax
mov eax, 0x11a0
call fcn.005382c0
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x11a8], esi
mov ecx, str.CombineClient.ini
mov eax, edi
xor ebx, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4da996
cmp dl, bl
je 0x4da992
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4da996
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4da976
xor eax, eax
jmp 0x4da99b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4da9a4
mov edi, str.PartyClient.zip
mov ecx, str.PartyClient.zip
mov eax, edi
jmp 0x4da9b0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4da9d0
cmp dl, bl
je 0x4da9cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4da9d0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4da9b0
xor eax, eax
jmp 0x4da9d5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4da9e4
lea ecx, [esi + 0x44]
mov dword [ebp - 0x11a4], ecx
jmp 0x4daa29
mov ecx, str.CenterClient.zip
mov eax, edi
jmp 0x4da9f0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4daa10
cmp dl, bl
je 0x4daa0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4daa10
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4da9f0
xor eax, eax
jmp 0x4daa15
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4daa1e
add esi, 0x2c
jmp 0x4daa21
add esi, 0x5c
mov ecx, esi
mov dword [ebp - 0x11a4], esi
mov dword [ebp - 0x11ac], ecx
cmp ecx, ebx
je 0x4daa38
call fcn.004f0b18
push 0x3ff
lea eax, [ebp - 0x110f]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x1110], bl
call fcn.00534b40
push 0x3ff
lea ecx, [ebp - 0x50f]
push ebx
push ecx
mov byte [ebp - 0x510], bl
call fcn.00534b40
push 0x7f
lea edx, [ebp - 0x10f]
push ebx
push edx
mov byte [ebp - 0x110], bl
call fcn.00534b40
push 0x3ff
lea eax, [ebp - 0x90f]
push ebx
push eax
mov byte [ebp - 0x910], bl
call fcn.00534b40
push 0x2e
push edi
call fcn.005383a0
sub eax, edi
push eax
lea ecx, [ebp - 0x110]
push edi
push ecx
call fcn.00537970
add esp, 0x44
call fcn.004e8a80
add eax, 0x148
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x4daac9
mov eax, dword [eax]
lea edx, [ebp - 0x110]
push edx
push eax
lea eax, [ebp - 0x1110]
push str._s_s.ini
push eax
call fcn.00535bfb
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp eax, ebx
je 0x4dab00
lea edx, [ebp - 0x910]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4daaf4
jmp 0x4dab2b
call fcn.004e8a80
add eax, 0x148
cmp dword [eax + 0x14], esi
jb 0x4dab11
mov eax, dword [eax]
push str.CombineClient.ini
push eax
lea ecx, [ebp - 0x910]
push 0x57a838
push ecx
call fcn.00535bfb
add esp, 0x10
push str.MODEL_CONFIG
lea edx, [ebp - 0x910]
push edx
lea ecx, [ebp - 0x11a0]
mov esi, 1
call fcn.004f1577
push ebx
push str.AD_SWITCH
lea ecx, [ebp - 0x11a0]
mov byte [ebp - 4], 1
call fcn.004f116f
mov ecx, dword [ebp - 0x11a8]
cmp eax, dword [ecx + 0x474]
je 0x4dab84
mov dword [ecx + 0x474], eax
cmp eax, ebx
jne 0x4dab76
xor esi, esi
xor eax, eax
cmp esi, ebx
sete al
push eax
push edi
call fcn.004da070
push str.PARTYCLIENT
lea ecx, [ebp - 0x1110]
push ecx
lea ecx, [ebp - 0x1158]
call fcn.004f1577
push 0x65c915
push 0x400
lea edx, [ebp - 0x510]
push edx
push str.exename
lea ecx, [ebp - 0x1158]
mov byte [ebp - 4], 2
call fcn.004f10ba
lea eax, [ebp - 0x510]
push eax
call fcn.004ee6fe
add esp, 4
test eax, eax
jne 0x4dac01
mov ecx, dword [ebp - 0x11a8]
push ebx
push edi
call fcn.004da070
push 0x65c915
push 0x400
lea ecx, [ebp - 0x510]
push ecx
push str.exename
lea ecx, [ebp - 0x1158]
call fcn.004f10ba
push 0x7f
lea edx, [ebp - 0x8f]
push ebx
push edx
mov byte [ebp - 0x90], bl
call fcn.00534b40
lea eax, [ebp - 0x510]
push 0x5c
push eax
call fcn.005383a0
add esp, 0x14
cmp eax, ebx
je 0x4dade1
inc eax
lea edx, [ebp - 0x90]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4dac38
lea ecx, [ebp - 0x510]
push ecx
call fcn.004ee6fe
add esp, 4
test eax, eax
je 0x4dadaa
cmp esi, ebx
je 0x4dadaa
lea edx, [ebp - 0x510]
push 0x2e
push edx
call fcn.005383a0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4dadaa
mov ecx, str..exe
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4daca1
cmp dl, bl
je 0x4dac9d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4daca1
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4dac81
xor eax, eax
jmp 0x4daca6
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4dacee
lea eax, [ebp - 0x90]
push eax
call fcn.004efce4
add esp, 4
test eax, eax
jne 0x4dacee
lea ecx, [ebp - 0x510]
push ecx
lea edx, [ebp - 0xd10]
push str.__s___pmc
push edx
call fcn.00535bfb
push ebx
push ebx
push 0x20
lea eax, [ebp - 0xd10]
push ebx
push eax
call fcn.004f0633
add esp, 0x20
jmp 0x4dadaa
mov ecx, str..dll
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4dad15
cmp dl, bl
je 0x4dad11
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4dad15
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4dacf5
xor eax, eax
jmp 0x4dad1a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4dadaa
mov esi, dword [ebp - 0x11a8]
add esi, 4
cmp dword [esi], ebx
jne 0x4dadaa
lea ecx, [ebp - 0x510]
push 0x5c
push ecx
call fcn.005383a0
add esp, 8
cmp eax, ebx
je 0x4dad46
mov byte [eax], bl
lea edx, [ebp - 0xd10]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x510]
push eax
call edi
push str.CreateObject
lea ecx, [ebp - 0x90]
push ecx
push esi
push ebx
call fcn.004da010
mov ecx, dword [esi]
mov edx, dword [ebp - 0x11a8]
add esp, 0x10
mov dword [edx + 8], eax
cmp ecx, ebx
je 0x4dada1
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0x67eb70
call edx
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0xd10]
push eax
call edi
lea ecx, [ebp - 0x1158]
mov byte [ebp - 4], 1
call fcn.004f12d2
lea ecx, [ebp - 0x11a0]
mov byte [ebp - 4], bl
call fcn.004f12d2
mov ecx, dword [ebp - 0x11a4]
mov dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x4daddd
call fcn.004f0b20
xor eax, eax
jmp 0x4dae17
lea ecx, [ebp - 0x1158]
mov byte [ebp - 4], 1
call fcn.004f12d2
lea ecx, [ebp - 0x11a0]
mov byte [ebp - 4], bl
call fcn.004f12d2
mov ecx, dword [ebp - 0x11a4]
mov dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x4dae14
call fcn.004f0b20
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 8