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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d765b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
mov esi, ecx
call fcn.005cb95c
mov edx, dword [esi + 0x1c]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
fld qword [0x5e9fd0]
fild dword [ebp + 0xc]
call fcn.005304c0
fstp qword [esp + 0x2c]
fild dword [esp + 0x6c]
fmul qword [esp + 0x2c]
call fcn.00530020
fld qword [0x5e7c10]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
fst qword [esp + 0x3c]
test ebx, ebx
mov ecx, 1
jle 0x49d9d5
cmp ebx, ecx
jl 0x49d9ed
mov eax, ecx
mov edi, 3
cdq
idiv edi
cmp edx, 2
jne 0x49d9c8
fmul qword [0x5e9fd8]
jmp 0x49d9ca
fadd st(0), st(0)
inc ecx
cmp ecx, ebx
jle 0x49d9b1
fstp qword [esp + 0x3c]
jmp 0x49d9ef
test ebx, ebx
fstp st(0)
jge 0x49d9ef
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
jmp 0x49d9ef
fstp st(0)
xor edi, edi
lea ecx, [esp + 0x7c]
push edi
push 1
push edi
call fcn.005b7fd9
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x7c]
push edx
mov ecx, ebx
mov dword [esp + 0xb4], edi
call fcn.005b7738
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], 0x5e7f28
push str.MS_Serif
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x190
push edi
push edi
push 5
push 0xa
mov byte [esp + 0xe8], 1
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
lea ecx, [esp + 0x78]
call fcn.005b7f6c
mov eax, dword [ebx]
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
sub edx, edi
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fdiv qword [esp + 0x2c]
fmul qword [0x5e7c48]
call fcn.00530020
mov edi, dword [esi + 0x44]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], eax
fild dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], 0
sub eax, ecx
mov ecx, dword [esi + 0x70]
fstp qword [esp + 0x44]
fld qword [0x5e7c38]
fdiv qword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0x40c38800
test ecx, ecx
fstp qword [esp + 0x54]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fdiv qword [esp + 0x2c]
fmul qword [0x5ec000]
fsubr qword [esp + 0x44]
fmul qword [0x5e7c48]
fmul qword [esp + 0x54]
fstp qword [esp + 0x14]
je 0x49dafd
fild dword [esp + 0x10]
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
fstp qword [esp + 0x1c]
fild dword [esp + 0x6c]
mov edx, dword [esi + 0xb0]
xor eax, eax
cmp edx, eax
mov dword [esp + 0x8c], eax
fdiv qword [esp + 0x2c]
mov dword [esp + 0x94], 8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], edx
fstp qword [esp + 0x2c]
fld qword [esi + 0x68]
jle 0x49dd49
fsub qword [esp + 0x3c]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x49db5a
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x49dc6d
jmp 0x49db6d
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x49dc6d
test ecx, ecx
je 0x49db82
mov eax, dword [esi + 0x58]
sub eax, ecx
add eax, edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jmp 0x49db86
fild dword [esp + 0x10]
fmul qword [0x5e7c48]
fld qword [0x5e7c38]
fdiv qword [esi + 0x68]
sub edx, dword [esp + 0x64]
mov dword [esp + 0x10], edx
fmul st(1)
fadd qword [esi + 0x60]
fstp qword [esp + 0x34]
fstp st(0)
fild dword [esp + 0x64]
fsubr qword [esp + 0x2c]
fild dword [esp + 0x10]
fmul qword [0x5e7c48]
fstp qword [esp + 0x5c]
fld qword [esp + 0x54]
fld st(0)
fmul qword [esp + 0x5c]
fsubr qword [esp + 0x34]
fdiv qword [esp + 0x54]
fcom qword [0x5e80d8]
fld st(0)
fnstsw ax
test ah, 1
je 0x49dc15
fsub qword [0x5e7c10]
call fcn.00530020
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x14]
fsub qword [esp + 0x14]
fmul qword [0x5e7c38]
fadd qword [0x5e7c18]
call fcn.00530020
fld qword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x49dc43
call fcn.00530020
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x14]
fsub qword [esp + 0x14]
fmul qword [0x5e7c38]
fadd qword [0x5e7c18]
call fcn.00530020
fld qword [esp + 0x14]
mov dword [esp + 0x2c], eax
fmul st(1)
fstp qword [esp + 0x14]
fstp st(0)
fmul qword [0x5e7c48]
call fcn.00530020
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
sub edi, eax
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
jmp 0x49df0f
mov eax, dword [esi + 0x58]
cmp edi, eax
je 0x49df13
sub edi, eax
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fld qword [0x5e7c38]
fdiv qword [esi + 0x68]
fstp qword [esp + 0x34]
fild dword [esp + 0x64]
fsubr qword [esp + 0x2c]
fmul qword [0x5e7c48]
call fcn.00530020
fcomp qword [0x5e80d8]
mov dword [esp + 0x28], eax
fnstsw ax
test ah, 1
je 0x49dd08
fld qword [esp + 0x1c]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 1
jne 0x49df13
fld qword [esp + 0x1c]
fsub qword [esp + 0x44]
fmul qword [0x5e7c48]
call fcn.00530020
inc eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
lea eax, [eax + eax*4]
fmul qword [esp + 0x34]
lea ecx, [eax + eax*4]
shl ecx, 2
fsubr qword [esp + 0x14]
mov dword [esp + 0x10], ecx
fstp qword [esp + 0x14]
fild dword [esp + 0x10]
fsubr qword [esp + 0x1c]
jmp 0x49df0f
fld qword [esp + 0x44]
fsub qword [esp + 0x1c]
fmul qword [0x5e7c48]
call fcn.00530020
mov dword [esp + 0x10], eax
lea eax, [eax + eax*4]
fild dword [esp + 0x10]
lea edx, [eax + eax*4]
shl edx, 2
fmul qword [esp + 0x34]
mov dword [esp + 0x10], edx
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fild dword [esp + 0x10]
fadd qword [esp + 0x1c]
jmp 0x49df0f
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x40
je 0x49de4f
fld qword [esi + 0x90]
fcomp qword [esi + 0x80]
fnstsw ax
test ah, 0x40
je 0x49de4f
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x49dd7e
test edi, edi
je 0x49df13
sub edi, eax
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fld qword [0x5e7c38]
fdiv qword [esi + 0x68]
fstp qword [esp + 0x34]
fild dword [esp + 0x64]
fsubr qword [esp + 0x2c]
fmul qword [0x5e7c48]
call fcn.00530020
fcomp qword [0x5e80d8]
mov dword [esp + 0x28], eax
fnstsw ax
test ah, 1
je 0x49de0e
fld qword [esp + 0x1c]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 1
jne 0x49df13
fld qword [esp + 0x1c]
fsub qword [esp + 0x44]
fmul qword [0x5e7c48]
call fcn.00530020
inc eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
lea eax, [eax + eax*4]
fmul qword [esp + 0x34]
lea eax, [eax + eax*4]
shl eax, 2
fsubr qword [esp + 0x14]
mov dword [esp + 0x10], eax
fstp qword [esp + 0x14]
fild dword [esp + 0x10]
fsubr qword [esp + 0x1c]
jmp 0x49df0f
fld qword [esp + 0x44]
fsub qword [esp + 0x1c]
fmul qword [0x5e7c48]
call fcn.00530020
mov dword [esp + 0x10], eax
lea eax, [eax + eax*4]
fild dword [esp + 0x10]
lea ecx, [eax + eax*4]
shl ecx, 2
fmul qword [esp + 0x34]
mov dword [esp + 0x10], ecx
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fild dword [esp + 0x10]
fadd qword [esp + 0x1c]
jmp 0x49df0f
fild dword [esp + 0x64]
fsubr qword [esp + 0x2c]
fld qword [esi + 0x80]
fmul qword [0x5e7c48]
fstp qword [esp + 0x5c]
fld qword [esp + 0x54]
fld st(0)
fmul qword [esp + 0x5c]
fchs
fdiv qword [esp + 0x54]
fcom qword [0x5e80d8]
fld st(0)
fnstsw ax
test ah, 1
je 0x49debc
fsub qword [0x5e7c10]
call fcn.00530020
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x14]
fsub qword [esp + 0x14]
fmul qword [0x5e7c38]
fadd qword [0x5e7c18]
call fcn.00530020
fld qword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x49deea
call fcn.00530020
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x14]
fsub qword [esp + 0x14]
fmul qword [0x5e7c38]
fadd qword [0x5e7c18]
call fcn.00530020
fld qword [esp + 0x14]
mov dword [esp + 0x2c], eax
fmul st(1)
fstp qword [esp + 0x14]
fstp st(0)
fmul qword [0x5e7c48]
call fcn.00530020
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
sub edi, eax
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xa0]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x20]
cmp eax, 1
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
jne 0x49e18b
mov eax, dword [esp + 0x28]
inc eax
test eax, eax
jl 0x49e18b
inc eax
mov dword [esp + 0x10], eax
fild dword [esi + 0x44]
push 8
fsubr qword [esp + 0x20]
call fcn.00530020
lea ecx, [esp + 0xa4]
push eax
push ecx
mov ecx, ebx
call fcn.005b7b1a
fild dword [esi + 0x44]
push 0x10
fsubr qword [esp + 0x20]
call fcn.00530020
push eax
mov ecx, ebx
call fcn.005b7b66
fld qword [esp + 0x3c]
fcomp qword [0x5e7c10]
fnstsw ax
test ah, 1
jne 0x49dfb6
fld qword [esp + 0x3c]
call fcn.00530020
mov ecx, eax
mov eax, 0x64
cdq
idiv ecx
neg edx
sbb edx, edx
neg edx
mov dword [esp + 0x4c], edx
fild dword [esi + 0x44]
fld qword [esp + 0x1c]
fsub qword [0x5ebff8]
fsub st(1)
call fcn.00530020
fld qword [esp + 0x1c]
fadd qword [0x5ebff8]
mov dword [esp + 0x88], eax
fsub st(1)
call fcn.00530020
mov edx, dword [0x87a768]
mov dword [esp + 0x90], eax
fstp st(0)
mov dword [esp + 0x28], edx
fld qword [esp + 0x14]
fcomp qword [0x5e80d8]
mov byte [esp + 0xb0], 2
fnstsw ax
test ah, 0x40
je 0x49e02c
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x49e02c
fld qword [esp + 0x14]
call fcn.00530020
push eax
lea eax, [esp + 0x2c]
push 0x619450
push eax
jmp 0x49e093
mov eax, dword [esp + 0x4c]
fld qword [esp + 0x14]
cmp eax, 1
jne 0x49e083
fcomp qword [0x5ebff0]
fnstsw ax
test ah, 0x41
jne 0x49e065
fld qword [esp + 0x14]
fcomp qword [0x5ebfe8]
fnstsw ax
test ah, 1
je 0x49e065
push 0
lea ecx, [esp + 0x2c]
push 0x619450
push ecx
jmp 0x49e093
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x30]
push str._.2f
push ecx
call fcn.005ad17a
add esp, 0x10
jmp 0x49e09b
call fcn.00530020
push eax
lea edx, [esp + 0x2c]
push 0x619450
push edx
call fcn.005ad17a
add esp, 0xc
mov ecx, dword [esp + 0x84]
mov eax, dword [ebx]
mov edx, dword [ecx + 0x15c4]
mov ecx, ebx
push edx
call dword [eax + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [ebx]
lea edi, [esp + 0x88]
push 1
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x68]
mov edi, dword [esi + 0xb8]
mov dword [esp + 0x2c], 1
cmp edi, 1
jle 0x49e151
mov dword [esp + 0x50], 0xa
fild dword [esp + 0x50]
fadd qword [esp + 0x1c]
fisub dword [esi + 0x44]
call fcn.00530020
mov ecx, eax
mov eax, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x44], ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
sub edx, eax
lea eax, [esp + 0x98]
neg edx
sbb edx, edx
and edx, 3
add edx, 9
push edx
push ecx
push eax
mov ecx, ebx
call fcn.005b7b1a
mov ecx, dword [esp + 0x44]
push 0x10
push ecx
mov ecx, ebx
call fcn.005b7b66
mov ecx, dword [esp + 0x50]
inc edi
mov dword [esp + 0x2c], edi
mov edi, dword [esi + 0xb8]
mov eax, dword [esp + 0x2c]
add ecx, 0xa
cmp eax, edi
mov dword [esp + 0x50], ecx
jl 0x49e0e5
fld qword [esp + 0x54]
fadd qword [esp + 0x14]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 1
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fadd qword [0x5e7c38]
fstp qword [esp + 0x1c]
call fcn.005b4761
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x49df54
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x68], edx
fld qword [esp + 0x5c]
mov dword [esi + 0x64], ecx
mov dword [esi + 0x6c], eax
call fcn.00530020
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x94], edx
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x74], esi
lea ecx, [esp + 0x74]
mov byte [esp + 0xb0], 3
call fcn.005b7fc3
mov dword [esp + 0x7c], esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0xb0], 4
call fcn.005b7fc3
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8