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

Disassembly:
push 0xffffffffffffffff
push 0x4a4b3c
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d16b0]
xor eax, esp
push eax
lea eax, [esp + 0x20c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x21c]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0xb4]
push ecx
push edx
call esi
mov ecx, dword [edi + 4]
lea eax, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 4]
lea edx, [esp + 0x78]
push edx
push eax
call esi
test eax, eax
je 0x435bb2
mov edx, dword [edi + 4]
lea ecx, [esp + 0x80]
push ecx
push edx
call esi
call fcn.00434f10
add eax, 0x6c
mov eax, dword [eax + 8]
xor ebx, ebx
cmp eax, ebx
jbe 0x4372c2
call fcn.00438480
mov ecx, dword [edi + 0x164]
cmp ecx, ebx
mov esi, eax
je 0x435be6
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [edi + 0x164], ebx
push 0x68
call fcn.0047f682
add esp, 4
cmp eax, ebx
je 0x435bfb
call fcn.00430240
jmp 0x435bfd
xor eax, eax
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x7c]
mov dword [edi + 0x164], eax
cmp esi, ecx
jle 0x435c14
mov ecx, esi
push ecx
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x7c]
push ecx
call fcn.0042a6d0
mov esi, dword [edi + 0x164]
or eax, 0xffffffff
call fcn.00430360
xor ecx, ecx
mov dword [esp + 0x214], ecx
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
mov edx, dword [edi + 0x164]
mov ebp, dword [edx + 4]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x60]
push eax
push ebp
mov dword [esp + 0x100], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
call ebx
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0x3c]
push eax
push ebp
call ebx
mov dword [esp + 0x60], 0
call fcn.00434f10
mov ecx, dword [eax + 0x70]
mov ecx, dword [ecx]
add eax, 0x6c
mov esi, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], esi
call fcn.00434f10
mov edx, dword [eax + 0x70]
add eax, 0x6c
test esi, esi
mov dword [esp + 0x1c0], edx
je 0x435ccd
cmp esi, eax
je 0x435cd2
call fcn.0047f936
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x1c0]
je 0x43742c
test esi, esi
jne 0x435cef
call fcn.0047f936
mov ecx, dword [esp + 0x8c]
cmp ecx, dword [esi + 4]
jne 0x435d00
call fcn.0047f936
mov edx, dword [esp + 0x8c]
cmp dword [edx + 0x10], 0
je 0x436f9d
push 0
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0x3c]
push eax
push ebp
call ebx
mov eax, dword [esp + 0x8c]
cmp eax, dword [esi + 4]
jne 0x435d32
call fcn.0047f936
mov ecx, dword [esp + 0x8c]
mov esi, dword [ecx + 0x10]
mov edx, dword [esi + 0x1f8]
sub edx, dword [esi + 0x1f0]
mov dword [esp + 0x50], esi
add edx, dword [esp + 0x1c]
cmp dword [edi + 0x38], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x5c], 0
je 0x4368d4
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4368d4
mov eax, dword [edi + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], edx
mov dword [esp + 0x188], ebx
push ebp
mov byte [esp + 0x218], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [edi + 0x68]
push eax
push ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 0x68]
lea ecx, [esp + 0x124]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x14
sub eax, dword [esp + 0x128]
push 0xcc0020
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x130]
push 0
sub eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x18c]
sar edx, 1
push ebx
add eax, edx
mov edx, dword [esp + 0x13c]
push edx
mov edx, dword [esp + 0x13c]
push edx
push eax
sar ecx, 1
push ecx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
test ebx, ebx
je 0x435e75
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x435e75
mov dword [esp + 0x54], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
cmp eax, 1
lea ecx, [ecx + ecx + 0x15]
mov dword [esp + 0x30], ecx
jne 0x436312
push 0x974e19
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [edi + 0x3c]
push edi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
sub dword [esp + 0x38], 0x4d
cdq
sub eax, edx
mov edx, dword [0x4d5c6c]
sar eax, 1
lea eax, [ecx + eax - 0xe]
mov dword [esp + 0x34], eax
add eax, 0x1c
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
add eax, 0x10
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x218], 2
call fcn.00434f10
mov ecx, dword [esp + 0x64]
mov edx, eax
call fcn.00406910
test eax, eax
je 0x435f29
cmp dword [esi + 0xc], 0
je 0x435f29
call fcn.004352b0
mov ebx, eax
call fcn.004134e0
test eax, eax
je 0x435f29
call fcn.004352b0
cmp dword [eax + 0x188], 0
je 0x435f29
add dword [esp + 0x38], 0x17
mov edx, dword [0x4d5c6c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x214], 3
mov edx, dword [0x4d5c6c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x218], 4
push edx
mov dword [esp + 0x30], 0
call fcn.00434f10
mov esi, eax
call fcn.00406dc0
test eax, eax
je 0x435f91
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x435f95
mov eax, dword [esp + 0x50]
add eax, 0x10
lea edi, [esp + 0x2c]
call fcn.004070e0
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x3c]
sub ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.0043a200
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00438990
test eax, eax
jne 0x435fdd
mov eax, dword [esp + 0x50]
add eax, 0x10
lea edi, [esp + 0x14]
call fcn.004070e0
push 0x4bc91c
push 0x4bc920
lea eax, [esp + 0x1c]
push eax
call fcn.0042dd40
mov edx, dword [0x4d5c6c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov byte [esp + 0x214], 5
mov edx, dword [0x4d5c6c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x5c], esi
mov byte [esp + 0x214], 6
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
jle 0x436203
push 0xa
push ebx
call fcn.004800e5
add esp, 8
test eax, eax
je 0x436203
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
mov dword [esp + 0x64], eax
je 0x436203
lea ecx, [esp + 0x108]
lea edx, [esp + 0x14]
mov esi, eax
call fcn.004182a0
lea edi, [esp + 0x28]
mov byte [esp + 0x214], 7
call fcn.004070e0
mov byte [esp + 0x214], 6
mov eax, dword [esp + 0x108]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4360af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 1
mov eax, dword [ebx - 0xc]
js 0x43610b
cmp esi, eax
jge 0x43610b
lea ecx, [ebx + esi*2]
push 0xa
push ecx
call fcn.004800e5
add esp, 8
test eax, eax
je 0x43610b
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x43610b
lea ecx, [esp + 0x100]
lea edx, [esp + 0x14]
call fcn.004182a0
lea edi, [esp + 0x14]
mov byte [esp + 0x214], 8
call fcn.004070e0
lea ecx, [esp + 0x100]
mov byte [esp + 0x214], 6
call fcn.00405490
mov ecx, esi
lea esi, [esp + 0x104]
lea edx, [esp + 0x14]
call fcn.0041c5f0
lea edi, [esp + 0x5c]
mov byte [esp + 0x214], 9
call fcn.004070e0
mov byte [esp + 0x214], 6
mov eax, dword [esp + 0x104]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436159
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
sub esi, ecx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and esi, 0x80000001
lea edx, [eax + ecx - 2]
mov dword [esp + 0x18c], edi
mov dword [esp + 0x194], ebx
mov dword [esp + 0x190], ecx
mov dword [esp + 0x198], edx
mov dword [esp + 0x1ac], edi
mov dword [esp + 0x1b4], ebx
jns 0x4361ad
dec esi
or esi, 0xfffffffe
inc esi
mov edi, dword [esp + 0x28]
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
add esi, eax
lea eax, [esi + ecx + 2]
mov ecx, dword [esp + 0x3c]
push 0x824
lea edx, [esp + 0x190]
push edx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1c0], ecx
mov eax, dword [edi - 0xc]
push eax
push edi
push ebp
call ebx
mov esi, dword [esp + 0x5c]
mov eax, dword [esi - 0xc]
push 0x824
lea ecx, [esp + 0x1b0]
push ecx
push eax
push esi
push ebp
call ebx
mov ebx, dword [esp + 0x14]
jmp 0x436219
mov eax, dword [ebx - 0xc]
push 0x824
lea edx, [esp + 0x34]
push edx
push eax
push ebx
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [eax + 0x1fc], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x200], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x204], ecx
add esi, 0xfffffff0
mov dword [eax + 0x208], edx
mov dword [esp + 0x5c], 1
mov byte [esp + 0x214], 5
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436271
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0xfffffff0
mov byte [esp + 0x214], 4
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436295
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x214], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4362bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x214], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4362e1
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [esp + 0x214], 1
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4365fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4365fa
cmp eax, 2
je 0x4363e8
cmp eax, 3
je 0x4363e8
test eax, eax
jne 0x4365fa
mov edi, dword [edi + 0x40]
push edi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x1c8e25
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x10]
sub dword [esp + 0x38], 0x4d
mov ecx, dword [eax - 0xc]
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push 0x824
lea edx, [esp + 0x34]
push edx
push ecx
push eax
push ebp
call edi
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x3c]
push 0xc24
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], eax
mov eax, dword [esi + 0x10]
lea edx, [esp + 0xe8]
push edx
mov dword [esp + 0xf0], ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push ebp
call edi
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov dword [esi + 0x1fc], eax
mov eax, dword [esp + 0xf0]
mov dword [esi + 0x200], ecx
mov dword [esi + 0x204], edx
mov dword [esi + 0x208], eax
mov dword [esp + 0x5c], 1
jmp 0x4365fa
mov eax, dword [esi + 0x1e0]
sub eax, dword [esi + 0x1e8]
mov ebx, dword [esp + 0x3c]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x34]
sar edx, 1
add eax, edx
mov edx, dword [esi + 0x1e8]
sub edx, dword [esi + 0x1e0]
mov dword [esp + 0x34], eax
add edx, eax
cmp edx, ebx
jge 0x436435
mov ebx, dword [esi + 0x1e8]
sub ebx, dword [esi + 0x1e0]
add ebx, eax
mov dword [esp + 0x3c], ebx
mov eax, dword [esi + 0x1e4]
sub eax, dword [esi + 0x1dc]
mov edx, dword [esp + 0x38]
add edx, 0xffffffb3
add eax, ecx
cmp eax, edx
jg 0x43645c
mov edx, dword [esi + 0x1e4]
sub edx, dword [esi + 0x1dc]
add edx, ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
sub eax, 3
add ecx, 0xfffffffd
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x6c]
add ebx, 3
mov dword [esp + 0x3c], edx
push ecx
add edx, 3
mov dword [esp + 0x7c], ebx
mov ebx, dword [sym.imp.USER32.dll_FillRect]
push ebp
mov dword [esp + 0x7c], edx
call ebx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], eax
add eax, 0xfffffffe
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x30]
push eax
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x40]
add dword [esp + 0x74], 2
lea eax, [esp + 0x6c]
push eax
sub ecx, 2
add edx, 2
push ebp
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], edx
call ebx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], eax
add eax, 0xffffffff
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x40]
add dword [esp + 0x74], 1
lea eax, [esp + 0x6c]
push eax
sub ecx, 1
add edx, 1
push ebp
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], edx
call ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x34]
sub edx, ecx
push edx
push eax
push ecx
push ebp
lea eax, [esi + 0x14]
push eax
call fcn.00451240
cmp dword [esi], 3
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esi + 0x1fc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x200], edx
mov dword [esi + 0x204], eax
mov dword [esi + 0x208], ecx
jne 0x4365fa
push 0xff
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [edi + 0x3c]
push edi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0xc0]
push edx
mov ecx, 0x4bc924
call fcn.00410300
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x150], ecx
mov ecx, dword [esp + 0x70]
push 0x824
mov dword [esp + 0x158], edx
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0xc4]
add ecx, 8
lea edx, [esp + 0x150]
push edx
mov dword [esp + 0x154], ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
lea ecx, [esp + 0xc0]
call fcn.00405490
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x21c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x28], eax
add eax, 0xffffffe4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x58], eax
jmp 0x436624
mov ebx, dword [esp + 0x14]
cmp ebx, 3
mov esi, dword [esp + 0x50]
jge 0x43673f
test ebx, ebx
jne 0x4366fa
cmp dword [esi], 1
jne 0x436885
mov edx, dword [0x4d5c6c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x218], 0xa
call fcn.00434f10
mov ecx, dword [esp + 0x64]
mov edx, eax
call fcn.00406910
test eax, eax
je 0x4366d2
cmp dword [esi + 0xc], ebx
jne 0x43669d
call fcn.004352b0
mov ebx, eax
call fcn.004134e0
test eax, eax
je 0x43669d
call fcn.004352b0
cmp dword [eax + 0x188], 0
jne 0x4366ce
mov byte [esp + 0x214], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436885
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x436885
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x214], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4366fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x24]
mov eax, ebx
shl eax, 4
mov dword [esp + eax + 0x1c4], ecx
lea ebx, [esp + eax + 0x1c4]
sub ecx, 0x17
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x64]
add ecx, 0xffffffff
mov dword [esp + eax + 0x1c8], ecx
mov ecx, dword [ebx]
add ecx, 0x15
mov dword [esp + eax + 0x1d0], edx
mov dword [esp + eax + 0x1cc], ecx
jmp 0x436799
mov eax, dword [edi + 0x6c]
lea edx, [esp + 0x10c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov esi, dword [esp + 0x110]
mov eax, 0x14
sub eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov ecx, ebx
shl ecx, 4
add edx, 2
mov dword [esp + ecx + 0x1c8], edx
mov edx, dword [esp + 0x24]
sar eax, 1
lea ebx, [esp + ecx + 0x1c4]
add edx, 0xffffffff
mov dword [ebx], eax
add eax, esi
mov dword [esp + ecx + 0x1d0], edx
mov dword [esp + ecx + 0x1cc], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x9c], edx
mov edx, dword [ebx + 0xc]
add ecx, 1
add eax, 1
push ebp
mov dword [esp + 0xa4], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0xb4]
mov esi, eax
mov eax, dword [esp + 0xb8]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4367f4
mov edx, dword [esp + 0x14]
lea ebx, [edi + edx*8 + 0x48]
jmp 0x4367fc
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax*8 + 0x44]
mov eax, dword [ebx]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebx]
lea ecx, [esp + 0x10c]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x114]
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x94]
push 0xcc0020
push 0
sub eax, ecx
add eax, dword [esp + 0xa0]
push 0
push esi
push ecx
mov ecx, dword [esp + 0x124]
cdq
sub eax, edx
push ecx
sar eax, 1
push eax
push ebx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
test esi, esi
je 0x436869
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x436869
xor esi, esi
cmp dword [esp + 0x14], 3
jge 0x43687a
cmp ebx, dword [esp + 0x28]
jge 0x43687a
mov dword [esp + 0x28], ebx
test esi, esi
je 0x436885
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x436620
cmp dword [esp + 0x5c], 0
je 0x4368ba
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x204]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jl 0x4368b4
mov eax, ecx
mov dword [edx + 0x204], eax
mov byte [esp + 0x214], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x436f65
push eax
jmp 0x436f5f
mov eax, dword [edi + 0x24]
push eax
lea edx, [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], eax
push ebp
mov byte [esp + 0x218], 0xb
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [edi + 0x64]
push eax
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 0x64]
lea ecx, [esp + 0x124]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x14
sub eax, dword [esp + 0x128]
push 0xcc0020
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x130]
push 0
sub eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x16c]
sar edx, 1
push ebx
add eax, edx
mov edx, dword [esp + 0x13c]
push edx
mov edx, dword [esp + 0x13c]
push edx
push eax
sar ecx, 1
push ecx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
test ebx, ebx
je 0x4369b0
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4369b0
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
lea edx, [eax + eax + 0x15]
mov dword [esp + 0x40], eax
mov eax, dword [0x4d5c6c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x4d5c6c
call edx
add eax, 0x10
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x218], 0xc
call fcn.00434f10
mov ecx, dword [esp + 0x64]
mov edx, eax
call fcn.00406910
test eax, eax
je 0x436b05
cmp dword [esi + 0xc], 0
je 0x436b05
call fcn.004352b0
mov ebx, eax
call fcn.004134e0
test eax, eax
je 0x436b05
call fcn.004352b0
cmp dword [eax + 0x188], 0
je 0x436b05
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub dword [esp + 0x48], 0x17
mov dword [esp + 0x19c], ecx
mov ecx, dword [esp + 0x24]
push ebp
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [edi + 0x5c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0x10c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x20]
add eax, 0x14
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x114]
sub eax, dword [esp + 0x1c]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x1a0]
sar edx, 1
add eax, edx
mov edx, dword [esp + 0x110]
push eax
push ecx
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0x100]
push eax
mov eax, ebx
call fcn.00439100
test ebx, ebx
je 0x436b05
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
jne 0x436b05
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi]
cmp eax, 1
jne 0x436fba
mov edi, dword [edi + 0x3c]
push edi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
cdq
sub eax, edx
mov edx, dword [0x4d5c6c]
sar eax, 1
lea eax, [ecx + eax - 0xe]
mov dword [esp + 0x44], eax
add eax, 0x1c
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x214], 0xd
mov edx, dword [0x4d5c6c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x218], 0xe
push edx
mov dword [esp + 0x5c], 0
call fcn.00434f10
mov esi, eax
call fcn.00406dc0
test eax, eax
je 0x436ba3
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x436ba7
mov eax, dword [esp + 0x50]
add eax, 0x10
lea edi, [esp + 0x2c]
call fcn.004070e0
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 0x3c]
sub ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.0043a200
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00438990
test eax, eax
jne 0x436bef
mov eax, dword [esp + 0x50]
add eax, 0x10
lea edi, [esp + 0x14]
call fcn.004070e0
push 0x4bc91c
push 0x4bc920
lea eax, [esp + 0x1c]
push eax
call fcn.0042dd40
mov edx, dword [0x4d5c6c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x54], edi
mov byte [esp + 0x214], 0xf
mov edx, dword [0x4d5c6c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d5c6c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x64], esi
mov byte [esp + 0x214], 0x10
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
jle 0x436e2c
push 0xa
push ebx
call fcn.004800e5
add esp, 8
test eax, eax
je 0x436e2c
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
mov dword [esp + 0x5c], eax
je 0x436e2c
lea ecx, [esp + 0xf4]
lea edx, [esp + 0x14]
mov esi, eax
call fcn.004182a0
lea edi, [esp + 0x54]
mov byte [esp + 0x214], 0x11
call fcn.004070e0
mov byte [esp + 0x214], 0x10
mov eax, dword [esp + 0xf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436cc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 1
mov eax, dword [ebx - 0xc]
js 0x436d34
cmp esi, eax
jge 0x436d34
lea ecx, [ebx + esi*2]
push 0xa
push ecx
call fcn.004800e5
add esp, 8
test eax, eax
je 0x436d34
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x436d34
lea ecx, [esp + 0xfc]
lea edx, [esp + 0x14]
call fcn.004182a0
lea edi, [esp + 0x14]
mov byte [esp + 0x214], 0x12
call fcn.004070e0
mov byte [esp + 0x214], 0x10
mov eax, dword [esp + 0xfc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436d34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
lea esi, [esp + 0x90]
lea edx, [esp + 0x14]
call fcn.0041c5f0
lea edi, [esp + 0x64]
mov byte [esp + 0x214], 0x13
call fcn.004070e0
mov byte [esp + 0x214], 0x10
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436d82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
sub esi, ecx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and esi, 0x80000001
lea edx, [eax + ecx - 2]
mov dword [esp + 0x16c], edi
mov dword [esp + 0x174], ebx
mov dword [esp + 0x170], ecx
mov dword [esp + 0x178], edx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xcc], ebx
jns 0x436dd6
dec esi
or esi, 0xfffffffe
inc esi
mov edi, dword [esp + 0x54]
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
add esi, eax
lea eax, [esi + ecx + 2]
mov ecx, dword [esp + 0x4c]
push 0x824
lea edx, [esp + 0x170]
push edx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd8], ecx
mov eax, dword [edi - 0xc]
push eax
push edi
push ebp
call ebx
mov esi, dword [esp + 0x64]
mov eax, dword [esi - 0xc]
push 0x824
lea ecx, [esp + 0xc8]
push ecx
push eax
push esi
push ebp
call ebx
mov ebx, dword [esp + 0x14]
jmp 0x436e42
mov eax, dword [ebx - 0xc]
push 0x824
lea edx, [esp + 0x44]
push edx
push eax
push ebx
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x1fc], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x200], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x204], ecx
add esi, 0xfffffff0
mov dword [eax + 0x208], edx
mov byte [esp + 0x214], 0xf
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436e92
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0xfffffff0
mov byte [esp + 0x214], 0xe
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436eb6
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x214], 0xd
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436ede
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x214], 0xc
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f02
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x204]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jl 0x436f16
mov eax, ecx
mov edi, dword [esp + 0x21c]
mov dword [edx + 0x204], eax
mov byte [esp + 0x214], 0xb
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x214], 0
cmp dword [esp + 0x28], 0
je 0x436f65
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push 0
add edx, 0xffffffff
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, 0xffffffff
push ecx
push edx
push ebp
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x88]
call fcn.00404c10
add dword [esp + 0x60], 1
mov esi, dword [esp + 0x88]
jmp 0x435cb3
cmp eax, 2
je 0x43708f
cmp eax, 3
je 0x43708f
test eax, eax
jne 0x436f23
mov edi, dword [edi + 0x40]
push edi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0x1c8e25
push ebp
call ebx
mov eax, dword [esi + 0x10]
sub dword [esp + 0x48], 0x4d
mov ecx, dword [eax - 0xc]
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push 0x824
lea edx, [esp + 0x44]
push edx
push ecx
push eax
push ebp
call edi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x4c]
push 0xc24
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], eax
mov eax, dword [esi + 0x10]
lea edx, [esp + 0xd8]
push edx
mov dword [esp + 0xe0], ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push ebp
call edi
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov dword [esi + 0x1fc], eax
mov eax, dword [esp + 0xe0]
mov dword [esi + 0x200], ecx
push 0
mov dword [esi + 0x204], edx
push ebp
mov dword [esi + 0x208], eax
call ebx
jmp 0x436f02
mov eax, dword [esi + 0x1e0]
sub eax, dword [esi + 0x1e8]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x44]
sar ecx, 1
add eax, ecx
mov ecx, dword [esi + 0x1e8]
sub ecx, dword [esi + 0x1e0]
mov dword [esp + 0x44], eax
add ecx, eax
cmp ecx, edx
jge 0x4370dc
mov edx, dword [esi + 0x1e8]
sub edx, dword [esi + 0x1e0]
add edx, eax
mov dword [esp + 0x4c], edx
mov ebx, dword [esi + 0x1e4]
sub ebx, dword [esi + 0x1dc]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
add eax, 0xffffffb3
add ebx, ecx
cmp ebx, eax
jg 0x437107
mov eax, dword [esi + 0x1e4]
sub eax, dword [esi + 0x1dc]
add eax, ecx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x48], eax
add ecx, 0xfffffffe
sub ebx, 2
add eax, 2
add edx, 2
cmp dword [esi], 3
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edx
jne 0x437151
mov eax, dword [edi + 0x34]
push eax
lea edx, [esp + 0xa8]
push edx
jmp 0x43715d
mov eax, dword [edi + 0x30]
push eax
lea eax, [esp + 0xa8]
push eax
push ebp
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xa4], eax
add eax, 0xffffffff
sub ecx, 1
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0xa8], ecx
push eax
lea ecx, [esp + 0xa8]
push ecx
add edx, 1
add ebx, 1
push ebp
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
sub edx, eax
push edx
mov edx, dword [esp + 0x4c]
sub edx, ecx
push edx
push eax
push ecx
push ebp
lea eax, [esi + 0x14]
push eax
call fcn.00451240
cmp dword [esi], 3
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esi + 0x1fc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x200], edx
mov dword [esi + 0x204], eax
mov dword [esi + 0x208], ecx
jne 0x436f23
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xff
push ebp
call esi
mov eax, dword [edi + 0x3c]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0xbc]
push edx
mov ecx, 0x4bc924
call fcn.00410300
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x140], ecx
mov ecx, dword [esp + 0xac]
push 0x824
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0xc0]
add ecx, 8
lea edx, [esp + 0x140]
push edx
mov dword [esp + 0x144], ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
push 0
push ebp
call esi
mov eax, dword [esp + 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x436f23
mov ecx, dword [edi + 0x164]
cmp ecx, ebx
je 0x4372da
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0x164], ebx
push 0x68
call fcn.0047f682
add esp, 4
cmp eax, ebx
je 0x4372ef
call fcn.00430240
jmp 0x4372f1
xor eax, eax
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
sub edx, dword [esp + 0x78]
push ecx
push edx
mov dword [edi + 0x164], eax
call fcn.0042a6d0
mov esi, dword [edi + 0x164]
or eax, 0xffffffff
call fcn.00430360
cmp dword [0x4d8560], ebx
jne 0x437339
mov dword [0x4d8560], 1
jmp 0x43742c
mov eax, dword [edi + 0x164]
mov edx, dword [edi + 0x160]
cmp edx, ebx
mov esi, dword [eax + 4]
mov dword [esp + 0x90], esi
je 0x4373bd
cmp dword [edx + 4], ebx
je 0x4373bd
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
mov ebx, dword [esp + 0x78]
mov eax, esi
sub eax, dword [edx + 0xc]
mov ecx, ebp
sub eax, dword [esp + 0x78]
sub ecx, dword [edx + 0x10]
shr eax, 1
sub ecx, dword [esp + 0x7c]
sub esi, eax
add ebx, eax
mov eax, dword [esp + 0x7c]
shr ecx, 1
mov dword [esp + 0xcc], esi
mov esi, dword [esp + 0x90]
add eax, ecx
push esi
mov dword [esp + 0xcc], eax
sub ebp, ecx
push edx
lea eax, [esp + 0xcc]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd8], ebp
call fcn.00451210
cmp dword [edi + 0x15c], 0
jne 0x43742c
mov edi, dword [edi + 0x158]
test edi, edi
je 0x43742c
cmp dword [edi + 4], 0
je 0x43742c
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x98], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0xa0], eax
sub eax, dword [edi + 0x10]
push esi
mov dword [esp + 0x9c], eax
add edx, ecx
push edi
lea eax, [esp + 0x9c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa4], edx
call fcn.00451210
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret 4