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

Disassembly:
push 0xffffffffffffffff
push 0x5a7ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
lea eax, [esp + 0x50]
mov dword [esp + 0x48], 0
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x50]
push edx
mov ecx, edi
call fcn.0055b2ac
mov eax, dword [esi + 0xb8]
mov ebx, dword [esi + 0xb4]
mov ebp, dword [esi + 0x13c]
sub eax, 0x10
push eax
call fcn.00402110
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x6c], 0
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x158]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x424]
sub eax, 0x10
push eax
mov dword [esp + 0x28], ecx
call fcn.00402110
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x6c], 1
mov eax, dword [esi + 0x428]
sub eax, 0x10
push eax
call fcn.00402110
add eax, 0x10
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x6c], 2
mov eax, dword [esi + 0x17c]
mov edx, dword [esi + 0x42c]
mov ecx, dword [esi + 0x180]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x184]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x194]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x190]
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x188]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x18c]
lea eax, [esi + 0xd0]
test eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
je 0x4d9308
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x74]
push eax
push ecx
call fcn.004d5070
push esi
call fcn.004ea4b0
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
push 0x434
call fcn.0055514b
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x6c], 3
je 0x4d9349
mov esi, eax
call fcn.004ace70
mov esi, eax
jmp 0x4d934b
xor esi, esi
test esi, esi
mov byte [esp + 0x6c], 2
mov eax, dword [edi + 0x54]
je 0x4d94f9
test eax, eax
jl 0x4d94f4
cmp eax, dword [edi + 0x64]
jge 0x4d94f4
mov ecx, dword [edi + 0x60]
lea eax, [ecx + eax*4]
lea edx, [esp + 0x18]
lea ecx, [esi + 0x178]
push edx
mov dword [eax], esi
call fcn.00402330
push edi
mov eax, ebx
lea edx, [esp + 0x54]
mov ecx, 0x54000000
call fcn.004ea870
mov eax, dword [esp + 0x74]
mov dword [esi + 0x3d8], eax
mov dword [esi + 0x13c], ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x58]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.0055c18a
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
mov dword [esi + 0x154], ecx
lea ecx, [esi + 0x424]
push edx
mov dword [esi + 0x158], eax
call fcn.00402330
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x428]
push eax
call fcn.00402330
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x42c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x17c], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x180], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x190], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x184], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x430], edi
mov edi, dword [esp + 0x18]
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], ecx
mov dword [esi + 0x194], edx
cmp dword [edi - 0xc], 0
jne 0x4d9466
mov eax, esi
call fcn.004ea970
jmp 0x4d9512
push 5
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x20]
call fcn.00414630
mov byte [esp + 0x6c], 4
push str.http:
mov ecx, eax
mov dword [esp + 0x4c], 1
call fcn.004043e0
test eax, eax
je 0x4d94b5
cmp dword [edi - 0xc], 0
jl 0x4d94b5
push 0x5e50f8
push edi
call fcn.0057781d
add esp, 8
test eax, eax
je 0x4d94b5
sub eax, edi
sar eax, 1
js 0x4d94b5
mov bl, 1
jmp 0x4d94b7
xor bl, bl
mov dword [esp + 0x6c], 2
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d94df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4d94ea
mov eax, esi
call fcn.004ea970
push edi
mov ebx, esi
call fcn.004eaa60
jmp 0x4d9512
call fcn.00555520
test eax, eax
jl 0x4d94f4
cmp eax, dword [edi + 0x64]
jge 0x4d94f4
mov ecx, dword [edi + 0x60]
mov edi, dword [esp + 0x18]
lea eax, [ecx + eax*4]
mov dword [eax], 0
mov byte [esp + 0x6c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d9537
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d955c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d9580
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4