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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x87e305
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5c557f
mov esi, dword [esp + 0x114]
mov ebx, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov edx, dword [esp + 0x134]
test dl, 0x20
je 0x5c4889
test dh, 4
je 0x5c4816
mov eax, esi
jmp 0x5c5586
mov ebx, dword [esp + 0x11c]
mov ebp, dword [ebp]
push edx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x124]
add ecx, ebx
mov ebx, dword [esp + 0x128]
sub edi, ebx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x88], edi
add eax, dword [esp + 0x12c]
add ecx, eax
mov dword [esp + 0x84], eax
mov eax, dword [esi]
mov dword [esp + 0x8c], ecx
mov edx, dword [ebp - 8]
lea ecx, [esp + 0x80]
push ecx
push edx
push ebp
mov ecx, esi
call dword [eax + 0x68]
mov eax, esi
jmp 0x5c5586
test dh, 4
je 0x5c4e5e
mov ecx, dword [esp + 0x11c]
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x120]
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x124]
sub eax, ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
add edi, ecx
add eax, edi
test dh, 0xc0
mov dword [esp + 0x24], eax
jne 0x5c4924
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push ebp
call fcn.00831c58
call fcn.005c4260
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub ecx, edx
add esp, 8
cmp ecx, eax
jle 0x5c4904
mov eax, ecx
jmp 0x5c491a
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push ebp
call fcn.00831c58
call fcn.005c4260
add esp, 8
mov ecx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x7c]
call fcn.0082aad0
mov edx, dword [esp + 0x138]
lea eax, [esp + 0x7c]
push edx
push eax
push ebp
mov dword [esp + 0x118], 0
call fcn.005c4580
add esp, 0xc
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
push 0x9b5220
mov dword [esp + 0x14], ebp
call fcn.00831f5f
mov byte [esp + 0x10c], 1
mov dword [esp + 0x28], ebp
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
cmp ebp, ecx
jl 0x5c4989
mov edx, dword [eax - 8]
test edx, edx
je 0x5c4e05
cmp ebp, ecx
je 0x5c4a8c
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5c49e7
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5c49af
push 0xa
lea ecx, [esp + 0x18]
call fcn.00825ac4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x74]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x4c], ecx
sub edx, dword [esp + 0x18]
cmp edi, edx
jge 0x5c4b39
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5c4b39
push esi
push ebp
lea ecx, [esp + 0x84]
call fcn.005c55a0
push ecx
mov ecx, esp
mov dword [esp + 0x98], esp
push eax
call fcn.00831c58
call fcn.005c4260
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
sub ecx, edi
add esp, 8
cmp eax, ecx
mov dword [esp + 0x50], ecx
jg 0x5c4aad
mov eax, dword [esp + 0x80]
lea ecx, [eax + ebp*4]
push ecx
lea ecx, [esp + 0x18]
call fcn.00832318
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x54]
push edx
inc ebp
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x4c], ecx
push 0xa
lea ecx, [esp + 0x18]
call fcn.00825d01
test eax, eax
jge 0x5c4b00
mov edx, dword [esp + 0x50]
mov eax, edi
cmp eax, edx
jge 0x5c4b39
cmp ebp, dword [esp + 0x44]
jge 0x5c4b39
mov eax, dword [esp + 0x14]
jmp 0x5c4991
mov ecx, dword [eax - 8]
lea edx, [esp + 0x64]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
jmp 0x5c4b3d
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ebp
mov eax, dword [edx - 8]
test eax, eax
jne 0x5c4ad5
mov eax, dword [esp + 0x80]
lea ecx, [eax + ebp*4]
push ecx
lea ecx, [esp + 0x18]
call fcn.00832032
inc ebp
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
push 0x9b5220
lea edi, [edx + eax]
add ecx, edi
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
call fcn.00832082
jmp 0x5c4972
push 0xa
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], 1
call fcn.00825ac4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x6c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x4c], ecx
jmp 0x5c4b3d
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub ebp, ecx
cmp edi, ebp
jg 0x5c4b82
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x40]
push 0x9b5220
lea edi, [eax + edx]
mov dword [esp + 0x2c], 0
add ecx, edi
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
call fcn.00832082
mov ebp, dword [esp + 0x10]
jmp 0x5c4972
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x10]
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea ecx, [edx + eax*4 - 4]
call fcn.00832463
lea ecx, [esp + 0x14]
test eax, eax
push ecx
jl 0x5c4c22
lea ecx, [esp + 0x38]
call fcn.00831c58
lea ecx, [esp + 0x34]
mov byte [esp + 0x10c], 2
call fcn.00826255
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x94]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
cmp dword [esp + 0x94], ebp
jle 0x5c4be2
dec dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x40]
push 0x9b5220
lea edi, [edx + ecx]
lea ecx, [esp + 0x18]
add eax, edi
mov dword [esp + 0x28], eax
call fcn.00832082
lea ecx, [esp + 0x34]
mov byte [esp + 0x10c], 1
call fcn.00831eeb
mov ebp, dword [esp + 0x10]
jmp 0x5c4972
lea ecx, [esp + 0x30]
call fcn.00831c58
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10c], 3
call fcn.00826255
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x9c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
cmp dword [esp + 0x9c], ebp
jg 0x5c4c9c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x40]
push 0x9b5220
lea edi, [edx + ecx]
lea ecx, [esp + 0x18]
add eax, edi
mov dword [esp + 0x28], eax
call fcn.00832082
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10c], 1
call fcn.00831eeb
mov ebp, dword [esp + 0x10]
jmp 0x5c4972
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xac]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00831c58
push 0x9b5220
lea ecx, [esp + 0x34]
mov byte [esp + 0x110], 4
call fcn.00831f5f
mov eax, dword [esi + 8]
lea edx, [esp + 0xc8]
push edx
push eax
mov byte [esp + 0x114], 5
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ecx, dword [esp + 0xac]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, ecx
sub eax, edi
add eax, edx
cdq
idiv dword [esp + 0xe0]
cmp ecx, ebp
mov edi, eax
jle 0x5c4d70
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x60]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
sub eax, edi
push eax
push edx
call fcn.00825c35
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x110], 6
call fcn.00832032
lea ecx, [esp + 0x60]
mov byte [esp + 0x10c], 5
call fcn.00831eeb
mov eax, dword [esp + 0x38]
lea edx, [esp + 0xa4]
push edx
inc edi
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
cmp dword [esp + 0xa4], ebp
jg 0x5c4d14
dec edi
lea ecx, [esp + 0x5c]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00825bb9
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x110], 7
call fcn.00832032
lea ecx, [esp + 0x5c]
mov byte [esp + 0x10c], 5
call fcn.00831eeb
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x40]
lea edi, [eax + edx]
lea edx, [esp + 0x30]
add ecx, edi
push edx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
call fcn.00832032
lea ecx, [esp + 0x30]
mov byte [esp + 0x10c], 4
call fcn.00831eeb
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 3
call fcn.00831eeb
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10c], 1
call fcn.00831eeb
mov ebp, dword [esp + 0x10]
jmp 0x5c4972
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x124]
mov ebx, dword [esp + 0x130]
mov byte [esp + 0x10c], 0
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x12c]
mov eax, dword [esp + 0x11c]
sub ecx, ebx
add ecx, edi
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x14]
mov dword [eax + 8], edx
call fcn.00831eeb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x10c], 0xffffffff
call fcn.0082ab03
mov eax, esi
jmp 0x5c5586
mov edi, dword [esp + 0x11c]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x120]
add ecx, edi
mov edi, dword [esp + 0x124]
sub edx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x128]
add eax, edx
mov edx, dword [esp + 0x40]
add edx, eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
call fcn.0082aad0
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0xb4]
push eax
push ecx
push ebp
mov dword [esp + 0x118], 8
call fcn.005c4580
add esp, 0xc
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], eax
push 0x9b5220
mov dword [esp + 0x18], edi
call fcn.00831f5f
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x11c]
add edx, eax
mov byte [esp + 0x10c], 9
mov dword [esp + 0x2c], edi
cmp edx, dword [ecx + 0xc]
jg 0x5c5553
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
cmp ebp, eax
je 0x5c502c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5c4f88
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5c4f48
push 0xa
lea ecx, [esp + 0x14]
call fcn.00825ac4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, eax
mov dword [esp + 0x4c], ecx
sub edx, ebp
cmp edi, edx
jge 0x5c5050
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x5c5050
mov ebp, dword [esp + 0x14]
push esi
push ebp
lea ecx, [esp + 0xbc]
call fcn.005c55a0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00831c58
call fcn.005c4260
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
sub ecx, edi
add esp, 8
cmp eax, ecx
jg 0x5c50be
mov edx, dword [esp + 0xb8]
lea ecx, [esp + 0x10]
lea eax, [edx + ebp*4]
push eax
call fcn.00832318
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x64]
push edx
inc ebp
mov ecx, dword [eax - 8]
mov dword [esp + 0x18], ebp
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
push 0xa
lea ecx, [esp + 0x14]
call fcn.00825d01
test eax, eax
jge 0x5c515c
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edx, eax
sub edx, ebp
cmp edi, edx
jge 0x5c5050
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jge 0x5c5050
mov ebp, ecx
jmp 0x5c4f26
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
sub eax, dword [esp + 0x18]
cmp edi, eax
jg 0x5c5199
mov eax, dword [esp + 0x134]
mov edx, 0x20
test al, 1
je 0x5c5071
mov edx, 0x21
test al, 2
je 0x5c5078
or edx, 2
test ah, 8
je 0x5c5080
or dh, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esi]
push edx
lea edx, [esp + 0x1c]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov ecx, esi
call dword [edi + 0x68]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x40]
add eax, ecx
add edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], 0
jmp 0x5c5149
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 8]
test eax, eax
jne 0x5c50e6
mov edx, dword [esp + 0xb8]
lea ecx, [esp + 0x10]
lea eax, [edx + ebp*4]
push eax
call fcn.00832032
mov edi, dword [esp + 0x10]
inc ebp
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x134]
mov eax, 0x20
test cl, 1
je 0x5c50fc
mov eax, 0x21
test cl, 2
je 0x5c5103
or al, 2
test ch, 0x80
je 0x5c510b
or ah, 0x80
test ch, 0x40
je 0x5c5113
or ah, 0x40
test ch, 8
je 0x5c511b
or ah, 8
mov ecx, dword [edi - 8]
mov edx, dword [esi]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
push edi
mov ecx, esi
call dword [edx + 0x68]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x130]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
push 0x9b5220
lea ecx, [esp + 0x14]
call fcn.00832082
jmp 0x5c5536
push 0xa
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call fcn.00825ac4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x94]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov edi, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
jmp 0x5c5048
mov eax, dword [esp + 0x134]
mov edi, 0x20
mov ebp, eax
and ebp, 1
je 0x5c51b1
mov edi, 0x21
mov ecx, eax
and ecx, 2
mov dword [esp + 0x60], ecx
je 0x5c51bf
or edi, 2
and eax, 0x800
mov dword [esp + 0x48], eax
je 0x5c51d0
or edi, 0x800
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x14]
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea ecx, [eax + ecx*4 - 4]
call fcn.00832463
test eax, eax
jl 0x5c52e3
lea edx, [esp + 0x10]
lea ecx, [esp + 0x38]
push edx
call fcn.00831c58
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 0xa
call fcn.00826255
mov eax, dword [esp + 0x38]
lea edx, [esp + 0xa4]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xa4]
sub ecx, edx
cmp eax, ecx
jle 0x5c5293
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
dec ecx
mov eax, dword [edx - 8]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x10]
sub eax, edx
lea edx, [esp + 0x5c]
push eax
push edx
call fcn.00825c35
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 0xb
call fcn.00832032
lea ecx, [esp + 0x5c]
mov byte [esp + 0x10c], 0xa
call fcn.00831eeb
mov eax, dword [esp + 0x10]
jmp 0x5c5297
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 8]
mov edx, dword [esi]
push edi
lea edi, [esp + 0x1c]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x40]
add eax, ecx
add edx, eax
push 0x9b5220
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
call fcn.00832082
mov byte [esp + 0x10c], 9
lea ecx, [esp + 0x38]
jmp 0x5c5531
mov edi, 0x20
test ebp, ebp
mov dword [esp + 0x30], edi
je 0x5c52f9
mov edi, 0x21
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5c5308
or edi, 2
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5c531a
or edi, 0x800
mov dword [esp + 0x30], edi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.00831c58
lea ecx, [esp + 0x28]
mov byte [esp + 0x10c], 0xc
call fcn.00826255
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xac]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xac]
sub ecx, edx
cmp eax, ecx
jg 0x5c53a9
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
push edi
lea edi, [esp + 0x1c]
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x40]
add eax, ecx
add edx, eax
push 0x9b5220
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
call fcn.00832082
jmp 0x5c5525
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x9c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
call fcn.00831c58
push 0x9b5220
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 0xd
call fcn.00831f5f
mov eax, dword [esi + 8]
lea edx, [esp + 0xc8]
push edx
push eax
mov byte [esp + 0x114], 0xe
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ebp, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, ebp
sub eax, ecx
add eax, edi
cdq
idiv dword [esp + 0xe0]
sub ecx, dword [esp + 0x18]
cmp ebp, ecx
mov edi, eax
jle 0x5c5487
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x54]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
sub eax, edi
push eax
push edx
call fcn.00825c35
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x110], 0xf
call fcn.00832032
lea ecx, [esp + 0x54]
mov byte [esp + 0x10c], 0xe
call fcn.00831eeb
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x7c]
push edx
inc edi
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
sub ecx, edx
cmp eax, ecx
jg 0x5c5425
dec edi
lea edx, [esp + 0x90]
push edi
push edx
lea ecx, [esp + 0x18]
call fcn.00825bb9
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 0x10
call fcn.00832032
lea ecx, [esp + 0x90]
mov byte [esp + 0x10c], 0xe
call fcn.00831eeb
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
push edi
mov ecx, dword [eax - 8]
lea edi, [esp + 0x1c]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x1c], eax
add edx, eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x28], edx
call fcn.00832032
lea ecx, [esp + 0x44]
mov byte [esp + 0x10c], 0xd
call fcn.00831eeb
lea ecx, [esp + 0x34]
mov byte [esp + 0x10c], 0xc
call fcn.00831eeb
mov byte [esp + 0x10c], 9
lea ecx, [esp + 0x28]
call fcn.00831eeb
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x11c]
add ecx, edx
cmp ecx, dword [eax + 0xc]
jle 0x5c4f16
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 8
call fcn.00831eeb
lea ecx, [esp + 0xb4]
mov dword [esp + 0x10c], 0xffffffff
call fcn.0082ab03
mov eax, esi
jmp 0x5c5586
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x100
ret