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

Disassembly:
push 0xffffffffffffffff
push 0x4e2407
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 0x40d300
sub eax, edx
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x80]
call fcn.004024d0
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.00413c10
mov ecx, dword [esp + 0x8c]
add ecx, 0xffffffff
cmp eax, ecx
jne 0x40d399
push ecx
mov ecx, esi
push ecx
xor ecx, ecx
lea esi, [esp + 0x20]
call fcn.00416b30
push 0xffffffffffffffff
push ebx
mov ecx, edi
mov byte [esp + 0xc4], 3
call fcn.00402090
mov byte [esp + 0xbc], 2
cmp dword [esp + 0x30], 8
jb 0x40d399
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b84d9
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.00402090
push 1
push 0x4f09a4
or ecx, 0xffffffff
lea edi, [esp + 0x80]
mov byte [esp + 0xc4], 4
call fcn.00413c10
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.00416b30
mov ecx, eax
mov byte [esp + 0xbc], 5
mov eax, dword [ecx + 0x14]
push str.QQPCMgr
mov edi, 7
call fcn.004146a0
test eax, eax
mov edi, 8
sete byte [esp + 0x17]
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], edi
jb 0x40d43f
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b84d9
add esp, 4
cmp byte [esp + 0x17], bl
lea esi, [esp + 0x18]
je 0x40d468
lea ecx, [esp + 0x78]
push ecx
mov ebx, 0x4f09a4
call fcn.00414530
add esp, 4
mov byte [esp + 0xbc], 6
jmp 0x40d577
push ebp
lea eax, [esp + 0x7c]
push eax
xor ecx, ecx
call fcn.00416b30
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0xc4], 7
call fcn.00402090
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], edi
jb 0x40d4a7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004b84d9
add esp, 4
push 1
push 0x4f09a4
or ecx, 0xffffffff
lea edi, [esp + 0x80]
call fcn.00413c10
mov edx, dword [esp + 0x8c]
lea ecx, [eax + 1]
push edx
mov eax, edi
push eax
lea esi, [esp + 0x20]
call fcn.00416b30
mov ecx, eax
mov byte [esp + 0xbc], 8
mov eax, dword [ecx + 0x14]
push str.QQPCMgr
mov edi, 7
call fcn.004146a0
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], 8
jb 0x40d513
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004b84d9
add esp, 4
cmp byte [esp + 0x17], bl
lea esi, [esp + 0x18]
je 0x40d55a
lea edx, [esp + 0x78]
push edx
mov ebx, 0x4f09a4
call fcn.00414530
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], 9
call fcn.00402090
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], 8
jb 0x40d5a0
mov eax, dword [esp + 0x1c]
push eax
jmp 0x40d598
lea ecx, [esp + 0x94]
push ecx
mov ebx, 0x4f09a8
call fcn.00414530
add esp, 4
mov byte [esp + 0xbc], 0xa
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x64]
call fcn.00402090
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x30], 8
jb 0x40d5a0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b84d9
add esp, 4
mov ebx, 2
push 0x4f09bc
mov eax, ebx
lea edx, [esp + 0x60]
call fcn.00416710
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d5f3
lea esp, [esp]
mov eax, 1
lea esi, [esp + 0x5c]
call fcn.00402140
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00402090
mov ebx, 2
push 0x4f09bc
mov eax, ebx
mov edx, esi
call fcn.00416710
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40d5c0
mov ebx, 2
push 0x4f09c4
mov eax, ebx
lea edx, [esp + 0x60]
call fcn.00416710
cmp eax, 0xffffffff
je 0x40d644
lea ecx, [ecx]
lea ebx, [eax + 1]
mov eax, 1
lea esi, [esp + 0x5c]
call fcn.00402140
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00402090
mov ebx, 2
push 0x4f09c4
mov eax, ebx
mov edx, esi
call fcn.00416710
cmp eax, 0xffffffff
jne 0x40d610
mov ebx, 2
push 0x4f09cc
mov eax, ebx
lea edx, [esp + 0x60]
call fcn.00416710
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d693
mov eax, 1
lea esi, [esp + 0x5c]
call fcn.00402140
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00402090
mov ebx, 2
push 0x4f09cc
mov eax, ebx
mov edx, esi
call fcn.00416710
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40d660
cmp dword [esp + 0x74], 8
mov ecx, dword [esp + 0x60]
jae 0x40d6a2
lea ecx, [esp + 0x60]
mov edi, dword [esp + 0x50]
push edi
call fcn.004099e0
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
test eax, eax
mov dword [esp + 0x54], 1
je 0x40d6ea
lea edx, [eax - 1]
test edx, edx
jl 0x40d996
cmp edx, eax
jg 0x40d996
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x40d6ea
cmp ax, 0x2f
je 0x40d6ea
mov edx, 0x4f09a4
call fcn.00413750
lea eax, [esp + 0x44]
push 0x5157b8
push eax
mov ebx, edi
call fcn.00416a70
push eax
lea ecx, [esp + 0x48]
push ecx
mov ebx, 0x4f09d4
mov byte [esp + 0xcc], 0xb
call fcn.00413810
lea edx, [esp + 0x48]
push 0x5157bc
push edx
mov ebx, eax
mov byte [esp + 0xd4], 0xc
call fcn.00416a70
push eax
lea eax, [esp + 0x50]
push eax
mov ebx, 0x4f09d4
mov byte [esp + 0xdc], 0xd
call fcn.00413810
lea ecx, [esp + 0x68]
push 0x5157c0
push ecx
mov ebx, eax
mov byte [esp + 0xe4], 0xe
call fcn.00416a70
push eax
lea edx, [esp + 0x78]
push edx
mov ebx, 0x4f09d4
mov byte [esp + 0xec], 0xf
call fcn.00413810
lea ecx, [esp + 0x70]
push 0x5157c4
push ecx
mov ebx, eax
mov byte [esp + 0xf4], 0x10
call fcn.00416a70
push eax
lea edx, [esp + 0x94]
push edx
mov ebx, 0x4f09a4
mov byte [esp + 0xfc], 0x11
call fcn.00413810
add esp, 0x40
mov byte [esp + 0xbc], 0x12
call fcn.004013f0
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 0x40d7e1
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 0x40d809
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 0x40d831
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 0x40d859
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 0x40d881
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 0x40d8a9
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 0x40d8d1
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 0x40d8f9
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 0x40d917
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004b84d9
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 0x40d947
mov edx, dword [esp + 0x60]
push edx
call fcn.004b84d9
add esp, 4
cmp dword [esp + 0x90], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], esi
mov word [esp + 0x60], si
jb 0x40d96a
mov eax, dword [esp + 0x7c]
push eax
call fcn.004b84d9
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.004b84de
add esp, 0xac
ret 4
push 0x80070057
call fcn.00401340
int3