Function at 0x4862b0
Capabilities:
Create directory

Disassembly:
push ecx
mov eax, dword [0x510ae0]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x4862d2
push ebx
push str.process_world_info___s_
call fcn.0043bb00
add esp, 8
mov eax, dword [0x5061ac]
and eax, 0xff
push eax
push ebx
call fcn.0047c110
and eax, 0xffff
push eax
call fcn.0047bee0
push eax
call fcn.004343a0
push 0x506d2d
call fcn.0042ad30
add esp, 0x14
test eax, eax
je 0x48631e
push ebp
mov dword [esp + 0x14], 1
call fcn.00410b20
push ebp
call fcn.004041a0
add esp, 8
jmp 0x486322
mov dword [esp + 0x10], ebp
cmp dword [0x506178], ebp
jne 0x486330
cmp dword [esp + 0x10], ebp
je 0x486335
call fcn.00432c60
push 0x506b2d
call fcn.00413870
mov eax, dword [0x50618c]
xor ecx, ecx
mov cl, byte [0x50618e]
xor edx, edx
mov dl, ah
push ecx
and eax, 0xff
push edx
push eax
call fcn.0041a6f0
mov eax, dword [0x506197]
mov ecx, dword [0x506193]
mov edx, dword [0x50618f]
push eax
push ecx
push edx
call fcn.0043a0f0
mov al, byte [0x50619d]
mov cl, byte [0x50619c]
mov dl, byte [0x50619b]
push eax
push ecx
push edx
call fcn.0043a140
mov al, byte [0x5061a0]
mov cl, byte [0x50619f]
mov dl, byte [0x50619e]
push eax
push ecx
push edx
call fcn.0043a1c0
xor eax, eax
mov ax, word [0x5061b1]
push eax
call fcn.0043ab70
mov cx, word [0x5061af]
mov eax, dword [0x5061a8]
mov dx, word [0x5061ad]
push ecx
and eax, 0xff
push edx
push eax
call fcn.00419640
add esp, 0x44
call fcn.0042ad00
push eax
call fcn.0041d4e0
xor ecx, ecx
mov cl, byte [0x5061a9]
push ecx
push 0x506c2d
call fcn.004332c0
push 0x50712d
call fcn.00466990
add esp, 0x10
mov edi, 0x50752d
mov esi, 0x5061e1
mov edx, dword [esi + 0x34]
mov eax, dword [esi]
mov ecx, dword [esi - 0xc]
push edx
mov edx, dword [esi - 0x18]
push eax
push ecx
lea eax, [edi + 0x300]
push edx
push eax
push edi
push ebp
call fcn.0041ed30
add esp, 0x1c
add esi, 4
inc ebp
add edi, 0x100
cmp esi, 0x5061ed
jl 0x48640e
mov eax, dword [0x506188]
mov esi, 0x2d
cmp eax, esi
jl 0x4864fc
mov edx, dword [0x5061c0]
xor ecx, ecx
mov cl, byte [0x5061c6]
mov eax, edx
push ecx
xor ecx, ecx
mov cl, byte [0x5061ba]
and eax, 0xff
push eax
mov eax, dword [0x5061c4]
push ecx
xor ecx, ecx
mov cl, ah
xor ebx, ebx
push ecx
xor ecx, ecx
mov cl, byte [0x5061bf]
and eax, 0xff
push ecx
mov ecx, dword [0x5061b8]
mov bl, ch
and ecx, 0xff
push ebx
push eax
xor eax, eax
mov al, byte [0x5061be]
push eax
mov eax, dword [0x5061bc]
push ecx
xor ecx, ecx
mov cl, byte [0x5061c3]
push ecx
xor ecx, ecx
mov cl, ah
and eax, 0xff
push ecx
xor ecx, ecx
mov cl, byte [0x5061b7]
push ecx
xor ecx, ecx
mov cl, byte [0x5061c2]
push ecx
push eax
xor eax, eax
xor ecx, ecx
mov al, byte [0x5061b6]
mov cl, dh
push eax
xor edx, edx
mov dl, byte [0x5061bb]
xor eax, eax
mov al, byte [0x5061b5]
push ecx
push edx
push eax
call fcn.00466590
mov ebx, dword [esp + 0x60]
add esp, 0x48
jmp 0x486501
call fcn.00466810
mov al, byte [0x5061a1]
test al, al
je 0x486573
mov edx, dword [0x506229]
mov eax, dword [0x5061f5]
xor ecx, ecx
mov cl, byte [0x5061a2]
push ecx
mov ecx, dword [0x5061f1]
push edx
mov edx, dword [0x5061ed]
push eax
xor eax, eax
mov al, byte [0x5061a6]
push ecx
push edx
push eax
mov eax, dword [0x5061a4]
xor ecx, ecx
mov cl, ah
and eax, 0xff
xor edx, edx
push ecx
mov dl, byte [0x5061a3]
push eax
mov eax, dword [0x5061f9]
push edx
push eax
push 0x50692d
push 0x50682d
push 0x50672d
push 0x50662d
call fcn.00480400
add esp, 0x38
jmp 0x486578
call fcn.004802e0
cmp dword [0x506188], esi
jl 0x4865b0
mov ecx, dword [0x5061c8]
mov eax, dword [0x506225]
xor edx, edx
and ecx, 0xff
mov dl, byte [0x5061c7]
push ecx
push edx
push eax
push 0x50732d
push 0x50722d
call fcn.0043a300
add esp, 0x14
jmp 0x4865b5
call fcn.0043a2c0
mov esi, 0x506e2d
mov eax, 0x50606c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4865e5
test cl, cl
je 0x4865df
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4865e5
add eax, 2
add esi, 2
test cl, cl
jne 0x4865bf
xor ebp, ebp
xor eax, eax
jmp 0x4865ec
sbb eax, eax
sbb eax, 0xffffffff
xor ebp, ebp
cmp eax, ebp
je 0x486626
push 1
push ebp
push ebp
push 0x506e2d
call fcn.00481a00
mov edi, 0x506e2d
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x50606c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x506211]
push ecx
push 0x50702d
call fcn.004439a0
push ebx
call fcn.0042ea30
add esp, 0xc
push eax
call fcn.00410b10
push eax
push str._scacheproperty_s
push 0x505c60
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x505c60
call dword [sym.imp.MSVCRT.dll__mkdir]
push 0x505c60
call fcn.0041ae50
mov al, byte [0x5061aa]
add esp, 0x18
test al, al
je 0x4866ca
call fcn.00475840
test eax, eax
jne 0x48668e
push 0x505c60
call fcn.004758c0
add esp, 4
cmp dword [0x506178], ebp
je 0x4866ac
mov al, byte [0x50742d]
test al, al
je 0x4866a2
push ebp
jmp 0x4866a4
push 1
call fcn.00472de0
add esp, 4
mov edx, dword [0x506201]
mov eax, dword [0x5061fd]
mov ecx, dword [0x50620d]
push edx
push eax
push ecx
call fcn.00475850
add esp, 0xc
jmp 0x4866cf
call fcn.00475680
cmp dword [0x506178], ebp
jne 0x4866eb
push 0x4a
call fcn.0040d2a0
mov ecx, dword [0x50617c]
add esp, 4
cmp ecx, eax
je 0x4866ff
call fcn.0041cab0
push 0x4a
call fcn.0040d2a0
add esp, 4
mov dword [0x50617c], eax
cmp dword [esp + 0x10], ebp
jne 0x48670e
call fcn.00462ba0
test eax, eax
jne 0x486713
call fcn.00460230
call fcn.004600f0
xor edx, edx
mov dx, word [0x5061b3]
push edx
call fcn.0047f210
add esp, 4
mov esi, 0x50622d
mov eax, 0x505d64
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x48675c
test cl, cl
je 0x486758
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x48675c
add eax, 2
add esi, 2
test cl, cl
jne 0x486734
xor eax, eax
jmp 0x486761
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x4868e8
mov eax, dword [0x506174]
cmp eax, ebp
je 0x486788
push eax
call fcn.00467630
add esp, 4
mov dword [0x506174], ebp
mov byte [0x505d64], 0
mov eax, dword [0x505c28]
cmp eax, ebp
je 0x4867a7
push eax
call fcn.004a8992
add esp, 4
mov dword [0x505c28], ebp
mov byte [0x505d64], 0
mov edi, 0x50622d
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4868e8
mov edi, dword [sym.imp.MSVCRT.dll_strncmp]
push 7
push str.noloop
push 0x50622d
call edi
add esp, 0xc
test eax, eax
jne 0x4867e4
mov esi, 0x506234
mov dword [0x507b3c], ebp
jmp 0x4867f3
mov esi, 0x50622d
mov dword [0x507b3c], 1
push 7
push str.http:__
push esi
call edi
add esp, 0xc
test eax, eax
je 0x48685a
push 6
push str.mms:__
push esi
call edi
add esp, 0xc
test eax, eax
je 0x48685a
push 8
push str.https:__
push esi
call edi
add esp, 0xc
test eax, eax
je 0x48685a
push 7
push str.mmst:__
push esi
call edi
add esp, 0xc
test eax, eax
je 0x48685a
push 0x50622d
call fcn.00466fa0
push 1
push 1
push ebp
push 0x50622d
call fcn.00467480
add esp, 0x14
mov dword [0x506174], eax
jmp 0x4868c3
call fcn.004299d0
test eax, eax
je 0x4868e8
push 0x20
push ebp
push esi
mov dword [0x505c28], 0xfffffffe
call fcn.004109d0
mov ecx, dword [0x505c28]
push eax
push ecx
call fcn.004a8c87
mov edx, dword [0x505c28]
push edx
call fcn.004a91d3
mov eax, dword [0x507b3c]
mov ecx, dword [0x505c28]
neg eax
sbb eax, eax
push ebp
and eax, 0xffff
push eax
push 0x20
push ebp
push ebp
push ebp
push ecx
call fcn.004a8e98
mov edx, dword [0x505c28]
push edx
call fcn.004a8457
add esp, 0x38
mov edi, 0x50622d
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x505d64
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret