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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6295ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push eax
lea ecx, [edi + 0xf8]
push esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x34], ecx
call fcn.0059a620
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x3c], 0
jne 0x59c763
xor eax, eax
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebx + 0x10]
push 0x638c4c
push ecx
call fcn.00420930
add esp, 8
test al, al
je 0x59c77f
mov eax, dword [ebp + 0x10]
xor esi, esi
jmp 0x59c7a9
mov eax, dword [esi]
mov ecx, dword [esi + 4]
xor esi, esi
mov dword [esp + 0xa4], eax
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa8], ecx
lea eax, [esp + 0x9c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc8], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xcc], ecx
lea ecx, [esp + 0xc8]
push ecx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x59c74a
lea edx, [esp + 0x64]
mov dword [esp + 0x64], esi
lea esi, [ebx + 8]
add edi, 0xa8
push edx
push esi
mov ecx, edi
mov dword [esp + 0xbc], esi
mov dword [esp + 0x100], edi
call fcn.00599880
test al, al
je 0x59c855
cmp byte [ebx + 0xc], 0
jne 0x59c84d
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0xc8]
add eax, 4
push ecx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x59c84d
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov ecx, edi
call fcn.0059bdc0
mov edi, dword [ebx + 0x34]
xor eax, eax
test edi, edi
setne al
mov dword [esp + 0x78], edi
test eax, eax
jne 0x59c871
push 0x80004005
call fcn.00401470
mov edx, dword [esp + 0xd0]
sub edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
sub eax, dword [esp + 0xcc]
fdiv dword [ebx + 0x14]
mov dword [esp + 0x30], eax
fstp dword [esp + 0x44]
fild dword [esp + 0x30]
fdiv dword [ebx + 0x18]
fstp dword [esp + 0x48]
fild dword [esp + 0xc8]
fstp dword [esp + 0x30]
fld dword [edi + 0x28]
fld dword [esp + 0x44]
fld st(0)
fmulp st(2)
fld dword [esp + 0x30]
fld st(0)
faddp st(3)
fld qword [0x6479c8]
fmul st(3), st(0)
fld qword [0x632bc8]
fadd st(4), st(0)
fxch st(4)
call fcn.005dc8a0
fild dword [esp + 0xcc]
mov dword [esp + 0x9c], eax
fstp dword [esp + 0xac]
fld dword [edi + 0x1c]
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fld dword [esp + 0xac]
faddp st(2)
fxch st(1)
fmul st(2)
fadd st(5)
call fcn.005dc8a0
fild dword [esp + 0xd0]
fld dword [edi + 0x20]
mov dword [esp + 0xa0], eax
fmul st(5)
fsubp st(1)
fmul st(2)
fadd st(5)
call fcn.005dc8a0
fild dword [esp + 0xd4]
fld dword [edi + 0x24]
mov dword [esp + 0xa4], eax
fmul st(2)
fsubp st(1)
fmul st(2)
faddp st(5)
fxch st(4)
call fcn.005dc8a0
fld dword [0x649080]
fcom dword [edi + 0x18]
mov dword [esp + 0xa8], eax
fnstsw ax
test ah, 0x44
jp 0x59c976
mov dword [esp + 0xb8], 0
jmp 0x59c989
fld dword [edi + 0x18]
fmul st(4)
fadd st(3)
call fcn.005dc8a0
mov dword [esp + 0xb8], eax
fcom dword [edi + 0xc]
lea ecx, [edi + 0xc]
mov dword [esp + 0x64], ecx
fnstsw ax
test ah, 0x44
jp 0x59c99e
xor esi, esi
jmp 0x59c9b0
fld dword [ecx]
fmul st(5)
fadd dword [esp + 0xac]
call fcn.005dc8a0
mov esi, eax
mov dword [esp + 0xbc], esi
fcom dword [edi + 0x10]
fnstsw ax
test ah, 0x44
jp 0x59c9d1
mov edx, dword [ebp + 0xc]
fstp st(2)
mov ecx, dword [edx]
mov dword [esp + 0xc0], ecx
jmp 0x59c9e9
fld dword [edi + 0x10]
fmul st(4)
faddp st(3)
fxch st(2)
call fcn.005dc8a0
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc0], eax
fxch st(1)
fcomp dword [edi + 0x14]
fnstsw ax
test ah, 0x44
jp 0x59c9fa
mov edi, dword [edx + 4]
jmp 0x59ca10
fld dword [edi + 0x14]
fmul st(3)
fadd dword [esp + 0xac]
call fcn.005dc8a0
mov edx, dword [ebp + 0xc]
mov edi, eax
mov ecx, dword [esp + 0xb8]
xor eax, eax
test ecx, ecx
setle al
mov dword [esp + 0xc4], edi
sub eax, 1
and eax, ecx
xor ecx, ecx
test esi, esi
setle cl
mov dword [esp + 0xb8], eax
sub ecx, 1
and ecx, esi
mov dword [esp + 0xbc], ecx
mov ecx, dword [edx]
cmp dword [esp + 0xc0], ecx
jl 0x59ca56
mov dword [esp + 0xc0], ecx
mov edx, dword [edx + 4]
cmp edi, edx
jl 0x59ca64
mov dword [esp + 0xc4], edx
fmul st(1), st(0)
lea esi, [ebx + 0x1c]
fxch st(1)
push str.down
push esi
fstp dword [esp + 0x4c]
mov dword [esp + 0xb4], esi
fmulp st(1)
fstp dword [esp + 0x50]
call fcn.00420930
add esp, 8
test al, al
jne 0x59caa5
push 0x68881c
push esi
call fcn.00420930
add esp, 8
test al, al
mov byte [esp + 0x1b], 0
je 0x59caaa
mov byte [esp + 0x1b], 1
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], 0xa
mov edi, dword [ebx + 0x34]
cmp edi, eax
mov dword [esp + 0x16c], eax
je 0x59cecd
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x59c867
push 0x3c
mov ebx, edi
mov edi, dword [edi]
lea edx, [esp + 0x128]
push 0
push edx
mov dword [esp + 0x34], edi
add ebx, 8
call fcn.005d9e90
mov byte [esp + 0x147], 1
mov eax, dword [ebx + 0x68]
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
call fcn.0041fed0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x144]
push 0x20
push eax
call fcn.005deec1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59cb68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld dword [ebx + 0x6c]
fmul dword [esp + 0x48]
fld qword [0x632bc8]
fadd st(1), st(0)
fxch st(1)
call fcn.005dc8a0
mov dword [esp + 0x124], eax
fadd dword [ebx + 0x70]
call fcn.005dc8a0
mov esi, dword [esp + 0x60]
mov dword [esp + 0x134], eax
cmp byte [ebx + 0x86], 0
setne cl
mov byte [esp + 0x138], cl
cmp byte [ebx + 0x84], 0
lea ecx, [esp + 0x124]
setne dl
mov byte [esp + 0x139], dl
cmp byte [ebx + 0x85], 0
mov edx, dword [esp + 0x60]
setne al
mov byte [esp + 0x13a], al
mov eax, dword [edx + 4]
push ecx
add esi, 8
push eax
mov ecx, esi
mov byte [esp + 0x144], 4
mov byte [esp + 0x145], 0
mov byte [esp + 0x146], 4
mov byte [esp + 0x147], 0
call fcn.0059c180
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x59cc47
push 0x637b28
lea ecx, [esp + 0x144]
push 0x20
push ecx
call fcn.005deec1
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
add esp, 0xc
lea edx, [esp + 0x124]
push edx
push ecx
mov ecx, esi
call fcn.0059c180
test eax, eax
mov dword [esp + 0x1c], eax
je 0x59cebe
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebx + 0xe8]
cmp word [esi], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], esi
je 0x59ceab
push 0x334
call fcn.005b4633
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x16c], 1
je 0x59cc99
mov ecx, eax
call fcn.005aa6c0
mov edi, eax
jmp 0x59cc9b
xor edi, edi
mov dword [esp + 0x4c], edi
mov cx, word [esi]
mov word [edi], cx
push ebx
lea ecx, [edi + 4]
mov byte [esp + 0x170], 2
call fcn.0059a8e0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov cl, byte [esp + 0x1b]
mov dword [edi + 0xfc], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x100], eax
mov byte [edi + 0x104], cl
mov dword [edi + 0x108], edx
movzx eax, word [esi + 2]
test ax, ax
jne 0x59cd04
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x59cd04
mov eax, dword [ecx + 0xf0]
cmp dword [eax - 0xc], 0
jl 0x59cf74
movzx eax, word [eax]
jmp 0x59cd07
movzx eax, ax
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.005aadb0
movzx ecx, word [esi]
mov eax, dword [esp + 0x6c]
add esp, 0xc
lea edx, [esp + 0x68]
push edx
push 1
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
push edi
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x1b], 0
fld dword [ebx + 0x88]
je 0x59cd87
fmul dword [esp + 0x48]
fadd qword [0x632bc8]
call fcn.005dc8a0
mov dword [edi + 0x118], eax
mov eax, dword [esp + 0x68]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x10c], eax
mov edx, dword [esp + 0x68]
sub edx, eax
mov dword [edi + 0x110], edx
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x114], eax
cmp word [edi], 0x20
jne 0x59cdbc
cdq
sub eax, edx
sar eax, 1
jmp 0x59cdb6
fmul dword [esp + 0x44]
fadd qword [0x632bc8]
call fcn.005dc8a0
mov dword [edi + 0x118], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x10c], ecx
mov edx, dword [eax + 0x14]
mov dword [edi + 0x110], edx
mov eax, dword [esp + 0x68]
mov dword [edi + 0x114], eax
movzx eax, word [edi]
cmp ax, 0xa
jne 0x59cdf7
xor eax, eax
mov dword [edi + 0x118], eax
mov dword [edi + 0x114], eax
mov eax, dword [edi + 0x10c]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x10c], eax
mov eax, dword [edi + 0x110]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x110], eax
jmp 0x59ce36
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 4]
push ecx
push edx
lea ecx, [eax + 0x58]
call fcn.0059c340
test eax, eax
jne 0x59ce2a
mov ecx, edi
mov byte [esp + 0x16c], al
call fcn.00599a50
push edi
call fcn.005b465e
add esp, 4
jmp 0x59ce96
push eax
lea ecx, [edi + 0x128]
call fcn.005aa910
mov esi, dword [esp + 0x100]
lea ecx, [esp + 0xfc]
call fcn.004ede90
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax]
mov dword [eax + 8], edi
mov dword [esp + 0x10c], ecx
mov dword [eax + 4], esi
mov dword [eax], 0
mov ecx, dword [esp + 0x100]
add dword [esp + 0x104], 1
test ecx, ecx
je 0x59ce7c
mov dword [ecx], eax
jmp 0x59ce83
mov dword [esp + 0xfc], eax
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
mov byte [esp + 0x16c], 0
add esi, 2
cmp word [esi], 0
mov dword [esp + 0x3c], esi
jne 0x59cc71
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
jne 0x59caf0
mov eax, dword [esp + 0xfc]
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], 0xa
xor edi, edi
mov dword [esp + 0x5c], edi
cmp eax, ebx
mov byte [esp + 0x16c], 4
mov dword [esp + 0x28], eax
je 0x59d057
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x59c867
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov dword [eax + 8], ebx
mov dword [esp + 0x1c], esi
cmp edi, ebx
mov byte [esp + 0x16c], 5
jne 0x59cf86
push 0x28
call fcn.005b4633
add esp, 4
cmp eax, ebx
je 0x59cf7e
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xa
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
jmp 0x59cf80
push 0x80070057
call fcn.00401470
xor eax, eax
mov dword [esp + 0x5c], eax
mov edi, eax
movzx edx, word [esi]
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
call fcn.004ede90
mov eax, dword [edi + 0x10]
cmp eax, ebx
mov ecx, dword [eax]
je 0x59cfab
mov dword [esp + 0x1c], ebx
mov dword [eax + 8], esi
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov ecx, dword [edi + 4]
add dword [edi + 8], 1
cmp ecx, ebx
je 0x59cfc6
mov dword [ecx], eax
jmp 0x59cfc8
mov dword [edi], eax
cmp word [esp + 0x14], 0xa
mov dword [edi + 4], eax
je 0x59cfd9
cmp dword [esp + 0x28], ebx
jne 0x59d02b
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x7c]
call fcn.004ede90
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov dword [eax + 8], edi
mov dword [esp + 0x8c], ecx
mov dword [eax + 4], esi
mov dword [eax], ebx
mov ecx, dword [esp + 0x80]
add dword [esp + 0x84], 1
cmp ecx, ebx
mov dword [esp + 0x5c], ebx
je 0x59d01c
mov dword [ecx], eax
jmp 0x59d020
mov dword [esp + 0x7c], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x80], eax
cmp dword [esp + 0x1c], ebx
mov byte [esp + 0x16c], 4
je 0x59d04d
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00599a50
push esi
call fcn.005b465e
add esp, 4
cmp dword [esp + 0x28], ebx
jne 0x59cf14
mov edx, dword [esp + 0xac]
push 0x6480fc
push edx
call fcn.00420930
add esp, 8
test al, al
je 0x59d127
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov ecx, eax
mov dword [esp + 0x14], ecx
je 0x59d127
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
mov dword [esp + 0x30], edx
je 0x59c867
mov eax, dword [ecx + 8]
mov edi, dword [eax]
test edi, edi
je 0x59d10f
mov eax, edi
mov edi, dword [edi]
test edi, edi
mov eax, dword [eax + 8]
je 0x59d107
mov esi, dword [edi + 8]
mov ecx, dword [eax + 0x108]
cmp ecx, dword [esi + 0x108]
jne 0x59d0a2
cmp byte [eax + 0x98], 0
je 0x59d0a2
cmp byte [esi + 0x98], 0
je 0x59d0a2
movzx edx, word [esi]
movzx eax, word [eax]
push edx
push eax
call fcn.005a9420
mov ebx, eax
test ebx, ebx
je 0x59d0a2
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esi + 0x128]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0
call fcn.005aa820
add dword [esi + 0x114], ebx
jmp 0x59d0a2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x59c867
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x14], ecx
jne 0x59d086
xor ebx, ebx
mov esi, dword [ebp + 8]
add esi, 0x24
push str.normal
push esi
call fcn.00420930
add esp, 8
test al, al
jne 0x59d155
push str.even
push esi
call fcn.00420930
add esp, 8
test al, al
je 0x59d6ea
cmp byte [esp + 0x1b], 0
je 0x59d16c
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa0]
jmp 0x59d17a
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x9c]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov ecx, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ecx
je 0x59d6ee
jmp 0x59d1a4
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
mov dword [esp + 0x4c], eax
je 0x59c867
mov esi, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [esi + 0x24]
mov ecx, dword [eax - 0x10]
add esi, 0x24
cmp ecx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ebx
je 0x59d1dd
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, ebx
jne 0x59d1eb
call fcn.005bc43d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push str.even
lea ecx, [esp + 0xf8]
call fcn.00420060
mov edi, dword [esp + 0xf0]
xor eax, eax
cmp edi, ebx
setne al
mov byte [esp + 0x16c], 6
cmp eax, ebx
je 0x59c867
mov eax, dword [esi]
mov ecx, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x59d246
cmp dx, bx
je 0x59d242
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x59d246
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x59d220
xor eax, eax
jmp 0x59d24b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea eax, [edi - 0x10]
sete byte [esp + 0x23]
mov byte [esp + 0x16c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59d276
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], 0
je 0x59d2e8
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
xor edi, edi
cmp ecx, ebx
je 0x59d2c0
lea esp, [esp]
xor edx, edx
cmp ecx, ebx
setne dl
mov esi, edx
cmp esi, ebx
je 0x59c867
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x118]
add eax, dword [edx + 0x114]
add edi, eax
cmp esi, ebx
je 0x59c867
mov ecx, dword [ecx]
cmp ecx, ebx
jne 0x59d290
mov esi, dword [esp + 0x3c]
mov eax, edi
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
cmp ecx, esi
jle 0x59d2e8
mov eax, ecx
cdq
idiv esi
mov esi, eax
mov eax, ecx
cdq
add esi, 1
idiv esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], eax
je 0x59d6ce
mov edi, edi
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x59c867
mov edi, dword [ecx + 8]
mov edx, dword [edi + 0x118]
add edx, dword [edi + 0x114]
add dword [esp + 0x10], edx
cmp esi, ebx
je 0x59d52c
mov eax, dword [esp + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x3c]
jle 0x59d52c
cmp word [edi], 0x20
je 0x59d52c
push 0x28
call fcn.005b4633
add esp, 4
cmp eax, ebx
je 0x59d382
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xa
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov edi, eax
jmp 0x59d384
xor edi, edi
mov eax, dword [esi]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x10], eax
mov edi, edi
xor eax, eax
cmp dword [esp + 0x24], eax
setne al
test eax, eax
je 0x59c867
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 4]
mov ebx, dword [edi]
mov dword [esp + 0x24], ecx
mov ecx, edi
call fcn.004ede90
mov eax, dword [edi + 0x10]
test eax, eax
mov ecx, dword [eax]
je 0x59d3cb
mov edx, dword [esi + 8]
mov dword [esi + 8], 0
mov dword [eax + 8], edx
mov dword [edi + 0x10], ecx
mov dword [eax + 4], 0
mov dword [eax], ebx
mov ecx, dword [edi]
add dword [edi + 8], 1
test ecx, ecx
je 0x59d3e6
mov dword [ecx + 4], eax
jmp 0x59d3e9
mov dword [edi + 4], eax
cmp dword [esp + 0x24], 0
mov dword [edi], eax
jne 0x59d390
cmp dword [esp + 0x1c], 0
lea ecx, [esp + 0x7c]
jne 0x59d44a
mov esi, dword [esp + 0x7c]
call fcn.004ede90
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov dword [eax + 8], edi
xor edx, edx
mov dword [esp + 0x8c], ecx
mov dword [eax + 4], edx
mov dword [eax], esi
mov ecx, dword [esp + 0x7c]
add dword [esp + 0x84], 1
cmp ecx, edx
mov dword [esp + 0x5c], edx
je 0x59d43d
mov dword [ecx + 4], eax
mov dword [esp + 0x7c], eax
jmp 0x59d490
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
jmp 0x59d490
mov esi, dword [esp + 0x1c]
mov ebx, dword [esi + 4]
call fcn.004ede90
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov dword [eax + 8], edi
mov dword [esp + 0x8c], ecx
mov dword [eax + 4], ebx
mov dword [eax], esi
add dword [esp + 0x84], 1
mov ecx, dword [esi + 4]
test ecx, ecx
mov dword [esp + 0x5c], 0
je 0x59d489
mov dword [ecx], eax
jmp 0x59d48d
mov dword [esp + 0x7c], eax
mov dword [esi + 4], eax
mov esi, dword [esp + 0x14]
cmp dword [esi + 8], 0
je 0x59d502
lea ebx, [ebx]
mov edi, dword [esi]
cmp edi, dword [esp + 0x10]
je 0x59d502
xor eax, eax
xor ecx, ecx
cmp edi, ecx
setne al
cmp eax, ecx
je 0x59c867
mov eax, dword [edi]
cmp eax, ecx
mov dword [esi], eax
je 0x59d4c6
mov dword [eax + 4], ecx
jmp 0x59d4c9
mov dword [esi + 4], ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x59d4e0
mov ecx, ebx
call fcn.00599a50
push ebx
call fcn.005b465e
add esp, 4
mov dword [edi + 8], 0
mov edx, dword [esi + 0x10]
mov dword [edi], edx
add dword [esi + 8], 0xffffffff
mov dword [esi + 0x10], edi
jne 0x59d4fc
mov ecx, esi
call fcn.0059b830
cmp dword [esi + 8], 0
jne 0x59d4a0
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x59c867
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x118]
add eax, dword [edi + 0x114]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x30]
jl 0x59d6ab
mov eax, dword [edi + 4]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x59d554
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x59d562
call fcn.005bc43d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push str.char
lea ecx, [esp + 0x9c]
call fcn.00420060
mov esi, dword [esp + 0x94]
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x16c], 7
test eax, eax
je 0x59c867
mov eax, dword [edi + 4]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x59d5bd
test dx, dx
je 0x59d5b9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x59d5bd
add eax, 4
add ecx, 4
test dx, dx
jne 0x59d597
xor eax, eax
jmp 0x59d5c2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov byte [esp + 0x16c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59d5eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x59d6a3
mov ecx, dword [edi + 4]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x59d608
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x59d616
call fcn.005bc43d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push str.word
lea ecx, [esp + 0x70]
call fcn.00420060
mov esi, dword [esp + 0x68]
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x16c], 8
test eax, eax
je 0x59c867
mov eax, dword [edi + 4]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x59d66b
test dx, dx
je 0x59d667
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x59d66b
add eax, 4
add ecx, 4
test dx, dx
jne 0x59d645
xor eax, eax
jmp 0x59d670
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov byte [esp + 0x16c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59d699
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x59d6ab
cmp word [edi], 0x20
jne 0x59d6ab
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x59c867
mov eax, dword [ecx]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x28], eax
jne 0x59d300
cmp dword [esp + 0x4c], ebx
je 0x59c867
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x59d1a0
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov ecx, eax
mov dword [esp + 0x3c], eax
je 0x59d7d7
lea esp, [esp]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
mov dword [esp + 0x4c], eax
je 0x59c867
mov esi, dword [ecx + 8]
xor edi, edi
cmp dword [esi + 8], edi
je 0x59d7b5
mov eax, dword [esi]
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x59c867
mov eax, dword [eax + 8]
cmp word [eax], 0x20
jne 0x59d768
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0059b4c0
mov ebx, dword [esp + 0x30]
cmp ebx, edi
je 0x59d75f
mov ecx, ebx
call fcn.00599a50
push ebx
call fcn.005b465e
add esp, 4
cmp dword [esi + 8], edi
mov dword [esp + 0x30], edi
jne 0x59d721
cmp dword [esi + 8], edi
je 0x59d7b5
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x59c867
mov eax, dword [eax + 8]
cmp word [eax], 0x20
jne 0x59d7b5
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0059b540
mov ebx, dword [esp + 0x14]
cmp ebx, edi
je 0x59d7ac
mov ecx, ebx
call fcn.00599a50
push ebx
call fcn.005b465e
add esp, 4
cmp dword [esi + 8], edi
mov dword [esp + 0x14], edi
jne 0x59d76d
cmp dword [esp + 0x4c], edi
je 0x59c867
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx]
cmp ecx, edi
mov dword [esp + 0x3c], ecx
jne 0x59d700
mov eax, dword [esp + 0x7c]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], 0xa
cmp eax, ebx
mov byte [esp + 0x16c], 9
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
je 0x59d9fd
xor edx, edx
cmp eax, ebx
setne dl
cmp edx, ebx
mov dword [esp + 0x94], edx
je 0x59c867
mov ecx, dword [eax + 8]
mov ecx, dword [ecx]
cmp ecx, ebx
mov dword [esp + 0x1c], ecx
je 0x59d9e7
jmp 0x59d854
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x59c867
cmp dword [esp + 0xe0], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], esi
je 0x59d96f
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x59d96f
cmp dword [esi + 0xd4], eax
jne 0x59d8a7
cmp dword [esp + 0x14], ebx
jne 0x59d96f
cmp ecx, ebx
jne 0x59d96f
fld dword [esi + 0xe8]
fimul dword [esp + 0x10]
fadd qword [0x632bc8]
call fcn.005dc8a0
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
jmp 0x59d8d7
mov edi, dword [esp + 0xdc]
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x59c867
mov esi, dword [edi + 8]
mov eax, edi
mov edi, dword [edi + 4]
test edi, edi
mov dword [esp + 0xdc], edi
je 0x59d901
mov dword [edi], 0
jmp 0x59d90c
mov dword [esp + 0xd8], 0
mov ecx, dword [esp + 0xe8]
mov dword [eax], ecx
sub dword [esp + 0xe0], 1
mov dword [esp + 0xe8], eax
jne 0x59d932
lea ecx, [esp + 0xd8]
call fcn.004e8220
sub ebx, dword [esi + 0x114]
mov edx, dword [esp + 0x4c]
sub edx, ebx
mov dword [esi + 0x11c], edx
cmp dword [esp + 0xe0], 0
jne 0x59d8d0
lea ecx, [esp + 0xd8]
call fcn.004e8220
mov edi, dword [esp + 0xdc]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x10], 0
xor ebx, ebx
mov eax, dword [esi + 0xd4]
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x59d9d2
lea ecx, [esp + 0xd8]
call fcn.004ede90
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax]
mov dword [eax + 8], esi
mov dword [esp + 0xe8], ecx
mov dword [eax + 4], edi
mov dword [eax], ebx
mov ecx, dword [esp + 0xdc]
add dword [esp + 0xe0], 1
cmp ecx, ebx
je 0x59d9b8
mov dword [ecx], eax
jmp 0x59d9bf
mov dword [esp + 0xd8], eax
mov edi, eax
mov dword [esp + 0xdc], edi
mov eax, dword [esi + 0x114]
add dword [esp + 0x10], eax
cmp dword [esp + 0x1c], ebx
jne 0x59d850
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x14]
cmp edx, ebx
je 0x59c867
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x59d823
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x20]
mov ecx, dword [ecx - 0x10]
cmp ecx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
je 0x59da1d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, ebx
jne 0x59da2b
call fcn.005bc43d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push 0x64810c
lea ecx, [esp + 0x54]
call fcn.00420060
mov esi, dword [esp + 0x4c]
xor eax, eax
cmp esi, ebx
setne al
mov byte [esp + 0x16c], 0xa
cmp eax, ebx
jne 0x59da5b
push 0x80004005
call fcn.00401470
mov eax, dword [edi + 0x20]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x59da86
cmp dx, bx
je 0x59da82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x59da86
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x59da60
xor eax, eax
jmp 0x59da8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea eax, [esi - 0x10]
sete byte [esp + 0x23]
mov byte [esp + 0x16c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59dab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], 0
jne 0x59db7d
mov ecx, dword [edi + 0x20]
mov ecx, dword [ecx - 0x10]
cmp ecx, ebx
je 0x59dad6
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, ebx
jne 0x59dae4
call fcn.005bc43d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push 0x68881c
lea ecx, [esp + 0x54]
call fcn.00420060
mov esi, dword [esp + 0x4c]
xor eax, eax
cmp esi, ebx
setne al
mov byte [esp + 0x16c], 0xb
cmp eax, ebx
jne 0x59db14
push 0x80004005
call fcn.00401470
mov eax, dword [edi + 0x20]
mov ecx, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x59db46
cmp dx, bx
je 0x59db42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x59db46
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x59db20
xor eax, eax
jmp 0x59db4b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea eax, [esi - 0x10]
sete byte [esp + 0x23]
mov byte [esp + 0x16c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59db76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], 0
je 0x59db8a
lea ecx, [esp + 0x7c]
push ecx
call fcn.0059c680
add esp, 4
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x59dea1
jmp 0x59dba4
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
mov dword [esp + 0xf0], ecx
je 0x59c867
mov ebx, dword [esp + 0xac]
mov edx, dword [ebx]
mov ecx, dword [edx - 0x10]
test ecx, ecx
mov edi, dword [eax + 8]
je 0x59dbd8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
jne 0x59dbe6
call fcn.005bc43d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push 0x64810c
lea ecx, [esp + 0x54]
call fcn.00420060
mov esi, dword [esp + 0x4c]
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x16c], 0xc
test eax, eax
je 0x59c867
mov eax, dword [ebx]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x59dc3a
test dx, dx
je 0x59dc36
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x59dc3a
add eax, 4
add ecx, 4
test dx, dx
jne 0x59dc14
xor eax, eax
jmp 0x59dc3f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov byte [esp + 0x16c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59dc68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x59dd28
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx]
mov ecx, dword [edx - 0x10]
test ecx, ecx
je 0x59dc8b
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
jne 0x59dc99
call fcn.005bc43d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push 0x68881c
lea ecx, [esp + 0x70]
call fcn.00420060
mov esi, dword [esp + 0x68]
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x16c], 0xd
test eax, eax
je 0x59c867
mov ecx, dword [esp + 0xac]
mov eax, dword [ecx]
mov ecx, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x59dcf6
test dx, dx
je 0x59dcf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x59dcf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x59dcd0
xor eax, eax
jmp 0x59dcfb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov byte [esp + 0x16c], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x59dd24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x59dd31
push edi
call fcn.0059b7b0
add esp, 4
mov ebx, dword [edi]
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [edi + 0x24], eax
je 0x59de17
xor eax, eax
test ebx, ebx
setne al
test eax, eax
mov dword [esp + 0x94], eax
je 0x59c867
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x114]
add dword [esp + 0x10], eax
test ebx, ebx
je 0x59dd79
mov ecx, dword [esi + 0x118]
add dword [esp + 0x10], ecx
mov edx, dword [esi + 0x110]
mov ecx, dword [esi + 0x10c]
add ecx, edx
cmp dword [esp + 0x1c], ecx
jg 0x59dd91
mov dword [esp + 0x1c], ecx
add dword [edi + 0x24], eax
test ebx, ebx
mov eax, dword [edi + 0x24]
je 0x59dda6
mov edx, dword [esi + 0x118]
add edx, eax
mov dword [edi + 0x24], edx
mov eax, dword [edi + 0x18]
mov ecx, dword [esi + 0x10c]
cmp eax, ecx
jg 0x59ddb5
mov eax, ecx
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [esi + 0x110]
cmp eax, ecx
jg 0x59ddc7
mov eax, ecx
fild dword [edi + 0x20]
mov ecx, esi
mov dword [edi + 0x1c], eax
fstp qword [esp + 0x30]
call fcn.005a9780
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x59dde8
fild dword [edi + 0x20]
jmp 0x59ddef
mov ecx, esi
call fcn.005a9780
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
call fcn.005dc8a0
cmp dword [esp + 0x94], 0
mov dword [edi + 0x20], eax
je 0x59c867
mov ebx, dword [ebx]
test ebx, ebx
jne 0x59dd48
mov eax, dword [edi]
test eax, eax
je 0x59de4a
lea ecx, [ecx]
xor edx, edx
test eax, eax
setne dl
test edx, edx
je 0x59c867
mov ecx, dword [eax + 8]
mov esi, dword [edi + 0x18]
mov dword [ecx + 0x120], esi
mov esi, dword [edi + 0x1c]
mov dword [ecx + 0x124], esi
mov eax, dword [eax]
test eax, eax
jne 0x59de20
cmp byte [esp + 0x1b], 0
je 0x59de69
mov eax, dword [esp + 0x1c]
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x40], eax
jg 0x59de7f
mov dword [esp + 0x40], eax
jmp 0x59de7f
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x3c], eax
jg 0x59de77
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x40], ecx
cmp dword [esp + 0xf0], 0
je 0x59c867
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x59dba0
xor ebx, ebx
push 0x3c
call fcn.005b4633
add esp, 4
cmp eax, ebx
je 0x59df21
mov dword [eax], vtable.ssf::RenderedSubtitle.0
mov ecx, dword [esp + 0xc8]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xcc]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xd0]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0xd4]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0xb8]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0xbc]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0xc4]
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], 0xa
mov dword [esp + 0x24], eax
jmp 0x59df25
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edi, [esp + 0xa4]
lea ebx, [esp + 0x70]
call fcn.005988d0
xor eax, eax
lea edx, [esp + 0x54]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x50]
push eax
lea ebx, [esp + 0xa4]
call fcn.005988d0
mov edx, dword [ebp + 8]
add esp, 0x10
cmp byte [edx + 0xc], 0
jne 0x59e029
xor ecx, ecx
cmp dword [esp + 0x84], ecx
je 0x59dfbf
mov eax, dword [esp + 0x7c]
test eax, eax
setne cl
test ecx, ecx
jne 0x59df95
push 0x80004005
call fcn.00401470
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x20]
mov esi, dword [esp + 0x80]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x59dfb7
push 0x80004005
call fcn.00401470
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x20]
jmp 0x59dfc1
xor eax, eax
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x80]
add ecx, 0x2c
push ecx
mov ecx, dword [esp + 0x38]
add edi, esi
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x78]
push edx
lea edx, [esp + 0x5c]
add ebx, edi
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], ebx
call fcn.0059ba90
mov edx, dword [esp + 0x50]
mov eax, edx
sub eax, edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
sub ecx, esi
add dword [esp + 0x94], ecx
add dword [esp + 0x98], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edx
jmp 0x59e031
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x114], edi
add edi, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x118], edx
add edx, ecx
test eax, eax
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], edx
mov dword [esp + 0x3c], eax
je 0x59e362
jmp 0x59e074
mov eax, dword [esp + 0x3c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
mov dword [esp + 0x4c], ecx
je 0x59c867
cmp byte [esp + 0x1b], 0
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x24]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], eax
lea edi, [esp + 0x9c]
je 0x59e1ff
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x48]
push eax
lea ebx, [esp + 0x38]
call fcn.005988d0
mov edx, dword [esp + 0x18]
mov esi, dword [edx]
mov ecx, dword [eax + 4]
add esp, 8
test esi, esi
mov dword [esp + 0x6c], ecx
je 0x59e1ec
xor eax, eax
test esi, esi
setne al
test eax, eax
mov dword [esp + 0x78], eax
je 0x59c867
mov edi, dword [esi + 8]
mov dword [esi + 8], 0
mov dword [esp + 0x14], edi
fld dword [edi + 0x3c]
fmul dword [esp + 0x44]
mov byte [esp + 0x16c], 0xe
fld qword [0x632bc8]
fadd st(1), st(0)
fxch st(1)
call fcn.005dc8a0
sub eax, dword [edi + 0x10c]
mov ecx, dword [esp + 0x10]
add eax, dword [ecx + 0x18]
add eax, dword [esp + 0x68]
mov dword [edi + 0x180], eax
fld dword [edi + 0x40]
fmul dword [esp + 0x48]
faddp st(1)
call fcn.005dc8a0
mov ebx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x6c]
add edx, eax
mov dword [edi + 0x184], edx
mov ecx, dword [edi + 0x118]
add ecx, dword [edi + 0x114]
mov edx, dword [ebx + 0x28]
add ebx, 0x24
add eax, ecx
mov ecx, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], edx
call fcn.004ede90
mov eax, dword [ebx + 0x10]
test eax, eax
mov ecx, dword [eax]
je 0x59e190
mov dword [esp + 0x14], 0
mov dword [eax + 8], edi
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov dword [eax], 0
mov ecx, dword [ebx + 4]
add dword [ebx + 8], 1
test ecx, ecx
je 0x59e1af
mov dword [ecx], eax
jmp 0x59e1b1
mov dword [ebx], eax
cmp dword [esp + 0x14], 0
mov dword [ebx + 4], eax
mov byte [esp + 0x16c], 9
je 0x59e1d7
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00599a50
push edi
call fcn.005b465e
add esp, 4
cmp dword [esp + 0x78], 0
je 0x59c867
mov esi, dword [esi]
test esi, esi
jne 0x59e0e3
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x1c]
add edx, dword [eax + 0x18]
add dword [esp + 0x68], edx
jmp 0x59e345
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ebx, [esp + 0xb4]
call fcn.005988d0
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
add esp, 8
test esi, esi
mov dword [esp + 0x68], edx
je 0x59e337
nop
xor eax, eax
test esi, esi
setne al
test eax, eax
mov dword [esp + 0x78], eax
je 0x59c867
mov edi, dword [esi + 8]
mov dword [esi + 8], 0
mov dword [esp + 0x14], edi
fld dword [edi + 0x3c]
fmul dword [esp + 0x44]
mov byte [esp + 0x16c], 0xf
fld qword [0x632bc8]
fadd st(1), st(0)
fxch st(1)
call fcn.005dc8a0
mov ebx, dword [esp + 0x68]
add eax, ebx
mov dword [edi + 0x180], eax
fld dword [edi + 0x40]
fmul dword [esp + 0x48]
faddp st(1)
call fcn.005dc8a0
sub eax, dword [edi + 0x10c]
mov ecx, dword [esp + 0x10]
add eax, dword [ecx + 0x18]
add eax, dword [esp + 0x6c]
mov dword [edi + 0x184], eax
mov edx, dword [edi + 0x118]
add edx, dword [edi + 0x114]
add ebx, edx
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x28]
add ebx, 0x24
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.004ede90
mov eax, dword [ebx + 0x10]
test eax, eax
mov ecx, dword [eax]
je 0x59e2db
mov dword [esp + 0x14], 0
mov dword [eax + 8], edi
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov dword [eax], 0
mov ecx, dword [ebx + 4]
add dword [ebx + 8], 1
test ecx, ecx
je 0x59e2fa
mov dword [ecx], eax
jmp 0x59e2fc
mov dword [ebx], eax
cmp dword [esp + 0x14], 0
mov dword [ebx + 4], eax
mov byte [esp + 0x16c], 9
je 0x59e322
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00599a50
push edi
call fcn.005b465e
add esp, 4
cmp dword [esp + 0x78], 0
je 0x59c867
mov esi, dword [esi]
test esi, esi
jne 0x59e230
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x1c]
add edx, dword [eax + 0x18]
add dword [esp + 0x6c], edx
cmp dword [esp + 0x4c], 0
je 0x59c867
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x59e070
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx + 0x24]
test esi, esi
je 0x59e3bc
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x59c867
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
mov ecx, edi
call fcn.005aa060
lea ecx, [esp + 0xc8]
push ecx
mov ecx, edi
call fcn.005aa320
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x114]
push edx
push eax
push ecx
mov ecx, edi
call fcn.005a9d10
test esi, esi
jne 0x59e36d
lea eax, [ebx + 0x24]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x10], 0
je 0x59e830
mov esi, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esi + 0x184]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x170]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x180]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x174]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x178]
push ecx
push eax
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x17c]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x64], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, esi
call fcn.005a9780
fadd qword [0x632bc8]
call fcn.005dc8a0
mov ecx, esi
mov edi, eax
call fcn.005a97b0
fadd qword [0x632bc8]
call fcn.005dc8a0
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [esp + 0x54]
push ecx
mov ebx, eax
call edi
push ebx
push ebx
lea edx, [esp + 0x54]
push edx
call edi
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sar dword [esp + 0x4c], 6
sar dword [esp + 0x50], 6
add eax, 0x20
sar eax, 6
add ecx, 0x20
sar ecx, 6
lea edx, [esp + 0xb8]
mov dword [esp + 0x54], eax
push edx
lea eax, [esp + 0x50]
mov dword [esp + 0x5c], ecx
push eax
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x59e4c2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push eax
add ecx, 0x24
call fcn.0059b5d0
jmp 0x59e820
mov eax, dword [esp + 0x10]
test eax, eax
je 0x59e81c
lea ecx, [esi + 4]
push ecx
lea ecx, [eax + 4]
call fcn.005a0df0
test al, al
je 0x59e81c
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x184]
mov eax, dword [esi + 0x184]
mov edx, dword [edi + 0x180]
sub eax, ecx
mov ecx, dword [esi + 0x180]
sub ecx, edx
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ecx
push edx
lea ecx, [esi + 0x128]
mov dword [esp + 0x4c], eax
call fcn.005aa820
mov eax, dword [edi + 0x130]
mov ebx, dword [esi + 0x130]
add edi, 0x12c
add ebx, eax
mov dword [esp + 0x2c], eax
jne 0x59e54c
mov eax, dword [edi]
xor ebx, ebx
cmp eax, ebx
je 0x59e547
push eax
call fcn.005d9100
add esp, 4
mov dword [edi], ebx
mov dword [edi + 8], ebx
jmp 0x59e57c
cmp ebx, dword [edi + 8]
ja 0x59e557
cmp ebx, eax
jbe 0x59e57c
jmp 0x59e56a
push ebx
mov ecx, edi
call fcn.004e1f50
test al, al
je 0x59e903
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov ecx, ebx
sub ecx, eax
push ecx
add edx, eax
push edx
call fcn.004a9470
add esp, 8
mov dword [edi + 4], ebx
mov edi, dword [edi]
mov edx, dword [esi + 0x130]
add edi, dword [esp + 0x2c]
test edx, edx
mov ecx, dword [esi + 0x12c]
jbe 0x59e5ad
mov eax, edi
sub ecx, edi
mov edi, edx
jmp 0x59e5a0
mov dl, byte [ecx + eax]
mov byte [eax], dl
add eax, 1
sub edi, 1
jne 0x59e5a0
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x140]
mov ebx, dword [esi + 0x140]
add edi, 0x13c
add ebx, eax
mov dword [esp + 0x2c], eax
jne 0x59e5ea
mov eax, dword [edi]
test eax, eax
je 0x59e5e0
push eax
call fcn.005d9100
add esp, 4
mov dword [edi], 0
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
jmp 0x59e61e
cmp ebx, dword [edi + 8]
ja 0x59e5f5
cmp ebx, eax
jbe 0x59e61b
jmp 0x59e608
push ebx
mov ecx, edi
call fcn.00458270
test al, al
je 0x59e903
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [edx + eax*8]
push eax
call fcn.004a9470
add esp, 8
mov dword [edi + 4], ebx
mov eax, dword [edi]
mov edx, dword [esi + 0x140]
test edx, edx
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x13c]
lea eax, [eax + edi*8]
jbe 0x59e654
sub ecx, eax
lea esp, [esp]
mov edi, dword [ecx + eax]
mov dword [eax], edi
mov edi, dword [ecx + eax + 4]
mov dword [eax + 4], edi
add eax, 8
sub edx, 1
jne 0x59e640
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esi + 0x14c]
call fcn.005aa820
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x154]
mov ebx, dword [esi + 0x154]
add edi, 0x150
add ebx, eax
mov dword [esp + 0x2c], eax
jne 0x59e69a
mov eax, dword [edi]
xor ebx, ebx
cmp eax, ebx
je 0x59e695
push eax
call fcn.005d9100
add esp, 4
mov dword [edi], ebx
mov dword [edi + 8], ebx
jmp 0x59e6ca
cmp ebx, dword [edi + 8]
ja 0x59e6a5
cmp ebx, eax
jbe 0x59e6ca
jmp 0x59e6b8
push ebx
mov ecx, edi
call fcn.004e1f50
test al, al
je 0x59e903
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, ebx
sub edx, eax
push edx
add ecx, eax
push ecx
call fcn.004a9470
add esp, 8
mov dword [edi + 4], ebx
mov edi, dword [edi]
mov edx, dword [esi + 0x154]
add edi, dword [esp + 0x2c]
test edx, edx
mov ecx, dword [esi + 0x150]
jbe 0x59e6fd
mov eax, edi
sub ecx, edi
mov edi, edx
lea esp, [esp]
mov dl, byte [ecx + eax]
mov byte [eax], dl
add eax, 1
sub edi, 1
jne 0x59e6f0
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x164]
mov ebx, dword [esi + 0x164]
add edi, 0x160
add ebx, eax
mov dword [esp + 0x2c], eax
jne 0x59e73a
mov eax, dword [edi]
test eax, eax
je 0x59e730
push eax
call fcn.005d9100
add esp, 4
mov dword [edi], 0
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
jmp 0x59e76e
cmp ebx, dword [edi + 8]
ja 0x59e745
cmp ebx, eax
jbe 0x59e76b
jmp 0x59e758
push ebx
mov ecx, edi
call fcn.00458270
test al, al
je 0x59e903
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [edx + eax*8]
push eax
call fcn.004a9470
add esp, 8
mov dword [edi + 4], ebx
mov eax, dword [edi]
mov edx, dword [esi + 0x164]
test edx, edx
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x160]
lea eax, [eax + edi*8]
jbe 0x59e7a4
sub ecx, eax
lea esp, [esp]
mov edi, dword [ecx + eax]
mov dword [eax], edi
mov edi, dword [ecx + eax + 4]
mov dword [eax + 4], edi
add eax, 8
sub edx, 1
jne 0x59e790
mov edx, dword [esi + 0x174]
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x178]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esi + 0x17c]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x44]
push edx
mov dword [esp + 0xac], ecx
push eax
lea ecx, [esp + 0xa4]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x9c]
add eax, 0x170
push edx
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push eax
add ecx, 0x24
call fcn.0059b5d0
jmp 0x59e820
mov dword [esp + 0x10], esi
cmp dword [esp + 0x28], 0
je 0x59e830
mov eax, dword [esp + 0x28]
jmp 0x59e3d1
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x24]
add eax, 0x24
test esi, esi
je 0x59e85f
mov edi, edi
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x59c867
mov eax, esi
mov ecx, dword [eax + 8]
mov esi, dword [esi]
call fcn.005a9de0
test esi, esi
jne 0x59e840
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0xf8]
mov eax, dword [ebx]
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x80]
push ecx
add edi, 4
push eax
mov ecx, edi
call fcn.0059fed0
test eax, eax
je 0x59e8a6
mov eax, dword [eax + 4]
test eax, eax
je 0x59e8ce
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
jmp 0x59e8ce
mov esi, dword [esp + 0xf8]
mov ecx, dword [esi + 0x38]
add esi, 0x34
push 0
push ecx
push ebx
mov ecx, esi
call fcn.004452f0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x59e8c9
mov dword [ecx], eax
jmp 0x59e8cb
mov dword [esi], eax
mov dword [esi + 4], eax
mov ebx, dword [ebx]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
mov ecx, edi
call fcn.0059fed0
test eax, eax
jne 0x59e922
cmp dword [edi], eax
jne 0x59e90d
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.00598b30
test al, al
jne 0x59e90d
push 0x8007000e
call fcn.00401470
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.0059adc0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0xf8]
mov dword [eax + 4], edi
call fcn.0059bf20
mov ecx, dword [esp + 0x60]
add ecx, 8
call fcn.0059bcc0
lea ecx, [esp + 0xd8]
call fcn.004e8220
mov esi, dword [esp + 0x5c]
test esi, esi
mov byte [esp + 0x16c], 3
je 0x59e96d
mov ecx, esi
call fcn.0059b830
push esi
call fcn.005b465e
add esp, 4
lea ecx, [esp + 0x7c]
call fcn.00598d70
lea ecx, [esp + 0xfc]
call fcn.0059b830
mov ecx, dword [esp + 0x164]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc