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

Disassembly:
push 0xffffffffffffffff
push 0x44b151
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
mov eax, dword [0x462884]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1d0]
mov dword [esp + 0x1b8], eax
mov al, byte [esi + 8]
test al, 4
push edi
mov ebp, ecx
je 0x4114dc
test al, 0x10
jne 0x4114dc
mov edi, 1
mov dword [esp + 0x30], edi
xor ebx, ebx
jmp 0x4114e7
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov edi, 1
and al, 1
dec al
neg al
sbb eax, eax
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1dc]
cmp eax, ebx
je 0x41150e
push eax
call dword [0x44d330]
test eax, eax
mov dword [esp + 0x20], edi
jg 0x411512
mov dword [esp + 0x20], ebx
mov al, byte [esi + 9]
mov cl, al
and cl, 8
sub cl, 8
neg cl
sbb ecx, ecx
inc ecx
mov esi, ecx
mov dword [esp + 0x44], esi
jne 0x411532
test al, al
mov dword [esp + 0x18], ebx
jns 0x411536
mov dword [esp + 0x18], edi
cmp dword [esp + 0x1e4], ebx
mov edi, dword [esp + 0x1d8]
mov dword [esp + 0x28], ebx
jne 0x411553
cmp dword [esp + 0x1e8], ebx
je 0x41157f
cmp dword [esp + 0x1ec], ebx
je 0x41157f
mov edx, dword [esp + 0x1f4]
mov eax, dword [esp + 0x1f0]
push edx
push eax
push edi
call dword [0x44d5f8]
test eax, eax
je 0x41157f
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x18]
cmp esi, ebx
setne dl
cmp eax, ebx
mov ebx, dword [esp + 0x1e0]
setne al
lea ecx, [esp + 0x10]
push ecx
push edx
mov edx, edi
push eax
mov eax, dword [esp + 0x2c]
test eax, eax
setne cl
push ebx
push ecx
mov ecx, dword [edx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
call fcn.00411330
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41160a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
push edx
movzx eax, bl
push eax
push esi
sub esp, 0x10
mov ecx, edi
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.004113e0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41164f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
movzx eax, bl
push eax
push esi
sub esp, 0x10
mov ecx, edi
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.00411070
mov eax, dword [ebp + 0xc0]
test eax, eax
mov esi, dword [esp + 0x1d0]
je 0x411709
lea ecx, [esp + 0x34]
call fcn.00439934
test esi, esi
mov dword [esp + 0x1c8], 0
jne 0x411680
xor eax, eax
jmp 0x411683
mov eax, dword [esi + 4]
push eax
call dword [0x44d118]
push eax
lea ecx, [esp + 0x38]
call fcn.00439dd0
mov eax, dword [ebp + 0xc0]
test eax, eax
je 0x4116a1
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x38]
push eax
push edx
call fcn.0043a156
mov ecx, dword [edi]
mov ebx, dword [edi + 8]
mov edx, dword [edi + 0xc]
push 0xcc0020
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
push eax
push ecx
sub ebx, ecx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x44]
push ebx
sub edx, eax
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [0x44d114]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4116f5
mov ecx, dword [esp + 0x38]
push eax
push ecx
call dword [0x44d0ec]
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.00439e4e
mov edx, dword [ebp + 0x1c]
mov ebx, dword [0x44d5e8]
push 0
push 0
push 0x435
push edx
call ebx
push eax
call fcn.004301f6
push 0
push 0
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x1c]
push 0x431
push eax
call ebx
push eax
call fcn.004301f6
mov ecx, dword [ebp + 0x1c]
push 0
push 0
push 0x437
push ecx
mov dword [esp + 0x34], eax
call ebx
push eax
call fcn.004301f6
mov ebx, eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x411915
mov eax, dword [esp + 0x18]
test eax, eax
je 0x411841
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x41179b
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41179b
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x4117b1
mov edx, dword [ebp + 0xd4]
mov eax, dword [ebp + 0xd0]
push edx
push eax
jmp 0x4117a9
mov ecx, dword [ebp + 0xd0]
mov edx, dword [ebp + 0xd4]
push ecx
push edx
mov ecx, esi
push edi
call fcn.0043f5d2
mov eax, dword [esp + 0x44]
test eax, eax
je 0x411826
test ebx, ebx
jne 0x4117d0
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4117d0
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x411826
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
sub eax, 0xe
push 0xffffffffffffffff
mov dword [esp + 0x40], eax
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], edx
call dword [0x44d598]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0xd0]
mov edx, dword [ebp + 0xd4]
mov dword [esp + 0x34], eax
add eax, 2
push ecx
mov dword [esp + 0x40], eax
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0043f5d2
mov ecx, dword [ebp + 0xc4]
push ecx
push 0
push 0x75
lea edx, [esp + 0x54]
push edx
push esi
call fcn.00407b10
add esp, 0x14
jmp 0x411882
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41186c
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41186c
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x411882
mov eax, dword [ebp + 0xd4]
mov ecx, dword [ebp + 0xd0]
push eax
push ecx
jmp 0x41187a
mov edx, dword [ebp + 0xd0]
mov eax, dword [ebp + 0xd4]
push edx
push eax
mov ecx, esi
push edi
call fcn.0043f5d2
mov eax, dword [esp + 0x1e8]
test eax, eax
je 0x4118db
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4118ae
test esi, esi
mov edx, dword [esp + 0x1d4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [edx]
jne 0x411900
xor edi, edi
jmp 0x411903
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x41196e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 1
push edx
mov edx, dword [esp + 0x1dc]
push eax
mov eax, dword [edx]
push eax
push esi
call fcn.00411100
jmp 0x41196e
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x41196e
test esi, esi
mov edx, dword [esp + 0x1d4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [edx]
jne 0x411900
xor edi, edi
jmp 0x411903
mov edi, dword [esi + 4]
push 1
push ecx
push eax
mov eax, dword [ebx + 4]
push edi
push edx
push eax
call dword [0x44d034]
jmp 0x41196e
test ebx, ebx
je 0x411945
test esi, esi
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [eax]
jne 0x411932
xor eax, eax
jmp 0x411935
mov eax, dword [esi + 4]
push 1
push edx
push ecx
mov ecx, dword [ebx + 4]
push eax
push edi
push ecx
call dword [0x44d034]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41196e
mov edx, dword [ebp + 0xc4]
push edx
push 0x1e
call fcn.00407ab0
push eax
push 0
push 0x75
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.00407b10
add esp, 0x1c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x411a93
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CFont.0
push 0
lea ecx, [esp + 0x6c]
push ecx
push 0x154
push 0x29
mov dword [esp + 0x1d8], 1
mov dword [esp + 0x78], 0x154
call dword [0x44d5a0]
lea edx, [esp + 0x144]
push edx
call dword [0x44d11c]
push eax
lea ecx, [esp + 0x14]
call fcn.0043a0cd
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x28]
push 1
mov ecx, esi
mov edi, eax
call fcn.00439730
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4119ec
push 7
jmp 0x4119ee
push 0x11
call dword [0x44d554]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x1dc]
push eax
lea ecx, [esp + 0x20]
call fcn.00403730
mov ecx, dword [esp + 0x1d4]
mov dl, byte [ecx + 8]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esi]
xor eax, eax
and dl, 0x40
cmp dl, 0x40
mov edx, dword [ecx - 0xc]
setne al
mov byte [esp + 0x1c8], 2
dec eax
and eax, 0x40000
or eax, 0x25
push eax
lea eax, [esp + 0x5c]
push eax
push edx
push ecx
mov ecx, esi
call dword [ebx + 0x68]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x1c8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c8], 0xffffffff
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.0043a124
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1bc]
call fcn.00421828
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1bc
ret 0x28