Function at 0x45e3e0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x49e5ab
push eax
mov dword fs:[0], esp
sub esp, 0xa60
push ebx
mov ebx, dword [esp + 0xa74]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45e42a
push 0x4a1868
push str.Too_many_controls.
mov ecx, 0x4c9718
call fcn.0042e960
jmp 0x461476
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45e457
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0048f1a7
add esp, 8
test eax, eax
je 0x45e411
add dword [ebx + 0x14], 0x3e8
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
lea ebp, [eax + edx*4]
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov edi, ebp
lea esi, [esp + 0x74]
mov dword [ebp + 0x10], eax
call fcn.00464550
mov al, byte [esp + 0xa84]
cmp al, 0x14
jne 0x45e498
or byte [ebp + 5], 0x80
mov byte [esp + 0xa84], 0x13
jmp 0x45e4b8
cmp al, 0x15
jne 0x45e4b0
mov byte [esp + 0xa84], 0x13
mov word [esp + 0x207], 0x301
jmp 0x45e4b8
cmp al, 0x13
jne 0x45e5ca
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45e4db
push 0x4a1868
push str.Too_many_tab_controls.
mov ecx, 0x4c9718
call fcn.0042e960
jmp 0x461476
mov esi, ebx
mov byte [ebp + 6], al
mov cl, byte [esi + 0xb8]
mov byte [ebp + 7], cl
mov bl, byte [esi + 0xb9]
mov ecx, esi
call fcn.00468b00
test eax, eax
je 0x45e501
push eax
push esi
call fcn.00468f30
mov al, byte [esp + 0xa84]
cmp dword [esi + 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, SysReAllocString
jne 0x45e598
cmp dword [esi + 0x78], ebx
jne 0x45e554
mov edx, dword [esi + 0x50]
mov eax, dword [0x4c9664]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4bea88]
call fcn.0049c7e0
mov ecx, dword [0x4c96c4]
push 0x60
push ecx
push eax
call edi
mov dword [esi + 0x78], eax
mov al, byte [esp + 0xa84]
cmp dword [esi + 0x7c], ebx
jne 0x45e58f
mov edx, dword [esi + 0x50]
mov eax, dword [0x4c9664]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4beaa8]
call fcn.0049c7e0
mov ecx, dword [0x4c96c4]
push 0x60
push ecx
push eax
call edi
mov dword [esi + 0x7c], eax
mov al, byte [esp + 0xa84]
mov edx, dword [esi + 0x78]
mov dword [esi + 0x80], edx
mov byte [ebp + 4], al
mov cl, byte [esi + 0x45]
or dword [esp + 0x74], 0x10000000
mov byte [esp + 0x205], cl
mov ecx, 0x20000
cmp al, 6
jne 0x45e611
or dword [esp + 0x74], 0x4000
cmp byte [esi + 0x44], 0
jne 0x45e62b
or dword [esp + 0x74], ecx
jmp 0x45e62b
cmp al, 0x19
jne 0x45e5f8
cmp dword [ebx + 8], 0
je 0x45e5ed
push 0x4a1868
push str.Too_many_status_bars.
mov ecx, 0x4c9718
call fcn.0042e960
jmp 0x461476
mov byte [ebp + 6], 0xff
mov esi, ebx
jmp 0x45e508
mov dl, byte [ebx + 0xb9]
mov byte [ebp + 6], dl
mov cl, byte [ebx + 0xba]
mov byte [ebp + 7], cl
mov esi, ebx
jmp 0x45e508
cmp byte [esi + 0x44], 0
je 0x45e61b
or dword [esp + 0x74], ecx
cmp al, 2
je 0x45e648
cmp al, 0x10
je 0x45e648
cmp al, 0x11
je 0x45e648
cmp al, 0x12
je 0x45e648
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x3c], 1
je 0x45e63c
mov edx, dword [esi + 0x54]
mov dword [ebp + 0x10], edx
mov ecx, dword [esi + 0x54]
mov dword [esp + 0xd0], ecx
jmp 0x45e658
mov byte [esp + 0x3c], 0
cmp al, 0x12
jne 0x45e658
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov ecx, 0x10000
cmp eax, 0x15
ja 0x45e754
jmp dword [eax*4 + 0x461494]
push 0
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0xa98]
push esi
call fcn.004620a0
test eax, eax
je 0x461476
mov cl, byte [esp + 0xa84]
mov eax, dword [esp + 0xd0]
cmp cl, 0xa
je 0x45e78c
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
setne al
mov byte [esp + 0x203], al
mov eax, dword [esp + 0xd4]
cmp eax, 0xff000000
jne 0x45e7bb
cmp cl, 0xb
je 0x45e7db
mov dword [esp + 0xd4], 0xffffffff
jmp 0x45e7db
cmp eax, 0xffffffff
jne 0x45e7db
mov eax, dword [esi + 0x5c]
cmp eax, 0xff000000
je 0x45e7db
cmp cl, 0x12
je 0x45e7db
cmp cl, 0x19
je 0x45e7db
mov dword [esp + 0xd4], eax
mov edi, dword [esp + 0x78]
cmp dword [esp + 0x9c], ebx
jne 0x45e81e
cmp dword [esp + 0xa0], ebx
jne 0x45e81e
fld dword [0x4beaa0]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jnp 0x45e81e
mov eax, dword [esp + 0xa8c]
mov ebx, 0x4bd324
call fcn.00409520
test eax, eax
jne 0x45e81e
xor ecx, ecx
jmp 0x45e828
mov ecx, edi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x80]
not eax
and eax, dword [esp + 0x7c]
mov ebx, edi
not ebx
and ebx, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x45e866.10
movzx edx, byte [eax + 0x461514]
jmp dword [edx*4 + 0x4614ec]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x10], ebx
jmp case.0x45e866.10
test bl, 1
je 0x45e896
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
mov dword [esp + 0x10], ebx
jmp case.0x45e866.10
and ebx, 0xfffffff0
or ebx, ecx
mov dword [esp + 0x10], ebx
jmp case.0x45e866.10
mov eax, ebx
and eax, 6
cmp al, 6
jne 0x45e8c0
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45e866.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45e866.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45e8ef
test edi, 0x10000
jne 0x45e8ef
or eax, 0x10000
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45e866.10
or ebx, 3
mov dword [esp + 0x10], ebx
jmp case.0x45e866.10
test bl, 1
je 0x45e91a
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
jmp case.0x45e866.10
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x10], ebx
jmp case.0x45e866.10
fld dword [0x4beaa0]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jnp 0x45e95a
mov ecx, dword [esp + 0xa8c]
push 0xa
push ecx
call fcn.0048eccb
mov edi, dword [esp + 0x80]
add esp, 8
test eax, eax
je 0x45e967
mov edx, edi
not edx
and edx, 4
or ebx, edx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45e866.10
not edi
and edi, 0x201040
or ebx, edi
mov dword [esp + 0x10], ebx
jmp case.0x45e866.10
or ebx, 0x4000000
cmp dword [esi + 0x60], 0
je 0x45e98e
test byte [ebp + 5], 0x20
je 0x45e997
cmp dword [ebp + 0x10], 0xff000000
je 0x45e9a7
or ebx, 0x2000
mov byte [esp + 0x205], 0
jmp 0x45e9ad
and ebx, 0xffffdfff
mov eax, SysReAllocString
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x9c], eax
je 0x45e9c7
and byte [esp + 0x208], 0xfe
cmp dword [esp + 0xa0], eax
je case.0x45e866.10
and byte [esp + 0x208], 0xfd
cmp byte [esp + 0xa84], 4
jne 0x45eb93
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jne 0x45eb93
test byte [ebp + 5], 1
jne 0x45eb93
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x45ea18
cmp word [eax + 2], 0
jne 0x45ea18
xor eax, eax
mov word [esp + 0x26c], ax
jmp 0x45ea30
lea edx, [esp + 0x26c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45ea21
mov ecx, dword [esp + 0xa8c]
push ecx
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x274]
call fcn.00474970
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1868
lea edx, [esp + 0x288]
push 0x4bd340
push edx
xor eax, eax
call fcn.00475120
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1868
lea eax, [esp + 0x280]
push 0x4ab954
push eax
xor eax, eax
call fcn.00475120
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1868
lea ecx, [esp + 0x280]
push 0x4a8e78
push ecx
xor eax, eax
call fcn.00475120
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1868
lea edx, [esp + 0x280]
push 0x4a9214
push edx
xor eax, eax
call fcn.00475120
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1868
lea eax, [esp + 0x280]
push 0x4ac1d8
push eax
xor eax, eax
call fcn.00475120
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1868
lea ecx, [esp + 0x280]
push 0x4bd344
push ecx
xor eax, eax
call fcn.00475120
add esp, 0x1c
cmp word [esp + 0x26c], 0
je 0x45eb83
mov edi, dword [0x4c9728]
test edi, edi
je 0x45eb5f
jmp 0x45eb40
mov eax, dword [edi + 4]
lea edx, [esp + 0x26c]
push edx
push eax
call fcn.0048deb9
add esp, 8
test eax, eax
je 0x45eb85
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x45eb40
push 0
push 0
lea ecx, [esp + 0x274]
push ecx
mov ecx, 0x4c9718
call fcn.004205e0
test eax, eax
je 0x45eb83
cmp dword [eax + 0x14], 4
jg 0x45eb83
mov edi, eax
jmp 0x45eb85
xor edi, edi
mov esi, ebx
call fcn.004012d0
mov esi, dword [esp + 0xa80]
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.00468b00
mov edi, eax
xor ecx, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x264], ecx
mov dword [esp + 0xa78], ecx
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x45ebcd
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xa80]
mov ecx, dword [eax + 0x18]
lea esi, [ecx + edx*4 - 0x14]
jmp 0x45ebd4
lea esi, [esp + 0x258]
mov eax, SysReAllocString
mov dword [esp + 0x70], esi
cmp dword [esp + 0x94], eax
jne 0x45ecb4
cmp dword [esp + 0x98], eax
jne 0x45ecb4
test edi, edi
je 0x45ec40
mov al, byte [ebp + 7]
mov ecx, dword [esp + 0xa80]
call fcn.00468c80
test eax, eax
jne 0x45ec40
mov ebx, dword [esp + 0xa80]
mov edx, edi
lea edi, [esp + 0x64]
mov ecx, ebx
call fcn.00468d90
mov edx, dword [ebx + 0x78]
add edx, dword [esp + 0x64]
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x68]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
jmp 0x45ec6c
mov eax, dword [esp + 0xa80]
mov edx, dword [eax + 0x8c]
add edx, dword [eax + 0x84]
mov ecx, dword [eax + 0x80]
add edx, dword [eax + 0x7c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov ebx, eax
mov al, byte [esp + 0xa84]
cmp al, 1
je 0x45ec7b
cmp al, 0x17
jne 0x45ecb4
cmp dword [ebx + 0x10], 0
je 0x45ecb4
mov al, byte [esi + 4]
cmp al, 1
je 0x45ec8c
cmp al, 0x17
jne 0x45ecb4
mov al, byte [esi + 6]
cmp al, byte [ebp + 6]
jne 0x45ecb4
mov cl, byte [esi + 7]
cmp cl, byte [ebp + 7]
jne 0x45ecb4
mov edx, dword [0x4c96c4]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
mov cl, byte [esp + 0xa84]
cmp cl, 0xe
je 0x45ecce
cmp cl, 0xa
je 0x45ecce
cmp cl, 0xb
je 0x45ecce
xor al, al
jmp 0x45ecd0
mov al, 1
fld1
test al, al
sete byte [esp + 0x26]
cmp dword [esp + 0xa0], 0x80000000
mov byte [esp + 0x1e], al
jne 0x45ee91
fcom dword [esp + 0xa4]
fnstsw ax
test ah, 0x41
jne 0x45ee91
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x45ed17.4
movzx eax, byte [eax + 0x461554]
jmp dword [eax*4 + 0x461528]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4bea9c]
fstp dword [esp + 0xa4]
test al, 1
je 0x45ed3d
test al, 2
je 0x45eeb2
cmp byte [0x4ca3d2], 0
je 0x45eeb2
test eax, 0x400
jne 0x45eeb2
mov byte [esp + 0x26], 0
jmp 0x45eeb2
fstp st(0)
fld dword [0x4bea98]
fstp dword [esp + 0xa4]
jmp 0x45eeb2
fstp st(0)
fld dword [0x4bea94]
fstp dword [esp + 0xa4]
jmp 0x45eeb2
mov ecx, dword [esp + 0xa8c]
cmp word [ecx], 0
jne case.0x45ed17.4
test byte [esp + 0x10], 4
je case.0x45ed17.13
fstp st(0)
fld dword [0x4bea9c]
fstp dword [esp + 0xa4]
jmp 0x45eeb2
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x45ed61
mov edx, dword [esp + 0xa80]
mov eax, dword [edx + 0x50]
mov ecx, dword [0x4c9664]
imul eax, eax, 0x94
mov eax, dword [eax + ecx + 0x84]
mov edx, dword [0x4c96c4]
push 0x60
add eax, eax
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa0], eax
jmp 0x45eeb2
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45ee17
fld dword [0x4bea98]
fstp dword [esp + 0xa4]
jmp 0x45eeb2
push eax
mov eax, dword [esp + 0xc4]
call fcn.00468320
mov dword [esp + 0xa0], eax
jmp 0x45eeb2
test byte [esp + 0x10], 4
fstp st(0)
je 0x45ee48
fld dword [0x4bea98]
fstp dword [esp + 0xa4]
jmp 0x45eeb2
mov eax, dword [esp + 0xa80]
mov ecx, dword [eax + 0x50]
mov edx, dword [0x4c9664]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4c96c4]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa0], eax
jmp 0x45eeb2
fstp st(0)
fld dword [0x4bea90]
fstp dword [esp + 0xa4]
jmp 0x45eeb2
fstp st(0)
cmp cl, 7
je 0x45ee9d
cmp cl, 8
jne 0x45eeb2
cmp byte [0x4ca3d2], 0
je 0x45eeb2
or dword [esp + 0x10], 0x400
jmp 0x45eeb2
fstp st(0)
fldz
xor ebx, ebx
fld dword [esp + 0xa4]
mov dword [esp + 0x28], ebx
fcom st(1)
mov dword [esp + 0x48], ebx
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45f052
mov al, byte [esp + 0xa84]
cmp al, 3
je 0x45eee7
cmp al, 6
jbe 0x45eef6
cmp al, 8
ja 0x45eef6
fadd qword [0x4bea38]
fstp dword [esp + 0xa4]
jmp 0x45eef8
fstp st(0)
cmp byte [esp + 0x26], bl
je 0x45f033
mov esi, dword [esp + 0xa80]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c9664]
mov ebx, eax
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x90]
push edx
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x21c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0xa4]
fld st(0)
fld qword [0x4bea48]
fadd st(1), st(0)
fxch st(1)
call fcn.0049c7e0
fild dword [esp + 0x21c]
mov edi, eax
lea ecx, [edi - 1]
imul ecx, dword [esp + 0x22c]
fmulp st(2)
mov dword [esp + 0x64], ecx
fild dword [esp + 0x64]
faddp st(2)
faddp st(1)
call fcn.0049c7e0
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x45efa7.5
movzx edx, byte [eax + 0x461580]
jmp dword [edx*4 + 0x46156c]
mov eax, dword [0x4c96c4]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa0], eax
test dword [esp + 0x10], 0x100000
je case.0x45efa7.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0xa0], eax
jmp case.0x45efa7.5
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c9664]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4c96c4]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa0], eax
jmp case.0x45efa7.5
mov edx, dword [esi + 0x7c]
imul edx, edi
add dword [esp + 0xa0], edx
jmp case.0x45efa7.5
inc edi
imul edi, dword [esi + 0x7c]
add dword [esp + 0xa0], edi
jmp case.0x45efa7.5
cmp byte [esp + 0x1e], bl
jne case.0x45efa7.5
mov eax, dword [0x4c96c4]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa0], eax
jmp case.0x45efa7.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x3e], 0
cmp dword [esp + 0xa0], eax
je 0x45f074
cmp dword [esp + 0x9c], eax
jne 0x45f6f3
mov eax, dword [esp + 0x44]
xor esi, esi
dec eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], 0x400
cmp eax, 0x16
ja case.0x45f09b.2
movzx ecx, byte [eax + 0x4615a4]
jmp dword [ecx*4 + 0x461598]
mov edx, dword [esp + 0xa8c]
cmp word [edx], si
je case.0x45f09b.2
cmp ebx, esi
jne 0x45f0ef
mov edi, dword [esp + 0xa80]
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4c9664]
imul ecx, ecx, 0x94
mov ebx, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x21c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [esp + 0x230]
add esi, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x60], esi
je 0x45f124
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0xa8c]
cmp word [edi], 0
je 0x45f161
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f136
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0xa
jne 0x45f161
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x21c]
add edx, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], 0x2c40
test ebx, ebx
jne 0x45f1a5
mov edi, dword [esp + 0xa80]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi + 0x50]
imul edx, edx, 0x94
mov ebx, eax
mov eax, dword [0x4c9664]
mov ecx, dword [edx + eax + 0x90]
push ecx
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x48], eax
mov al, byte [esp + 0xa84]
cmp al, 1
jne 0x45f1c6
or dword [esp + 0x18], 0x40
test byte [esp + 0x10], 0x80
je 0x45f1f4
or dword [esp + 0x18], 0x800
jmp 0x45f1f4
cmp al, 5
je 0x45f1ce
cmp al, 6
jne 0x45f1f4
lea edx, [esp + 0x21c]
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x230]
lea esi, [esi + eax + 2]
mov dword [esp + 0x60], esi
test dword [esp + 0x10], 0x800000
je 0x45f229
mov al, byte [esp + 0xa84]
cmp al, 1
je 0x45f20d
cmp al, 0x17
jne 0x45f229
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call edi
mov esi, eax
invalid