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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4927c6
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea eax, [esi + 0x40]
cmp eax, ebx
jne 0x4611fd
xor eax, eax
jmp 0x461200
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46170c
mov ecx, dword [esi + 0x60]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
push ebx
push 0x437
push ecx
mov dword [esp + 0x20], 0xffffffff
call edi
mov edx, dword [esi + 0x60]
push ebx
push ebx
push 0x303
push edx
call edi
cmp dword [esi + 0x88], ebx
jne 0x46125f
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x60]
push eax
push ebx
push 0xc2
push ecx
call edi
jmp 0x46170c
mov dl, byte [esp + 0x2b]
push ebp
push ebx
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], dl
call fcn.00461760
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x1b0], ebx
call fcn.00476580
cmp eax, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
jle 0x461668
jmp 0x4612a1
xor ebx, ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x88]
push eax
call fcn.004765d0
mov ebp, eax
mov ecx, ebp
mov dword [esp + 0x48], ebp
call fcn.00476580
mov ecx, dword [esp + 0x1b8]
push 0x5a
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xf4], 0xbc
mov dword [esp + 0xf8], 0x108
mov word [esp + 0x10c], 1
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
mov eax, dword [esi + 0x8c]
cmp eax, ebx
mov dword [esp + 0x40], ecx
jge 0x461313
mov byte [esp + 0x196], 0
mov dword [esp + 0x190], ebx
jmp 0x46132e
lea eax, [eax + eax*4]
mov byte [esp + 0x196], 4
lea eax, [eax + eax*8]
shl eax, 5
cdq
idiv ecx
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x461382
push ebx
mov ecx, ebp
call fcn.004765d0
mov ecx, eax
call fcn.00444450
and eax, 7
jne 0x461355
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jl 0x461336
jmp 0x461382
dec eax
je 0x461378
dec eax
je 0x46136c
sub eax, 2
jne 0x461382
mov word [esp + 0x104], 1
jmp 0x461382
mov word [esp + 0x104], 2
jmp 0x461382
mov word [esp + 0x104], 3
mov eax, dword [esi + 0x60]
lea edx, [esp + 0xec]
push edx
push 0
push 0x447
push eax
mov dword [esp + 0xfc], 0xbc
call edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
test eax, eax
jle 0x46163f
jmp 0x4613bc
mov ebp, dword [esp + 0x48]
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x1b0], 1
push ecx
mov ecx, ebp
call fcn.004765d0
mov ebp, eax
mov dword [esp + 0x78], 0x74
mov ecx, ebp
mov dword [esp + 0x7c], 0xc0000007
mov dword [esp + 0x80], 0
call fcn.00476580
lea eax, [eax + eax*4]
xor edx, edx
mov ecx, ebp
lea eax, [eax + eax*8]
shl eax, 5
div dword [esp + 0x40]
mov dword [esp + 0x84], eax
call fcn.00476100
mov ecx, ebp
mov dword [esp + 0x8c], eax
call fcn.004760f0
push eax
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CString::operator
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x461463
push 0x20
lea edx, [esp + 0x96]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x91], 0
or eax, 0x20000000
mov dword [esp + 0x7c], eax
mov ecx, ebp
call fcn.00444450
test al, 0x10
je 0x461476
or dword [esp + 0x80], 1
test al, 0x20
je 0x461482
or dword [esp + 0x80], 2
test al, 0x40
je 0x461496
mov eax, dword [esp + 0x80]
or al, 4
mov dword [esp + 0x80], eax
mov ecx, ebp
call fcn.00476110
mov ecx, dword [esi + 0x60]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x434
push ecx
call edi
mov ecx, ebp
call fcn.00444430
mov eax, dword [eax]
mov edx, dword [esi + 0x60]
push eax
push 0
push 0xc2
push edx
call edi
mov ecx, dword [esi + 0x60]
lea eax, [esp + 0x10]
push eax
push 0
push 0x437
push ecx
mov dword [esp + 0x24], 0xffffffff
call edi
mov eax, dword [esi + 0x60]
lea edx, [esp + 0x78]
push edx
push 1
push 0x444
push eax
call edi
test ebx, ebx
jbe 0x4615fc
mov eax, dword [esp + 0x1bc]
test eax, eax
je 0x4615fc
mov eax, dword [esp + 0x1c0]
test eax, eax
je 0x4615fc
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x434
push edx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x60]
push eax
push 0
push 0x436
push ecx
call edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x60]
push edx
push 0
push 0x436
push eax
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x60]
push ecx
push edx
push 0xd6
push eax
call edi
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x60]
lea edx, [esp + 0x70]
push ecx
push edx
push 0xd6
push eax
call edi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
cmp eax, ecx
jne 0x4615fc
mov eax, dword [esi + 0x8c]
test eax, eax
jg 0x46159f
mov ecx, ebp
call fcn.00476580
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x54]
add eax, ebp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
sub ecx, edx
mov dword [esp + 0x64], ebp
add ecx, edx
lea ebp, [eax + 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], ecx
mov edx, dword [ebp]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.00461760
mov dword [ebp], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x5c]
add eax, 8
push ecx
push eax
call fcn.00461a60
mov eax, dword [esp + 0x2c]
add esp, 8
inc eax
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lea edx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x60]
push edx
push 0
push 0x437
push eax
call edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x1b0], 0
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x4613b8
mov ecx, dword [esi + 0x60]
push 0x4af7d8
push 0
push 0xc2
push ecx
call edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x46129f
xor ebx, ebx
mov ecx, dword [esp + 0x1bc]
cmp ecx, ebx
je 0x4616c9
mov ebp, dword [esp + 0x1c0]
cmp ebp, ebx
je 0x4616c9
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
cmp eax, ebx
mov dword [ebp], ebx
jbe 0x4616c9
lea edx, [eax + eax*4]
shl edx, 2
push edx
call sub.MFC42u.DLL_operatornew
mov ecx, dword [esp + 0x24]
mov dword [ebp], eax
add esp, 4
mov eax, dword [ecx]
cmp eax, ecx
je 0x4616cd
xor edx, edx
mov ebx, dword [ebp]
mov edi, edx
lea esi, [eax + 8]
add edi, ebx
mov ecx, 5
add edx, 0x14
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jne 0x4616a9
jmp 0x4616cd
mov ecx, dword [esp + 0x20]
mov edi, ecx
pop ebp
mov esi, dword [edi]
cmp esi, edi
je 0x461703
mov eax, esi
mov esi, dword [esi]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x24]
add esp, 4
dec ecx
cmp esi, edi
mov dword [esp + 0x20], ecx
jne 0x4616d6
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret 0xc