Function at 0x4bb2f4
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 0x4bb2fd
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 0x4bd9a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404eb0
lea eax, [ebp - 0x1c]
call fcn.00404eb0
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.00404eb0
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x35], 0
je 0x4bd896
cmp byte [ebp + 0x38], 0
jne 0x4bd896
mov eax, dword [edi + 0x10]
call fcn.004262c4
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [edi + 0x14]
call fcn.004265c4
mov edx, eax
mov eax, dword [edi + 0x10]
call fcn.004262cc
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.00426e20
jmp 0x4bd896
mov edx, dword [ebx]
mov eax, 0x4bd9bc
call fcn.004054a4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x48], 0
je 0x4bb3fe
mov edx, dword [ebx]
mov eax, 0x4bd9c8
call fcn.004054a4
mov esi, eax
jmp 0x4bb400
xor esi, esi
cmp dword [ebp - 0x38], 0
jle 0x4bb425
cmp esi, dword [ebp - 0x38]
jg 0x4bb40f
test esi, esi
jne 0x4bb425
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x38]
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.004053c0
jmp 0x4bb447
test esi, esi
jle 0x4bb43d
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
mov ecx, esi
mov edx, 1
call fcn.004053c0
jmp 0x4bb447
lea eax, [ebp - 4]
mov edx, dword [ebx]
call fcn.00404f48
mov eax, dword [ebp - 4]
call fcn.00405168
mov esi, eax
jmp 0x4bb465
lea ecx, [ebp - 4]
mov edx, 0x4bd9c8
mov eax, 0x4bd9d4
call fcn.004bb1c4
mov edx, dword [ebp - 4]
mov eax, 0x4bd9d4
call fcn.004054a4
test eax, eax
jg 0x4bb453
jmp 0x4bb48a
lea ecx, [ebp - 4]
mov edx, 0x4bd9bc
mov eax, 0x4bd9e4
call fcn.004bb1c4
mov edx, dword [ebp - 4]
mov eax, 0x4bd9e4
call fcn.004054a4
test eax, eax
jg 0x4bb478
jmp 0x4bb4af
lea ecx, [ebp - 4]
mov edx, 0x4bd9f4
mov eax, 0x4bda00
call fcn.004bb1c4
mov edx, dword [ebp - 4]
mov eax, 0x4bda00
call fcn.004054a4
test eax, eax
jg 0x4bb49d
mov eax, dword [ebp - 4]
call fcn.00405168
mov dword [ebp - 0x58], eax
test esi, esi
jle 0x4bb98e
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004270b4
mov edx, dword [ebp + 0x3c]
cmp byte [edx - 0x4d], 0
je 0x4bb4fe
mov edx, dword [ebp + 0x2c]
mov edx, dword [edx]
mov ecx, eax
shr ecx, 2
cmp edx, ecx
jge 0x4bb4fe
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 0x4bb51f
mov edx, dword [ebp + 0x28]
mov edx, dword [edx]
mov ecx, eax
shr ecx, 2
cmp edx, ecx
jge 0x4bb51f
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 0x4bb52b
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.00405170
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x4f], 0
jne 0x4bb98e
cmp byte [ebp + 0x38], 0
jne 0x4bb759
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x4e], 0
je 0x4bb567
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 0x4bb578
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 0x4bb611
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.00425de0
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.00405360
push eax
mov eax, edi
call fcn.0042725c
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.00425de0
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.00405360
push eax
mov eax, edi
call fcn.0042725c
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.00405360
push eax
mov eax, edi
call fcn.0042725c
push eax
call sub.user32.dll_DrawTextExA
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x4bb695
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 0x4bb695
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x5c]
call fcn.00404f04
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x5d], 0
je 0x4bb736
mov eax, dword [edi + 0x10]
mov edx, 0xff
call fcn.004262cc
mov eax, dword [edi + 0x10]
mov edx, 1
call fcn.004263f8
mov eax, dword [ebp - 0x88]
sar eax, 1
jns 0x4bb6c9
adc eax, 0
add eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
and eax, 0x80000003
jns 0x4bb6dd
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x4bb6ea
mov dword [ebp - 0x3c], 2
jmp 0x4bb6ef
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.00426d84
jmp 0x4bb72e
cmp dword [ebp - 0x3c], 2
jne 0x4bb70f
xor eax, eax
mov dword [ebp - 0x3c], eax
jmp 0x4bb716
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.00426d24
add dword [ebp - 0x40], 2
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x80]
jl 0x4bb702
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 0x4bb8c1
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.00405360
push eax
mov eax, edi
call fcn.0042725c
push eax
call sub.user32.dll_DrawTextExA
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 0x14]
jge 0x4bb85f
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x7c]
jge 0x4bb85f
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x18]
jge 0x4bb85f
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.00418918
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.00403304
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.00405360
push eax
mov eax, edi
call fcn.0042725c
push eax
call sub.gdi32.dll_GetTextExtentExPointA
mov eax, dword [ebp + 0x3c]
cmp esi, dword [eax - 0x1c]
jne 0x4bb853
mov eax, dword [ebp + 0x3c]
add dword [eax - 0x74], esi
jmp 0x4bb85f
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 0x4bb8c1
mov edx, dword [ebp + 0x34]
cmp eax, dword [edx]
jg 0x4bb8c1
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x4bb8c1
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x84]
jle 0x4bb8c1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x5c]
call fcn.00404f04
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 0x4bb8d7
cmp eax, dword [ebp - 0x5c]
jle 0x4bb8d7
xor eax, eax
jmp 0x4bb8d9
mov al, 1
mov byte [ebp - 0x5d], al
cmp byte [ebp - 0x5d], 0
jne 0x4bb904
mov eax, dword [ebp - 0x1c]
call fcn.00405168
test eax, eax
jle 0x4bb904
mov eax, dword [ebp - 0x1c]
call fcn.00405168
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x20
je 0x4bb904
mov byte [ebp - 0x5d], 1
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00405170
cmp byte [ebp - 0x5d], 0
jne 0x4bb91e
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x48], 0
jne 0x4bb982
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebx]
mov ecx, esi
mov edx, 1
call fcn.004053c0
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 8]
call fcn.00405170
mov al, byte [ebp - 0x5d]
xor al, 1
and al, byte [ebp + 0x38]
je 0x4bb952
mov eax, ebx
call fcn.00404eb0
mov eax, ebx
mov ecx, esi
mov edx, 1
call fcn.00405400
mov eax, dword [ebp - 4]
cmp byte [eax + esi - 1], 0x20
jne 0x4bb97b
mov edx, 0x4bd9c8
mov eax, edi
call fcn.00427098
mov dword [ebp - 0x24], eax
jmp 0x4bb98e
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x4bb98e
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, 0x4bd9bc
call fcn.004054a4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x4bb9b6
mov eax, dword [ebx]
call fcn.00405168
cmp eax, 2
jg 0x4bb9b6
mov eax, ebx
call fcn.00404eb0
cmp byte [ebp - 0x1d], 0
jne 0x4bd896
cmp dword [ebp - 0x38], 1
jne 0x4bd896
mov eax, dword [ebx]
call fcn.00405168
cmp eax, 2
jle 0x4bd896
mov eax, dword [ebx]
cmp byte [eax + 1], 0x2f
jne 0x4bbe3e
mov eax, dword [ebx]
call fcn.00405168
cmp eax, 3
jle 0x4bbe3e
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c38
and eax, 0xff
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x4bbe5f.65
mov al, byte [eax + 0x4bba1e]
jmp dword [eax*4 + 0x4bba38]
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x4c], 0
je 0x4bba81
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 0x4bbaeb
cmp byte [ebp + 0x38], 0
jne 0x4bbaeb
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov dl, byte [0x4bda08]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.004260ac
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x38], 0x1fffffff
je 0x4bbad1
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x7c]
mov eax, dword [edi + 0x14]
call fcn.004265cc
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0x7c], 0x1fffffff
jne 0x4bbad1
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.004266e8
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x34], 0x1fffffff
je 0x4bbaeb
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x34]
mov eax, dword [edi + 0xc]
call fcn.00425de0
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x4bbb05
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0xc]
call fcn.00425de0
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x55], 0
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x75], 0
je 0x4bbb86
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 0x4bbb58
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.0x4bbe5f.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, 0x4bda14
mov eax, edi
call fcn.004270b4
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.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
lea edx, [eax - 0x34]
mov eax, edi
call fcn.00426c30
jmp case.0x4bbe5f.65
cmp byte [ebp + 0x38], 0
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x5d], 0
jmp case.0x4bbe5f.65
mov eax, dword [ebx]
cmp byte [eax + 3], 0x3e
je 0x4bbc31
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0xc]
call fcn.00425de0
jmp case.0x4bbe5f.65
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov dl, byte [0x4bda18]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.004260ac
jmp case.0x4bbe5f.65
mov eax, dword [ebx]
mov al, byte [eax + 3]
call fcn.00402c38
cmp al, 0x55
jne 0x4bbc71
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4e], 0
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4d], 0
jmp case.0x4bbe5f.65
cmp al, 0x48
jne 0x4bbc81
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x50], 0
jmp case.0x4bbe5f.65
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov dl, byte [0x4bda1c]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.004260ac
jmp case.0x4bbe5f.65
lea edx, [ebp - 0xa0]
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
call fcn.00425ff0
mov edx, dword [ebp - 0xa0]
mov eax, dword [edi + 0xc]
call fcn.00426008
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
call fcn.00426064
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.00426080
cmp byte [ebp + 0x38], 0
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0xc]
call fcn.00425de0
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x94]
mov eax, dword [edi + 0x14]
call fcn.004265cc
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0x94], 0x1fffffff
jne case.0x4bbe5f.65
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.004266e8
jmp case.0x4bbe5f.65
cmp byte [ebp + 0x38], 0
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x98]
mov eax, dword [edi + 0xc]
call fcn.00425de0
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x9c]
mov eax, dword [edi + 0x14]
call fcn.004265cc
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0x9c], 0x1fffffff
jne case.0x4bbe5f.65
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.004266e8
jmp case.0x4bbe5f.65
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov dl, byte [0x4bda20]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.004260ac
jmp case.0x4bbe5f.65
mov byte [ebp - 0x1d], 1
cmp byte [ebp + 0x38], 0
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xa0]
mov eax, dword [edi + 0x14]
call fcn.004265cc
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0xa0], 0x1fffffff
jne 0x4bbdd4
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.004266e8
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x35], 0
jmp case.0x4bbe5f.65
mov eax, dword [ebx]
cmp byte [eax + 3], 0x3e
je 0x4bbe02
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0xa4], 0
jle 0x4bbe02
mov eax, dword [ebp + 0x3c]
dec dword [eax - 0xa4]
jmp case.0x4bbe5f.65
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov dl, byte [0x4bda08]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.004260ac
jmp case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
push eax
mov eax, edi
call fcn.004bb2d0
pop ecx
jmp case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4f], 0
jmp case.0x4bbe5f.65
mov eax, dword [ebx]
mov al, byte [eax + 1]
call fcn.00402c38
and eax, 0xff
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x4bbe5f.65
mov al, byte [eax + 0x4bbe66]
jmp dword [eax*4 + 0x4bbe80]
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 0x4bbee2
cmp byte [ebp + 0x38], 0
jne 0x4bbee2
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 0x4bbf07
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 0x4bbf96
cmp byte [ebp + 0x38], 0
jne 0x4bbf96
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov edx, eax
or dl, byte [0x4bda08]
mov eax, dword [edi + 0xc]
call fcn.004260ac
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x38], 0x1fffffff
je 0x4bbf6d
cmp byte [ebp + 0x38], 0
jne 0x4bbf6d
mov eax, dword [edi + 0x14]
call fcn.004265c4
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x7c], eax
mov eax, dword [edi + 0x14]
call fcn.004266e0
cmp al, 1
jne 0x4bbf5f
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.004265cc
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x34], 0x1fffffff
je 0x4bbf96
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.00425de0
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x4bbfd2
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x34], 0x1fffffff
je 0x4bbfc4
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 0x4bbfc4
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x4c], 0
jne 0x4bbfd2
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x3c]
mov eax, dword [edi + 0xc]
call fcn.00425de0
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebx]
mov eax, 0x4bd9f4
call fcn.004054a4
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffa4
mov edx, dword [ebp - 0x10]
call fcn.00404f48
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.0x4bbe5f.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c38
cmp al, 0x3e
jne 0x4bc097
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov edx, eax
or dl, byte [0x4bda18]
mov eax, dword [edi + 0xc]
call fcn.004260ac
jmp case.0x4bbe5f.65
cmp al, 0x52
jne 0x4bc0ba
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
mov edx, 0x4bda38
call fcn.00405170
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
jmp case.0x4bbe5f.65
cmp al, 0x4c
jne 0x4bc0e1
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x50], 0
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xac]
mov eax, dword [edi + 0xc]
call fcn.00425de0
jmp case.0x4bbe5f.65
cmp al, 0x4f
jne case.0x4bbe5f.65
lea eax, [ebp - 0xa4]
push eax
mov edx, dword [ebx]
mov eax, 0x4bd9f4
call fcn.004054a4
mov ecx, eax
mov eax, dword [ebx]
mov edx, 1
call fcn.004053c0
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 8]
call fcn.00405170
lea eax, [ebp - 0xa8]
push eax
mov edx, dword [ebx]
mov eax, 0x4bd9f4
call fcn.004054a4
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 6
call fcn.004053c0
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xc]
call fcn.00409734
mov edx, dword [ebp - 0xc]
mov eax, 0x4bda44
call fcn.004054a4
test eax, eax
jle 0x4bc35f
cmp byte [ebp + 0x38], 0
jne 0x4bc35f
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bda44
call fcn.004054a4
add eax, 0xa
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda58
call fcn.004054a4
test eax, eax
jne 0x4bc206
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 8], 0
je 0x4bc206
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.004b2b30
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda64
call fcn.004054a4
test eax, eax
jle 0x4bc263
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0xc], 0
je 0x4bc263
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004b28ec
test eax, eax
jne 0x4bc252
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
call fcn.004b28cc
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.004b24a0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004b28ec
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4bc35f
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x4bc35f
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x4bc35f
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jle 0x4bc35f
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.0042725c
push eax
call sub.gdi32.dll_SelectClipRgn
jmp 0x4bc330
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x4bc314
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.00426b84
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 0x4bc2ec
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 0x4bc2e5
push 0
mov eax, edi
call fcn.0042725c
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, 0x4bda70
call fcn.004054a4
test eax, eax
jle case.0x4bbe5f.65
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bda70
call fcn.004054a4
add eax, 7
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
mov al, byte [ebp + 0x38]
xor al, 1
test al, al
je case.0x4bbe5f.65
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda80
call fcn.004054a4
test eax, eax
jle 0x4bc424
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x10]
call fcn.004098a8
mov eax, dword [ebp - 0xac]
call fcn.004ba664
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.004265cc
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda8c
call fcn.004054a4
test eax, eax
jle 0x4bc447
mov eax, dword [ebp - 0x10]
call fcn.004bae3c
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.004265cc
mov al, byte [ebp + 0x38]
xor al, 1
test al, al
je case.0x4bbe5f.65
mov eax, dword [edi + 0x14]
call fcn.004265c4
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x94], eax
mov eax, dword [edi + 0x10]
call fcn.004262c4
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.004262cc
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.00426e20
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x3c]
mov eax, dword [edi + 0x10]
call fcn.004262cc
jmp case.0x4bbe5f.65
cmp byte [ebp + 0x38], 0
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x5d], 1
jmp case.0x4bbe5f.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c38
sub al, 0x49
je 0x4bc539
sub al, 9
jne case.0x4bbe5f.65
mov byte [ebp - 0x1d], 1
cmp byte [ebp + 0x38], 0
jne case.0x4bbe5f.65
mov eax, dword [edi + 0x10]
call fcn.004262c4
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [edi + 0x10]
xor edx, edx
call fcn.004262cc
mov ecx, dword [ebp - 0x7c]
inc ecx
mov edx, dword [ebp - 0x78]
mov eax, edi
call fcn.00426d84
mov ecx, dword [ebp - 0x7c]
inc ecx
mov edx, dword [ebp - 0x70]
mov eax, edi
call fcn.00426d24
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x3c]
mov eax, dword [edi + 0x10]
call fcn.004262cc
jmp case.0x4bbe5f.65
cmp byte [ebp + 0x38], 0
jne case.0x4bbe5f.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.004265c4
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x9c], eax
mov eax, dword [edi + 0x14]
call fcn.004266e0
cmp al, 1
jne 0x4bc57c
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x9c], 0x1fffffff
mov eax, dword [edi + 0x14]
mov edx, 0x8000000d
call fcn.004265cc
mov eax, dword [edi + 0xc]
mov edx, 0x8000000e
call fcn.00425de0
jmp case.0x4bbe5f.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c38
cmp al, 0x3e
jne 0x4bc5c6
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov edx, eax
or dl, byte [0x4bda20]
mov eax, dword [edi + 0xc]
call fcn.004260ac
jmp case.0x4bbe5f.65
cmp al, 0x4e
jne 0x4bc69e
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebx]
mov eax, 0x4bd9f4
call fcn.004054a4
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bda98
call fcn.004baef4
add eax, 2
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.004036d0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x2c], 0
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jge case.0x4bbe5f.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.0x4bbe5f.65
cmp al, 0x4d
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
inc dword [eax - 0xb4]
lea eax, [ebp - 0xb0]
push eax
mov edx, dword [ebx]
mov eax, 0x4bd9f4
call fcn.004054a4
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.004053c0
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xc]
call fcn.00409734
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdaa4
call fcn.004054a4
add eax, 4
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdab0
call fcn.004054a4
test eax, eax
jle 0x4bc7e6
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xb8]
mov edx, dword [ebp + 0x3c]
cmp eax, dword [edx - 0xb4]
jne 0x4bc7e6
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdab0
call fcn.004054a4
add eax, 4
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdabc
call fcn.004054a4
test eax, eax
jle 0x4bc87e
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdabc
call fcn.004054a4
add eax, 6
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x18]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004053c0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.004036d0
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdacc
call fcn.004054a4
test eax, eax
jle 0x4bc90c
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdacc
call fcn.004baef4
add eax, 7
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x18]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004053c0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.004036d0
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, 0x4bdadc
call fcn.004054a4
test eax, eax
jle 0x4bca87
lea eax, [ebp - 0x10]
mov ecx, 4
mov edx, 1
call fcn.00405400
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x78], 0
je 0x4bca87
mov eax, dword [ebp - 0x10]
call fcn.004baf78
mov esi, eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
call fcn.0045b35c
cmp esi, eax
jge 0x4bca87
push 0x60
push 0x58
mov eax, edi
call fcn.0042725c
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.0042725c
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 0x4bc9fb
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x58], 0
jne 0x4bc9fb
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004baf78
push eax
push 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x88]
mov edx, edi
call fcn.0045b874
cmp byte [ebp + 0x38], 0
jne 0x4bca87
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x58], 0
je 0x4bca87
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.00402c88
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.00402c88
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
mov dl, 1
mov eax, dword [0x424e74]
call fcn.0042b924
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
call fcn.004baf78
mov edx, eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x48]
call fcn.0045b290
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x88]
mov eax, edi
call fcn.004ba374
mov eax, dword [ebp - 0x48]
call fcn.004040a0
mov edx, dword [ebp - 0x10]
mov eax, 0x4bdaec
call fcn.004054a4
test eax, eax
jle 0x4bcb53
lea eax, [ebp - 0x10]
mov ecx, 5
mov edx, 1
call fcn.00405400
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.004ba474
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.0042725c
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.0042725c
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, 0x4bdafc
call fcn.004054a4
test eax, eax
jle 0x4bcc1f
lea eax, [ebp - 0x10]
mov ecx, 5
mov edx, 1
call fcn.00405400
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.004ba474
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.0042725c
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.0042725c
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, 0x4bda58
call fcn.004054a4
test eax, eax
jne 0x4bcc4f
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 8], 0
je 0x4bcc4f
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.004b2b30
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda64
call fcn.004054a4
test eax, eax
jle 0x4bccac
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0xc], 0
je 0x4bccac
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004b28ec
test eax, eax
jne 0x4bcc9b
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
call fcn.004b28cc
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.004b24a0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004b28ec
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4bce47
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x4bce47
cmp byte [ebp + 0x38], 0
jne 0x4bcd9f
cmp dword [ebp - 0x50], 0
jle 0x4bcd1c
cmp dword [ebp - 0x54], 0
jle 0x4bcd1c
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.00418918
lea edx, [ebp - 0x98]
mov ecx, dword [ebp - 0x44]
mov eax, edi
call fcn.00426ec0
jmp 0x4bcd9f
mov eax, dword [ebp - 0x44]
call fcn.004b2600
dec eax
jle 0x4bcd7a
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xac]
mov eax, dword [edi + 0x10]
call fcn.004262cc
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xac]
mov eax, dword [edi + 0x14]
call fcn.004265cc
mov eax, dword [ebp - 0x44]
call fcn.004b2810
add eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x44]
call fcn.004b27d0
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.00426e20
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.00426b84
cmp dword [ebp - 0x50], 0
jle 0x4bcdf5
cmp dword [ebp - 0x54], 0
jle 0x4bcdf5
push 0x60
push 0x58
mov eax, edi
call fcn.0042725c
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.0042725c
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 0x4bce47
push 0x60
push 0x58
mov eax, edi
call fcn.0042725c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x44]
call fcn.004b2810
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.0042725c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x44]
call fcn.004b27d0
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 0x4bcebd
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 0x4bcebd
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x84]
jle 0x4bcebd
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
add eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 0x14]
jle 0x4bcebd
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x4bcebd
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.00404f04
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 0x4bcef3
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov edx, dword [ebp + 0x3c]
cmp eax, dword [edx - 0xc0]
jle 0x4bcef3
mov byte [ebp - 0x1e], 1
jmp 0x4bcf2e
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 0x4bcf2e
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, 0x4bdb0c
call fcn.004054a4
test eax, eax
jle case.0x4bbe5f.65
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdb1c
call fcn.004054a4
test eax, eax
jle 0x4bcf71
mov edx, 0x4bda14
mov eax, edi
call fcn.004270b4
mov edx, dword [ebp + 0x30]
mov edx, dword [edx]
sub edx, eax
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
jmp case.0x4bbe5f.65
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdb2c
call fcn.004054a4
test eax, eax
jle case.0x4bbe5f.65
mov edx, 0x4bda14
mov eax, edi
call fcn.004270b4
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.0x4bbe5f.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 0x4bcfc5
mov byte [ebp - 0x1e], 1
jmp 0x4bcfc9
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 0x4bd050
lea edx, [ebp - 0x10]
mov eax, dword [edi + 0xc]
call fcn.00425ff0
mov eax, dword [edi + 0xc]
mov edx, 0x4bdb3c
call fcn.00426008
mov eax, dword [ebp + 0x3c]
test byte [eax - 0xa4], 1
je 0x4bd028
push 0
lea eax, [ebp - 0x88]
push eax
push 1
push 0x4bdb44
mov eax, edi
call fcn.0042725c
push eax
call sub.user32.dll_DrawTextA
jmp 0x4bd045
push 0
lea eax, [ebp - 0x88]
push eax
push 1
push 0x4bdb48
mov eax, edi
call fcn.0042725c
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00426008
add dword [ebp - 0x88], 0xc
jmp case.0x4bbe5f.65
mov eax, dword [ebx]
cmp byte [eax + 2], 0x3e
je 0x4bd072
mov eax, dword [ebp + 0x3c]
inc dword [eax - 0xa4]
jmp case.0x4bbe5f.65
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov edx, eax
or dl, byte [0x4bda08]
mov eax, dword [edi + 0xc]
call fcn.004260ac
jmp case.0x4bbe5f.65
lea ecx, [ebp - 0x38]
mov edx, dword [ebx]
mov eax, 0x4bd9f4
call fcn.004bb15c
test eax, eax
jle case.0x4bbe5f.65
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x38]
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.004053c0
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xc]
call fcn.00409734
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdb0c
call fcn.004bb15c
test eax, eax
jle 0x4bd18b
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 5
mov eax, dword [ebp - 0xc]
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
mov edx, dword [ebp - 0x10]
mov eax, 0x4bdb54
call fcn.004054a4
test eax, eax
jle 0x4bd15d
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
mov edx, dword [ebp - 0x10]
mov eax, 0x4bdb64
call fcn.004054a4
test eax, eax
jle 0x4bd174
mov eax, dword [ebp + 0x20]
mov byte [eax], 0
mov edx, dword [ebp - 0x10]
mov eax, 0x4bdb74
call fcn.004054a4
test eax, eax
jle 0x4bd18b
mov eax, dword [ebp + 0x20]
mov byte [eax], 2
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdb84
call fcn.004bb15c
test eax, eax
jle 0x4bd20f
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 6
mov eax, dword [ebp - 0xc]
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
mov eax, dword [ebp - 0x10]
call fcn.004baf78
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4bda70
call fcn.004bb15c
test eax, eax
jle case.0x4bbe5f.65
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 5
mov eax, dword [ebp - 0xc]
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
mov dword [ebp - 0x4c], 0x1fffffff
mov eax, dword [ebp - 0x10]
call fcn.00405168
test eax, eax
jle 0x4bd2ce
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x23
jne 0x4bd2b2
mov eax, dword [ebp - 0x10]
call fcn.004bae3c
mov dword [ebp - 0x4c], eax
jmp 0x4bd2ce
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x10]
call fcn.004098a8
mov eax, dword [ebp - 0xc0]
call fcn.004ba664
mov dword [ebp - 0x4c], eax
cmp byte [ebp + 0x38], 0
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x35], 1
mov eax, dword [edi + 0x14]
call fcn.004265c4
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xa0], eax
mov eax, dword [edi + 0x14]
call fcn.004266e0
cmp al, 1
jne 0x4bd309
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0xa0], 0x1fffffff
mov eax, dword [edi + 0x14]
mov edx, dword [ebp - 0x4c]
call fcn.004265cc
mov eax, dword [edi + 0x10]
call fcn.004262c4
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x4c]
call fcn.004262cc
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.00426e20
jmp case.0x4bbe5f.65
lea ecx, [ebp - 0x38]
mov edx, dword [ebx]
mov eax, 0x4bd9f4
call fcn.004bb15c
test eax, eax
jle case.0x4bbe5f.65
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x38]
sub ecx, 6
mov eax, dword [ebx]
mov edx, 6
call fcn.004053c0
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc]
call fcn.00409734
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdb94
call fcn.004bb15c
test eax, eax
jle 0x4bd40d
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 4
mov eax, dword [ebp - 0xc]
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00426008
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdba4
call fcn.004bb15c
test eax, eax
jle 0x4bd4e0
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x4bd4e0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 6
mov eax, dword [ebp - 0xc]
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
mov eax, dword [ebp - 0x10]
call fcn.00405168
test eax, eax
jle 0x4bd4e0
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x23
jne 0x4bd4bd
mov eax, dword [ebp - 0x10]
call fcn.004bae3c
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.00425de0
jmp 0x4bd4e0
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x10]
call fcn.004098a8
mov eax, dword [ebp - 0xc8]
call fcn.004ba664
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.00425de0
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4bda70
call fcn.004bb15c
test eax, eax
jle 0x4bd5e7
cmp byte [ebp + 0x38], 0
jne 0x4bd5e7
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x4bd5e7
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 7
mov eax, dword [ebp - 0xc]
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
mov eax, dword [edi + 0x14]
call fcn.004265c4
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x94], eax
mov eax, dword [edi + 0x14]
call fcn.004266e0
cmp al, 1
jne 0x4bd59c
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x94], 0x1fffffff
mov eax, dword [ebp - 0x10]
call fcn.00405168
test eax, eax
jle 0x4bd5e7
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x23
jne 0x4bd5c4
mov eax, dword [ebp - 0x10]
call fcn.004bae3c
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.004265cc
jmp 0x4bd5e7
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x10]
call fcn.004098a8
mov eax, dword [ebp - 0xcc]
call fcn.004ba664
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.004265cc
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdbb4
call fcn.004bb15c
test eax, eax
jle case.0x4bbe5f.65
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 4
mov eax, dword [ebp - 0xc]
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bdbc4
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
mov eax, dword [ebp - 0x10]
call fcn.004baf78
cmp eax, 5
ja case.0x4bd674.0
jmp dword [eax*4 + 0x4bd67b]
mov eax, dword [edi + 0xc]
mov edx, 8
call fcn.00426080
jmp case.0x4bbe5f.65
mov eax, dword [edi + 0xc]
mov edx, 0xa
call fcn.00426080
jmp case.0x4bbe5f.65
mov eax, dword [edi + 0xc]
mov edx, 0xc
call fcn.00426080
jmp case.0x4bbe5f.65
mov eax, dword [edi + 0xc]
mov edx, 0xe
call fcn.00426080
jmp case.0x4bbe5f.65
mov eax, dword [edi + 0xc]
mov edx, 0x10
call fcn.00426080
jmp case.0x4bbe5f.65
mov eax, dword [ebp - 0x10]
call fcn.004baf78
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.00426080
jmp case.0x4bbe5f.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c38
cmp al, 0x3e
jne 0x4bd72f
mov eax, dword [edi + 0xc]
call fcn.004260a0
mov edx, eax
or dl, byte [0x4bda1c]
mov eax, dword [edi + 0xc]
call fcn.004260ac
jmp case.0x4bbe5f.65
cmp al, 0x48
jne 0x4bd73f
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x50], 1
jmp case.0x4bbe5f.65
mov edx, dword [ebx]
mov eax, 0x4bdbd0
call fcn.004baef4
dec eax
jne 0x4bd75a
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4d], 1
jmp case.0x4bbe5f.65
mov edx, dword [ebx]
mov eax, 0x4bdbe0
call fcn.004baef4
dec eax
jne case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4e], 1
jmp case.0x4bbe5f.65
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebx]
mov eax, 0x4bd9f4
call fcn.004054a4
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bdbf0
call fcn.004baef4
add eax, 2
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405168
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004053c0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bda2c
call fcn.004054a4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004053c0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.004036d0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x3c]
push eax
mov edx, dword [ebp - 0x28]
mov eax, edi
call fcn.004bb280
pop ecx
jmp case.0x4bbe5f.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4f], 1
lea ecx, [ebp - 0x38]
mov edx, dword [ebx]
mov eax, 0x4bd9f4
call fcn.004bb15c
test eax, eax
jle 0x4bd87b
cmp byte [ebp - 0x1e], 0
jne 0x4bd87b
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x38]
mov edx, 1
call fcn.004053c0
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 8]
call fcn.00405170
mov eax, ebx
mov ecx, dword [ebp - 0x38]
mov edx, 1
call fcn.00405400
jmp 0x4bd896
cmp byte [ebp - 0x1e], 0
jne 0x4bd896
mov eax, dword [ebx]
call fcn.00405168
mov ecx, eax
mov eax, ebx
mov edx, 1
call fcn.00405400
mov eax, dword [ebx]
call fcn.00405168
test eax, eax
jle 0x4bd8b1
cmp byte [ebp - 0x1d], 0
jne 0x4bd8b1
cmp byte [ebp - 0x1e], 0
je 0x4bb3d6
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 0x4bd8d5
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 0x4bd945
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x4bd945
cmp byte [ebp + 0x38], 0
jne 0x4bd945
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 0x4bd92f
mov eax, dword [ebp + 0x3c]
lea edx, [eax - 0x34]
mov eax, edi
call fcn.00426c30
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.00404f04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd9a8
lea eax, [ebp - 0xd0]
mov edx, 6
call fcn.00404ed4
lea eax, [ebp - 0xb0]
mov edx, 4
call fcn.00404ed4
lea eax, [ebp - 0xa0]
call fcn.00404eb0
lea eax, [ebp - 0x9c]
call fcn.00404eb0
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404ed4
ret