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

Disassembly:
push 0xffffffffffffffff
push 0x4f9510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
push edi
xor edi, edi
mov ebp, ecx
cmp esi, edi
mov dword [esp + 0x24], ebp
jne 0x46cd53
xor eax, eax
jmp 0x46d3be
call fcn.0043dad0
cmp dword [eax + 4], edi
je 0x46cd67
call fcn.0043dad0
mov dword [eax + 4], edi
jmp 0x46cd74
cmp dword [esp + 0x84], edi
je 0x46ce92
mov eax, dword [ebp + 8]
lea ebx, [ebp + 4]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.004dfd50
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.00441350
mov eax, dword [ebp + 0x18]
add ebp, 0x14
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, ebp
call fcn.004dfd50
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebp
call fcn.00440fa0
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
inc eax
lea edi, [eax + eax]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 8
test esi, esi
je 0x46cd4c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x80]
push eax
push ecx
push 0x46c610
call fcn.0041d460
mov ecx, eax
call fcn.00422710
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x80]
push edi
push 0x50f4e4
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push esi
push ebp
call fcn.0043dad0
mov ecx, eax
call fcn.0043f3b0
push esi
call fcn.004ba355
mov ebp, dword [esp + 0x28]
add esp, 4
mov esi, dword [ebp + 0x18]
mov eax, dword [esi]
cmp eax, esi
mov dword [esp + 0x84], eax
je 0x46ce82
add eax, 0xc
mov ecx, ebx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00441070
lea ecx, [esp + 0x84]
call fcn.00442660
mov eax, dword [esp + 0x84]
cmp eax, esi
jne 0x46ce5b
push edi
mov ecx, ebp
call fcn.0046c7f0
mov eax, dword [ebp + 0x10]
jmp 0x46d3be
mov eax, dword [ebp + 0x10]
cmp eax, 1
jae 0x46cea1
xor eax, eax
jmp 0x46d3be
mov cl, byte [esp + 0x80]
mov dword [esp + 0x64], edi
mov byte [esp + 0x60], cl
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov edx, dword [0x51c3d8]
mov ebx, dword [sym.imp.MSVCRT.dll_wcstok]
lea eax, [esp + 0x28]
mov dword [esp + 0x78], edi
push eax
push esi
mov dword [esp + 0x30], edx
call ebx
add esp, 8
cmp eax, edi
mov dword [esp + 0x2c], eax
je 0x46cf05
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.00456020
lea eax, [esp + 0x28]
push eax
push edi
call ebx
add esp, 8
cmp eax, edi
mov dword [esp + 0x2c], eax
jne 0x46cedf
mov ecx, dword [esp + 0x64]
cmp ecx, edi
jne 0x46cf13
mov dword [esp + 0x20], edi
jmp 0x46cf20
mov eax, dword [esp + 0x68]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x20], eax
mov cl, byte [esp + 0x80]
mov dl, byte [esp + 0x80]
mov byte [esp + 0x50], cl
lea ecx, [esp + 0x50]
mov byte [esp + 0x51], dl
mov byte [esp + 0x58], 1
call fcn.00442b50
mov eax, dword [ebp + 8]
mov byte [esp + 0x78], 1
mov dword [esp + 0x34], eax
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x46d295
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
jmp 0x46cf68
xor edi, edi
mov eax, dword [esp + 0x20]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x18], ebp
jle 0x46d26f
lea eax, [ecx + 0x228]
add ecx, 0x20
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x46d05d
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
add eax, 0x20
mov edx, dword [ecx + ebp*4]
push edx
push eax
call ebx
test eax, eax
je 0x46d05d
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
add eax, 0x228
add edi, 0x1f4
mov edx, dword [ecx + ebp*4]
push edx
push eax
call ebx
test eax, eax
je 0x46d19b
mov ecx, dword [esp + 0x14]
push 0x50f610
add ecx, 0x228
add edi, 0x64
push ecx
xor esi, esi
call ebx
test eax, eax
je 0x46d017
mov edx, dword [esp + 0x14]
push str.http:__www
add edx, 0x228
push edx
call ebx
test eax, eax
je 0x46d007
push str.http:__www
jmp 0x46d00c
push 0x50f610
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
add edx, 0x228
mov ecx, dword [eax + ebp*4]
push ecx
push edx
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push eax
call ebp
mov edx, eax
mov eax, dword [esp + 0x18]
add eax, 0x228
mov dword [esp + 0x34], edx
push eax
call ebp
mov ecx, dword [esp + 0x38]
add esp, 8
sub eax, ecx
cmp eax, esi
jl 0x46d104
jmp 0x46d0fe
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
add ecx, 0x228
mov eax, dword [edx + ebp*4]
push eax
push ecx
call ebx
test eax, eax
je 0x46d26f
mov edx, dword [esp + 0x14]
push 0x50f610
add edx, 0x228
add edi, 0x64
push edx
xor esi, esi
call ebx
test eax, eax
je 0x46d0c1
mov eax, dword [esp + 0x14]
push str.http:__www
add eax, 0x228
push eax
call ebx
test eax, eax
je 0x46d0b1
push str.http:__www
jmp 0x46d0b6
push 0x50f610
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
add eax, 0x228
mov edx, dword [ecx + ebp*4]
push edx
push eax
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov edx, eax
add ecx, 0x228
mov dword [esp + 0x34], edx
push ecx
call ebp
mov edx, dword [esp + 0x38]
add esp, 8
sub eax, edx
cmp eax, esi
jl 0x46d104
add edi, 0x3e8
test eax, eax
jle 0x46d197
mov ecx, dword [esp + 0x14]
test dword [ecx + 0x14], 0x4000000
je 0x46d133
mov ax, word [ecx + eax*2 + 0x226]
cmp ax, 0x2e
je 0x46d12d
cmp ax, 0x2f
jne 0x46d133
add edi, 0x2710
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
mov dword [esp + 0x18], ebp
jl 0x46cf7a
test edi, edi
jle 0x46d26f
cmp dword [ecx + 0x14], 0x8000
je 0x46d26f
mov dword [ecx + 0x18], edi
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov edx, dword [0x52a484]
mov esi, dword [edi + 4]
lea ebp, [eax + 0xc]
cmp esi, edx
mov al, 1
je 0x46d1a8
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add ecx, eax
mov eax, dword [esi + 0x1c]
mov edi, esi
add eax, dword [esi + 0x18]
cmp ecx, eax
seta al
test al, al
je 0x46d1a1
mov esi, dword [esi]
jmp 0x46d1a4
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x46d137
mov esi, dword [esi + 8]
cmp esi, edx
jne 0x46d182
mov cl, byte [esp + 0x58]
test cl, cl
je 0x46d1d7
lea ecx, [esp + 0x84]
lea edx, [esp + 0x38]
push ecx
push ebp
push edi
push esi
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x98], 1
call fcn.00442bf0
push eax
jmp 0x46d266
test al, al
mov dword [esp + 0x1c], edi
je 0x46d223
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x50]
push eax
call fcn.004dfd50
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
cmp ecx, edx
sete al
test al, al
je 0x46d21a
lea edx, [esp + 0x11]
lea eax, [esp + 0x40]
push edx
push ebp
push edi
push esi
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x25], 1
call fcn.00442bf0
push eax
jmp 0x46d266
lea ecx, [esp + 0x1c]
call fcn.004448f0
mov ecx, dword [esp + 0x1c]
push ebp
add ecx, 0xc
push ecx
lea ecx, [esp + 0x59]
call fcn.00441320
test al, al
je 0x46d257
lea edx, [esp + 0x12]
lea eax, [esp + 0x44]
push edx
push ebp
push edi
push esi
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x26], 1
call fcn.00442bf0
push eax
jmp 0x46d266
lea ecx, [esp + 0x13]
lea edx, [esp + 0x1c]
push ecx
mov byte [esp + 0x17], 0
push edx
lea ecx, [esp + 0x50]
call fcn.00444680
lea ecx, [esp + 0x14]
call fcn.00442e90
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
cmp ecx, eax
jne 0x46cf66
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x24]
xor edi, edi
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
mov dl, byte [esp + 0x58]
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
mov al, byte [ebp + 0xc]
mov byte [ebp + 0xc], dl
mov byte [esp + 0x58], al
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], ecx
push esi
mov ecx, ebp
mov dword [esp + 0x60], eax
call fcn.0046c7f0
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [ebp + 0x10]
cmp ecx, edi
mov eax, dword [esi]
mov byte [esp + 0x78], 0
mov dword [esp + 0x80], eax
je 0x46d328
mov ecx, eax
cmp eax, ecx
jne 0x46d328
mov edx, dword [esi + 4]
lea ecx, [esp + 0x50]
push edx
call fcn.00442b10
mov eax, dword [esp + 0x54]
mov ecx, dword [0x52a484]
lea edx, [esp + 0x84]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], edi
push edx
mov dword [eax], eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x54]
mov dword [eax + 8], eax
call fcn.004dfd50
jmp 0x46d358
cmp eax, esi
je 0x46d358
lea eax, [esp + 0x44]
push edi
push eax
lea ecx, [esp + 0x88]
call fcn.00440b80
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.004426b0
cmp dword [esp + 0x80], esi
jne 0x46d32c
mov eax, dword [esp + 0x54]
push eax
call fcn.004ba355
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edi
xor esi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x6002d4]
dec eax
mov dword [0x6002d4], eax
jne 0x46d395
mov esi, dword [0x52a484]
mov dword [0x52a484], edi
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, edi
je 0x46d3af
push esi
call fcn.004ba355
add esp, 4
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004ba355
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 8