Function at 0x413150
Capabilities:
Check for time delay via gettickcount
Enumerate pe sections

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d0162
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
push edi
push 0
mov esi, ecx
call fcn.00403100
test esi, esi
jne 0x4035ef
xor eax, eax
jmp 0x4035f2
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x460]
mov dword [ecx], eax
mov edx, dword [esi + 0x460]
mov eax, dword [esi + 0x88]
mov dword [edx + 8], eax
mov ecx, dword [esi + 0x460]
mov edx, dword [esi + 0x8c]
mov dword [ecx + 0xc], edx
mov eax, dword [esi + 0x460]
mov ecx, dword [esi + 0x248]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x460]
lea edx, [esi + 0x498]
mov dword [eax + 0xeba8], edx
mov ecx, dword [esi + 0x460]
mov edx, dword [esi + 0x24c]
mov dword [ecx + 0x14], edx
mov eax, dword [esi + 0x460]
mov dword [esi + 0x504], eax
mov ecx, esi
mov byte [eax + 4], 0
call fcn.00401b20
push 1
mov ecx, esi
call fcn.00494c9c
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x160]
call fcn.0044b460
cmp dword [esi + 0x250], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x1bc], 0
jne 0x4037d8
test ecx, ecx
jge 0x4036a5
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0xc], dl
jge 0x4036ba
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov bl, byte [eax + 1]
jge 0x4036cc
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov dl, byte [eax + 2]
jge 0x4036de
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 3]
movsx eax, byte [esp + 0xc]
lea eax, [eax + eax*4]
movsx edi, bl
lea eax, [edi + eax*2]
movsx edx, dl
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
movsx ecx, cl
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2 - 0xd050]
mov eax, dword [esi + 0x460]
lea ecx, [esp + 0x14]
shl edx, 9
push ecx
lea ecx, [esi + 0xfc]
mov dword [eax + 0x18], edx
call fcn.0044b460
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 1
call fcn.00402bd0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1bc], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40375b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x403770
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0xc], dl
jge 0x403785
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov bl, byte [eax + 1]
jge 0x403797
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov dl, byte [eax + 2]
jge 0x4037a9
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 3]
movsx eax, byte [esp + 0xc]
lea eax, [eax + eax*4]
movsx edi, bl
lea eax, [edi + eax*2]
movsx edx, dl
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
movsx ecx, cl
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2 - 0xd050]
shl edx, 9
jmp 0x4039d4
test ecx, ecx
jge 0x4037e6
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0xc], dl
jge 0x4037fb
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov dl, byte [eax + 1]
mov byte [esp + 0xf], dl
jge 0x403811
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov dl, byte [eax + 2]
mov byte [esp + 0xe], dl
jge 0x403827
push 0x80070057
call fcn.004015a0
cmp ecx, 4
mov dl, byte [eax + 3]
mov byte [esp + 0xd], dl
jge 0x40383d
push 0x80070057
call fcn.004015a0
cmp ecx, 5
mov bl, byte [eax + 4]
jge 0x40384f
push 0x80070057
call fcn.004015a0
cmp ecx, 6
mov dl, byte [eax + 5]
jge 0x403861
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 6]
movsx eax, byte [esp + 0xc]
movsx edi, byte [esp + 0xf]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
movsx edi, byte [esp + 0xe]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
movsx edi, byte [esp + 0xd]
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
lea eax, [eax + eax*4]
movsx edi, bl
lea edi, [edi + eax*2]
imul edi, edi, 0x4b
movsx eax, dl
lea edx, [eax + eax*4]
movsx ecx, cl
lea eax, [edi + edx*2]
lea edx, [eax + ecx - 0x16e7500]
mov eax, dword [esi + 0x460]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0xfc]
mov dword [eax + 0x18], edx
call fcn.0044b460
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 2
call fcn.00402bd0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1bc], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4038fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x403911
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0xd], dl
jge 0x403926
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov dl, byte [eax + 1]
mov byte [esp + 0xe], dl
jge 0x40393c
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov dl, byte [eax + 2]
mov byte [esp + 0xf], dl
jge 0x403952
push 0x80070057
call fcn.004015a0
cmp ecx, 4
mov dl, byte [eax + 3]
mov byte [esp + 0xc], dl
jge 0x403968
push 0x80070057
call fcn.004015a0
cmp ecx, 5
mov bl, byte [eax + 4]
jge 0x40397a
push 0x80070057
call fcn.004015a0
cmp ecx, 6
mov dl, byte [eax + 5]
jge 0x40398c
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 6]
movsx eax, byte [esp + 0xd]
movsx edi, byte [esp + 0xe]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
movsx edi, byte [esp + 0xf]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
movsx edi, byte [esp + 0xc]
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
lea eax, [eax + eax*4]
movsx edi, bl
lea edi, [edi + eax*2]
imul edi, edi, 0x4b
movsx eax, dl
lea edx, [eax + eax*4]
movsx ecx, cl
lea eax, [edi + edx*2]
lea edx, [eax + ecx - 0x16e7500]
mov eax, dword [esi + 0x460]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x1e4]
push 0x147
push ecx
call edi
mov edx, dword [esi + eax*4 + 0x25c]
mov eax, dword [esi + 0x45c]
mov ecx, dword [esi + 0x8c]
and edx, 0xffff
push edx
mov edx, dword [esi + 0x88]
push eax
push ecx
push edx
call fcn.0043c880
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
add esp, 0x10
cmp dword [esi + 0x250], 2
push eax
push ecx
jne 0x403ae9
call fcn.00460e90
mov edx, dword [esi + 0x1e4]
add esp, 8
push 0
push 0
push 0x147
push edx
call edi
test eax, eax
jne 0x403a60
mov eax, 0xffff
jmp 0x403a90
mov eax, dword [esi + 0x1e4]
push 0
push 0
push 0x147
push eax
call edi
mov ecx, dword [esi + eax*4 + 0x25c]
and ecx, 0xffff
mov eax, 0x5ea306d7
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, dword [esi + 0x460]
push 0
push 0
mov dword [ecx + 0x20], eax
mov edx, dword [esi + 0x1e4]
push 0x147
push edx
call edi
mov ecx, dword [esi + eax*4 + 0x25c]
cmp ecx, 0xffff
jne 0x403ad2
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
push 0xffff
push eax
push ecx
jmp 0x403b96
mov edx, ecx
and edx, 0xffff
mov eax, 0x5ea306d7
imul edx
sar edx, 9
jmp 0x403b78
call fcn.00461930
mov edx, dword [esi + 0x1e4]
add esp, 8
push 0
push 0
push 0x147
push edx
call edi
test eax, eax
jne 0x403b0e
mov eax, 0xffff
jmp 0x403b38
mov eax, dword [esi + 0x1e4]
push 0
push 0
push 0x147
push eax
call edi
mov ecx, dword [esi + eax*4 + 0x25c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, dword [esi + 0x460]
push 0
push 0
mov dword [ecx + 0x20], eax
mov edx, dword [esi + 0x1e4]
push 0x147
push edx
call edi
mov ecx, dword [esi + eax*4 + 0x25c]
cmp ecx, 0xffff
je 0x403aba
mov edx, ecx
and edx, 0xffff
mov eax, 0x2e8ba2e9
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
and ecx, 0x30000
add eax, edx
mov edx, dword [esi + 0x88]
add eax, ecx
mov ecx, dword [esi + 0x8c]
push eax
push ecx
push edx
call fcn.00458af0
add esp, 0xc
push esi
lea ecx, [esp + 0x20]
call fcn.0046a180
mov cl, byte [esi + 0x8c]
mov al, byte [esi + 0x88]
mov edx, dword [esi + 0x90]
mov byte [esp + 0x91], cl
mov ecx, dword [esi + 0x250]
mov byte [esp + 0x90], al
mov eax, dword [edx + 0x14]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 3
mov dword [esp + 0x94], eax
call fcn.00499980
cmp eax, 1
jne 0x403c03
cmp byte [esp + 0x9c], 0
je 0x403cfc
call fcn.004184d0
lea ecx, [esp + 0x14]
call fcn.004746b6
lea ecx, [esp + 0x18]
mov byte [esp + 0x1bc], 4
call fcn.004746b6
push 0x6d
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c0], 5
call fcn.004746ea
push 0xee
lea ecx, [esp + 0x1c]
call fcn.004746ea
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0x10
push edx
push eax
mov ecx, esi
call fcn.00494261
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1bc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1bc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ca6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 0
call fcn.00402610
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1bc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
add esp, 0x1b4
ret
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.00401010
cmp dword [esi + 0x250], 2
push 0
push 0
push 0
push 0
jne 0x403d30
mov edx, dword [esi + 0x460]
push edx
push 0x401290
jmp 0x403d3c
mov eax, dword [esi + 0x460]
push eax
push 0x401120
call fcn.0049b408
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 0
call fcn.00402610
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1bc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret
push esi
mov esi, ecx
call fcn.0040bdd0
mov ecx, dword [esi + 0x90]
xor eax, eax
mov dword [ecx + 0x5b0], eax
mov edx, dword [esi + 0x90]
mov ecx, esi
mov dword [edx + 0x4d8], eax
pop esi
jmp fcn.0040c7c0
push esi
mov esi, ecx
mov ecx, 0x519fd8
call fcn.0048fcf8
lea ecx, [esi + 0x4050]
cmp eax, ecx
jne 0x41316d
pop esi
jmp 0x40ccf0
lea ecx, [esi + 0xab20]
cmp eax, ecx
jne 0x41317d
pop esi
jmp 0x41fa50
lea ecx, [esi + 0x5090]
cmp eax, ecx
jne 0x41318d
pop esi
jmp 0x4362a0
cmp byte [esi + 0x1e5e0], 0
je 0x4131a6
lea ecx, [esi + 0xed48]
cmp eax, ecx
jne 0x4131a6
pop esi
jmp 0x4035c0
lea ecx, [esi + 0xa578]
cmp eax, ecx
jne 0x4131b6
pop esi
jmp 0x4680c0
cmp byte [esi + 0x1e5e1], 0
je 0x4131cf
lea ecx, [esi + 0x1e148]
cmp eax, ecx
jne 0x4131cf
pop esi
jmp 0x46bf00
lea ecx, [esi + 0x9820]
cmp eax, ecx
pop esi
jne 0x4131df
jmp 0x430b30
xor al, al
ret
push esi
mov esi, ecx
call fcn.0041e450
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0x3e8
mov dword [esi + 0x4018], eax
mov eax, dword [esi + 0x20]
push 8
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 0x3a1c]
push 0
push 0
push 0x147
push ecx
mov dword [esi + 0x4010], eax
mov dword [esi + 0x648], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + eax*4 + 0x4024]
mov ecx, esi
mov dword [esi + 0x1678], edx
call fcn.0041eec0
mov al, 1
pop esi
ret
push ebx
push esi
push 0x5b550
xor ebx, ebx
push ebx
push 0x590374
mov esi, ecx
call fcn.004b0a70
add esp, 0xc
push ebx
mov ecx, esi
mov dword [esi + 0x568], ebx
mov dword [esi + 0x564], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x134], ebx
call fcn.00494c9c
mov ecx, esi
mov byte [0x5eb93d], bl
call fcn.0042f500
push 1
mov ecx, esi
call fcn.00494c9c
xor eax, eax
push ebx
push ebx
push ebx
mov dword [0x5eb8e0], eax
mov dword [0x5eb8e4], eax
mov dword [0x5eb8e8], eax
mov dword [0x5eb8ec], eax
mov dword [0x5eb8f0], eax
mov dword [0x5eb8f4], eax
mov dword [0x5eb8f8], eax
mov dword [0x5eb8fc], eax
mov dword [0x5eb900], eax
mov dword [0x5eb904], eax
mov dword [0x5eb908], eax
mov dword [0x5eb90c], eax
mov dword [0x5eb910], eax
mov dword [0x5eb914], eax
mov dword [0x5eb918], eax
mov dword [0x5eb91c], eax
mov dword [0x5eb920], eax
mov dword [0x5eb924], eax
mov dword [0x5eb928], eax
mov dword [0x5eb92c], eax
mov dword [0x5eb930], eax
mov dword [0x5eb934], eax
push ebx
push ebx
push 0x42f070
mov dword [esi + 0x568], ebx
mov dword [esi + 0x564], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x56c], ebx
mov dword [esi + 0x13c], 1
mov dword [esi + 0x140], 1
mov dword [esi + 0x570], 1
call fcn.0049b408
pop esi
mov al, 1
pop ebx
ret
push 0xffffffffffffffff
push 0x4d2aed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push ebp
mov esi, ecx
mov dword [esp + 0x20], ebp
call fcn.00434c20
mov byte [esi + 0x1018], 0
mov byte [0x5eb95b], 0
mov eax, dword [esi + 0xe0c]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0xd24], ebp
push ebp
setne cl
cmp dword [esi + 0xd30], ebp
mov byte [esi + 0x948], cl
setne dl
cmp dword [esi + 0xd28], ebp
push 0x4b2
setne al
cmp dword [esi + 0xd2c], ebp
mov byte [esi + 0x949], dl
setne cl
mov byte [esi + 0x519], cl
mov ecx, esi
mov byte [esi + 0x518], al
call fcn.00490675
mov ecx, eax
call fcn.0049084d
mov ecx, esi
mov dword [esi + 0x94c], ebp
call fcn.00432930
push 1
mov ecx, esi
call fcn.00494c9c
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 0x3c8]
call fcn.0044b460
mov eax, dword [esi + 0x477c]
cmp eax, 5
mov dword [esp + 0x228], ebp
jne 0x436505
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
cmp ecx, ebp
jge 0x43638d
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0x10], dl
jge 0x4363a2
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov dl, byte [eax + 1]
mov byte [esp + 0x11], dl
jge 0x4363b8
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov bl, byte [eax + 2]
jge 0x4363ca
push 0x80070057
call fcn.004015a0
cmp ecx, 4
mov dl, byte [eax + 3]
jge 0x4363dc
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 4]
movsx eax, byte [esp + 0x10]
movsx edi, byte [esp + 0x11]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
lea eax, [eax + eax*4]
movsx edi, bl
lea eax, [edi + eax*2]
movsx edx, dl
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
movsx ecx, cl
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2 - 0x82350]
lea eax, [esp + 0x14]
shl edx, 9
push eax
lea ecx, [esi + 0x364]
mov dword [0x5eba00], edx
call fcn.0044b460
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x22c], 1
call fcn.00402bd0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x228], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
cmp ecx, ebp
jge 0x436476
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0x11], dl
jge 0x43648b
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov dl, byte [eax + 1]
mov byte [esp + 0x10], dl
jge 0x4364a1
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov bl, byte [eax + 2]
jge 0x4364b3
push 0x80070057
call fcn.004015a0
cmp ecx, 4
mov dl, byte [eax + 3]
jge 0x4364c5
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 4]
movsx eax, byte [esp + 0x11]
movsx edi, byte [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
lea eax, [eax + eax*4]
movsx edi, bl
lea eax, [edi + eax*2]
movsx edx, dl
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
movsx ecx, cl
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2 - 0x82350]
shl edx, 9
mov dword [0x5eba04], edx
jmp 0x436859
cmp eax, 2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
jne 0x436659
cmp ecx, ebp
jge 0x436523
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0x11], dl
jge 0x436538
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov bl, byte [eax + 1]
jge 0x43654a
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov dl, byte [eax + 2]
jge 0x43655c
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 3]
movsx eax, byte [esp + 0x11]
lea eax, [eax + eax*4]
movsx edi, bl
lea eax, [edi + eax*2]
movsx edx, dl
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
movsx ecx, cl
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2 - 0xd050]
lea eax, [esp + 0x14]
shl edx, 9
push eax
lea ecx, [esi + 0x364]
mov dword [0x5eba00], edx
call fcn.0044b460
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x22c], 2
call fcn.00402bd0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x228], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4365d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
cmp ecx, ebp
jge 0x4365eb
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0x11], dl
jge 0x436600
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov bl, byte [eax + 1]
jge 0x436612
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov dl, byte [eax + 2]
jge 0x436624
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 3]
movsx eax, byte [esp + 0x11]
lea eax, [eax + eax*4]
movsx edi, bl
lea eax, [edi + eax*2]
movsx edx, dl
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
movsx ecx, cl
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2 - 0xd050]
shl edx, 9
mov dword [0x5eba04], edx
jmp 0x436859
cmp ecx, ebp
jge 0x436667
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0x11], dl
jge 0x43667c
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov dl, byte [eax + 1]
mov byte [esp + 0x10], dl
jge 0x436692
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov dl, byte [eax + 2]
mov byte [esp + 0x12], dl
jge 0x4366a8
push 0x80070057
call fcn.004015a0
cmp ecx, 4
mov dl, byte [eax + 3]
mov byte [esp + 0x13], dl
jge 0x4366be
push 0x80070057
call fcn.004015a0
cmp ecx, 5
mov bl, byte [eax + 4]
jge 0x4366d0
push 0x80070057
call fcn.004015a0
cmp ecx, 6
mov dl, byte [eax + 5]
jge 0x4366e2
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 6]
movsx eax, byte [esp + 0x11]
movsx edi, byte [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
movsx edi, byte [esp + 0x12]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
movsx edi, byte [esp + 0x13]
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
lea eax, [eax + eax*4]
movsx edi, bl
lea edi, [edi + eax*2]
imul edi, edi, 0x4b
movsx eax, dl
lea edx, [eax + eax*4]
movsx ecx, cl
lea eax, [edi + edx*2]
lea edx, [eax + ecx - 0x16e7500]
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x364]
mov dword [0x5eba00], edx
call fcn.0044b460
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x22c], 3
call fcn.00402bd0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x228], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43677a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
xor ebp, ebp
cmp ecx, ebp
jge 0x436791
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 0x13], dl
jge 0x4367a6
push 0x80070057
call fcn.004015a0
cmp ecx, 2
mov dl, byte [eax + 1]
mov byte [esp + 0x12], dl
jge 0x4367bc
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov dl, byte [eax + 2]
mov byte [esp + 0x11], dl
jge 0x4367d2
push 0x80070057
call fcn.004015a0
cmp ecx, 4
mov dl, byte [eax + 3]
mov byte [esp + 0x10], dl
jge 0x4367e8
push 0x80070057
call fcn.004015a0
cmp ecx, 5
mov bl, byte [eax + 4]
jge 0x4367fa
push 0x80070057
call fcn.004015a0
cmp ecx, 6
mov dl, byte [eax + 5]
jge 0x43680c
push 0x80070057
call fcn.004015a0
movsx ecx, byte [esp + 0x13]
movsx edi, byte [esp + 0x12]
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*2]
movsx edi, byte [esp + 0x11]
mov al, byte [eax + 6]
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*2]
movsx edi, byte [esp + 0x10]
lea ecx, [ecx + ecx*2]
lea ecx, [edi + ecx*2]
lea ecx, [ecx + ecx*4]
movsx edi, bl
lea edi, [edi + ecx*2]
imul edi, edi, 0x4b
movsx ecx, dl
lea edx, [ecx + ecx*4]
lea ecx, [edi + edx*2]
movsx edx, al
lea eax, [ecx + edx - 0x16e7500]
mov dword [0x5eba04], eax
movzx ecx, byte [esi + 0x8c]
movzx edx, byte [esi + 0x88]
push ecx
push edx
call fcn.00419660
mov eax, dword [esi + 0x44c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
push ebp
push ebp
push 0x147
push eax
call edi
mov ecx, dword [esi + eax*4 + 0xe14]
mov edx, dword [esi + 0x1014]
mov eax, dword [esi + 0x8c]
mov ebx, 0xffff
and ecx, ebx
push ecx
mov ecx, dword [esi + 0x88]
push edx
push eax
push ecx
call fcn.0043c880
add esp, 0x10
mov byte [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4788], eax
mov eax, dword [esi + 0x477c]
cmp eax, 5
jne 0x436a62
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
push edx
push eax
call fcn.0045eb20
mov ecx, dword [esi + 0x44c]
add esp, 8
push ebp
push ebp
push 0x147
push ecx
call edi
test eax, eax
jne 0x436905
mov dword [0x5eba08], ebx
jmp 0x436934
mov edx, dword [esi + 0x44c]
push ebp
push ebp
push 0x147
push edx
call edi
mov ecx, dword [esi + eax*4 + 0xe14]
and ecx, ebx
mov eax, 0x749cb29
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x5eba08], eax
mov ecx, dword [esi + 0x44c]
push ebp
push ebp
push 0x147
push ecx
call edi
mov ecx, dword [esi + eax*4 + 0xe14]
cmp ecx, ebx
jne 0x436960
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
push ebx
push edx
push eax
jmp 0x43698c
mov edx, ecx
and edx, ebx
mov eax, 0x749cb29
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x88]
and ecx, 0x30000
add eax, ecx
mov ecx, dword [esi + 0x8c]
push eax
push ecx
push edx
call fcn.00458af0
add esp, 0xc
push 1
lea ecx, [esi + 0x310]
call fcn.0049084d
push 1
lea ecx, [esi + 0x2bc]
mov byte [esi + 0x1019], 1
call fcn.0049084d
push 1
lea ecx, [esi + 0x268]
mov byte [esi + 0x101a], 1
call fcn.0049084d
mov al, byte [esi + 0xd2c]
mov ecx, dword [esi + 0x90]
and al, 1
mov byte [esi + 0x101b], 1
mov byte [esi + 0x519], al
cmp word [ecx + 0x56e], bp
je 0x436a04
push ebp
call fcn.0045d340
push 1
mov dword [0x5eba14], eax
call fcn.0045d340
add esp, 8
jmp 0x436a0c
or eax, 0xffffffff
mov dword [0x5eba14], eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4de38c
mov dword [0x5eba18], eax
call fcn.004040d0
lea ecx, [esi + 0x164]
call fcn.00417ab0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4de388
call fcn.004040d0
lea ecx, [esi + 0x108]
call fcn.00417ab0
mov dword [esi + 0x950], 0x43444c
mov dword [esi + 0x520], 0x534942
jmp 0x436e29
cmp eax, 2
mov edx, dword [esi + 0x44c]
push ebp
push ebp
push 0x147
push edx
jne 0x436cbb
call edi
test eax, eax
jne 0x436a87
mov dword [0x5eba08], ebx
jmp 0x436ab7
mov eax, dword [esi + 0x44c]
push ebp
push ebp
push 0x147
push eax
call edi
mov ecx, dword [esi + eax*4 + 0xe14]
and ecx, ebx
mov eax, 0x5ea306d7
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [0x5eba08], ecx
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
push edx
push eax
call fcn.00460e90
add esp, 8
cmp eax, 6
mov dword [0x5eb968], eax
je 0x436ae1
cmp eax, 5
je 0x436ae1
cmp eax, 0x11
jne 0x436ae6
mov byte [esp + 0x10], 1
mov ecx, dword [esi + 0x44c]
push ebp
push ebp
push 0x147
push ecx
call edi
mov ecx, dword [esi + eax*4 + 0xe14]
cmp ecx, ebx
jne 0x436b12
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
push ebx
push edx
push eax
jmp 0x436b3e
mov edx, ecx
and edx, ebx
mov eax, 0x5ea306d7
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x88]
and ecx, 0x30000
add eax, ecx
mov ecx, dword [esi + 0x8c]
push eax
push ecx
push edx
call fcn.00458af0
mov eax, dword [0x5eb968]
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
jne 0x436b5c
mov dword [esp + 0x1c], 1
jmp 0x436b68
cmp eax, ebp
jne 0x436b68
mov dword [esp + 0x1c], 2
call fcn.0045d270
movzx eax, al
push eax
lea ecx, [esi + 0x310]
call fcn.0049084d
call fcn.0045d270
mov byte [esi + 0x1019], al
call fcn.0045d280
movzx ecx, al
push ecx
lea ecx, [esi + 0x2bc]
call fcn.0049084d
call fcn.0045d280
mov byte [esi + 0x101a], al
call fcn.0045d2c0
movzx edx, al
push edx
lea ecx, [esi + 0x268]
call fcn.0049084d
call fcn.0045d2c0
mov byte [esi + 0x101b], al
mov eax, dword [esi + 0x90]
mov cl, byte [eax + 0x588]
shr cl, 4
and cl, 1
mov byte [0x5eb958], cl
mov dl, byte [esi + 0xd2c]
and dl, byte [esi + 0x101b]
mov eax, dword [esi + 0x90]
mov byte [esi + 0x519], dl
cmp word [eax + 0x56e], bp
je 0x436c1a
push ebp
call fcn.0045d340
push 1
mov dword [0x5eba14], eax
call fcn.0045d340
add esp, 8
mov dword [0x5eba18], eax
jmp 0x436c26
mov dword [0x5eba14], ebx
mov dword [0x5eba18], ebx
lea ecx, [esp + 0x24]
push ebp
push ecx
call fcn.0045d6a0
add esp, 4
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004040d0
lea ecx, [esi + 0x164]
call fcn.00417ab0
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.0045d7d0
add esp, 4
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004040d0
lea ecx, [esi + 0x108]
call fcn.00417ab0
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0045d6a0
add esp, 8
lea edx, [esi + 0x950]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x436c85
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.0045d7d0
add esp, 8
lea edx, [esi + 0x520]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x436ca8
jmp 0x436e14
call edi
test eax, eax
jne 0x436cc9
mov dword [0x5eba08], ebx
jmp 0x436cf7
mov eax, dword [esi + 0x44c]
push ebp
push ebp
push 0x147
push eax
call edi
mov ecx, dword [esi + eax*4 + 0xe14]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [0x5eba08], ecx
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
push edx
push eax
call fcn.00461930
add esp, 8
cmp eax, 7
mov dword [0x5eb964], eax
je 0x436d26
cmp eax, 2
je 0x436d26
cmp eax, 4
je 0x436d26
cmp eax, 0x11
jne 0x436d2b
mov byte [esp + 0x10], 1
mov ecx, dword [esi + 0x44c]
push ebp
push ebp
push 0x147
push ecx
call edi
mov ecx, dword [esi + eax*4 + 0xe14]
cmp ecx, ebx
jne 0x436d57
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
push ebx
push edx
push eax
jmp 0x436d83
mov edx, ecx
and edx, ebx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x88]
and ecx, 0x30000
add eax, ecx
mov ecx, dword [esi + 0x8c]
push eax
push ecx
push edx
call fcn.00458af0
mov eax, dword [0x5eb964]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x436d9f
mov dword [esp + 0x1c], 1
jmp 0x436dab
cmp eax, ebp
jne 0x436dab
mov dword [esp + 0x1c], 2
call fcn.0045d1f0
movzx eax, al
push eax
lea ecx, [esi + 0x310]
call fcn.0049084d
call fcn.0045d1f0
mov byte [esi + 0x1019], al
call fcn.0045d210
movzx ecx, al
push ecx
lea ecx, [esi + 0x2bc]
call fcn.0049084d
call fcn.0045d210
mov byte [esi + 0x101a], al
call fcn.0045d230
movzx edx, al
push edx
lea ecx, [esi + 0x268]
call fcn.0049084d
call fcn.0045d230
mov byte [esi + 0x101b], al
and al, byte [esi + 0xd2c]
mov byte [esi + 0x519], al
cmp dword [esp + 0x1c], ebp
jne 0x436eb6
cmp byte [esp + 0x10], 0
jne 0x436fa3
push esi
lea ecx, [esp + 0x8c]
call fcn.0046a180
mov cl, byte [esi + 0x8c]
mov al, byte [esi + 0x88]
mov edx, dword [esi + 0x90]
mov byte [esp + 0xfd], cl
mov ecx, dword [esi + 0x477c]
mov byte [esp + 0xfc], al
mov eax, dword [edx + 0x14]
mov dword [esp + 0x104], ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0x228], 4
mov dword [esp + 0x100], eax
call fcn.00499980
cmp eax, 1
jne 0x436e90
cmp byte [esp + 0x108], 0
je 0x436e98
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x228], 0
call fcn.00402610
cmp dword [esp + 0x1c], ebp
je 0x436fa3
call fcn.004184d0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.004746b6
lea ecx, [esp + 0x14]
mov byte [esp + 0x228], 5
call fcn.004746b6
cmp edi, 0x52000
mov byte [esp + 0x228], 6
je 0x436ef2
cmp dword [esp + 0x1c], 2
je 0x436ef2
push 0x6d
jmp 0x436ef7
push 0x6af5
lea ecx, [esp + 0x24]
call fcn.004746ea
push 0xee
lea ecx, [esp + 0x18]
call fcn.004746ea
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push 0x10
push edx
push eax
mov ecx, esi
call fcn.00494261
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x228], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x228], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x228], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x43706e
mov ecx, dword [esi + 0x20]
push 1
push ebp
push ecx
mov dword [esi + 0x938], ebp
mov dword [esi + 0x934], ebp
mov dword [esi + 0x508], ebp
mov dword [esi + 0x504], ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.004311b0
mov edx, dword [esi + 0x234]
push ebp
push ebp
push 0xf0
push edx
call edi
mov ecx, dword [esi + 0x90]
movzx edx, word [ecx + 0x574]
mov dword [0x5eb960], edx
mov ecx, dword [esi + 0x90]
movzx edx, word [ecx + 0x576]
sub eax, 1
neg eax
sbb eax, eax
push ebp
shl edx, 9
push ebp
mov dword [0x5eb95c], edx
mov esi, dword [esi + 0x477c]
add eax, 1
cmp esi, 5
push ebp
push ebp
jne 0x437029
push ebp
push 0x431380
jmp 0x43703c
cmp esi, 2
jne 0x437036
push eax
push 0x432bd0
jmp 0x43703c
push ebp
push 0x432090
call fcn.0049b408
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x228], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43706c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x21c
ret
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d42a8
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x2dc]
push edi
xor edi, edi
cmp eax, edi
je 0x4680f9
push eax
call fcn.004b253e
add esp, 4
mov dword [esi + 0x2dc], edi
push edi
mov ecx, esi
call fcn.00467b30
mov eax, dword [esi + 0x364]
mov byte [eax + 0xc9d30], 0
mov ecx, dword [esi + 0x364]
xor eax, eax
cmp dword [ecx + 0x38], edi
mov byte [esp + 0x13], 0
jle 0x46814e
mov ecx, 0x40
jmp 0x468130
mov edx, dword [esi + 0x364]
mov dword [ecx + edx], 0xfffffffe
mov edx, dword [esi + 0x364]
add eax, 1
add ecx, 4
cmp eax, dword [edx + 0x38]
jl 0x468130
mov ecx, esi
call fcn.00465e10
mov eax, dword [esi + 0x364]
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.004663c0
mov ecx, dword [esi + 0x364]
cmp dword [ecx + 0x10], 1
jge 0x4681ca
lea edx, [esp + 0x1c]
push 0x6b3a
push edx
call fcn.004414a0
add esp, 8
mov eax, dword [eax]
push edi
push edi
push edi
push edi
push eax
push edi
push 3
lea ecx, [esi + 0x1bc]
mov dword [esp + 0xa8], edi
call fcn.0049a0ee
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4681ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x364]
mov dword [ecx + 0x9c84], edi
movzx edx, byte [esi + 0x8c]
movzx eax, byte [esi + 0x88]
push edx
push eax
call fcn.00419660
mov ecx, dword [esi + 0x230]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
push edi
push edi
push 0x147
push ecx
call ebx
mov edx, dword [esi + eax*4 + 0x3a0]
mov eax, dword [esi + 0x5a0]
mov ecx, dword [esi + 0x8c]
push edx
mov edx, dword [esi + 0x88]
push eax
push ecx
push edx
call fcn.0043c880
mov eax, dword [esi + 0x90]
mov ebp, 0x200
add esp, 0x10
cmp word [eax + 0x594], bp
jne 0x4685ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x390], 2
mov dword [esi + 0x39c], eax
jne 0x4683c9
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x88]
push ecx
push edx
call fcn.00460e90
mov ecx, dword [esi + 0x364]
add esp, 8
push edi
push edi
mov dword [ecx + 0x9c88], eax
mov edx, dword [esi + 0x230]
push 0x147
push edx
call ebx
cmp dword [esi + eax*4 + 0x3a0], 0xffff
jne 0x4682ae
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
push 0xffff
push eax
push ecx
jmp 0x4682e5
mov edx, dword [esi + 0x230]
push edi
push edi
push 0x147
push edx
call ebx
mov ecx, dword [esi + eax*4 + 0x3a0]
mov eax, 0x5ea306d7
imul ecx
mov ecx, dword [esi + 0x8c]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x88]
push eax
push ecx
push edx
call fcn.00458af0
mov eax, dword [esi + 0x364]
add esp, 0xc
cmp dword [eax + 0x9c88], 0xffffffff
jne 0x468301
mov byte [esp + 0x13], 1
mov dword [eax + 0x9c80], ebp
mov ebx, dword [esi + 0x364]
push ebp
call fcn.0045d950
or dword [ebx + 0x9c80], eax
mov eax, dword [esi + 0x364]
mov ecx, dword [eax + 0x9c80]
push ecx
call fcn.0045da70
mov edx, dword [esi + 0x364]
mov dword [edx + 0x9c84], eax
mov eax, dword [esi + 0x364]
push eax
call fcn.0045d440
mov ecx, dword [esi + 0x364]
add esp, 0xc
cmp dword [ecx + 0x10], edi
mov ebp, 4
jle 0x468536
mov ebx, 0xc9d0c
nop
mov eax, dword [esi + 0x364]
mov edx, dword [eax + 0x9c80]
mov ecx, edi
shr edx, cl
test dl, 1
je 0x4683bc
mov dword [ebx + eax], edi
lea eax, [esp + 0x20]
mov edx, 1
push eax
shl edx, cl
push 0x200
push edx
call fcn.0045dac0
add esp, 0xc
mov eax, edi
sub eax, 4
neg eax
sbb eax, eax
push ebp
and eax, 0xfffffffb
add eax, 0x2d
push eax
push 0
lea ecx, [esp + 0x2c]
push ecx
push ebp
lea ecx, [esi + 0x1bc]
call fcn.0049a09b
add ebp, 1
add ebx, 4
add edi, 1
cmp edi, 7
jl 0x468360
jmp 0x468534
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
push edx
push eax
call fcn.00461930
mov ecx, dword [esi + 0x364]
add esp, 8
push edi
push edi
mov dword [ecx + 0x9c88], eax
mov edx, dword [esi + 0x230]
push 0x147
push edx
call ebx
cmp dword [esi + eax*4 + 0x3a0], 0xffff
jne 0x46841d
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
push 0xffff
push eax
push ecx
jmp 0x468454
mov edx, dword [esi + 0x230]
push edi
push edi
push 0x147
push edx
call ebx
mov ecx, dword [esi + eax*4 + 0x3a0]
mov eax, 0x2e8ba2e9
imul ecx
mov ecx, dword [esi + 0x8c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x88]
push eax
push ecx
push edx
call fcn.00458af0
mov eax, dword [esi + 0x364]
add esp, 0xc
cmp dword [eax + 0x9c88], 0xffffffff
jne 0x468470
mov byte [esp + 0x13], 1
mov dword [eax + 0x9c80], 0x100
mov ebx, dword [esi + 0x364]
push 0x100
call fcn.0045d950
or dword [ebx + 0x9c80], eax
mov eax, dword [esi + 0x364]
mov ecx, dword [eax + 0x9c80]
push ecx
call fcn.0045da70
mov edx, dword [esi + 0x364]
mov dword [edx + 0x9c84], eax
mov eax, dword [esi + 0x364]
add esp, 8
cmp dword [eax + 0x10], edi
mov ebp, 4
jle 0x468536
mov ebx, 0xc9d0c
lea ebx, [ebx]
mov eax, dword [esi + 0x364]
mov edx, dword [eax + 0x9c80]
mov ecx, edi
shr edx, cl
test dl, 1
je 0x46852c
mov dword [ebx + eax], edi
lea eax, [esp + 0x20]
mov edx, 1
push eax
shl edx, cl
push 0x100
push edx
call fcn.0045dac0
add esp, 0xc
mov eax, edi
sub eax, 4
neg eax
sbb eax, eax
push ebp
and eax, 0xfffffffb
add eax, 0x2d
push eax
push 0
lea ecx, [esp + 0x2c]
push ecx
push ebp
lea ecx, [esi + 0x1bc]
call fcn.0049a09b
add ebp, 1
add ebx, 4
add edi, 1
cmp edi, 7
jl 0x4684d0
xor edi, edi
cmp byte [esp + 0x13], 0
je 0x4685ff
call fcn.004184d0
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.004746b6
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 1
call fcn.004746b6
cmp edi, 0x52000
mov byte [esp + 0x8c], 2
lea ecx, [esp + 0x14]
jne 0x468580
push 0x6af5
jmp 0x468582
push 0x6d
call fcn.004746ea
push 0xee
lea ecx, [esp + 0x1c]
call fcn.004746ea
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0x10
push edx
push eax
mov ecx, esi
call fcn.00494261
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4685d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4685fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x46865a
mov ecx, dword [esi + 0x288]
push 1
push edi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
lea ecx, [esi + 0x210]
call fcn.0049084d
push edi
push 0x4f9
mov ecx, esi
call fcn.00490675
mov ecx, eax
call fcn.0049084d
push edi
push 0x4fa
mov ecx, esi
call fcn.00490675
mov ecx, eax
call fcn.0049084d
mov edx, dword [esi + 0x364]
push edi
push edi
push edi
push edi
push edx
push 0x465100
call fcn.0049b408
mov al, 1
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d447c
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push esi
mov esi, ecx
test esi, esi
jne 0x46bf2a
mov dword [0x64a2d8], ecx
jmp 0x46bf32
mov eax, dword [esi + 0x20]
mov dword [0x64a2d8], eax
mov ecx, dword [esi + 0x88]
mov dword [0x64a2dc], ecx
mov edx, dword [esi + 0x8c]
mov dword [0x64a2e0], edx
mov eax, dword [esi + 0x3ec]
mov dword [0x64a2e4], eax
mov ecx, dword [esi + 0x3f0]
mov dword [0x64a2e8], ecx
mov edx, dword [esi + 0x90]
mov eax, dword [edx + 0x564]
push 0
push 0
mov dword [0x64a2ec], eax
mov ecx, dword [esi + 0x364]
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + eax*4 + 0xdc]
mov eax, dword [esi + 0x2dc]
mov ecx, dword [esi + 0x8c]
and edx, 0xffff
push edx
mov edx, dword [esi + 0x88]
push eax
push ecx
push edx
call fcn.0043c880
add esp, 0x10
push esi
lea ecx, [esp + 0x18]
call fcn.0046a180
mov cl, byte [esi + 0x8c]
mov al, byte [esi + 0x88]
mov edx, dword [esi + 0x90]
mov byte [esp + 0x89], cl
mov ecx, dword [esi + 0xd0]
mov byte [esp + 0x88], al
mov eax, dword [edx + 0x14]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x8c], eax
call fcn.00499980
cmp eax, 1
jne 0x46c01b
cmp byte [esp + 0x94], 0
je 0x46c0ea
call fcn.004184d0
lea ecx, [esp + 8]
call fcn.004746b6
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b4], 1
call fcn.004746b6
push 0x6d
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b8], 2
call fcn.004746ea
push 0xee
lea ecx, [esp + 0x10]
call fcn.004746ea
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 0x10
push edx
push eax
mov ecx, esi
call fcn.00494261
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c096
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c0be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.00402610
xor al, al
pop esi
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
add esp, 0x1b4
ret
push 1
mov ecx, esi
call fcn.00494c9c
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x42c]
call fcn.0044b460
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov byte [esp + 0x1b4], 3
jge 0x46c120
push 0x80070057
call fcn.004015a0
cmp ecx, 1
mov dl, byte [eax]
mov byte [esp + 7], dl
jge 0x46c135
push 0x80070057
call fcn.004015a0
cmp ecx, 2
push ebx
mov bl, byte [eax + 1]
jge 0x46c148
push 0x80070057
call fcn.004015a0
cmp ecx, 3
mov dl, byte [eax + 2]
jge 0x46c15a
push 0x80070057
call fcn.004015a0
mov cl, byte [eax + 3]
movsx eax, byte [esp + 0xb]
lea eax, [eax + eax*4]
movsx esi, bl
push 0
lea eax, [esi + eax*2]
movsx edx, dl
push 0
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
push 0
movsx ecx, cl
lea eax, [eax + eax*4]
push 0
lea edx, [ecx + eax*2 - 0xd050]
push 0x64a2d8
shl edx, 9
push 0x46bb20
mov dword [0x64a2f0], edx
call fcn.0049b408
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1b8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c1c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.00402610
mov ecx, dword [esp + 0x1b0]
pop ebx
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1b4
ret