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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x20]
push 0xbc
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
push 0
movaps xmmword [esp + 0x128], xmm0
push eax
movaps xmmword [esp + 0x13c], xmm0
movq qword [esp + 0x14c], xmm0
mov dword [esp + 0x12c], 0x28
call fcn.1012f3e0
mov eax, dword [ebp + 0x24]
add esp, 0xc
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x120]
push eax
push 2
push dword [esp + 0x14]
mov dword [esp + 0xe8], esi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [esp + 0x134]
xor esi, esi
mov edx, dword [esp + 0x13c]
mov ecx, dword [esp + 0x138]
sub edx, eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x140]
sub eax, ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
test edi, edi
je 0x100b9dc0
cmp dword [edi + 4], esi
je 0x100b9dc0
push 0x30
call fcn.1012d684
add esp, 4
mov esi, eax
push 0x30
push 0
push esi
call fcn.1012f3e0
add esp, 0xc
push edi
push esi
call sym.ExuiKrnln_X32.dll_RexcUnSkinToSkinInfo
mov eax, dword [esi + 4]
cmp eax, 0x2bc
jne 0x100b9dac
cmp dword [esi + 8], 0
lea edi, [esi + 0xc]
jle 0x100b9a39
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
test eax, eax
js 0x100b9a39
cmp eax, dword [edi]
jge 0x100b9a39
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + eax*4]
call fcn.100f4830
mov edx, eax
jmp 0x100b9a3b
xor edx, edx
lea ecx, [esp + 0x28]
call fcn.100f45a0
cmp dword [esi + 8], 1
jle 0x100b9a6c
mov eax, esi
mov ecx, 0x28
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0x50]
test eax, eax
js 0x100b9a6c
cmp eax, dword [edi]
jge 0x100b9a6c
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + eax*4]
call fcn.100f4830
jmp 0x100b9a6e
xor eax, eax
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.100f45a0
cmp dword [esi + 8], 2
jle 0x100b9aa4
mov eax, esi
mov ecx, 0x28
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0xa0]
test eax, eax
js 0x100b9aa4
cmp eax, dword [edi]
jge 0x100b9aa4
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + eax*4]
call fcn.100f4830
jmp 0x100b9aa6
xor eax, eax
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.100f45a0
cmp dword [esi + 8], 3
jle 0x100b9adc
mov eax, esi
mov ecx, 0x28
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0xf0]
test eax, eax
js 0x100b9adc
cmp eax, dword [edi]
jge 0x100b9adc
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + eax*4]
call fcn.100f4830
jmp 0x100b9ade
xor eax, eax
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.100f45a0
cmp dword [esi + 8], 4
jle 0x100b9b14
mov eax, esi
mov ecx, 0x28
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0x140]
test eax, eax
js 0x100b9b14
cmp eax, dword [edi]
jge 0x100b9b14
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + eax*4]
call fcn.100f4830
jmp 0x100b9b16
xor eax, eax
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.100f45a0
cmp dword [esi + 8], 5
jle 0x100b9b4c
mov eax, esi
mov ecx, 0x28
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0x190]
test eax, eax
js 0x100b9b4c
cmp eax, dword [edi]
jge 0x100b9b4c
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + eax*4]
call fcn.100f4830
jmp 0x100b9b4e
xor eax, eax
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.100f45a0
cmp dword [esi + 8], 6
jle 0x100b9b84
mov eax, esi
mov ecx, 0x28
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0x1e0]
test eax, eax
js 0x100b9b84
cmp eax, dword [edi]
jge 0x100b9b84
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + eax*4]
call fcn.100f4830
jmp 0x100b9b86
xor eax, eax
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.100f45a0
cmp dword [esi + 8], 7
jle 0x100b9bbc
mov eax, esi
mov ecx, 0x28
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0x230]
test eax, eax
js 0x100b9bbc
cmp eax, dword [edi]
jge 0x100b9bbc
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + eax*4]
call fcn.100f4830
jmp 0x100b9bbe
xor eax, eax
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.100f45a0
cmp dword [esi + 8], 8
jle 0x100b9bf4
mov eax, esi
mov ecx, 0x28
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0x280]
test eax, eax
js 0x100b9bf4
cmp eax, dword [edi]
jge 0x100b9bf4
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + eax*4]
call fcn.100f4830
jmp 0x100b9bf6
xor eax, eax
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.100f45a0
cmp dword [esi + 0x10], 0
jg 0x100b9c0b
xor edi, edi
jmp 0x100b9c10
mov eax, dword [esi + 0x24]
mov edi, dword [eax]
mov dword [esp + 0xa8], edi
cmp dword [esi + 0x10], 1
jg 0x100b9c21
xor edx, edx
jmp 0x100b9c27
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 4]
mov dword [esp + 0xac], edx
cmp dword [esi + 0x10], 2
jg 0x100b9c38
xor eax, eax
jmp 0x100b9c3e
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 8]
mov dword [esp + 0x78], eax
cmp dword [esi + 0x10], 3
jg 0x100b9c4c
xor eax, eax
jmp 0x100b9c52
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x7c], eax
cmp dword [esi + 0x10], 4
jg 0x100b9c60
xor eax, eax
jmp 0x100b9c66
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x80], eax
cmp dword [esi + 0x10], 5
jg 0x100b9c77
xor eax, eax
jmp 0x100b9c7d
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x84], eax
cmp dword [esi + 0x10], 6
jg 0x100b9c8e
xor eax, eax
jmp 0x100b9c94
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x88], eax
cmp dword [esi + 0x10], 7
jg 0x100b9ca5
xor ecx, ecx
jmp 0x100b9cab
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x8c], ecx
cmp dword [esi + 0x10], 8
jg 0x100b9cbc
xor eax, eax
jmp 0x100b9cc2
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x90], eax
cmp dword [esi + 0x10], 9
jg 0x100b9cd3
xor eax, eax
jmp 0x100b9cd9
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x94], eax
cmp dword [esi + 0x10], 0xa
jg 0x100b9cea
xor eax, eax
jmp 0x100b9cf0
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x98], eax
cmp dword [esi + 0x10], 0xb
jg 0x100b9d01
xor eax, eax
jmp 0x100b9d07
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x9c], eax
cmp dword [esi + 0x10], 0xc
jg 0x100b9d18
xor eax, eax
jmp 0x100b9d1e
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x54], eax
cmp dword [esi + 0x10], 0xd
jg 0x100b9d2c
xor eax, eax
jmp 0x100b9d32
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x5c], eax
cmp dword [esi + 0x10], 0xe
jg 0x100b9d40
xor eax, eax
jmp 0x100b9d46
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x38]
mov dword [esp + 0xa4], eax
cmp dword [esi + 0x10], 0xf
jg 0x100b9d57
xor eax, eax
jmp 0x100b9d5d
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x58], eax
cmp dword [esi + 0x10], 0x10
jg 0x100b9d6b
xor eax, eax
jmp 0x100b9d71
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x40]
mov dword [esp + 0xa0], eax
cmp dword [esi + 0x10], 0x11
jg 0x100b9d82
xor eax, eax
jmp 0x100b9d88
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x60], eax
cmp dword [esi + 0x10], 0x12
jg 0x100b9d9d
xor eax, eax
mov dword [esp + 0x64], eax
jmp 0x100ba064
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x64], eax
jmp 0x100ba064
cmp eax, 0x3e8
jne 0x100b9dc0
mov edx, edi
lea ecx, [esp + 0x28]
call fcn.100f45a0
jmp 0x100b9e14
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100b9ddf
mov eax, dword [ecx]
cmp eax, 1
jge 0x100b9ddf
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100b9ddf
push ecx
call fcn.1012d67f
add esp, 4
push 0x10
call fcn.1012d6c2
mov dword [esp + 0x2c], eax
add esp, 4
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 8
mov eax, dword [esp + 0x28]
mov dword [eax + 8], 0x3e8
mov eax, dword [esp + 0x28]
mov dword [eax + 0xc], 0x7e3
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100b9e33
mov eax, dword [ecx]
cmp eax, 1
jge 0x100b9e33
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100b9e33
push ecx
call fcn.1012d67f
add esp, 4
push 0x10
call fcn.1012d6c2
mov dword [esp + 0x3c], eax
add esp, 4
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [eax + 4], 8
mov eax, dword [esp + 0x38]
mov dword [eax + 8], 0
mov eax, dword [esp + 0x38]
mov dword [eax + 0xc], 0x7e3
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100b9e87
mov eax, dword [ecx]
cmp eax, 1
jge 0x100b9e87
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100b9e87
push ecx
call fcn.1012d67f
add esp, 4
push 0x10
call fcn.1012d6c2
mov dword [esp + 0x30], eax
add esp, 4
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], 8
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], 0x2bd
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], 0x7e3
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100b9edb
mov eax, dword [ecx]
cmp eax, 1
jge 0x100b9edb
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100b9edb
push ecx
call fcn.1012d67f
add esp, 4
push 0x10
call fcn.1012d6c2
mov dword [esp + 0x38], eax
add esp, 4
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x34]
mov dword [eax + 4], 8
mov eax, dword [esp + 0x34]
mov dword [eax + 8], 0x708
mov eax, dword [esp + 0x34]
mov dword [eax + 0xc], 0x7e3
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x100b9f2f
mov eax, dword [ecx]
cmp eax, 1
jge 0x100b9f2f
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100b9f2f
push ecx
call fcn.1012d67f
add esp, 4
push 0x10
call fcn.1012d6c2
movaps xmm0, xmmword [0x10161950]
add esp, 4
mov dword [esp + 0x40], eax
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x40]
mov dword [eax + 4], 8
mov eax, dword [esp + 0x40]
mov dword [eax + 8], 0
mov eax, dword [esp + 0x40]
mov dword [eax + 0xc], 0x7e3
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], 0xfe000000
mov dword [esp + 0x5c], 0xfe000000
mov dword [esp + 0xa8], 0x168
mov dword [esp + 0xac], 0xa0
mov dword [esp + 0x88], 8
mov dword [esp + 0x80], 8
mov dword [esp + 0x78], 8
mov dword [esp + 0x7c], 0x2a
mov dword [esp + 0x84], 0x32
mov dword [esp + 0x9c], 0x64
movups xmmword [esp + 0x8c], xmm0
test ecx, ecx
je 0x100b9ff4
mov eax, dword [ecx]
cmp eax, 1
jge 0x100b9ff4
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100b9ff4
push ecx
call fcn.1012d67f
add esp, 4
push 0x10
call fcn.1012d6c2
mov dword [esp + 0x40], eax
add esp, 4
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], 8
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], 0
mov eax, dword [esp + 0x3c]
mov dword [eax + 0xc], 0x7e3
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x58], 0xfe000000
mov dword [esp + 0xa4], 0xa
mov dword [esp + 0xa0], 0x3c
mov dword [esp + 0x60], 0
test edi, edi
mov eax, 0x168
cmove edi, eax
test edx, edx
mov eax, 0xa0
mov dword [esp + 0xa8], edi
cmove edx, eax
test ecx, ecx
mov eax, 0x20
mov dword [esp + 0xac], edx
cmove ecx, eax
mov dword [esp + 0x8c], ecx
test esi, esi
je 0x100ba0a1
push esi
call sym.ExuiKrnln_X32.dll_RexcDisposeSkinInfo
movd xmm0, dword [esp + 0x18]
mov edx, 0x1015929c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xcc], eax
mov eax, dword [ebp + 0x1c]
movss dword [esp + 0xf8], xmm0
movd xmm0, dword [esp + 0x1c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
movss dword [esp + 0x100], xmm0
call fcn.100f5110
push 0x5c
mov dword [esp + 0x6c], eax
call fcn.1012d684
add esp, 4
mov edi, eax
mov dword [esp + 0x14], edi
push 0x5c
push 0
push edi
call fcn.1012f3e0
mov eax, dword [esp + 0x74]
add esp, 0xc
test eax, eax
je 0x100ba1d5
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [esp + 0x14], ecx
call fcn.1012d6c2
add esp, 4
mov esi, eax
push dword [esp + 0x10]
push 0
push esi
call fcn.1012f3e0
mov eax, dword [esp + 0x74]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x4c], esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [esp + 0x14], ecx
call fcn.1012d6c2
add esp, 4
mov esi, eax
push dword [esp + 0x10]
push 0
push esi
call fcn.1012f3e0
add esp, 0xc
mov dword [esp + 0x70], esi
push dword [esp + 0x40]
push edi
call sym.ExuiKrnln_X32.dll_RexLoadFont
xor esi, esi
cmp dword [esp + 0x68], esi
jg 0x100ba254
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x100ba2f1
cmp dword [eax + 4], 2
jle 0x100ba2f1
push dword [esp + 0x38]
mov esi, dword [esp + 0x18]
push esi
call sym.ExuiKrnln_X32.dll_RexLoadFont
movaps xmm0, xmmword [0x10161a60]
lea eax, [esp + 0x100]
push ecx
mov dword [esp], 0x3f800000
push esi
push 0xd
push eax
lea eax, [esp + 0x100]
push eax
push 0xffffffffffffffff
push dword [esp + 0x3c]
movups xmmword [esp + 0x10c], xmm0
push 0
call sym.ExuiKrnln_X32.dll_MeasureStringRect_CanvasEx
cvttss2si edx, dword [esp + 0x108]
mov edi, dword [esp + 0x74]
mov dword [esp + 0xb8], edx
jmp 0x100ba2f8
mov edi, dword [esp + 0x14]
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x104]
push edi
push 9
push eax
lea eax, [esp + 0x100]
push eax
mov eax, dword [esp + 0x80]
push 0xffffffffffffffff
push dword [eax + esi*4]
push 0
call sym.ExuiKrnln_X32.dll_MeasureStringRect_CanvasEx
movd xmm0, dword [esp + 0x90]
mov eax, dword [esp + 0x70]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x108]
cvttss2si ecx, xmm0
mov dword [eax + esi*4], ecx
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x94]
cmp dword [edi + esi*4], eax
jge 0x100ba2b9
mov dword [edi + esi*4], eax
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x10], 0
lea eax, [edx - 1]
cmp esi, eax
cmove ecx, dword [esp + 0x10]
add ecx, dword [edi + esi*4]
inc esi
mov edi, dword [esp + 0x74]
add edi, ecx
mov dword [esp + 0x74], edi
cmp esi, edx
jl 0x100ba250
jmp 0x100ba1d9
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x100ba312
cmp dword [eax + 4], 0
je 0x100ba312
mov ecx, dword [esp + 0xa0]
jmp 0x100ba314
xor ecx, ecx
add ecx, dword [esp + 0x84]
add ecx, dword [esp + 0x7c]
cmp ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xc4]
cmovl ecx, dword [esp + 0xac]
xor esi, esi
mov dword [esp + 0xbc], ecx
test eax, eax
je 0x100ba34e
cmp dword [eax + 4], 2
cmovg esi, dword [esp + 0xa4]
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x100ba366
cmp dword [eax + 4], 0
je 0x100ba366
add esi, dword [esp + 0xa0]
mov eax, dword [esp + 0x80]
add eax, esi
mov esi, dword [esp + 0x9c]
add eax, dword [esp + 0x78]
cmp eax, edx
cmovg edx, eax
mov eax, edx
sub eax, edi
cmp eax, esi
jge 0x100ba38a
lea edx, [edi + esi]
mov eax, dword [esp + 0xa8]
cmp edx, eax
movd xmm0, dword [esp + 0xac]
cvtdq2ps xmm0, xmm0
cmovl edx, eax
movss xmm3, dword [0x10161874]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
movd xmm0, ecx
mulss xmm1, xmm3
cvtdq2ps xmm0, xmm0
cvttss2si esi, xmm1
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm2
divss xmm0, xmm3
cvttss2si eax, xmm0
cmp eax, edx
jle 0x100ba3df
mov edx, eax
jmp 0x100ba3f7
jge 0x100ba3f7
movaps xmm0, xmm2
movd xmm1, edx
divss xmm0, xmm3
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
cvttss2si ecx, xmm1
cmp edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmovg edx, dword [esp + 0x18]
cmp ecx, edi
mov eax, dword [esp + 0xcc]
cmovg ecx, edi
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
test eax, eax
je 0x100ba62e
cmp dword [eax + 4], 2
jle 0x100ba62e
push dword [esp + 0x3c]
push dword [esp + 0x18]
call sym.ExuiKrnln_X32.dll_RexLoadFont
movd xmm0, dword [esp + 0x18]
lea eax, [edi + edi]
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0x3f800000
push dword [esp + 0x18]
movss dword [esp + 0x100], xmm0
push 4
movd xmm0, eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x100]
push eax
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
push dword [esp + 0x38]
movss dword [esp + 0x118], xmm0
push 0
call sym.ExuiKrnln_X32.dll_MeasureStringRect_CanvasEx
mov eax, dword [esp + 0x18]
movss xmm0, dword [esp + 0x108]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jb 0x100ba4ce
movss xmm0, dword [esp + 0x10c]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jb 0x100ba4ce
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], eax
jmp 0x100ba62e
mov eax, dword [esp + 0xb8]
nop word [eax + eax]
sub eax, dword [esp + 0xa0]
sub eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
push ecx
mov dword [esp], 0x3f800000
push dword [esp + 0x18]
movd xmm0, eax
lea eax, [esp + 0x108]
push 4
push eax
lea eax, [esp + 0x100]
push eax
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
push dword [esp + 0x38]
movss dword [esp + 0x114], xmm0
push 0
call sym.ExuiKrnln_X32.dll_MeasureStringRect_CanvasEx
mov ecx, dword [esp + 0xbc]
mov eax, ecx
mov edx, dword [esp + 0x84]
sub eax, edx
mov edi, dword [esp + 0x7c]
sub eax, edi
movss xmm2, dword [esp + 0x10c]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
seta al
test eax, eax
je 0x100ba62a
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0x18]
je 0x100ba5db
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jge 0x100ba5b0
add ecx, 0x19
movd xmm1, esi
cmp ecx, edx
cvtdq2ps xmm1, xmm1
cmovg ecx, edx
mov dword [esp + 0xbc], ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
divss xmm0, dword [0x10161874]
cvttss2si eax, xmm0
jmp 0x100ba5ba
mov dword [esp + 0xbc], edx
add eax, 0x19
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb8], eax
cmp eax, ecx
jl 0x100ba4e0
mov eax, ecx
mov dword [esp + 0xb8], eax
jmp 0x100ba4e0
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mov edi, dword [esp + 0x1c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x10161874]
divss xmm0, xmm1
cvttss2si eax, xmm0
cmp ecx, eax
cmovl ecx, eax
cmp ecx, edi
cmovg ecx, edi
mov dword [esp + 0xbc], ecx
jmp 0x100ba62e
mov edi, dword [esp + 0x1c]
push dword [esp + 0x14]
call sym.ExuiKrnln_X32.dll_RexDisposeFont
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0xb8]
sub edi, dword [esp + 0xbc]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0xb0], eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0xb4], eax
mov eax, dword [esp + 0x50]
shr eax, 0x10
test eax, eax
je 0x100ba6e0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100ba6e0
lea ecx, [esp + 0x110]
xorps xmm0, xmm0
push ecx
push eax
movaps xmmword [esp + 0x118], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x118]
sub eax, dword [esp + 0x110]
sub eax, dword [esp + 0xb8]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x110]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x11c]
sub eax, dword [esp + 0x114]
sub eax, dword [esp + 0xbc]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x114]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x28]
mov ecx, 0x1015dcc0
push eax
push 0x100babc0
call fcn.100f5630
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x30]
push dword [esp + 0xcc]
push dword [esp + 0xcc]
push dword [esp + 0xcc]
call fcn.100b9780
mov ecx, dword [esp + 0x28]
mov esi, eax
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x100ba743
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba743
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100ba743
push ecx
call fcn.1012d67f
add esp, 4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100ba762
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba762
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100ba762
push ecx
call fcn.1012d67f
add esp, 4
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x100ba781
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba781
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100ba781
push ecx
call fcn.1012d67f
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100ba7a0
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba7a0
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100ba7a0
push ecx
call fcn.1012d67f
add esp, 4
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100ba7bf
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba7bf
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100ba7bf
push ecx
call fcn.1012d67f
add esp, 4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x100ba7de
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba7de
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100ba7de
push ecx
call fcn.1012d67f
add esp, 4
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x100ba7fd
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba7fd
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100ba7fd
push ecx
call fcn.1012d67f
add esp, 4
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x100ba81c
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba81c
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100ba81c
push ecx
call fcn.1012d67f
add esp, 4
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x100ba83b
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba83b
inc eax
mov dword [ecx], eax
test eax, eax
jne 0x100ba83b
push ecx
call fcn.1012d67f
add esp, 4
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
test edi, edi
je 0x100ba887
xor esi, esi
test ecx, ecx
jle 0x100ba87a
mov eax, ecx
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x100ba875
mov eax, dword [ecx]
cmp eax, 1
jge 0x100ba871
add eax, 1
mov dword [ecx], eax
jne 0x100ba871
push ecx
call fcn.1012d67f
add esp, 4
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
jl 0x100ba853
push edi
call fcn.1012d67f
mov esi, dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x100ba898
push eax
call fcn.1012d67f
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x100ba8a9
push eax
call fcn.1012d67f
add esp, 4
mov ecx, dword [esp + 0x15c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1012d671
mov esp, ebp
pop ebp
ret 0x2c