Function at 0x41f1f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a301e
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x4c84d4]
xor eax, esp
mov dword [esp + 0x558], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c84d4]
xor eax, esp
push eax
lea eax, [esp + 0x570]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2f0]
test eax, eax
mov dword [esp + 0x28], esi
je 0x41fc6d
lea eax, [esp + 0xe4]
push eax
call fcn.0040cf80
lea eax, [esp + 0xe4]
mov dword [esp + 0x578], 0
call fcn.0045d9f0
mov ecx, dword [esi + 0x19c]
lea edx, [esp + 0xe4]
call fcn.0045dae0
mov eax, dword [esi + 0x2ec]
mov ebx, dword [eax]
lea ecx, [esi + 0x2e8]
mov ebp, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
lea ecx, [ecx]
test ebp, ebp
lea eax, [esi + 0x2e8]
mov esi, dword [eax + 4]
je 0x41f2a1
cmp ebp, eax
je 0x41f2a6
call fcn.0047ecbf
cmp ebx, esi
je 0x41f68a
test ebp, ebp
jne 0x41f2b7
call fcn.0047ecbf
cmp ebx, dword [ebp + 4]
jne 0x41f2c1
call fcn.0047ecbf
cmp dword [ebx + 0xc], 0xffffffff
je 0x41f670
push 0
push 0x4b00b4
lea eax, [esp + 0xec]
call fcn.0045da50
cmp ebx, dword [ebp + 4]
jne 0x41f2e8
call fcn.0047ecbf
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx + 4]
mov esi, 0x4b00b8
lea edx, [esp + 0xe4]
call fcn.0045db40
cmp ebx, dword [ebp + 4]
jne 0x41f309
call fcn.0047ecbf
mov eax, dword [ebx + 0x10]
add eax, 8
cmp dword [eax + 0x18], 0x10
jb 0x41f31a
mov eax, dword [eax + 4]
jmp 0x41f31d
add eax, 4
mov ecx, dword [esp + 0x11c]
test ecx, ecx
je 0x41f33b
push eax
push ecx
mov ecx, 0x4b00bc
lea edi, [esp + 0xec]
call fcn.0045ea70
cmp ebx, dword [ebp + 4]
jne 0x41f345
call fcn.0047ecbf
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
mov esi, str.ServerID
lea edx, [esp + 0xe4]
call fcn.0045db40
cmp ebx, dword [ebp + 4]
jne 0x41f366
call fcn.0047ecbf
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x28], 0
mov eax, 0x4b00cc
jne 0x41f379
mov eax, 0x4b00d0
mov ecx, dword [esp + 0x11c]
test ecx, ecx
je 0x41f3a2
push eax
push ecx
mov ecx, str.Selected
lea edi, [esp + 0xec]
call fcn.0045ea70
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x41f3b9
lea eax, [esp + 0xe4]
call fcn.0045d890
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x41f3d3
add dword [esp + 0x104], 1
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
cmp ebx, dword [ebp + 4]
jne 0x41f3dd
call fcn.0047ecbf
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x34]
mov esi, dword [ecx]
add eax, 0x30
mov ebp, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0x20]
cmp ebx, dword [edx + 4]
jne 0x41f400
call fcn.0047ecbf
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + 0x34]
add eax, 0x30
test ebp, ebp
je 0x41f411
cmp ebp, eax
je 0x41f416
call fcn.0047ecbf
cmp esi, edi
je 0x41f520
push 0
push 0x4b00e0
lea eax, [esp + 0xec]
call fcn.0045da50
test ebp, ebp
jne 0x41f43a
call fcn.0047ecbf
cmp esi, dword [ebp + 4]
jne 0x41f444
call fcn.0047ecbf
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
push 0xa
push 0x19
lea eax, [esp + 0xd0]
push eax
push edx
call fcn.00480cc9
mov ecx, dword [esp + 0x12c]
add esp, 0x10
test ecx, ecx
je 0x41f48b
lea eax, [esp + 0xc8]
push eax
push ecx
mov ecx, 0x4b00b8
lea edi, [esp + 0xec]
call fcn.0045ea70
mov ecx, dword [esp + 0x11c]
cmp esi, dword [ebp + 4]
jne 0x41f49c
call fcn.0047ecbf
mov ecx, dword [esp + 0x11c]
mov eax, dword [esi + 0x10]
add eax, 8
cmp dword [eax + 0x18], 0x10
jb 0x41f4ad
mov eax, dword [eax + 4]
jmp 0x41f4b0
add eax, 4
test ecx, ecx
je 0x41f4ce
push eax
push ecx
mov ecx, 0x4b00e4
lea edi, [esp + 0xec]
call fcn.0045ea70
mov ecx, dword [esp + 0x11c]
cmp esi, dword [ebp + 4]
jne 0x41f4df
call fcn.0047ecbf
mov ecx, dword [esp + 0x11c]
mov eax, dword [esi + 0x10]
add eax, 0x28
cmp dword [eax + 0x18], 0x10
jb 0x41f4f0
mov eax, dword [eax + 4]
jmp 0x41f4f3
add eax, 4
test ecx, ecx
je 0x41f50a
push eax
push ecx
mov ecx, 0x4b00bc
lea edi, [esp + 0xec]
call fcn.0045ea70
lea esi, [esp + 0x2c]
call fcn.00407400
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
jmp 0x41f3f2
mov ecx, dword [esp + 0x20]
cmp ebx, dword [ecx + 4]
jne 0x41f52e
call fcn.0047ecbf
mov esi, dword [ebx + 0x10]
mov edx, dword [esi + 0x40]
mov ebp, dword [edx]
add esi, 0x3c
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x20]
cmp ebx, dword [eax + 4]
jne 0x41f54f
call fcn.0047ecbf
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + 0x40]
add eax, 0x3c
test esi, esi
je 0x41f560
cmp esi, eax
je 0x41f565
call fcn.0047ecbf
cmp ebp, edi
je 0x41f5e6
push 0
push 0x4b00e8
lea eax, [esp + 0xec]
call fcn.0045da50
test esi, esi
jne 0x41f589
call fcn.0047ecbf
cmp ebp, dword [esi + 4]
jne 0x41f593
call fcn.0047ecbf
mov edx, dword [ebp + 0xc]
push 0xa
push 0x19
lea ecx, [esp + 0xd0]
push ecx
push edx
call fcn.00480cc9
mov eax, dword [esp + 0x12c]
add esp, 0x10
test eax, eax
je 0x41f5d0
lea ecx, [esp + 0xc8]
push ecx
push eax
mov ecx, 0x4b00b8
lea edi, [esp + 0xec]
call fcn.0045ea70
lea esi, [esp + 0x18]
call fcn.00407400
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x41f541
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x41f670
mov eax, dword [esp + 0x10c]
test eax, eax
mov edi, ecx
je 0x41f614
mov esi, dword [esp + 0x110]
mov edx, esi
sub edx, eax
sar edx, 5
cmp ecx, edx
jb 0x41f62e
call fcn.0047ecbf
mov ecx, dword [esp + 0x118]
mov esi, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
shl edi, 5
cmp dword [edi + eax + 0x14], 0
je 0x41f670
test eax, eax
mov dword [esp + 0x11c], ecx
mov edi, ecx
je 0x41f64e
sub esi, eax
sar esi, 5
cmp ecx, esi
jb 0x41f65a
call fcn.0047ecbf
mov eax, dword [esp + 0x10c]
shl edi, 5
mov edx, dword [edi + eax + 0x14]
sub dword [esp + 0x104], 1
mov dword [esp + 0x118], edx
lea esi, [esp + 0x20]
call fcn.00407400
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x41f290
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x2f8]
mov esi, dword [eax]
add ebx, 0x2f4
mov ebp, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebp
test ebp, ebp
mov edi, dword [ebx + 4]
je 0x41f6b1
cmp ebp, ebx
je 0x41f6b6
call fcn.0047ecbf
cmp esi, edi
lea eax, [esp + 0xe4]
je 0x41f89e
push 0
push 0x4ae378
call fcn.0045da50
test ebp, ebp
jne 0x41f6da
call fcn.0047ecbf
cmp esi, dword [ebp + 4]
jne 0x41f6e4
call fcn.0047ecbf
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
push 0xa
push 0x19
lea eax, [esp + 0xd0]
push eax
push edx
call fcn.00480cc9
mov ecx, dword [esp + 0x12c]
add esp, 0x10
test ecx, ecx
je 0x41f72b
lea eax, [esp + 0xc8]
push eax
push ecx
mov ecx, 0x4b00b8
lea edi, [esp + 0xec]
call fcn.0045ea70
mov ecx, dword [esp + 0x11c]
cmp esi, dword [ebp + 4]
jne 0x41f73c
call fcn.0047ecbf
mov ecx, dword [esp + 0x11c]
mov eax, dword [esi + 0x10]
add eax, 8
cmp dword [eax + 0x18], 0x10
jb 0x41f74d
mov eax, dword [eax + 4]
jmp 0x41f750
add eax, 4
test ecx, ecx
je 0x41f76e
push eax
push ecx
mov ecx, 0x4b00bc
lea edi, [esp + 0xec]
call fcn.0045ea70
mov ecx, dword [esp + 0x11c]
cmp esi, dword [ebp + 4]
jne 0x41f77f
call fcn.0047ecbf
mov ecx, dword [esp + 0x11c]
mov eax, dword [esi + 0x10]
add eax, 0x24
cmp dword [eax + 0x18], 0x10
jb 0x41f790
mov eax, dword [eax + 4]
jmp 0x41f793
add eax, 4
test ecx, ecx
je 0x41f7aa
push eax
push ecx
mov ecx, 0x4b00ec
lea edi, [esp + 0xec]
call fcn.0045ea70
cmp esi, dword [ebp + 4]
jne 0x41f7b4
call fcn.0047ecbf
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x40]
push 0xa
push 0x19
lea ecx, [esp + 0xd0]
push ecx
push eax
call fcn.00480cc9
mov eax, dword [esp + 0x12c]
add esp, 0x10
test eax, eax
je 0x41f7f4
lea ecx, [esp + 0xc8]
push ecx
push eax
mov ecx, 0x4b00f0
lea edi, [esp + 0xec]
call fcn.0045ea70
cmp esi, dword [ebp + 4]
jne 0x41f7fe
call fcn.0047ecbf
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
push 0xa
push 0x19
lea edx, [esp + 0xd0]
push edx
push ecx
call fcn.00480cc9
mov eax, dword [esp + 0x12c]
add esp, 0x10
test eax, eax
je 0x41f83e
lea edx, [esp + 0xc8]
push edx
push eax
mov ecx, str.ConnectTime
lea edi, [esp + 0xec]
call fcn.0045ea70
cmp esi, dword [ebp + 4]
jne 0x41f848
call fcn.0047ecbf
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x48]
push 0xa
push 0x19
lea eax, [esp + 0xd0]
push eax
push edx
call fcn.00480cc9
mov eax, dword [esp + 0x12c]
add esp, 0x10
test eax, eax
je 0x41f888
lea ecx, [esp + 0xc8]
push ecx
push eax
mov ecx, str.ResTime
lea edi, [esp + 0xec]
call fcn.0045ea70
lea esi, [esp + 0x18]
call fcn.00407400
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
jmp 0x41f6a6
lea esi, [esp + 0x134]
call fcn.00424940
lea ecx, [esp + 0xac]
mov byte [esp + 0x578], 1
call fcn.00443fb0
push eax
mov edi, str._service.xml
lea esi, [esp + 0x154]
mov byte [esp + 0x57c], 2
call fcn.0040a7e0
add esp, 4
mov byte [esp + 0x578], 4
cmp dword [esp + 0xc4], 0x10
jb 0x41f8fd
mov edx, dword [esp + 0xb0]
push edx
call fcn.00460054
add esp, 4
mov edi, 0xf
xor ebp, ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebp
mov byte [esp + 0xb0], 0
call fcn.0046ef4f
push ebp
push 0xffffffffffffffff
mov bl, 5
push ebp
lea ecx, [esp + 0xa4]
mov byte [esp + 0x584], bl
call fcn.00424880
mov byte [esp + 0x578], 6
mov eax, dword [esp + 0x154]
mov esi, 0x10
cmp dword [esp + 0x168], esi
jae 0x41f960
lea eax, [esp + 0x154]
lea ecx, [esp + 0x98]
push ecx
push 0x1001
push eax
lea ecx, [esp + 0x40]
call fcn.0046f334
test eax, eax
jne 0x41fb80
push ebp
push 0x400
lea edx, [esp + 0x174]
push edx
lea ecx, [esp + 0xa4]
call fcn.00470289
push 0x1c
push str.open_file_failed.error_info:
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebp
mov byte [esp + 0xd4], 0
call fcn.00408ca0
lea eax, [esp + 0x16c]
mov byte [esp + 0x578], 7
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41f9d4
sub eax, edx
push eax
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0xd0]
call fcn.004035a0
cmp dword [esp + 0xe0], esi
mov ecx, dword [esp + 0xcc]
jae 0x41fa0b
lea ecx, [esp + 0xcc]
mov eax, ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov byte [esp + 0x64], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x41fa20
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.00408ca0
mov byte [esp + 0x578], 8
push 0x20
push str.CSettingsManager::SaveServiceXML
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
call fcn.00408ca0
mov byte [esp + 0x578], 9
push 0xe
push str..Settings.cpp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
mov byte [esp + 0x50], 0
call fcn.00408ca0
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x48]
push 0x51f
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x584], 0xa
call fcn.00416c10
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x5c], esi
jb 0x41faca
mov eax, dword [esp + 0x48]
push eax
call fcn.00460054
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
jb 0x41faf0
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00460054
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebp
mov byte [esp + 0x80], 0
jb 0x41fb19
mov edx, dword [esp + 0x64]
push edx
call fcn.00460054
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov byte [esp + 0x64], 0
jb 0x41fb3f
mov eax, dword [esp + 0xcc]
push eax
call fcn.00460054
add esp, 4
mov byte [esp + 0x578], bl
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebp
mov byte [esp + 0xcc], 0
mov dword [esp + 0x98], vtable.CFileException.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41fbdb
cmp dword [esp + 0x14c], esi
mov eax, dword [esp + 0x138]
jae 0x41fb97
lea eax, [esp + 0x138]
mov ecx, dword [esp + 0x148]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.0046ec9d
lea ecx, [esp + 0x34]
call fcn.0046eeed
mov byte [esp + 0x578], bl
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
mov dword [esp + 0x98], vtable.CFileException.0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fbe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x578], 4
call fcn.0046f023
cmp dword [esp + 0x168], esi
jb 0x41fc11
mov ecx, dword [esp + 0x154]
push ecx
call fcn.00460054
add esp, 4
cmp dword [esp + 0x14c], esi
mov byte [esp + 0x154], 0
mov dword [esp + 0x164], ebp
mov dword [esp + 0x168], edi
jb 0x41fc40
mov edx, dword [esp + 0x138]
push edx
call fcn.00460054
add esp, 4
lea ecx, [esp + 0xe4]
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], ebp
mov byte [esp + 0x138], 0
mov dword [esp + 0x578], 0xffffffff
call fcn.0040c930
mov ecx, dword [esp + 0x570]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x558]
xor ecx, esp
call fcn.0047d992
add esp, 0x568
ret