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

Disassembly:
push 0xffffffffffffffff
push 0x58d510
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edx, dword [0x604344]
mov ebx, ecx
mov ecx, dword [0x604340]
xor ebp, ebp
cmp dword [0x6041a4], 2
mov dword [esp + 0x18], ebx
jne 0x43322a
cmp ecx, 2
jne 0x433208
cmp edx, ebp
jne 0x43322a
cmp dword [0x603db4], 9
jne 0x433223
push 0x5d74dc
mov esi, 0x602250
call fcn.00409e30
add esp, 4
xor eax, eax
jmp 0x433b04
mov eax, dword [0x604244]
sub eax, dword [0x604240]
xor edi, edi
sar eax, 2
cmp eax, ebp
jle 0x4332bd
cmp edi, eax
jb 0x433247
call fcn.004a35f3
mov eax, dword [0x604240]
mov ecx, dword [eax + edi*4]
mov ecx, dword [ecx - 0xc]
lea esi, [eax + edi*4]
lea edx, [esp + 0x1c]
push edx
mov edx, ebx
call fcn.00408930
mov dword [esp + 0x78], ebp
mov esi, dword [esi]
xor eax, eax
cmp esi, ebp
setne al
cmp eax, ebp
je 0x433502
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.004a47ba
add esp, 8
cmp eax, ebp
je 0x43350c
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403090
mov eax, dword [0x604244]
sub eax, dword [0x604240]
inc edi
sar eax, 2
cmp edi, eax
jl 0x433240
mov edx, dword [0x604344]
mov ecx, dword [0x604340]
cmp ecx, ebp
je 0x43331d
cmp ecx, 1
je 0x4332cb
cmp ecx, 2
jne 0x4332cf
cmp edx, ebp
je 0x43331d
cmp edx, 1
jne 0x433613
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x60432c
push ecx
call fcn.00406380
mov dword [esp + 0x7c], 1
mov dword [esp + 0x7c], 0xffffffff
call fcn.00417da0
add esp, 4
cmp eax, ebp
je 0x433613
movzx edx, word [0x604330]
cmp edx, dword [0x603db0]
jne 0x433613
mov eax, dword [0x5ff398]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ff398
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x78], 3
mov eax, dword [0x5ff398]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ff398
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x78], 5
mov eax, dword [ebx]
sub eax, 0x10
call fcn.004066f0
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x78], 7
mov eax, dword [0x5ff398]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ff398
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x78], 9
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
call fcn.004156a0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
cmp ebx, ebp
jle 0x4333b7
cmp ebx, 0xffff
jl 0x4333bc
mov ebx, 0x50
mov edx, dword [esp + 0x30]
mov ebp, 0xf
mov eax, edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
lea esi, [eax + 1]
jmp 0x4333e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4333e0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x58]
call fcn.004027e0
mov byte [esp + 0x78], 0xa
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
call fcn.0043fd70
test eax, eax
je 0x433552
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.00402fe0
mov byte [esp + 0x78], 0xb
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.00406380
mov byte [esp + 0x7c], 0xc
mov byte [esp + 0x7c], 0xb
call fcn.00417da0
add esp, 4
test eax, eax
je 0x433543
cmp ebx, dword [0x603db0]
jne 0x433543
cmp dword [0x603db4], 9
jne 0x433483
mov edx, dword [esp + 0x1c]
push ebx
push edx
push 0x5d7530
mov esi, 0x602250
call fcn.00409e30
add esp, 0xc
mov byte [esp + 0x78], 0xa
lea eax, [esp + 0x1c]
push eax
call fcn.00403090
mov byte [esp + 0x78], 9
cmp dword [esp + 0x68], 0x10
jb 0x4334ab
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004a3142
add esp, 4
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0x78], 7
lea edx, [esp + 0x38]
push edx
call fcn.00403090
mov byte [esp + 0x78], 5
lea eax, [esp + 0x2c]
push eax
call fcn.00403090
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x24]
push ecx
call fcn.00403090
mov dword [esp + 0x78], 0xffffffff
lea edx, [esp + 0x30]
push edx
call fcn.00403090
xor eax, eax
jmp 0x433b04
push 0x80004005
call fcn.00401e70
cmp dword [0x603db4], 9
jne 0x43352c
mov edx, dword [esp + 0x1c]
push edx
push 0x5d751c
mov esi, 0x602250
call fcn.00409e30
add esp, 8
mov dword [esp + 0x78], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.00403090
jmp 0x433aff
mov byte [esp + 0x78], 0xa
lea eax, [esp + 0x1c]
push eax
call fcn.00403090
mov byte [esp + 0x78], 9
cmp dword [esp + 0x68], 0x10
jb 0x43356b
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004a3142
add esp, 4
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4335a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4335c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4335eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433613
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x603af0
mov dword [esp + 0x40], 0x603af0
call esi
mov dword [esp + 0x78], 0x11
push 0x603b24
mov dword [esp + 0x30], 0x603b24
call esi
mov byte [esp + 0x78], 0x12
cmp dword [0x603b20], 0
mov ebp, dword [esp + 0x18]
je 0x43391d
mov ecx, dword [0x603b1c]
mov esi, dword [0x603b08]
mov ebx, dword [ecx]
mov dword [esp + 0x30], esi
jmp 0x433670
mov edi, dword [0x603b1c]
test esi, esi
je 0x433682
cmp esi, dword [0x603b08]
je 0x433687
call fcn.004a35f3
cmp ebx, edi
je 0x43391d
mov edi, dword [ebp + 4]
test esi, esi
jne 0x433756
call fcn.004a35f3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4336ab
call fcn.004a35f3
mov eax, dword [ebx + 8]
xor ecx, ecx
add eax, 0x18
test edi, edi
setne cl
test ecx, ecx
je 0x433502
mov eax, dword [eax]
push edi
push eax
call fcn.004a4b4f
add esp, 8
test eax, eax
jne 0x43385d
test esi, esi
jne 0x43375d
call fcn.004a35f3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4336ed
call fcn.004a35f3
mov eax, dword [ebx + 8]
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x78], 0x13
test esi, esi
jne 0x433761
call fcn.004a35f3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x433719
call fcn.004a35f3
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x30]
mov edi, dword [eax + 0x1c]
add eax, 0x1c
mov dword [esp + 0x20], edx
test esi, esi
jne 0x433765
call fcn.004a35f3
cmp ebx, dword [esi + 0x14]
jne 0x43373c
call fcn.004a35f3
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
mov ecx, dword [ecx]
mov ebp, dword [eax + 0x1c]
add eax, 0x1c
mov dword [esp + 0x4c], ecx
test edi, edi
je 0x433769
mov edi, dword [edi]
jmp 0x43376b
mov eax, dword [esi]
jmp 0x4336a1
mov eax, dword [esi]
jmp 0x4336e3
mov eax, dword [esi]
jmp 0x43370f
mov esi, dword [esi]
jmp 0x433732
xor edi, edi
mov edx, dword [edi]
test ebp, ebp
je 0x433776
mov eax, dword [ebp]
jmp 0x433778
xor eax, eax
mov esi, dword [esp + 0x20]
mov eax, dword [eax]
push esi
mov esi, dword [esp + 0x1c]
push edx
push ecx
push eax
lea edi, [esp + 0x50]
call fcn.0043a700
mov ecx, dword [eax]
mov edi, dword [eax + 4]
add esp, 0x10
cmp ebp, ecx
je 0x4337a0
call fcn.004a35f3
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x433879
call fcn.004a35f3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4337bd
call fcn.004a35f3
mov eax, dword [ebx + 8]
mov esi, dword [eax + 0x30]
add eax, 0x1c
mov eax, dword [eax]
test ebp, ebp
je 0x4337d0
cmp ebp, eax
je 0x4337d5
call fcn.004a35f3
cmp edi, esi
jne 0x43383c
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x433880
call fcn.004a35f3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4337f6
call fcn.004a35f3
mov esi, dword [ebx + 8]
mov edi, dword [esi + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
add esi, 0x1c
push eax
push ecx
push edi
call fcn.0040c1a0
mov ecx, esi
mov ebp, eax
call fcn.0040c250
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push str.add_downloading_url:__s__file:__s
mov ecx, 0x603b54
call fcn.0040af00
add esp, 0xc
cmp dword [0x603e34], 0
jne 0x43388b
mov byte [esp + 0x78], 0x12
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
test esi, esi
jne 0x433887
call fcn.004a35f3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x433872
call fcn.004a35f3
mov ebx, dword [ebx]
jmp 0x433670
mov eax, dword [eax]
jmp 0x4337b3
mov eax, dword [eax]
jmp 0x4337ec
mov eax, dword [esi]
jmp 0x433868
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x433919
call fcn.004a35f3
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4338a8
call fcn.004a35f3
mov ebx, dword [ebx + 8]
add ebx, 0x4c
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor edx, edx
cmp eax, dword [0x603e34]
setl dl
cmp dword [0x603db4], 9
mov edi, edx
jne 0x4338e5
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push edi
push ecx
push str.CheckPassConnectCount
mov esi, 0x602250
call fcn.00409e30
add esp, 0xc
mov byte [esp + 0x78], 0x12
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edx
call esi
mov byte [esp + 0x78], 0x11
push 0x603b24
call esi
mov dword [esp + 0x78], 0xffffffff
push 0x603af0
call esi
mov eax, edi
jmp 0x433b04
mov eax, dword [eax]
jmp 0x43389e
mov eax, dword [0x603aec]
cmp eax, dword [0x603e0c]
jb 0x43395f
mov ecx, dword [0x603ae8]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x603ad0
call fcn.004388f0
mov eax, dword [0x603ae8]
mov dword [eax + 4], eax
mov eax, dword [0x603ae8]
mov dword [0x603aec], 0
mov dword [eax], eax
mov eax, dword [0x603ae8]
mov dword [eax + 8], eax
lea eax, [esp + 0x24]
push eax
mov eax, ebp
call fcn.00437720
mov esi, dword [esp + 0x24]
mov edi, dword [0x603ae8]
test esi, esi
je 0x433981
cmp esi, dword [0x603ad0]
je 0x433986
call fcn.004a35f3
mov ebx, dword [esp + 0x28]
cmp ebx, edi
jne 0x433b23
mov ecx, ebp
call fcn.00437580
mov ebx, eax
cmp ebx, ebp
je 0x433ac8
mov ecx, dword [ebp]
mov esi, dword [ebx]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4339f0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4339e5
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4339e5
call fcn.004066f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4339de
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [ebx], ebp
jmp 0x4339f0
mov edi, dword [ecx - 0xc]
push ecx
mov eax, ebx
call fcn.004033b0
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
mov esi, dword [ebx + 4]
lea ebp, [ebx + 4]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x433a4c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x433a41
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x433a41
call fcn.004066f0
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x433a35
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x433a4c
mov edi, dword [ecx - 0xc]
push ecx
mov eax, ebp
call fcn.004033b0
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 8]
mov esi, dword [ebx + 8]
lea ebp, [ebx + 8]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x433aac
cmp dword [esi + 0xc], 0
jl 0x433a9d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x433a9d
call fcn.004066f0
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x433a91
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x433aac
mov edi, dword [ecx - 0xc]
push ecx
mov eax, ebp
call fcn.004033b0
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0xc]
mov ebp, dword [esp + 0x18]
mov dword [ebx + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [ebx + 0x14], ecx
mov dl, byte [edi + 0x18]
mov byte [ebx + 0x18], dl
mov eax, dword [ebp]
push eax
push str.new_download_url:__s
mov ecx, 0x603b54
call fcn.0040af00
add esp, 8
mov byte [esp + 0x78], 0x11
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x603b24
call esi
mov dword [esp + 0x78], 0xffffffff
push 0x603af0
call esi
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004a314d
add esp, 0x68
ret
cmp dword [0x603e34], 0
je 0x433ade
test esi, esi
jne 0x433b86
call fcn.004a35f3
cmp ebx, dword [esi + 0x18]
jne 0x433b3f
call fcn.004a35f3
add ebx, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor ecx, ecx
cmp eax, dword [0x603e34]
setl cl
cmp dword [0x603db4], 9
mov edi, ecx
jne 0x433b76
mov edx, dword [ebp]
push edi
push edx
push str.2_CheckPassConnectCount
mov esi, 0x602250
call fcn.00409e30
add esp, 0xc
mov byte [esp + 0x78], 0x11
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4338fc
mov esi, dword [esi]
jmp 0x433b35