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

Disassembly:
push 0xffffffffffffffff
push 0x660b8a
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x76c12c]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x76c12c]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x12c]
mov ebp, dword [esp + 0x10c]
mov edi, edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], ecx
xor ebx, ebx
mov dword [esp + 0x104], ebx
push 1
xor edx, edx
mov esi, 7
push 0x6d1844
lea ecx, [esp + 0xa8]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], dx
call fcn.00401f00
mov byte [esp + 0x104], 1
lea eax, [esp + 0xa0]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x138]
xor edx, edx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.004018e0
mov byte [esp + 0x124], 2
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x128], 1
call fcn.00564450
add esp, 0x24
mov byte [esp + 0x104], 4
cmp dword [esp + 0xb4], 8
jb 0x5ebac3
mov edx, dword [esp + 0xa0]
push edx
call fcn.0058d051
add esp, 4
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
xor eax, eax
mov word [esp + 0xa0], ax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
jne 0x5ebb4d
mov byte [esp + 0x104], bl
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x5ebb29
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
call fcn.0040a410
mov eax, dword [esp + 0x38]
push eax
call fcn.0058d051
add esp, 0x14
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x104], 0xffffffff
cmp dword [esp + 0x124], 8
jmp 0x5ec09c
push ebx
xor eax, eax
push 0x6d1848
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], ax
call fcn.00401f00
mov byte [esp + 0x104], 5
fldz
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0x17], bl
mov dword [esp + 0x3c], ebx
je 0x5ebec1
fild dword [esp + 0x50]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
fstp dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
jmp 0x5ebbd2
fldz
mov eax, dword [esp + 0x1c]
fst dword [esp + 0x4c]
mov edi, dword [esp + 0x94]
fst dword [esp + 0x48]
push 0xffffffffffffffff
fst dword [esp + 0x48]
add eax, esi
fstp dword [esp + 0x44]
push ebx
push eax
lea ecx, [esp + 0x90]
call fcn.004013e0
push 1
push 0x6d184c
lea ecx, [esp + 0x8c]
call fcn.00401290
cmp dword [esp + 0x98], 8
mov ecx, dword [esp + 0x84]
jae 0x5ebc2a
lea ecx, [esp + 0x84]
fld dword [esp + 0x18]
mov eax, dword [esp + 0x38]
fstp dword [esp + 0x5c]
fld dword [0x715738]
fstp dword [esp + 0x60]
fldz
fst dword [esp + 0x64]
fstp dword [esp + 0x68]
cmp eax, ebx
je 0x5ebc52
mov eax, dword [eax]
jmp 0x5ebc54
xor eax, eax
mov esi, dword [sym.imp.gdiplus.dll_GdipMeasureString]
push ebx
push ebx
lea edx, [esp + 0x48]
push edx
push ebx
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ebp]
push 0xffffffffffffffff
push ecx
push eax
call esi
cmp eax, ebx
je 0x5ebc78
mov dword [ebp + 4], eax
fld dword [esp + 0x48]
fld dword [esp + 0x58]
fcompp
fnstsw ax
test ah, 5
jp 0x5ebe5f
push edi
push ebx
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x90]
call fcn.004098c0
mov byte [esp + 0x104], 6
cmp dword [eax + 0x14], 8
jb 0x5ebcb3
mov eax, dword [eax]
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x6c]
fld dword [0x715738]
fstp dword [esp + 0x70]
fldz
fst dword [esp + 0x74]
fstp dword [esp + 0x78]
cmp ecx, ebx
je 0x5ebcdb
mov ecx, dword [ecx]
jmp 0x5ebcdd
xor ecx, ecx
push ebx
push ebx
lea edx, [esp + 0x48]
push edx
push ebx
lea edx, [esp + 0x7c]
push edx
push ecx
push 0xffffffffffffffff
push eax
mov eax, dword [ebp]
push eax
call esi
cmp eax, ebx
je 0x5ebcfb
mov dword [ebp + 4], eax
mov byte [esp + 0x104], 5
cmp dword [esp + 0xd0], 8
jb 0x5ebd1d
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.0058d051
add esp, 4
fld dword [esp + 0x130]
push edi
fld dword [esp + 0x4c]
push ebx
fmul qword [0x7156e8]
lea eax, [esp + 0xe0]
xor edx, edx
mov esi, 7
fsubp st(1)
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0xdc], esi
fstp dword [esp + 0x2c]
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], dx
call fcn.004098c0
mov byte [esp + 0x104], 7
fld dword [esp + 0x134]
fadd qword [0x715730]
mov edi, 8
fstp dword [esp + 0x80]
cmp dword [eax + 0x14], edi
jb 0x5ebd8f
mov eax, dword [eax]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x54]
fstp dword [esp + 0xa0]
fld dword [esp + 0x80]
fstp dword [esp + 0xa4]
fldz
fst dword [esp + 0xa8]
fstp dword [esp + 0xac]
cmp ecx, ebx
je 0x5ebdc5
mov edx, dword [ecx + 4]
jmp 0x5ebdc7
xor edx, edx
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
je 0x5ebdd3
mov ecx, dword [ecx]
jmp 0x5ebdd5
xor ecx, ecx
push edx
push ebx
lea edx, [esp + 0xa8]
push edx
push ecx
push 0xffffffffffffffff
push eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.gdiplus.dll_GdipDrawString]
cmp eax, ebx
je 0x5ebdf4
mov dword [ebp + 4], eax
mov byte [esp + 0x104], 5
cmp dword [esp + 0xec], edi
jb 0x5ebe15
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.0058d051
add esp, 4
fld dword [esp + 0x4c]
push ebx
fadd dword [esp + 0x138]
xor edx, edx
push 0x6d1850
lea ecx, [esp + 0x8c]
fstp dword [esp + 0x13c]
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], dx
call fcn.00401f00
dec dword [esp + 0x3c]
sub dword [esp + 0x1c], 0x1c
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
add dword [esp + 0x1c], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
mov dword [esp + 0x3c], edi
cmp edi, eax
jb 0x5ebbd0
cmp byte [esp + 0x17], bl
je 0x5ebebb
mov ecx, dword [esp + 0x94]
push ebx
push 0x6d1854
push ecx
push ebx
lea ecx, [esp + 0x94]
call fcn.00403060
test eax, eax
je 0x5ec00a
fldz
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x84]
fst dword [esp + 0x4c]
mov eax, edi
fst dword [esp + 0x48]
cdq
fst dword [esp + 0x44]
sub eax, edx
fst dword [esp + 0x40]
sar eax, 1
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov edi, 8
fstp dword [esp + 0x18]
cmp dword [esp + 0x98], edi
jae 0x5ebf00
lea ecx, [esp + 0x84]
fld dword [esp + 0x18]
mov esi, dword [esp + 0x38]
fstp dword [esp + 0xa0]
fld dword [0x715738]
fstp dword [esp + 0xa4]
fst dword [esp + 0xa8]
fstp dword [esp + 0xac]
cmp esi, ebx
je 0x5ebf32
mov eax, dword [esi]
jmp 0x5ebf34
xor eax, eax
push ebx
push ebx
lea edx, [esp + 0x48]
push edx
push ebx
lea edx, [esp + 0xb0]
push edx
push eax
mov eax, dword [ebp]
push 0xffffffffffffffff
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipMeasureString]
cmp eax, ebx
je 0x5ebf59
mov dword [ebp + 4], eax
fld dword [esp + 0x130]
mov edx, dword [esp + 0x84]
fld dword [esp + 0x48]
fmul qword [0x7156e8]
fsubp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x134]
fadd qword [0x715730]
fstp dword [esp + 0x24]
cmp dword [esp + 0x98], edi
jae 0x5ebf98
lea edx, [esp + 0x84]
fld dword [esp + 0x20]
mov eax, dword [esp + 0x54]
fstp dword [esp + 0xa0]
fld dword [esp + 0x24]
fstp dword [esp + 0xa4]
fldz
fst dword [esp + 0xa8]
fstp dword [esp + 0xac]
cmp eax, ebx
je 0x5ebfcb
mov ecx, dword [eax + 4]
jmp 0x5ebfcd
xor ecx, ecx
cmp esi, ebx
je 0x5ebfd5
mov eax, dword [esi]
jmp 0x5ebfd7
xor eax, eax
push ecx
push ebx
lea ecx, [esp + 0xa8]
push ecx
push eax
push 0xffffffffffffffff
push edx
mov edx, dword [ebp]
push edx
call dword [sym.imp.gdiplus.dll_GdipDrawString]
cmp eax, ebx
je 0x5ebff6
mov dword [ebp + 4], eax
fld dword [esp + 0x4c]
fadd dword [esp + 0x134]
fstp dword [esp + 0x134]
jmp 0x5ec00f
mov edi, 8
mov byte [esp + 0x104], 4
cmp dword [esp + 0x98], edi
jb 0x5ec030
mov eax, dword [esp + 0x84]
push eax
call fcn.0058d051
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], cx
mov byte [esp + 0x104], bl
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x5ec07e
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
call fcn.0040a410
mov eax, dword [esp + 0x38]
push eax
call fcn.0058d051
add esp, 0x14
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x104], 0xffffffff
cmp dword [esp + 0x124], edi
jb 0x5ec0ae
mov ecx, dword [esp + 0x110]
push ecx
call fcn.0058d051
add esp, 4
xor edx, edx
mov word [esp + 0x110], dx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], esi
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0058cf08
add esp, 0xf4
ret 0x2c