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

Disassembly:
push 0xffffffffffffffff
push 0x5234a8
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xdc]
mov esi, ecx
mov ecx, dword [esp + 0xd8]
lea ebp, [esi + 0x98]
mov dword [esp + 0x2c], eax
xor eax, eax
cmp dword [ebp], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x98], vtable.CPnxMutex.0
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], eax
jne 0x46cc8c
mov eax, 1
mov dword [esp + 0x9c], eax
mov dword [ebp], eax
test eax, eax
mov dword [esp + 0xd0], 0
je 0x46d4d9
mov edx, dword [esp + 0xe0]
mov dword [esi + 0xa0], ecx
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.0046bd50
mov edi, dword [esp + 0x18]
movzx ebx, ax
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push edi
mov ecx, esi
mov dword [esp + 0x34], ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x88]
mov ecx, esi
call edx
cmp bx, ax
jb 0x46cceb
mov dword [ebp], 0
jmp 0x46d4d4
test edi, edi
je 0x46cd04
mov ebp, 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x18], ebp
mov edi, ebp
jmp 0x46cd30
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x284]
cmp ecx, 1
mov eax, dword [eax + 0x288]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
jne 0x46cd2e
cmp eax, ecx
jne 0x46cd2e
mov ebp, ecx
mov dword [esp + 0x18], ecx
mov edi, ecx
jmp 0x46cd30
mov ebp, ecx
cmp dword [esp + 0xe8], 0
je 0x46cd42
push edi
mov ecx, esi
call fcn.0046b410
fld dword [esp + 0xe4]
push ecx
mov ecx, dword [esp + 0x30]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.0046aec0
mov edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0xc8]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
cmp dword [eax + 0x25c], 0
je 0x46cd91
test edi, edi
jne 0x46cd9e
cmp dword [eax + 0x390], 0
je 0x46cda8
test edi, edi
jne 0x46cda8
mov dword [esp + 0x14], 1
jmp 0x46cdb0
mov dword [esp + 0x14], 0
mov ecx, dword [eax + 0x258]
mov edx, dword [eax + 0x184]
mov eax, dword [esi]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x90]
push ebx
mov ecx, esi
call edx
push 2
push 0
push 0
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0046a7e0
movzx ecx, ax
mov eax, dword [esi + 0xac]
movzx ebx, bx
movzx ecx, cx
lea eax, [eax + ebx - 1]
cmp ecx, eax
jge 0x46cdfb
mov eax, ecx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x90]
mov ecx, esi
call eax
mov ecx, eax
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x390], 0
mov dword [esp + 0x1c], ecx
je 0x46ce6e
test edi, edi
jne 0x46ce6e
mov edx, dword [esp + 0xe0]
add edx, 1
mov dword [esp + 0x24], edx
mov dword [eax + 0x258], edi
jmp 0x46ced0
mov eax, dword [esi]
mov eax, dword [eax + 0x84]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call eax
mov cx, word [esp + 0x30]
cmp cx, word [esp + 0x28]
jb 0x46ceaa
mov edx, dword [esi]
mov eax, dword [edx + 0x88]
mov ecx, esi
call eax
movzx edx, word [esp + 0x24]
movzx ecx, ax
sub ecx, edx
cmp ebx, ecx
jl 0x46ceb7
mov eax, dword [esi + 0x7c]
mov dword [eax + 0x184], 0xffffffff
mov edx, dword [esi]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x90]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x394], 0
je 0x46cf82
test edi, edi
jne 0x46cf82
cmp dword [esp + 0x14], edi
je 0x46cefe
mov byte [esp + 0xa4], 0x20
mov byte [esp + 0xa5], 0x28
mov eax, dword [esp + 0x40]
cmp eax, ecx
je 0x46cf2e
push ecx
push eax
push str.Pages__d_to__d
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + eax + 0xb0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x46cf53
push eax
push 0x594230
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + eax + 0xac]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x46cf72
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + eax + 0xa4], 0x29
jmp 0x46cf82
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
push ecx
mov ecx, esi
call edx
fld dword [esp + 0xe4]
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0xcc]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov dword [esp + 0x54], ecx
fstp dword [esp]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x80]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x27c]
and dword [eax + 0x248], ecx
test edi, edi
jne 0x46d003
mov edx, dword [esi + 0x7c]
cmp dword [edx + 0x248], edi
je 0x46d003
xor al, al
jmp 0x46d008
mov eax, 1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 1
push eax
lea eax, [esp + 0xac]
push eax
push ecx
push edx
push edi
lea eax, [esp + 0x60]
push eax
push ebx
mov ecx, esi
call fcn.0046c670
mov ecx, dword [esi + 0x7c]
mov edx, dword [esp + 0x44]
mov dword [ecx + 0x258], edx
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x184], ecx
mov eax, dword [esi + 0x7c]
mov edx, dword [eax + 0x154]
mov ecx, dword [eax + 0x150]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 0x158]
xor ebx, ebx
cmp dword [eax + 0x170], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], edx
jne 0x46d08b
mov dword [eax + 0x154], ebx
mov eax, dword [esi + 0x7c]
mov dword [eax + 0x150], ebx
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x158], ebx
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
push 1
mov ecx, esi
call eax
fld dword [esi + 0xa8]
mov edx, dword [esi + 0x7c]
push eax
mov eax, dword [esi + 0xa4]
push 1
push ecx
fstp dword [esp]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esi + 0xa0]
push edx
push eax
push ecx
call fcn.00476a90
mov edx, dword [esi + 0x7c]
add esp, 0x20
cmp dword [edx + 0x2b0], 3
jne 0x46d0ed
cmp edi, ebx
jne 0x46d0ed
mov eax, dword [esi + 0xa4]
push 0xd8
push eax
call fcn.00475a90
add esp, 8
sub dword [esp + 0x54], eax
call fcn.0040928f
test eax, eax
je 0x46d12b
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
test al, al
je 0x46d12b
fld dword [esi + 0xa8]
mov edx, dword [esi + 0xa4]
mov eax, dword [esi + 0xa0]
push ecx
fstp dword [esp]
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
call fcn.004754d0
add esp, 0x10
cmp ebp, ebx
mov dword [esp + 0x14], ebx
jle 0x46d485
xor ebx, ebx
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
jle 0x46d472
fild dword [esp + 0x20]
fadd st(0), st(0)
fdiv qword [0x5355b8]
fstp dword [esp + 0x78]
jmp 0x46d160
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x60]
push eax
push edi
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
push ebp
push ecx
push edx
push ebx
mov ecx, esi
call fcn.0046b600
mov eax, dword [esi + 0xa4]
push 0xe
push eax
call fcn.00475a50
cdq
idiv ebp
mov ecx, dword [esi + 0xa4]
push 0xe
push ecx
mov edi, eax
call fcn.00475a90
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 0x10
fdiv dword [esp + 0x78]
call fcn.004e7d10
mov ecx, dword [esi + 0x7c]
cmp dword [ecx + 0x2b0], 2
mov edx, eax
mov dword [esp + 0x1c], edx
mov eax, ebp
jne 0x46d1f4
lea eax, [ebp - 1]
cmp eax, 1
jg 0x46d1f4
mov eax, 1
cmp dword [ecx + 0x28c], 0
jne 0x46d215
mov eax, dword [esp + 0x20]
imul eax, dword [esp + 0x14]
add eax, ebx
add eax, dword [esp + 0x30]
movzx ebp, ax
mov dword [esp + 0x28], ebp
jmp 0x46d229
imul eax, ebx
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x30]
movzx eax, ax
mov dword [esp + 0x28], eax
mov ebp, eax
cmp dword [esp + 0x18], 0
jne 0x46d2cf
cmp dword [ecx + 0x248], 0
je 0x46d2cf
cmp dword [esp + 0x44], 0
jne 0x46d2cf
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x88], edx
push 0
mov edx, edi
neg edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x6c]
push edx
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x9c], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x24]
push 0
push 1
lea ecx, [esp + 0xac]
push ecx
push edx
push 0
push 0
lea eax, [esp + 0x9c]
movzx ecx, bp
push eax
push ecx
mov ecx, esi
call fcn.0046c670
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov ecx, dword [esi + 0x7c]
cmp dword [ecx + 0x154], 0
jne 0x46d2e2
cmp dword [esp + 0x18], 0
jne 0x46d2f3
neg edx
push edx
neg edi
push edi
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esp + 0x44], 0
jne 0x46d459
mov eax, dword [esi]
mov edx, dword [eax]
push 2
push ebp
mov ecx, esi
call edx
sub eax, 1
je 0x46d352
sub eax, 2
mov eax, dword [esi + 0x7c]
je 0x46d332
mov edx, dword [eax + 0x1b8]
lea ecx, [eax + 0x194]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x1bc]
mov dword [esp + 0x58], ecx
jmp 0x46d36d
mov ecx, dword [eax + 0x354]
lea edx, [eax + 0x330]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x358]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], edx
jmp 0x46d371
mov eax, dword [esi + 0x7c]
mov edx, dword [eax + 0x2e0]
lea ecx, [eax + 0x2e4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x6c], edx
cmp dword [esp + 0x18], 0
mov edx, dword [eax + 0x214]
mov ebx, dword [eax + 0x210]
lea ecx, [eax + 0x1ec]
mov dword [esp + 0x40], edx
je 0x46d3b5
mov edi, dword [eax + 0x2c0]
mov ebp, dword [eax + 0x2c4]
xor edx, edx
cmp dword [eax + 0x25c], edx
mov eax, dword [eax + 0x2bc]
sete dl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edx
jmp 0x46d3e5
xor ebp, ebp
push 2
push ebp
mov dword [esp + 0x88], ecx
push ebp
mov ecx, esi
xor edi, edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x48], ebp
call fcn.0046a7e0
cmp word [esp + 0x28], ax
ja 0x46d455
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
push 1
push eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esi + 0x7c]
mov eax, dword [eax + 0x398]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x84]
push ebx
push ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [edx + 0x7c]
push eax
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x94]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
add ebx, 1
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
jl 0x46d160
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, ebp
mov dword [esp + 0x14], eax
jl 0x46d137
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x170], 0
jne 0x46d4b8
mov ecx, dword [esp + 0x94]
mov dword [eax + 0x154], ecx
mov edx, dword [esi + 0x7c]
mov eax, dword [esp + 0x70]
mov dword [edx + 0x158], eax
mov ecx, dword [esi + 0x7c]
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0x150], edx
cmp dword [esp + 0xe8], 0
je 0x46d4ca
push edi
mov ecx, esi
call fcn.0046b410
mov eax, dword [esp + 0x74]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004e2867
add esp, 0xc0
ret 0x18