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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x5b2111
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5b47b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404be8
lea eax, [ebp - 0x1c]
call fcn.00404be8
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
sub dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x34]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1f], 0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
push edi
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 8]
call fcn.00404be8
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x35], 0
je 0x5b46aa
cmp byte [ebp + 0x38], 0
jne 0x5b46aa
mov eax, dword [edi + 0x10]
call fcn.0042d364
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [edi + 0x14]
call fcn.0042d664
mov edx, eax
mov eax, dword [edi + 0x10]
call fcn.0042d36c
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x44]
push edx
mov edx, dword [ebp + 0x30]
mov edx, dword [edx]
mov eax, dword [ebp - 0x74]
add edx, eax
push edx
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x4c]
mov ecx, eax
mov eax, edi
call fcn.0042dec0
jmp 0x5b46aa
mov edx, dword [ebx]
mov eax, 0x5b47d0
call fcn.004051ec
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x48], 0
je 0x5b2212
mov edx, dword [ebx]
mov eax, 0x5b47dc
call fcn.004051ec
mov esi, eax
jmp 0x5b2214
xor esi, esi
cmp dword [ebp - 0x38], 0
jle 0x5b2239
cmp esi, dword [ebp - 0x38]
jg 0x5b2223
test esi, esi
jne 0x5b2239
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x38]
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00405108
jmp 0x5b225b
test esi, esi
jle 0x5b2251
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
mov ecx, esi
mov edx, 1
call fcn.00405108
jmp 0x5b225b
lea eax, [ebp - 4]
mov edx, dword [ebx]
call fcn.00404c80
mov eax, dword [ebp - 4]
call fcn.00404eb0
mov esi, eax
jmp 0x5b2279
lea ecx, [ebp - 4]
mov edx, 0x5b47dc
mov eax, 0x5b47e8
call fcn.005b1fd8
mov edx, dword [ebp - 4]
mov eax, 0x5b47e8
call fcn.004051ec
test eax, eax
jg 0x5b2267
jmp 0x5b229e
lea ecx, [ebp - 4]
mov edx, 0x5b47d0
mov eax, 0x5b47f8
call fcn.005b1fd8
mov edx, dword [ebp - 4]
mov eax, 0x5b47f8
call fcn.004051ec
test eax, eax
jg 0x5b228c
jmp 0x5b22c3
lea ecx, [ebp - 4]
mov edx, 0x5b4808
mov eax, 0x5b4814
call fcn.005b1fd8
mov edx, dword [ebp - 4]
mov eax, 0x5b4814
call fcn.004051ec
test eax, eax
jg 0x5b22b1
mov eax, dword [ebp - 4]
call fcn.00404eb0
mov dword [ebp - 0x58], eax
test esi, esi
jle 0x5b27a2
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0042e154
mov edx, dword [ebp + 0x3c]
cmp byte [edx - 0x4d], 0
je 0x5b2312
mov edx, dword [ebp + 0x2c]
mov edx, dword [edx]
mov ecx, eax
shr ecx, 2
cmp edx, ecx
jge 0x5b2312
mov edx, eax
shr edx, 2
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp + 0x3c]
cmp byte [edx - 0x4e], 0
je 0x5b2333
mov edx, dword [ebp + 0x28]
mov edx, dword [edx]
mov ecx, eax
shr ecx, 2
cmp edx, ecx
jge 0x5b2333
mov edx, eax
shr edx, 2
mov ecx, dword [ebp + 0x28]
mov dword [ecx], edx
mov edx, dword [ebp + 0x30]
cmp eax, dword [edx]
jle 0x5b233f
mov edx, dword [ebp + 0x30]
mov dword [edx], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
call fcn.00404eb8
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x4f], 0
jne 0x5b27a2
cmp byte [ebp + 0x38], 0
jne 0x5b256d
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x4e], 0
je 0x5b237b
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
sub dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x4d], 0
je 0x5b238c
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
add dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
sub dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x50], 0
je 0x5b2425
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x64]
push eax
lea eax, [ebp - 0x88]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x30]
mov eax, dword [edi + 0xc]
call fcn.0042ce80
push 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x54]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004050a8
push eax
mov eax, edi
call fcn.0042e2fc
push eax
call sub.user32.dll_DrawTextExA
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x64]
neg eax
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x64]
neg eax
push eax
lea eax, [ebp - 0x88]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x4c]
call fcn.0042ce80
push 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x54]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004050a8
push eax
mov eax, edi
call fcn.0042e2fc
push eax
call sub.user32.dll_DrawTextExA
push 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x54]
or eax, 0x400
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004050a8
push eax
mov eax, edi
call fcn.0042e2fc
push eax
call sub.user32.dll_DrawTextExA
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x5b24a9
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
dec eax
mov edx, dword [ebp + 0x3c]
cmp eax, dword [edx + 0x6c]
jne 0x5b24a9
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x5c]
call fcn.00404c3c
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x5d], 0
je 0x5b254a
mov eax, dword [edi + 0x10]
mov edx, 0xff
call fcn.0042d36c
mov eax, dword [edi + 0x10]
mov edx, 1
call fcn.0042d498
mov eax, dword [ebp - 0x88]
sar eax, 1
jns 0x5b24dd
adc eax, 0
add eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
and eax, 0x80000003
jns 0x5b24f1
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x5b24fe
mov dword [ebp - 0x3c], 2
jmp 0x5b2503
xor eax, eax
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x3c]
dec ecx
mov edx, dword [ebp - 0x40]
mov eax, edi
call fcn.0042de24
jmp 0x5b2542
cmp dword [ebp - 0x3c], 2
jne 0x5b2523
xor eax, eax
mov dword [ebp - 0x3c], eax
jmp 0x5b252a
mov dword [ebp - 0x3c], 2
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x3c]
dec ecx
mov edx, dword [ebp - 0x40]
add edx, 2
mov eax, edi
call fcn.0042ddc4
add dword [ebp - 0x40], 2
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x80]
jl 0x5b2516
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
jmp 0x5b26d5
push esi
push edi
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
push 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x54]
or eax, 0x400
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004050a8
push eax
mov eax, edi
call fcn.0042e2fc
push eax
call sub.user32.dll_DrawTextExA
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 0x14]
jge 0x5b2673
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x7c]
jge 0x5b2673
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x18]
jge 0x5b2673
mov eax, dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x84]
call fcn.0041d6e4
mov eax, dword [ebp + 0x3c]
push esi
push edi
lea esi, [ebp - 0x98]
lea edi, [eax - 0x6d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffe8
xor ecx, ecx
mov edx, 0x14
call fcn.0040320c
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x18], 0x14
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffdc
push eax
push 0
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffe4
push eax
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp + 0x18]
sub edx, dword [eax]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004050a8
push eax
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetTextExtentExPointA
mov eax, dword [ebp + 0x3c]
cmp esi, dword [eax - 0x1c]
jne 0x5b2667
mov eax, dword [ebp + 0x3c]
add dword [eax - 0x74], esi
jmp 0x5b2673
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x1c]
mov edx, dword [ebp + 0x3c]
add dword [edx - 0x74], eax
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp - 0x5c]
add dword [eax], edx
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0x88]
mov edx, dword [ebp + 0x34]
mov edx, dword [edx]
sub edx, dword [ebp - 0x5c]
cmp eax, edx
jl 0x5b26d5
mov edx, dword [ebp + 0x34]
cmp eax, dword [edx]
jg 0x5b26d5
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x5b26d5
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x84]
jle 0x5b26d5
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x5c]
call fcn.00404c3c
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x75], 1
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov edx, dword [ebp + 0x34]
cmp eax, dword [edx]
jg 0x5b26eb
cmp eax, dword [ebp - 0x5c]
jle 0x5b26eb
xor eax, eax
jmp 0x5b26ed
mov al, 1
mov byte [ebp - 0x5d], al
cmp byte [ebp - 0x5d], 0
jne 0x5b2718
mov eax, dword [ebp - 0x1c]
call fcn.00404eb0
test eax, eax
jle 0x5b2718
mov eax, dword [ebp - 0x1c]
call fcn.00404eb0
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x20
je 0x5b2718
mov byte [ebp - 0x5d], 1
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00404eb8
cmp byte [ebp - 0x5d], 0
jne 0x5b2732
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x48], 0
jne 0x5b2796
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebx]
mov ecx, esi
mov edx, 1
call fcn.00405108
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 8]
call fcn.00404eb8
mov al, byte [ebp - 0x5d]
xor al, 1
add dword [edx], esp
inc ebp
invalid
je 0x5b2766
mov eax, ebx
call fcn.00404be8
mov eax, ebx
mov ecx, esi
mov edx, 1
call fcn.00405148
mov eax, dword [ebp - 4]
cmp byte [eax + esi - 1], 0x20
jne 0x5b278f
mov edx, 0x5b47dc
mov eax, edi
call fcn.0042e138
mov dword [ebp - 0x24], eax
jmp 0x5b27a2
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x5b27a2
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp - 0x5c]
sub dword [eax], edx
mov edx, dword [ebx]
mov eax, 0x5b47d0
call fcn.004051ec
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x5b27ca
mov eax, dword [ebx]
call fcn.00404eb0
cmp eax, 2
jg 0x5b27ca
mov eax, ebx
call fcn.00404be8
cmp byte [ebp - 0x1d], 0
jne 0x5b46aa
cmp dword [ebp - 0x38], 1
jne 0x5b46aa
mov eax, dword [ebx]
call fcn.00404eb0
cmp eax, 2
jle 0x5b46aa
mov eax, dword [ebx]
cmp byte [eax + 1], 0x2f
jne 0x5b2c52
mov eax, dword [ebx]
call fcn.00404eb0
cmp eax, 3
jle 0x5b2c52
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402be4
and eax, 0xff
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x5b2c73.65
mov al, byte [eax + 0x5b2832]
jmp dword [eax*4 + 0x5b284c]
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x4c], 0
je 0x5b2895
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx]
jne 0x5b28ff
cmp byte [ebp + 0x38], 0
jne 0x5b28ff
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov dl, byte [0x5b481c]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.0042d14c
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x38], 0x1fffffff
je 0x5b28e5
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x7c]
mov eax, dword [edi + 0x14]
call fcn.0042d66c
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0x7c], 0x1fffffff
jne 0x5b28e5
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.0042d788
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x34], 0x1fffffff
je 0x5b28ff
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x34]
mov eax, dword [edi + 0xc]
call fcn.0042ce80
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x5b2919
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0xc]
call fcn.0042ce80
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x55], 0
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x75], 0
je 0x5b299a
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x6c]
mov dword [eax - 0x84], edx
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
add eax, dword [ebp - 0x78]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x88], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x8c]
cmp eax, dword [ebp - 0x74]
je 0x5b296c
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x78]
mov dword [eax - 0x90], edx
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x74]
mov dword [eax - 0x8c], edx
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x10]
push edi
lea esi, [eax - 0x90]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x75], 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
mov edx, dword [edx]
dec edx
cmp eax, edx
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x88]
mov dword [eax - 0x2c], edx
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp - 0x7c]
sub edx, dword [eax]
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x28], edx
mov edx, 0x5b4828
mov eax, edi
call fcn.0042e154
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x28]
sub edx, eax
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x30], edx
push 0
push 1
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffcc
push eax
call sub.user32.dll_InflateRect
cmp byte [ebp + 0x38], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
lea edx, [eax - 0x34]
mov eax, edi
call fcn.0042dcd0
jmp case.0x5b2c73.65
cmp byte [ebp + 0x38], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x5d], 0
jmp case.0x5b2c73.65
mov eax, dword [ebx]
cmp byte [eax + 3], 0x3e
je 0x5b2a45
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0xc]
call fcn.0042ce80
jmp case.0x5b2c73.65
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov dl, byte [0x5b482c]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.0042d14c
jmp case.0x5b2c73.65
mov eax, dword [ebx]
mov al, byte [eax + 3]
call fcn.00402be4
cmp al, 0x55
jne 0x5b2a85
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4e], 0
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4d], 0
jmp case.0x5b2c73.65
cmp al, 0x48
jne 0x5b2a95
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x50], 0
jmp case.0x5b2c73.65
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov dl, byte [0x5b4830]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.0042d14c
jmp case.0x5b2c73.65
lea edx, [ebp - 0xa0]
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
call fcn.0042d090
mov edx, dword [ebp - 0xa0]
mov eax, dword [edi + 0xc]
call fcn.0042d0a8
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
call fcn.0042d104
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.0042d120
cmp byte [ebp + 0x38], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0xc]
call fcn.0042ce80
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x94]
mov eax, dword [edi + 0x14]
call fcn.0042d66c
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0x94], 0x1fffffff
jne case.0x5b2c73.65
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.0042d788
jmp case.0x5b2c73.65
cmp byte [ebp + 0x38], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x98]
mov eax, dword [edi + 0xc]
call fcn.0042ce80
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x9c]
mov eax, dword [edi + 0x14]
call fcn.0042d66c
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0x9c], 0x1fffffff
jne case.0x5b2c73.65
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.0042d788
jmp case.0x5b2c73.65
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov dl, byte [0x5b4834]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.0042d14c
jmp case.0x5b2c73.65
mov byte [ebp - 0x1d], 1
cmp byte [ebp + 0x38], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xa0]
mov eax, dword [edi + 0x14]
call fcn.0042d66c
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0xa0], 0x1fffffff
jne 0x5b2be8
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.0042d788
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x35], 0
jmp case.0x5b2c73.65
mov eax, dword [ebx]
cmp byte [eax + 3], 0x3e
je 0x5b2c16
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0xa4], 0
jle 0x5b2c16
mov eax, dword [ebp + 0x3c]
dec dword [eax - 0xa4]
jmp case.0x5b2c73.65
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov dl, byte [0x5b481c]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.0042d14c
jmp case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
push eax
mov eax, edi
call fcn.005b20e4
pop ecx
jmp case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4f], 0
jmp case.0x5b2c73.65
mov eax, dword [ebx]
mov al, byte [eax + 1]
call fcn.00402be4
and eax, 0xff
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x5b2c73.65
mov al, byte [eax + 0x5b2c7a]
jmp dword [eax*4 + 0x5b2c94]
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx]
jne 0x5b2cf6
cmp byte [ebp + 0x38], 0
jne 0x5b2cf6
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x88]
mov dword [eax - 0x34], edx
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x84]
mov dword [eax - 0x30], edx
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x18]
inc dword [eax]
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x4c], 0
je 0x5b2d1b
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx]
jne 0x5b2daa
cmp byte [ebp + 0x38], 0
jne 0x5b2daa
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov edx, eax
or dl, byte [0x5b481c]
mov eax, dword [edi + 0xc]
call fcn.0042d14c
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x38], 0x1fffffff
je 0x5b2d81
cmp byte [ebp + 0x38], 0
jne 0x5b2d81
mov eax, dword [edi + 0x14]
call fcn.0042d664
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x7c], eax
mov eax, dword [edi + 0x14]
call fcn.0042d780
cmp al, 1
jne 0x5b2d73
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x7c], 0x1fffffff
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x38]
mov eax, dword [edi + 0x14]
call fcn.0042d66c
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x34], 0x1fffffff
je 0x5b2daa
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xa8], eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x34]
mov eax, dword [edi + 0xc]
call fcn.0042ce80
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x5b2de6
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x34], 0x1fffffff
je 0x5b2dd8
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx]
jne 0x5b2dd8
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x4c], 0
jne 0x5b2de6
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x3c]
mov eax, dword [edi + 0xc]
call fcn.0042ce80
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebx]
mov eax, 0x5b4808
call fcn.004051ec
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffa4
mov edx, dword [ebp - 0x10]
call fcn.00404c80
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x55], 1
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x90], eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x74]
mov dword [eax - 0x8c], edx
jmp case.0x5b2c73.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402be4
cmp al, 0x3e
jne 0x5b2eab
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov edx, eax
or dl, byte [0x5b482c]
mov eax, dword [edi + 0xc]
call fcn.0042d14c
jmp case.0x5b2c73.65
cmp al, 0x52
jne 0x5b2ece
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
mov edx, 0x5b484c
call fcn.00404eb8
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
jmp case.0x5b2c73.65
cmp al, 0x4c
jne 0x5b2ef5
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x50], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xac]
mov eax, dword [edi + 0xc]
call fcn.0042ce80
jmp case.0x5b2c73.65
cmp al, 0x4f
jne case.0x5b2c73.65
lea eax, [ebp - 0xa4]
push eax
mov edx, dword [ebx]
mov eax, 0x5b4808
call fcn.004051ec
mov ecx, eax
mov eax, dword [ebx]
mov edx, 1
call fcn.00405108
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 8]
call fcn.00404eb8
lea eax, [ebp - 0xa8]
push eax
mov edx, dword [ebx]
mov eax, 0x5b4808
call fcn.004051ec
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 6
call fcn.00405108
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xc]
call fcn.0040954c
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4858
call fcn.004051ec
test eax, eax
jle 0x5b3173
cmp byte [ebp + 0x38], 0
jne 0x5b3173
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4858
call fcn.004051ec
add eax, 0xa
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b486c
call fcn.004051ec
test eax, eax
jne 0x5b301a
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 8], 0
je 0x5b301a
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.005a9a10
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4878
call fcn.004051ec
test eax, eax
jle 0x5b3077
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0xc], 0
je 0x5b3077
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.005a97cc
test eax, eax
jne 0x5b3066
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
call fcn.005a97ac
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov byte [eax + 0x45], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x64]
call fcn.005a9380
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.005a97cc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x5b3173
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x5b3173
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x5b3173
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jle 0x5b3173
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x40]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x44]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x48]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x4c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xb0], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xb0]
push eax
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_SelectClipRgn
jmp 0x5b3144
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x5b3128
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax - 0x48]
add ecx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x4c]
add edx, dword [ebp - 0x30]
mov eax, edi
call fcn.0042dc24
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
add dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x44]
mov edx, dword [ebp + 0x3c]
sub eax, dword [edx - 0x4c]
cmp eax, dword [ebp - 0x30]
jg 0x5b3100
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
add dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x40]
mov edx, dword [ebp + 0x3c]
sub eax, dword [edx - 0x48]
cmp eax, dword [ebp - 0x34]
jg 0x5b30f9
push 0
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xb0]
push eax
call sub.gdi32.dll_DeleteObject
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4884
call fcn.004051ec
test eax, eax
jle case.0x5b2c73.65
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4884
call fcn.004051ec
add eax, 7
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
mov al, byte [ebp + 0x38]
xor al, 1
test al, al
je case.0x5b2c73.65
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4894
call fcn.004051ec
test eax, eax
jle 0x5b3238
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x10]
call fcn.004096c0
mov eax, dword [ebp - 0xac]
call fcn.005b1478
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.0042d66c
mov edx, dword [ebp - 0x10]
mov eax, 0x5b48a0
call fcn.004051ec
test eax, eax
jle 0x5b325b
mov eax, dword [ebp - 0x10]
call fcn.005b1c50
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.0042d66c
mov al, byte [ebp + 0x38]
xor al, 1
test al, al
je case.0x5b2c73.65
mov eax, dword [edi + 0x14]
call fcn.0042d664
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x94], eax
mov eax, dword [edi + 0x10]
call fcn.0042d364
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x94]
mov eax, dword [edi + 0x10]
call fcn.0042d36c
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x44]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x40]
push eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax - 0x48]
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x4c]
mov eax, edi
call fcn.0042dec0
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x3c]
mov eax, dword [edi + 0x10]
call fcn.0042d36c
jmp case.0x5b2c73.65
cmp byte [ebp + 0x38], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x5d], 1
jmp case.0x5b2c73.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402be4
sub al, 0x49
je 0x5b334d
sub al, 9
jne case.0x5b2c73.65
mov byte [ebp - 0x1d], 1
cmp byte [ebp + 0x38], 0
jne case.0x5b2c73.65
mov eax, dword [edi + 0x10]
call fcn.0042d364
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [edi + 0x10]
xor edx, edx
call fcn.0042d36c
mov ecx, dword [ebp - 0x7c]
inc ecx
mov edx, dword [ebp - 0x78]
mov eax, edi
call fcn.0042de24
mov ecx, dword [ebp - 0x7c]
inc ecx
mov edx, dword [ebp - 0x70]
mov eax, edi
call fcn.0042ddc4
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x3c]
mov eax, dword [edi + 0x10]
call fcn.0042d36c
jmp case.0x5b2c73.65
cmp byte [ebp + 0x38], 0
jne case.0x5b2c73.65
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x98], eax
mov eax, dword [edi + 0x14]
call fcn.0042d664
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x9c], eax
mov eax, dword [edi + 0x14]
call fcn.0042d780
cmp al, 1
jne 0x5b3390
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x9c], 0x1fffffff
mov eax, dword [edi + 0x14]
mov edx, 0x8000000d
call fcn.0042d66c
mov eax, dword [edi + 0xc]
mov edx, 0x8000000e
call fcn.0042ce80
jmp case.0x5b2c73.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402be4
cmp al, 0x3e
jne 0x5b33da
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov edx, eax
or dl, byte [0x5b4834]
mov eax, dword [edi + 0xc]
call fcn.0042d14c
jmp case.0x5b2c73.65
cmp al, 0x4e
jne 0x5b34b2
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebx]
mov eax, 0x5b4808
call fcn.004051ec
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b48ac
call fcn.005b1d08
add eax, 2
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.00403478
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x2c], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jge case.0x5b2c73.65
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x4c]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x88], eax
jmp case.0x5b2c73.65
cmp al, 0x4d
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
inc dword [eax - 0xb4]
lea eax, [ebp - 0xb0]
push eax
mov edx, dword [ebx]
mov eax, 0x5b4808
call fcn.004051ec
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00405108
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xc]
call fcn.0040954c
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b48b8
call fcn.004051ec
add eax, 4
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
mov edx, dword [ebp - 0xc]
mov eax, 0x5b48c4
call fcn.004051ec
test eax, eax
jle 0x5b35fa
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xb8]
mov edx, dword [ebp + 0x3c]
cmp eax, dword [edx - 0xb4]
jne 0x5b35fa
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b48c4
call fcn.004051ec
add eax, 4
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b48d0
call fcn.004051ec
test eax, eax
jle 0x5b3692
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b48d0
call fcn.004051ec
add eax, 6
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00405108
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x18]
pop edx
call fcn.00405108
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00405108
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.00403478
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b48e0
call fcn.004051ec
test eax, eax
jle 0x5b3720
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b48e0
call fcn.005b1d08
add eax, 7
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00405108
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x18]
pop edx
call fcn.00405108
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00405108
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.00403478
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x3c]
xor edx, edx
mov dword [eax - 0xc0], edx
mov eax, dword [ebp + 0x3c]
xor edx, edx
mov dword [eax - 0xbc], edx
mov edx, dword [ebp - 0x10]
mov eax, 0x5b48f0
call fcn.004051ec
test eax, eax
jle 0x5b389b
lea eax, [ebp - 0x10]
mov ecx, 4
mov edx, 1
call fcn.00405148
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x78], 0
je 0x5b389b
mov eax, dword [ebp - 0x10]
call fcn.005b1d8c
mov esi, eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
call fcn.0045df84
cmp esi, eax
jge 0x5b389b
push 0x60
push 0x58
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x34]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
cmp byte [ebp + 0x38], 0
jne 0x5b380f
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x58], 0
jne 0x5b380f
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
call fcn.005b1d8c
push eax
push 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x88]
mov edx, edi
call fcn.0045e49c
cmp byte [ebp + 0x38], 0
jne 0x5b389b
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x58], 0
je 0x5b389b
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
fild dword [eax + 0x34]
mov eax, dword [ebp + 0x3c]
fmul qword [eax + 0x40]
call fcn.00402c54
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
fild dword [eax + 0x30]
mov eax, dword [ebp + 0x3c]
fmul qword [eax + 0x40]
call fcn.00402c54
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
mov dl, 1
mov eax, dword [0x42bed4]
call fcn.00432bc8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
call fcn.005b1d8c
mov edx, eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x48]
call fcn.0045deb8
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x88]
mov eax, edi
call fcn.005b1188
mov eax, dword [ebp - 0x48]
call fcn.00403cf8
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4900
call fcn.004051ec
test eax, eax
jle 0x5b3967
lea eax, [ebp - 0x10]
mov ecx, 5
mov edx, 1
call fcn.00405148
mov eax, dword [ebp - 0x10]
push eax
push 0
mov al, byte [ebp + 0x38]
xor al, 1
push eax
mov eax, dword [ebp + 0x3c]
mov al, byte [eax + 0x58]
push eax
mov eax, dword [ebp + 0x3c]
push dword [eax + 0x44]
push dword [eax + 0x40]
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.005b1288
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0xb8]
mov dword [eax - 0xc0], edx
mov edx, dword [ebp - 0xb4]
mov dword [eax - 0xbc], edx
push 0x60
push 0x58
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xc0]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4910
call fcn.004051ec
test eax, eax
jle 0x5b3a33
lea eax, [ebp - 0x10]
mov ecx, 5
mov edx, 1
call fcn.00405148
mov eax, dword [ebp - 0x10]
push eax
push 1
mov al, byte [ebp + 0x38]
xor al, 1
push eax
mov eax, dword [ebp + 0x3c]
mov al, byte [eax + 0x58]
push eax
mov eax, dword [ebp + 0x3c]
push dword [eax + 0x44]
push dword [eax + 0x40]
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.005b1288
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0xb8]
mov dword [eax - 0xc0], edx
mov edx, dword [ebp - 0xb4]
mov dword [eax - 0xbc], edx
push 0x60
push 0x58
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xc0]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b486c
call fcn.004051ec
test eax, eax
jne 0x5b3a63
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 8], 0
je 0x5b3a63
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.005a9a10
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4878
call fcn.004051ec
test eax, eax
jle 0x5b3ac0
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0xc], 0
je 0x5b3ac0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.005a97cc
test eax, eax
jne 0x5b3aaf
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
call fcn.005a97ac
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x45], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x68]
call fcn.005a9380
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.005a97cc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x5b3c5b
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x5b3c5b
cmp byte [ebp + 0x38], 0
jne 0x5b3bb3
cmp dword [ebp - 0x50], 0
jle 0x5b3b30
cmp dword [ebp - 0x54], 0
jle 0x5b3b30
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
call fcn.0041d6e4
lea edx, [ebp - 0x98]
mov ecx, dword [ebp - 0x44]
mov eax, edi
call fcn.0042df60
jmp 0x5b3bb3
mov eax, dword [ebp - 0x44]
call fcn.005a94e0
dec eax
jle 0x5b3b8e
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xac]
mov eax, dword [edi + 0x10]
call fcn.0042d36c
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xac]
mov eax, dword [edi + 0x14]
call fcn.0042d66c
mov eax, dword [ebp - 0x44]
call fcn.005a96f0
add eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x44]
call fcn.005a96b0
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.0042dec0
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax + 0x5a]
add ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x44]
movzx edx, word [eax + 0x58]
add edx, dword [ebp - 0x88]
mov eax, edi
call fcn.0042dc24
cmp dword [ebp - 0x50], 0
jle 0x5b3c09
cmp dword [ebp - 0x54], 0
jle 0x5b3c09
push 0x60
push 0x58
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
jmp 0x5b3c5b
push 0x60
push 0x58
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x44]
call fcn.005a96f0
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042e2fc
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x44]
call fcn.005a96b0
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0x78]
mov edx, dword [ebp + 0x34]
cmp eax, dword [edx]
jle 0x5b3cd1
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
add eax, dword [edx - 0xc0]
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp - 0x78]
cmp eax, edx
jle 0x5b3cd1
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x84]
jle 0x5b3cd1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
add eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 0x14]
jle 0x5b3cd1
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x5b3cd1
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x5c]
call fcn.00404c3c
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xb4]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xb8], eax
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x58], 0
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
add eax, dword [edx - 0xc0]
mov edx, dword [ebp - 0x70]
sub edx, dword [ebp - 0x78]
cmp eax, edx
jle 0x5b3d07
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov edx, dword [ebp + 0x3c]
cmp eax, dword [edx - 0xc0]
jle 0x5b3d07
mov byte [ebp - 0x1e], 1
jmp 0x5b3d42
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xc0]
mov edx, dword [ebp + 0x34]
add dword [edx], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xc0]
add dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
mov edx, dword [ebp + 0x30]
cmp eax, dword [edx]
jle 0x5b3d42
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
mov edx, dword [ebp + 0x30]
mov dword [edx], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4920
call fcn.004051ec
test eax, eax
jle case.0x5b2c73.65
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4930
call fcn.004051ec
test eax, eax
jle 0x5b3d85
mov edx, 0x5b4828
mov eax, edi
call fcn.0042e154
mov edx, dword [ebp + 0x30]
mov edx, dword [edx]
sub edx, eax
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
jmp case.0x5b2c73.65
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4940
call fcn.004051ec
test eax, eax
jle case.0x5b2c73.65
mov edx, 0x5b4828
mov eax, edi
call fcn.0042e154
mov edx, dword [ebp + 0x30]
mov edx, dword [edx]
sub edx, eax
shr edx, 1
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
jmp case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xa4]
shl eax, 2
lea eax, [eax + eax*2]
mov edx, dword [ebp + 0x34]
add dword [edx], eax
cmp byte [ebp - 0x1f], 0
je 0x5b3dd9
mov byte [ebp - 0x1e], 1
jmp 0x5b3ddd
mov byte [ebp - 0x1f], 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xa4]
dec eax
shl eax, 2
lea eax, [eax + eax*2]
add dword [ebp - 0x88], eax
cmp byte [ebp + 0x38], 0
jne 0x5b3e64
lea edx, [ebp - 0x10]
mov eax, dword [edi + 0xc]
call fcn.0042d090
mov eax, dword [edi + 0xc]
mov edx, 0x5b4950
call fcn.0042d0a8
mov eax, dword [ebp + 0x3c]
test byte [eax - 0xa4], 1
je 0x5b3e3c
push 0
lea eax, [ebp - 0x88]
push eax
push 1
push 0x5b4958
mov eax, edi
call fcn.0042e2fc
push eax
call sub.user32.dll_DrawTextA
jmp 0x5b3e59
push 0
lea eax, [ebp - 0x88]
push eax
push 1
push 0x5b495c
mov eax, edi
call fcn.0042e2fc
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0042d0a8
add dword [ebp - 0x88], 0xc
jmp case.0x5b2c73.65
mov eax, dword [ebx]
cmp byte [eax + 2], 0x3e
je 0x5b3e86
mov eax, dword [ebp + 0x3c]
inc dword [eax - 0xa4]
jmp case.0x5b2c73.65
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov edx, eax
or dl, byte [0x5b481c]
mov eax, dword [edi + 0xc]
call fcn.0042d14c
jmp case.0x5b2c73.65
lea ecx, [ebp - 0x38]
mov edx, dword [ebx]
mov eax, 0x5b4808
call fcn.005b1f70
test eax, eax
jle case.0x5b2c73.65
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x38]
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00405108
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xc]
call fcn.0040954c
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4920
call fcn.005b1f70
test eax, eax
jle 0x5b3f9f
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4968
call fcn.004051ec
test eax, eax
jle 0x5b3f71
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4978
call fcn.004051ec
test eax, eax
jle 0x5b3f88
mov eax, dword [ebp + 0x20]
mov byte [eax], 0
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4988
call fcn.004051ec
test eax, eax
jle 0x5b3f9f
mov eax, dword [ebp + 0x20]
mov byte [eax], 2
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4998
call fcn.005b1f70
test eax, eax
jle 0x5b4023
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 6
mov eax, dword [ebp - 0xc]
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
mov eax, dword [ebp - 0x10]
call fcn.005b1d8c
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4884
call fcn.005b1f70
test eax, eax
jle case.0x5b2c73.65
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
mov dword [ebp - 0x4c], 0x1fffffff
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
test eax, eax
jle 0x5b40e2
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x23
jne 0x5b40c6
mov eax, dword [ebp - 0x10]
call fcn.005b1c50
mov dword [ebp - 0x4c], eax
jmp 0x5b40e2
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x10]
call fcn.004096c0
mov eax, dword [ebp - 0xc0]
call fcn.005b1478
mov dword [ebp - 0x4c], eax
cmp byte [ebp + 0x38], 0
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x35], 1
mov eax, dword [edi + 0x14]
call fcn.0042d664
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xa0], eax
mov eax, dword [edi + 0x14]
call fcn.0042d780
cmp al, 1
jne 0x5b411d
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0xa0], 0x1fffffff
mov eax, dword [edi + 0x14]
mov edx, dword [ebp - 0x4c]
call fcn.0042d66c
mov eax, dword [edi + 0x10]
call fcn.0042d364
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x4c]
call fcn.0042d36c
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x44]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x4c]
mov ecx, dword [ebp - 0x74]
mov eax, edi
call fcn.0042dec0
jmp case.0x5b2c73.65
lea ecx, [ebp - 0x38]
mov edx, dword [ebx]
mov eax, 0x5b4808
call fcn.005b1f70
test eax, eax
jle case.0x5b2c73.65
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x38]
sub ecx, 6
mov eax, dword [ebx]
mov edx, 6
call fcn.00405108
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc]
call fcn.0040954c
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x5b49a8
call fcn.005b1f70
test eax, eax
jle 0x5b4221
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 4
mov eax, dword [ebp - 0xc]
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0042d0a8
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x5b49b8
call fcn.005b1f70
test eax, eax
jle 0x5b42f4
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x5b42f4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 6
mov eax, dword [ebp - 0xc]
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
test eax, eax
jle 0x5b42f4
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x23
jne 0x5b42d1
mov eax, dword [ebp - 0x10]
call fcn.005b1c50
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.0042ce80
jmp 0x5b42f4
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x10]
call fcn.004096c0
mov eax, dword [ebp - 0xc8]
call fcn.005b1478
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.0042ce80
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4884
call fcn.005b1f70
test eax, eax
jle 0x5b43fb
cmp byte [ebp + 0x38], 0
jne 0x5b43fb
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x5b43fb
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 7
mov eax, dword [ebp - 0xc]
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
mov eax, dword [edi + 0x14]
call fcn.0042d664
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x94], eax
mov eax, dword [edi + 0x14]
call fcn.0042d780
cmp al, 1
jne 0x5b43b0
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x94], 0x1fffffff
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
test eax, eax
jle 0x5b43fb
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x23
jne 0x5b43d8
mov eax, dword [ebp - 0x10]
call fcn.005b1c50
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.0042d66c
jmp 0x5b43fb
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x10]
call fcn.004096c0
mov eax, dword [ebp - 0xcc]
call fcn.005b1478
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.0042d66c
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x5b49c8
call fcn.005b1f70
test eax, eax
jle case.0x5b2c73.65
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 4
mov eax, dword [ebp - 0xc]
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b49d8
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
mov eax, dword [ebp - 0x10]
call fcn.005b1d8c
cmp eax, 5
ja case.0x5b4488.0
jmp dword [eax*4 + 0x5b448f]
mov eax, dword [edi + 0xc]
mov edx, 8
call fcn.0042d120
jmp case.0x5b2c73.65
mov eax, dword [edi + 0xc]
mov edx, 0xa
call fcn.0042d120
jmp case.0x5b2c73.65
mov eax, dword [edi + 0xc]
mov edx, 0xc
call fcn.0042d120
jmp case.0x5b2c73.65
mov eax, dword [edi + 0xc]
mov edx, 0xe
call fcn.0042d120
jmp case.0x5b2c73.65
mov eax, dword [edi + 0xc]
mov edx, 0x10
call fcn.0042d120
jmp case.0x5b2c73.65
mov eax, dword [ebp - 0x10]
call fcn.005b1d8c
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.0042d120
jmp case.0x5b2c73.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402be4
cmp al, 0x3e
jne 0x5b4543
mov eax, dword [edi + 0xc]
call fcn.0042d140
mov edx, eax
or dl, byte [0x5b4830]
mov eax, dword [edi + 0xc]
call fcn.0042d14c
jmp case.0x5b2c73.65
cmp al, 0x48
jne 0x5b4553
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x50], 1
jmp case.0x5b2c73.65
mov edx, dword [ebx]
mov eax, 0x5b49e4
call fcn.005b1d08
dec eax
jne 0x5b456e
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4d], 1
jmp case.0x5b2c73.65
mov edx, dword [ebx]
mov eax, 0x5b49f4
call fcn.005b1d08
dec eax
jne case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4e], 1
jmp case.0x5b2c73.65
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebx]
mov eax, 0x5b4808
call fcn.004051ec
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5b4a04
call fcn.005b1d08
add eax, 2
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404eb0
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00405108
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x5b4840
call fcn.004051ec
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405108
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.00403478
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x3c]
push eax
mov edx, dword [ebp - 0x28]
mov eax, edi
call fcn.005b2094
pop ecx
jmp case.0x5b2c73.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4f], 1
lea ecx, [ebp - 0x38]
mov edx, dword [ebx]
mov eax, 0x5b4808
call fcn.005b1f70
test eax, eax
jle 0x5b468f
cmp byte [ebp - 0x1e], 0
jne 0x5b468f
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x38]
mov edx, 1
call fcn.00405108
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 8]
call fcn.00404eb8
mov eax, ebx
mov ecx, dword [ebp - 0x38]
mov edx, 1
call fcn.00405148
jmp 0x5b46aa
cmp byte [ebp - 0x1e], 0
jne 0x5b46aa
mov eax, dword [ebx]
call fcn.00404eb0
mov ecx, eax
mov eax, ebx
mov edx, 1
call fcn.00405148
mov eax, dword [ebx]
call fcn.00404eb0
test eax, eax
jle 0x5b46c5
cmp byte [ebp - 0x1d], 0
jne 0x5b46c5
cmp byte [ebp - 0x1e], 0
je 0x5b21ea
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp - 0x24]
sub dword [eax], edx
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x20]
cmp eax, dword [edx]
jle 0x5b46e9
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x20]
mov dword [edx], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
mov edx, dword [edx]
dec edx
cmp eax, edx
jne 0x5b4759
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x5b4759
cmp byte [ebp + 0x38], 0
jne 0x5b4759
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x88]
mov dword [eax - 0x2c], edx
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x7c]
mov dword [eax - 0x28], edx
push 0
push 1
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffcc
push eax
call sub.user32.dll_InflateRect
cmp byte [ebp + 0x38], 0
jne 0x5b4743
mov eax, dword [ebp + 0x3c]
lea edx, [eax - 0x34]
mov eax, edi
call fcn.0042dcd0
mov eax, dword [ebp - 0x78]
inc eax
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x34], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x30], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00404c3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b47bc
lea eax, [ebp - 0xd0]
mov edx, 6
call fcn.00404c0c
lea eax, [ebp - 0xb0]
mov edx, 4
call fcn.00404c0c
lea eax, [ebp - 0xa0]
call fcn.00404be8
lea eax, [ebp - 0x9c]
call fcn.00404be8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404c0c
ret