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

Disassembly:
push 0xffffffffffffffff
push 0x4e22a7
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
xor ebx, ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
mov ebp, 7
mov eax, ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x40d550
sub eax, edx
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x80]
call fcn.00402530
mov dword [esp + 0xbc], 1
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
push 1
push 0x4f09a4
or ecx, 0xffffffff
mov edi, esi
mov byte [esp + 0xc4], 2
call fcn.00413e60
mov ecx, dword [esp + 0x8c]
add ecx, 0xffffffff
cmp eax, ecx
jne 0x40d5e9
push ecx
mov ecx, esi
push ecx
xor ecx, ecx
lea esi, [esp + 0x20]
call fcn.00416c10
push 0xffffffffffffffff
push ebx
mov ecx, edi
mov byte [esp + 0xc4], 3
call fcn.004020f0
mov byte [esp + 0xbc], 2
cmp dword [esp + 0x30], 8
jb 0x40d5e9
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b83e9
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x80]
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
call fcn.004020f0
push 1
push 0x4f09a4
or ecx, 0xffffffff
lea edi, [esp + 0x80]
mov byte [esp + 0xc4], 4
call fcn.00413e60
mov ebp, eax
mov eax, dword [esp + 0x8c]
push eax
mov edx, edi
lea ecx, [ebp + 1]
push edx
lea esi, [esp + 0x20]
call fcn.00416c10
mov ecx, eax
mov byte [esp + 0xbc], 5
mov eax, dword [ecx + 0x14]
push str.QQPCMgr
mov edi, 7
call fcn.004147c0
test eax, eax
mov edi, 8
sete byte [esp + 0x17]
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], edi
jb 0x40d68f
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b83e9
add esp, 4
cmp byte [esp + 0x17], bl
lea esi, [esp + 0x18]
je 0x40d6b8
lea ecx, [esp + 0x78]
push ecx
mov ebx, 0x4f09a4
call fcn.00414650
add esp, 4
mov byte [esp + 0xbc], 6
jmp 0x40d7c7
push ebp
lea eax, [esp + 0x7c]
push eax
xor ecx, ecx
call fcn.00416c10
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0xc4], 7
call fcn.004020f0
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], edi
jb 0x40d6f7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004b83e9
add esp, 4
push 1
push 0x4f09a4
or ecx, 0xffffffff
lea edi, [esp + 0x80]
call fcn.00413e60
mov edx, dword [esp + 0x8c]
lea ecx, [eax + 1]
push edx
mov eax, edi
push eax
lea esi, [esp + 0x20]
call fcn.00416c10
mov ecx, eax
mov byte [esp + 0xbc], 8
mov eax, dword [ecx + 0x14]
push str.QQPCMgr
mov edi, 7
call fcn.004147c0
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], 8
jb 0x40d763
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004b83e9
add esp, 4
cmp byte [esp + 0x17], bl
lea esi, [esp + 0x18]
je 0x40d7aa
lea edx, [esp + 0x78]
push edx
mov ebx, 0x4f09a4
call fcn.00414650
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], 9
call fcn.004020f0
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], 8
jb 0x40d7f0
mov eax, dword [esp + 0x1c]
push eax
jmp 0x40d7e8
lea ecx, [esp + 0x94]
push ecx
mov ebx, 0x4f09a8
call fcn.00414650
add esp, 4
mov byte [esp + 0xbc], 0xa
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x64]
call fcn.004020f0
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], 8
jb 0x40d7f0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b83e9
add esp, 4
mov ebx, 2
push 0x4f09bc
mov eax, ebx
lea edx, [esp + 0x60]
call fcn.004167f0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d843
lea esp, [esp]
mov eax, 1
lea esi, [esp + 0x5c]
call fcn.004021a0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004020f0
mov ebx, 2
push 0x4f09bc
mov eax, ebx
mov edx, esi
call fcn.004167f0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40d810
mov ebx, 2
push 0x4f09c4
mov eax, ebx
lea edx, [esp + 0x60]
call fcn.004167f0
cmp eax, 0xffffffff
je 0x40d894
lea ecx, [ecx]
lea ebx, [eax + 1]
mov eax, 1
lea esi, [esp + 0x5c]
call fcn.004021a0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004020f0
mov ebx, 2
push 0x4f09c4
mov eax, ebx
mov edx, esi
call fcn.004167f0
cmp eax, 0xffffffff
jne 0x40d860
mov ebx, 2
push 0x4f09cc
mov eax, ebx
lea edx, [esp + 0x60]
call fcn.004167f0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d8e3
mov eax, 1
lea esi, [esp + 0x5c]
call fcn.004021a0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004020f0
mov ebx, 2
push 0x4f09cc
mov eax, ebx
mov edx, esi
call fcn.004167f0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40d8b0
cmp dword [esp + 0x74], 8
mov ecx, dword [esp + 0x60]
jae 0x40d8f2
lea ecx, [esp + 0x60]
mov edi, dword [esp + 0x50]
push edi
call fcn.00409c00
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
test eax, eax
mov dword [esp + 0x54], 1
je 0x40d93a
lea edx, [eax - 1]
test edx, edx
jl 0x40dbe6
cmp edx, eax
jg 0x40dbe6
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x40d93a
cmp ax, 0x2f
je 0x40d93a
mov edx, 0x4f09a4
call fcn.004139a0
lea eax, [esp + 0x44]
push 0x5157d8
push eax
mov ebx, edi
call fcn.00416b50
push eax
lea ecx, [esp + 0x48]
push ecx
mov ebx, 0x4f09d4
mov byte [esp + 0xcc], 0xb
call fcn.00413a60
lea edx, [esp + 0x48]
push 0x5157dc
push edx
mov ebx, eax
mov byte [esp + 0xd4], 0xc
call fcn.00416b50
push eax
lea eax, [esp + 0x50]
push eax
mov ebx, 0x4f09d4
mov byte [esp + 0xdc], 0xd
call fcn.00413a60
lea ecx, [esp + 0x68]
push 0x5157e0
push ecx
mov ebx, eax
mov byte [esp + 0xe4], 0xe
call fcn.00416b50
push eax
lea edx, [esp + 0x78]
push edx
mov ebx, 0x4f09d4
mov byte [esp + 0xec], 0xf
call fcn.00413a60
lea ecx, [esp + 0x70]
push 0x5157e4
push ecx
mov ebx, eax
mov byte [esp + 0xf4], 0x10
call fcn.00416b50
push eax
lea edx, [esp + 0x94]
push edx
mov ebx, 0x4f09a4
mov byte [esp + 0xfc], 0x11
call fcn.00413a60
add esp, 0x40
mov byte [esp + 0xbc], 0x12
call fcn.00401410
mov byte [esp + 0xbc], 0x11
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 0x10
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 0xf
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 0xe
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40daa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 0xd
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dad1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 0xc
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40daf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40db21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40db49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 8
cmp dword [esp + 0xac], ebx
jb 0x40db67
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004b83e9
add esp, 4
xor esi, esi
cmp dword [esp + 0x74], ebx
mov ebp, 7
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], esi
mov word [esp + 0x98], si
jb 0x40db97
mov edx, dword [esp + 0x60]
push edx
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0x90], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], esi
mov word [esp + 0x60], si
jb 0x40dbba
mov eax, dword [esp + 0x7c]
push eax
call fcn.004b83e9
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004b83ee
add esp, 0xac
ret 4
push 0x80070057
call fcn.00401350
int3