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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x59d82f
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x6c]
call fcn.00496d90
fldz
fst dword [esp + 0x74]
mov edi, 0x10
fst dword [esp + 0x78]
mov dword [esp + 0x70], edi
fst dword [esp + 0x7c]
fstp dword [esp + 0x80]
push str.__DEFAULT
lea ecx, [esp + 0x70]
mov dword [esp + 0xc4], 0
call fcn.00497d30
fldz
fst dword [esp + 0x5c]
mov dword [esp + 0x70], edi
fld1
mov eax, dword [esp + 0x5c]
fst dword [esp + 0x60]
mov dword [esp + 0x74], eax
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
push ecx
mov dword [esp + 0x7c], ecx
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.font
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call fcn.00496da0
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004b8970
mov ebx, eax
test ebx, ebx
je 0x4b93eb
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004971d0
fld1
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call fcn.004f5880
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xc4], 1
call fcn.00497360
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 0
call fcn.00497320
fild dword [esp + 0x70]
sub esp, 0x10
mov ecx, ebx
fstp qword [esp + 8]
fld qword [0x5aa6d8]
fstp qword [esp]
call fcn.004f5950
call fcn.0055d2f0
fld qword [0x5aa6e0]
lea ecx, [esp + 0x74]
push ecx
sub esp, 8
lea edx, [esp + 0x68]
fstp qword [esp]
push edx
mov ecx, ebx
mov dword [esp + 0x80], eax
call fcn.004f5aa0
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x80], edx
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
cmp dword [esp + 0x70], 0
jne 0x4b93fa
mov dword [esp + 0x70], 0xc
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x5a8554
call fcn.00496da0
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x5b0938
mov byte [esp + 0xcc], 2
call fcn.00496da0
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
mov byte [esp + 0xcc], 0
call fcn.004b8670
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x5a8554
mov byte [esp + 0xc8], 3
call fcn.00496da0
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.label
mov byte [esp + 0xcc], 4
call fcn.00496da0
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
mov byte [esp + 0xcc], 3
call fcn.004b8670
push 1
mov byte [esp + 0xc4], 5
call fcn.004a0970
mov ecx, eax
call fcn.004a0990
mov bl, al
mov byte [esp + 0x40], bl
mov edx, dword [esp + 0x40]
push edx
call fcn.004a0970
mov ecx, eax
call fcn.004a0990
lea ecx, [esp + 0x30]
call fcn.00496eb0
test eax, eax
jbe 0x4b95eb
test bl, bl
je 0x4b95eb
push 0
lea ecx, [esp + 0x34]
call fcn.00497240
cmp al, 0x23
lea ecx, [esp + 0x30]
je 0x4b95ba
push str.0123456789.
call fcn.00496ed0
push eax
call fcn.0055e830
add esp, 8
lea ecx, [esp + 0x30]
mov ebx, eax
call fcn.00496eb0
cmp ebx, eax
je 0x4b95eb
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0xc8], 6
mov dword [esp + 0x4c], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0xcc], 7
mov dword [esp + 0x58], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0xd0], 8
mov dword [esp + 0x60], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0xd4], 9
mov dword [esp + 0x68], esp
call fcn.00496d90
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
mov byte [esp + 0xdc], 0xa
call fcn.004971d0
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0xdc], 0xb
call fcn.004988c0
mov ecx, eax
call fcn.004987f0
mov bl, 5
mov ecx, eax
mov byte [esp + 0xdc], bl
call fcn.004aa000
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xc4], 0xc
call fcn.00497360
mov byte [esp + 0xc0], bl
jmp 0x4b95e2
push 0xffffffffffffffff
push 1
lea edx, [esp + 0x48]
push edx
call fcn.00497b10
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xc4], 0xd
call fcn.00497360
mov byte [esp + 0xc0], 5
lea ecx, [esp + 0x40]
call fcn.00497320
fldz
sub esp, 0xc
fstp qword [esp + 4]
mov ecx, esp
mov dword [esp + 0x64], esp
push str.defflags
call fcn.00496da0
mov ecx, edi
call fcn.004b8570
call fcn.0055d2f0
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
sub esp, 0xc
mov ecx, esp
fstp qword [esp + 4]
mov dword [esp + 0x64], esp
push str.flags
call fcn.00496da0
mov ecx, edi
call fcn.004b8570
call fcn.0055d2f0
fldz
sub esp, 0xc
fstp qword [esp + 4]
mov ecx, esp
mov dword [esp + 0x64], esp
push str.padding
mov dword [esp + 0x58], eax
call fcn.00496da0
mov ecx, edi
call fcn.004b8570
call fcn.0055d2f0
fldz
sub esp, 0xc
fstp qword [esp + 4]
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x5ad0f4
mov dword [esp + 0x54], eax
call fcn.00496da0
mov ecx, edi
call fcn.004b8570
fstp dword [esp + 0x40]
fldz
sub esp, 0xc
fstp qword [esp + 4]
mov ecx, esp
mov dword [esp + 0x64], esp
push str.rotationOriginX
call fcn.00496da0
mov ecx, edi
call fcn.004b8570
call fcn.0055d2f0
fldz
sub esp, 0xc
fstp qword [esp + 4]
mov ecx, esp
mov dword [esp + 0x64], esp
push str.rotationOriginY
mov dword [esp + 0x4c], eax
call fcn.00496da0
mov ecx, edi
call fcn.004b8570
call fcn.0055d2f0
fldz
sub esp, 0xc
fstp qword [esp + 4]
mov ecx, esp
mov dword [esp + 0x64], esp
push str.rotationAlign
mov dword [esp + 0x48], eax
call fcn.00496da0
mov ecx, edi
call fcn.004b8570
call fcn.0055d2f0
push edi
mov ecx, esi
mov ebx, eax
call fcn.0049f9e0
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x14]
je 0x4b9804
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x18]
je 0x4b9804
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0x74]
mov dword [esi + 0x40], edx
call fcn.00496ed0
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x14]
push eax
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
push edx
push eax
push ecx
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.004971d0
mov ecx, esi
call fcn.004b8da0
fldz
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x44
jnp 0x4b9825
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x18]
mov dword [esp + 0x48], eax
push 0
mov edx, ebx
shr edx, 1
and edx, 0xffffff01
push edx
movzx eax, bl
and eax, 0xffffff01
push eax
mov dword [esp + 0x50], ecx
push 0x454f00
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.0049ed90
mov eax, ebx
push 0
shr eax, 3
and eax, 0xffffff01
push eax
shr ebx, 2
and ebx, 0xffffff01
push ebx
push 0x454f10
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.0049ed90
mov eax, dword [esp + 0x38]
fld dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004b8eb0
jmp 0x4b9825
lea ecx, [esp + 0x30]
call fcn.00496ed0
push eax
lea ecx, [esp + 0x38]
call fcn.00496ed0
push eax
push str.ERROR:_Attempting_to_create_text_window_of_size_0_0_:_named__s__label__s
call fcn.004dfae0
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0xc0], 3
call fcn.00497320
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 0
call fcn.00497320
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00497320
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4