Function at 0x418370
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor esi, esi
call fcn.00447340
call fcn.0041ba30
cmp word [0x5676a4], bx
je 0x41840d
cmp word [0x45602a8], bx
jne 0x41840d
cmp word [0x4581198], bx
jne 0x41840d
cmp word [0x45829ac], bx
jne 0x41840d
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x5676b0]
add ecx, 0x1f4
cmp ecx, eax
jae 0x41840d
cmp dword [0x461b658], ebx
je 0x4183e0
mov edx, dword [0x462bf30]
mov eax, dword [0x461b404]
and edx, 0xffff
push edx
push eax
call fcn.0048f950
jmp 0x4183f9
mov ecx, dword [0x462bf30]
mov edx, dword [0x461b404]
and ecx, 0xffff
push ecx
push edx
call fcn.0043b4e0
add esp, 8
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
mov word [0x5676a4], bx
call fcn.0044b030
mov cx, word [0x5676a0]
mov dx, word [0x564e62]
test eax, eax
mov eax, dword [0x4b83ec]
jne 0x41844f
cmp eax, 0xffffffff
jg 0x41844f
mov ebp, 1
cmp cx, bp
je 0x418454
cmp dx, bp
je 0x418454
cmp word [0x4aa070], bp
je 0x418454
mov word [0x4a46f0], bp
jmp 0x41845b
mov ebp, 1
mov word [0x4a46f0], bx
cmp eax, 0xffffffff
mov word [0x5676ac], bx
je 0x41846e
mov word [0x5676ac], bp
cmp cx, bp
jne 0x41847a
mov word [0x5676ac], bp
cmp dx, bp
jne 0x418486
mov word [0x5676ac], bp
mov eax, dword [0x5ab740]
lea ecx, [eax + 0x340]
and ecx, 0x800003ff
jns 0x4184a1
dec ecx
or ecx, 0xfffffc00
inc ecx
mov eax, ecx
mov dword [0x54cd00], ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [0x54cd68], eax
inc eax
and eax, reloc.WSOCK32.dll_closesocket
jns 0x4184c7
dec eax
or eax, 0xfffffffc
inc eax
mov dword [0x54d170], eax
mov eax, ecx
and eax, 0x800000ff
jns 0x4184dc
dec eax
or eax, 0xffffff00
inc eax
fld dword [0x45827fc]
fcomp dword [0x49c318]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [0x54cd0c], eax
fnstsw ax
test ah, 0x40
je 0x418510
fld dword [0x4582800]
fcomp dword [0x49c318]
fnstsw ax
test ah, 0x40
jne 0x418512
mov esi, ebp
cmp word [0x5676aa], bx
je 0x418544
cmp word [0x4630b1c], bx
jne 0x41853d
cmp word [0x462ac0c], bx
jne 0x41853d
cmp word [0x46309f8], bx
mov word [0x5676aa], bx
je 0x418544
mov word [0x5676aa], bp
push 0xe
push 0x54cd1c
call fcn.00420ff0
mov edi, eax
push 0xe
push 0x54cd1c
mov dword [esp + 0x20], edi
call fcn.00421050
push 0xe
push 0x54cd1c
mov dword [esp + 0x2c], eax
call fcn.004210b0
add esp, 0x18
cmp word [0x5676aa], bx
mov dword [esp + 0x18], eax
jne 0x41858b
cmp esi, ebx
je 0x418592
cmp edi, 2
je 0x418592
or edi, 0xffffffff
mov dword [esp + 0x10], edi
mov ecx, dword [0x4581190]
cmp ecx, 0x7bda
je 0x418657
cmp ecx, 0x27dc
je 0x418657
cmp ecx, 0x2969
jl 0x4185c4
cmp ecx, 0x296d
jle 0x418657
cmp ecx, 0x2aa7
je 0x418657
cmp ecx, 0x2aa8
je 0x418657
cmp ecx, 0x50e7
je 0x418657
cmp ecx, 0x50e8
je 0x418657
cmp ecx, 0x3f0
je 0x418657
cmp ecx, 0x3fd
je 0x418657
cmp ecx, 0xbc0
je 0x418657
cmp ecx, 0xbcd
je 0x418657
cmp ecx, 0x2015
jg 0x418618
cmp ecx, 0x2008
jge 0x418657
cmp ecx, 0x7541
jl 0x418628
cmp ecx, 0x7545
jle 0x418657
cmp ecx, 0x1b71
je 0x418657
cmp ecx, 0x4269
je 0x418657
cmp ecx, 0x426b
je 0x418657
cmp ecx, 0x426d
je 0x418657
cmp ecx, 0x1b73
mov word [0x4aa07c], bp
jne 0x41865e
mov word [0x4aa07c], bx
cmp ecx, 0x2710
jge 0x41868a
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x41868a
mov eax, ecx
mov esi, 0x3e8
cdq
idiv esi
cmp edx, 7
je 0x418692
cmp ecx, 0x82
jne 0x4186a2
mov word [0x4aa09a], bx
mov word [0x4aa098], bp
jmp 0x41870a
cmp ecx, 0x3f0
je 0x4186fa
cmp ecx, 0x3fd
je 0x4186fa
cmp ecx, 0xbc0
je 0x4186fa
cmp ecx, 0xbcd
je 0x4186fa
cmp ecx, 0x2aa7
je 0x4186fa
cmp ecx, 0x2aa8
je 0x4186fa
cmp ecx, 0x50e7
je 0x4186fa
cmp ecx, 0x50e8
je 0x4186fa
cmp ecx, 0x27dc
je 0x4186fa
mov word [0x4aa09a], bp
mov word [0x4aa098], bp
jmp 0x41870a
mov word [0x4aa09a], 2
mov word [0x4aa098], bx
cmp edi, ebx
je 0x41873e
test dword [0x4ebe494], 0x20000000
je 0x418789
cmp word [0x56768c], bx
jne 0x418789
cmp word [0x564e3c], bx
jne 0x418789
cmp word [0x564e3e], bx
jne 0x418789
cmp word [0x567690], bx
jne 0x418789
cmp word [0x564e62], bx
jne 0x418784
call fcn.0041a8d0
call fcn.0041bba0
call fcn.0044b030
test eax, eax
je 0x41875f
call fcn.0044aff0
call fcn.0041ade0
push 0xf0
push 0x140
push 0xca
mov word [0x564e62], bp
call fcn.00488190
add esp, 0xc
jmp 0x418789
call fcn.0041adf0
cmp word [0x564e62], bp
jne 0x4187a2
call fcn.0041ae00
test eax, eax
je 0x4187a2
mov word [0x564e62], bx
mov esi, dword [esp + 0x18]
xor ecx, ecx
cmp esi, ebx
mov eax, 0xa
sete cl
mov word [0x564e64], cx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
mov edi, closesocket
jne 0x4187e8
cmp dword [esp + 0x10], eax
jne 0x4187e8
test byte [0x46308c8], 2
je 0x41885e
push 6
push 0x4aa30c
call fcn.004115c0
add esp, 8
mov ax, word [0x564e3c]
cmp ax, bp
je 0x4188f2
cmp ax, 3
je 0x4188f2
cmp ax, 2
jne 0x4188a1
push ebx
push ebp
call fcn.00415c50
mov eax, dword [0x4ebe490]
add esp, 8
test edi, eax
je 0x418827
call fcn.00491b90
test eax, eax
je 0x418834
call fcn.0044b030
test eax, eax
je 0x418978
push 0xf0
push 0x140
push 0xcb
call fcn.00488190
add esp, 0xc
mov word [0x564e3c], bx
mov word [0x5676a0], bx
jmp 0x418978
cmp dword [0x46308b8], ebx
je 0x418872
push 6
push 0x4aa2f8
jmp 0x4187e0
push 0xf0
push 0x140
push 0xca
call fcn.00488190
mov edx, dword [0x461b404]
push 0x4aa2f4
push edx
call fcn.00490560
add esp, 0x14
mov word [0x564e3c], bx
mov eax, dword [0x564e34]
cmp eax, ebx
je 0x4188d1
push eax
call fcn.004011c0
mov eax, dword [0x564e48]
add esp, 4
cmp eax, ebx
mov dword [0x564e34], ebx
je 0x4188d1
push eax
call fcn.004011c0
add esp, 4
mov dword [0x564e48], ebx
mov eax, dword [0x564e44]
cmp eax, ebx
je 0x418978
push eax
call fcn.004011c0
add esp, 4
mov dword [0x564e44], ebx
jmp 0x418978
mov word [0x5676a0], bp
call fcn.0041adf0
call fcn.0041bba0
call fcn.0044b030
test eax, eax
je 0x418911
call fcn.0044aff0
mov eax, dword [0x4581d3c]
mov ecx, dword [0x4581d40]
and word [0x462bf30], 0xffda
mov dword [0x54ca18], eax
mov eax, dword [0x461b658]
mov word [0x564e3c], 2
cmp eax, ebx
mov dword [0x54ca1c], ecx
je 0x41895c
mov edx, dword [0x462bf30]
mov eax, dword [0x461b404]
and edx, 0xffff
push edx
push eax
call fcn.0048f950
jmp 0x418975
mov ecx, dword [0x462bf30]
mov edx, dword [0x461b404]
and ecx, 0xffff
push ecx
push edx
call fcn.0043b4e0
add esp, 8
mov ax, word [0x564e3e]
cmp ax, bp
jne 0x4189c6
mov word [0x5676a0], bp
call fcn.0041adf0
call fcn.0041bba0
call fcn.0044b030
test eax, eax
je 0x4189a2
call fcn.0044aff0
mov eax, dword [0x4581d3c]
mov ecx, dword [0x4581d40]
mov word [0x564e3e], 2
mov dword [0x54ca18], eax
mov dword [0x54ca1c], ecx
jmp 0x418a62
cmp ax, 2
jne 0x418a17
push ebx
call fcn.00416be0
mov eax, dword [0x4ebe490]
add esp, 4
test edi, eax
je 0x4189e7
call fcn.00491b90
test eax, eax
je 0x4189f0
call fcn.0044b030
test eax, eax
je 0x418a62
push 0xf0
push 0x140
push 0xcb
call fcn.00488190
add esp, 0xc
mov word [0x564e3e], bx
mov word [0x5676a0], bx
jmp 0x418a62
mov eax, dword [0x564e38]
cmp eax, ebx
je 0x418a62
push eax
call fcn.004011c0
mov eax, dword [0x564e48]
add esp, 4
cmp eax, ebx
mov dword [0x564e38], ebx
mov word [0x5676a0], bx
je 0x418a4e
push eax
call fcn.004011c0
add esp, 4
mov dword [0x564e48], ebx
mov edx, dword [0x461b404]
push 0x4aa28c
push edx
call fcn.00490560
add esp, 8
mov eax, dword [0x46308b0]
cmp eax, ebp
je 0x418a75
cmp word [0x564e3e], 2
jne 0x418aea
mov ecx, dword [0x4581d3c]
mov edx, dword [0x54ca18]
cmp edx, ecx
jne 0x418a95
mov edx, dword [0x4581d40]
mov ecx, dword [0x54ca1c]
cmp ecx, edx
je 0x418aea
cmp eax, ebp
jne 0x418aac
mov eax, dword [0x461b404]
push 0x4aa14c
push eax
call fcn.00490560
add esp, 8
cmp word [0x564e3e], 2
jne 0x418aca
mov ecx, dword [0x461b404]
push 0x4aa28c
push ecx
call fcn.00490560
add esp, 8
mov dword [0x46308b0], ebx
mov word [0x564e3c], bx
mov word [0x564e3e], bx
mov word [0x5676a0], bx
call fcn.0041a8d0
mov eax, dword [esp + 0x14]
xor edx, edx
cmp esi, 0xa
sete dl
cmp eax, ebp
mov word [0x564e40], dx
jne 0x418bfc
mov eax, dword [esp + 0x10]
mov word [0x564e66], bp
cmp eax, ebp
jne 0x418c03
mov edx, dword [0x462be94]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
call fcn.00443e80
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4581d40]
mov edx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [0x4581d3c]
push 8
add eax, edx
push ecx
push eax
call fcn.0040e8c0
add esp, 0x18
cmp word [0x4630b24], bx
jne 0x418bcc
cmp eax, ebp
jne 0x418bcc
cmp word [0x45602a8], bx
jne 0x418bcc
cmp word [0x4581198], bx
jne 0x418bcc
cmp word [0x45829ac], bx
jne 0x418bcc
cmp dword [0x46308c8], ebx
jne 0x418bd2
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x5676b0]
add ecx, 0x1f4
cmp ecx, eax
jae 0x418bcc
mov eax, dword [0x461b658]
mov edx, dword [0x4581d40]
mov ecx, dword [0x461b404]
cmp eax, ebx
mov eax, dword [0x4581d3c]
push edx
push eax
push ecx
je 0x418bba
call fcn.0048f700
jmp 0x418bbf
call fcn.0043b210
add esp, 0xc
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
cmp dword [0x46308c8], ebx
jle 0x418be3
push 6
push 0x4aa30c
call fcn.004115c0
add esp, 8
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
jmp 0x418c03
mov word [0x564e66], bx
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp esi, ebp
mov eax, 0xb
sete dl
cmp ecx, eax
mov word [0x564e68], dx
jne 0x418d08
cmp dword [esp + 0x10], eax
jne 0x418d08
call fcn.0041adf0
call fcn.0041bba0
call fcn.0044b030
test eax, eax
je 0x418c44
call fcn.0044aff0
mov esi, 0x4e220c
mov eax, 0x46308ac
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418c72
cmp cl, bl
je 0x418c6e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418c72
add eax, 2
add esi, 2
cmp cl, bl
jne 0x418c4e
xor eax, eax
jmp 0x418c77
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x418cab
cmp word [0x564e5e], 1
je 0x418ca2
cmp dword [0x45e12c0], ebx
jne 0x418ca2
mov eax, dword [0x461b404]
push 0x4aa2f0
push eax
call fcn.00490290
add esp, 8
jmp 0x418cd0
mov word [0x564e5e], bx
jmp 0x418cd0
mov eax, 1
cmp word [0x564e5c], ax
je 0x418cc9
mov ecx, dword [0x45e1854]
mov word [0x564e5c], ax
cmp ecx, ebx
je 0x418cd0
mov word [0x564e5c], bx
test dword [0x4ebe490], edi
jne 0x418ce1
call fcn.0044b030
test eax, eax
je 0x418cff
push 0xf0
push 0x140
push 0xcb
call fcn.00488190
add esp, 0xc
mov word [0x564e5c], bx
mov esi, dword [esp + 0x18]
mov ebp, 1
cmp word [0x564e5e], bp
jne 0x418d54
call fcn.0045c680
test dword [0x4ebe490], edi
je 0x418d27
call fcn.00491b90
test eax, eax
je 0x418d34
call fcn.0044b030
test eax, eax
je 0x418dcc
push 0xf0
push 0x140
push 0xcb
call fcn.00488190
add esp, 0xc
mov word [0x564e5e], bx
jmp 0x418dcc
cmp word [0x564e5c], bp
jne 0x418d9c
call fcn.0045cc40
test dword [0x4ebe490], edi
je 0x418d73
call fcn.00491b90
test eax, eax
je 0x418d7c
call fcn.0044b030
test eax, eax
je 0x418dcc
push 0xf0
push 0x140
push 0xcb
call fcn.00488190
add esp, 0xc
mov word [0x564e5c], bx
jmp 0x418dcc
mov eax, dword [0x45e1854]
cmp eax, ebx
je 0x418db4
push eax
call fcn.004011c0
add esp, 4
mov dword [0x45e1854], ebx
mov eax, dword [0x45e12c0]
cmp eax, ebx
je 0x418dcc
push eax
call fcn.004011c0
add esp, 4
mov dword [0x45e12c0], ebx
mov edi, dword [esp + 0x14]
xor ecx, ecx
cmp esi, 0xb
sete cl
cmp edi, 6
mov word [0x564e60], cx
jne 0x418f17
mov eax, dword [esp + 0x10]
mov word [0x564e6a], bp
cmp eax, edi
jne 0x418f1e
mov ecx, dword [0x462be94]
lea edx, [esp + 0x20]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00443e80
mov edx, dword [esp + 0x2c]
mov eax, dword [0x4581d40]
mov ecx, dword [esp + 0x28]
add eax, edx
mov edx, dword [0x4581d3c]
push 8
add edx, ecx
push eax
push edx
call fcn.0040e8c0
add esp, 0x18
cmp word [0x4630b24], bx
jne 0x418ed0
cmp eax, ebp
jne 0x418ed0
cmp word [0x45602a8], bx
jne 0x418ed0
cmp word [0x4581198], bx
jne 0x418ed0
cmp word [0x45829ac], bx
jne 0x418ed0
cmp word [0x4630b20], bx
jne 0x418ed0
cmp dword [0x46308b0], ebx
je 0x418e7f
cmp word [0x564e3e], 2
jne 0x418ed0
cmp dword [0x46308c8], ebx
jne 0x418ed0
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x5676b0]
add ecx, 0x1f4
cmp ecx, eax
jae 0x418ed0
mov eax, dword [0x461b658]
push 0x4aa2ec
cmp eax, ebx
je 0x418eb8
mov edx, dword [0x461b404]
push edx
call fcn.00490240
jmp 0x418ec3
mov eax, dword [0x461b404]
push eax
call fcn.0043bef0
add esp, 8
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
cmp dword [0x46308b0], ebp
jne 0x418ee7
push 6
push 0x4aa2d8
call fcn.004115c0
add esp, 8
cmp dword [0x46308c8], ebx
jle 0x418efe
push 6
push 0x4aa30c
call fcn.004115c0
add esp, 8
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
jmp 0x418f1e
mov word [0x564e6a], bx
xor ecx, ecx
cmp esi, 6
sete cl
cmp edi, 0xc
mov word [0x564e6c], cx
jne 0x419016
mov eax, dword [esp + 0x10]
mov word [0x56767c], bp
cmp eax, edi
jne 0x41901d
call sub.WINMM.dll_timeGetTime
mov edx, dword [0x5676b0]
add edx, 0x1f4
cmp edx, eax
jae 0x418ffd
cmp dword [0x564e70], ebx
je 0x418f89
mov eax, dword [0x54ccd8]
mov ecx, dword [0x54c8e4]
push 0x564e74
push 0xffffffffffffffff
push eax
push ecx
push ebx
call fcn.00424b70
add esp, 0x14
jmp 0x418ff3
cmp word [0x567690], bx
jne 0x418fea
call fcn.0041adf0
call fcn.0041bba0
call fcn.0044b030
test eax, eax
je 0x418faa
call fcn.0044aff0
push 0xf0
push 0x140
push 0xca
mov word [0x5ab7b4], bx
mov word [0x567690], bp
mov word [0x5676a0], bp
mov word [0x5ab7cc], 0x34
mov word [0x5ab7ce], 0x1d
call fcn.00488190
add esp, 0xc
jmp 0x418ff3
mov word [0x5ab7b4], 0x3e8
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
jmp 0x41901d
mov word [0x56767c], bx
mov eax, dword [0x564e70]
xor edx, edx
cmp esi, 0xc
sete dl
cmp eax, ebx
mov word [0x56767e], dx
je 0x419082
cmp dword [0x567678], ebx
jne 0x419050
mov word [0x567674], bp
call sub.WINMM.dll_timeGetTime
mov dword [0x567678], eax
jmp 0x41908f
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x567678]
add ecx, 0x3e8
cmp ecx, eax
jae 0x41908f
mov dl, byte [0x567674]
dec dl
and edx, ebp
mov word [0x567674], dx
call sub.WINMM.dll_timeGetTime
mov dword [0x567678], eax
jmp 0x41908f
mov word [0x567674], bx
mov dword [0x567678], ebx
cmp edi, 0xd
jne 0x4190ed
cmp dword [esp + 0x10], edi
jne 0x4190ed
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x5676b0]
add ecx, 0x1f4
cmp ecx, eax
jae 0x4190ed
push 0xf0
push 0x140
push 0xca
call fcn.00488190
mov edx, dword [0x461b404]
push 0x4aa2d4
push edx
call fcn.00490600
add esp, 0x14
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
mov word [0x5676a6], bx
jmp 0x4191a2
mov ax, word [0x5676a6]
cmp ax, bp
jne 0x419172
cmp word [0x567690], bx
jne 0x419160
call fcn.0041adf0
call fcn.0041bba0
call fcn.0044b030
test eax, eax
je 0x419119
call fcn.0044aff0
push 0xf0
push 0x140
push 0xca
mov word [0x5ab7b4], bx
mov word [0x567690], bp
mov word [0x5676a0], bp
mov word [0x5ab7cc], 0x37
mov word [0x5ab7ce], 0x1e
call fcn.00488190
add esp, 0xc
mov word [0x5676a6], bx
jmp 0x4191a2
mov word [0x5ab7b4], 0x3e8
mov word [0x5676a6], bx
jmp 0x4191a2
cmp ax, 2
jne 0x41917c
push ebx
push ebx
jmp 0x41919a
cmp ax, 3
jne 0x419186
push ebx
push ebp
jmp 0x41919a
cmp ax, 4
jne 0x419191
push ebx
push 2
jmp 0x41919a
cmp ax, 5
jne 0x4191a2
push ebx
push 3
call fcn.0041ce30
add esp, 8
xor eax, eax
cmp esi, 0xd
sete al
mov word [0x5676a8], ax
mov eax, dword [esp + 0x10]
cmp eax, 7
jne 0x419272
call fcn.0041bba0
cmp byte [0x462e3b6], bl
jne 0x419231
mov ecx, dword [0x461b404]
push ebx
push 0x4aa2c0
push ebx
push ecx
call fcn.00463790
push 7
lea edx, [esp + 0x38]
push 0x4aa2bc
push edx
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 0x1c
cmp eax, ebx
je 0x419216
mov ecx, dword [0x461b404]
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.00490420
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [0x461b404]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0043bf40
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
cmp word [0x4aa070], bx
jne 0x41926d
call fcn.0044b030
test eax, eax
je 0x419248
call fcn.0044aff0
mov word [0x4aa070], bp
call fcn.0041bb90
push 0xf0
push 0x140
push 0xca
call fcn.00488190
add esp, 0xc
jmp 0x419272
call fcn.0041bba0
xor ecx, ecx
cmp esi, 7
sete cl
cmp word [0x4aa070], bp
mov word [0x567682], cx
jne 0x41928f
call fcn.0041bc20
cmp edi, 2
jne 0x419499
cmp word [0x4aa07c], bx
mov word [0x567684], bp
jne 0x4192cb
push 0xf0
push 0x140
push 0xdc
mov word [0x567684], bx
call fcn.00488190
add esp, 0xc
jmp 0x4194a0
cmp dword [esp + 0x10], 2
jne 0x4194a0
cmp word [0x4630b24], bx
jne 0x4193fe
mov ecx, dword [0x462be94]
lea edx, [esp + 0x20]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00443e80
mov edx, dword [esp + 0x2c]
mov eax, dword [0x4581d40]
mov ecx, dword [esp + 0x28]
add eax, edx
mov edx, dword [0x4581d3c]
push 0x400
push 0x28
add edx, ecx
push eax
push edx
call fcn.0040e9b0
add esp, 0x1c
cmp eax, ebp
jne 0x4193c7
cmp word [0x45602a8], bx
jne 0x4193c7
cmp word [0x4581198], bx
jne 0x4193c7
cmp word [0x45829ac], bx
jne 0x4193c7
cmp dword [0x46308b0], ebx
je 0x41935e
cmp word [0x564e3e], 2
jne 0x4193c7
cmp dword [0x46308c8], ebx
jne 0x4193c7
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x5676b0]
add ecx, 0x1f4
cmp ecx, eax
jae 0x4193c7
mov eax, dword [0x461b658]
mov edx, dword [0x4581d40]
mov ecx, dword [0x461b404]
cmp eax, ebx
mov eax, dword [0x4581d3c]
push ebp
push edx
push eax
push ecx
je 0x4193a0
call fcn.0048f9f0
jmp 0x4193a5
call fcn.0043b580
add esp, 0x10
mov word [0x4630b1a], bp
mov word [0x4630b1c], bp
mov word [0x5676aa], bp
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
cmp dword [0x46308b0], ebp
jne 0x4193de
push 6
push 0x4aa2ac
call fcn.004115c0
add esp, 8
cmp dword [0x46308c8], ebx
jle 0x419480
push 6
push 0x4aa30c
call fcn.004115c0
add esp, 8
jmp 0x419480
cmp word [0x45602a8], bx
jne 0x419480
cmp word [0x4581198], bx
jne 0x419480
cmp word [0x45829ac], bx
jne 0x419480
call sub.WINMM.dll_timeGetTime
mov edx, dword [0x5676b0]
add edx, 0x1f4
cmp edx, eax
jae 0x419480
mov eax, dword [0x461b658]
mov ecx, dword [0x4581d3c]
mov edx, dword [0x461b404]
cmp eax, ebx
mov eax, dword [0x4581d40]
push ebx
push eax
push ecx
push edx
je 0x419453
call fcn.0048f9f0
jmp 0x419458
call fcn.0043b580
add esp, 0x10
mov word [0x4630b1a], bx
mov word [0x4630b1c], bp
mov word [0x5676aa], bp
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
mov dword [0x45f1a14], ebx
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
jmp 0x4194a0
mov word [0x567684], bx
cmp esi, 2
jne 0x4194ae
mov word [0x567686], bp
jmp 0x4194c1
cmp esi, 9
mov word [0x567686], bx
mov word [0x56768e], bp
je 0x4194c8
mov word [0x56768e], bx
cmp edi, 9
jne 0x41952b
cmp dword [esp + 0x10], edi
jne 0x41952b
cmp word [0x56768c], bx
jne 0x419521
call fcn.0041adf0
call fcn.0041bba0
call fcn.0044b030
test eax, eax
je 0x4194f4
call fcn.0044aff0
push 0xf0
push 0x140
push 0xca
mov dword [0x4630dc8], ebx
mov word [0x56768c], bp
call fcn.00488190
add esp, 0xc
mov word [0x5676a0], bp
jmp 0x41952b
mov dword [0x4630dc8], 0x3e8
cmp word [0x56768c], bp
jne 0x419558
call fcn.004794d0
test eax, eax
je 0x419558
push 0x54a3c8
mov word [0x56768c], bx
mov word [0x5676a0], bx
call fcn.00411990
add esp, 4
cmp esi, 8
mov word [0x567692], bx
jne 0x41956b
mov word [0x567692], bp
cmp dword [esp + 0x10], 8
jne 0x4195ca
cmp word [0x567690], bx
jne 0x4195c1
call fcn.0041adf0
call fcn.0041bba0
call fcn.0044b030
test eax, eax
je 0x419593
call fcn.0044aff0
push 0xf0
push 0x140
push 0xca
mov word [0x5ab7b4], bx
mov word [0x567690], bp
mov word [0x5676a0], bp
call fcn.00488190
add esp, 0xc
jmp 0x4195ca
mov word [0x5ab7b4], 0x3e8
cmp word [0x567690], bp
jne 0x4195ea
call fcn.0041e7f0
test eax, eax
je 0x4195ea
mov word [0x567690], bx
mov word [0x5676a0], bx
mov ecx, dword [esp + 0x14]
mov eax, 3
cmp ecx, eax
mov esi, 0x100
jne 0x41975f
cmp word [0x4aa098], bx
mov word [0x567698], bp
jne 0x419633
push 0xf0
push 0x140
push 0xdc
mov word [0x567698], bx
call fcn.00488190
add esp, 0xc
jmp 0x419766
cmp dword [esp + 0x10], eax
jne 0x419766
mov edx, dword [0x462be94]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00443e80
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x4581d40]
mov edx, dword [esp + 0x28]
add ecx, eax
mov eax, dword [0x4581d3c]
push 0x4400
push 8
add eax, edx
push ecx
push eax
call fcn.0040e930
mov cx, word [0x4630b24]
add esp, 0x1c
cmp cx, bx
je 0x41969c
cmp cx, bp
jne 0x419746
test dword [0x462bf2c], esi
je 0x419746
cmp eax, ebp
jne 0x419746
cmp word [0x45602a8], bx
jne 0x419746
cmp word [0x4581198], bx
jne 0x419746
cmp word [0x45829ac], bx
jne 0x419746
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x5676b0]
add ecx, 0x1f4
cmp ecx, eax
jae 0x419746
cmp dword [0x461b658], ebx
je 0x419712
mov eax, dword [0x4581190]
mov edx, dword [0x4581d40]
mov ecx, dword [0x461b404]
cmp eax, 0x2328
mov eax, dword [0x4581d3c]
push edx
push eax
push ecx
jne 0x41970b
call fcn.0048f170
jmp 0x41972b
call fcn.0048f100
jmp 0x41972b
mov edx, dword [0x4581d40]
mov eax, dword [0x4581d3c]
mov ecx, dword [0x461b404]
push edx
push eax
push ecx
call fcn.0043acb0
add esp, 0xc
mov word [0x462ac0c], bp
mov word [0x5676aa], bp
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
jmp 0x419766
mov word [0x567698], bx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp edi, 3
mov eax, 4
sete dl
cmp ecx, eax
mov word [0x56769a], dx
jne 0x419884
mov ecx, dword [esp + 0x10]
mov word [0x56769c], bp
cmp ecx, eax
jne 0x41988b
mov edx, dword [0x462be94]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00443e80
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x4581d40]
mov edx, dword [esp + 0x28]
add ecx, eax
mov eax, dword [0x4581d3c]
push 8
add eax, edx
push ecx
push eax
call fcn.0040e8c0
mov cx, word [0x4630b24]
add esp, 0x18
cmp cx, bx
je 0x4197f3
cmp cx, bp
jne 0x41986b
test dword [0x462bf2c], esi
je 0x41986b
cmp eax, ebp
jne 0x41986b
cmp word [0x45602a8], bx
jne 0x41986b
cmp word [0x4581198], bx
jne 0x41986b
cmp word [0x45829ac], bx
jne 0x41986b
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x5676b0]
add ecx, 0x1f4
cmp ecx, eax
jae 0x41986b
mov eax, dword [0x461b658]
mov edx, dword [0x4581d40]
mov ecx, dword [0x461b404]
cmp eax, ebx
mov eax, dword [0x4581d3c]
push edx
push eax
push ecx
je 0x41984b
call fcn.0048f040
jmp 0x419850
call fcn.0043abf0
add esp, 0xc
mov word [0x46309f8], bp
mov word [0x5676aa], bp
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
jmp 0x41988b
mov word [0x56769c], bx
mov eax, dword [esp + 0x10]
xor edx, edx
cmp edi, 4
sete dl
cmp eax, 5
mov word [0x56769e], dx
je 0x4198af
test dword [0x4ebe494], 0x40000000
je 0x419914
test byte [0x46308c8], 1
je 0x4198c9
push 6
push 0x4aa29c
call fcn.004115c0
add esp, 8
jmp 0x419926
cmp word [0x5676a0], bx
jne 0x41990f
call fcn.0041adf0
call fcn.0041bba0
call fcn.0044b030
test eax, eax
je 0x4198ea
call fcn.0044aff0
call fcn.0041a8c0
push 0xf0
push 0x140
push 0xca
mov word [0x5676a0], bp
call fcn.00488190
add esp, 0xc
jmp 0x419914
call fcn.0041a8d0
cmp word [0x5676a0], bp
jne 0x41992d
call fcn.0041a8e0
test eax, eax
je 0x41992d
mov word [0x5676a0], bx
xor eax, eax
cmp edi, 5
sete al
cmp word [0x567688], bx
mov word [0x5676a2], ax
je 0x41999d
cmp dword [0x567694], ebx
jne 0x419965
mov word [0x56768a], bp
call sub.WINMM.dll_timeGetTime
pop edi
pop esi
pop ebp
mov dword [0x567694], eax
pop ebx
add esp, 0x54
ret
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x567694]
add ecx, 0x3e8
cmp ecx, eax
jae 0x4199aa
mov dl, byte [0x56768a]
dec dl
and edx, ebp
mov word [0x56768a], dx
call sub.WINMM.dll_timeGetTime
pop edi
pop esi
pop ebp
mov dword [0x567694], eax
pop ebx
add esp, 0x54
ret
mov word [0x56768a], bx
mov dword [0x567694], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret