Function at 0x467850
Capabilities:
Create thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d46c6
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
push ebx
push esi
push edi
mov eax, dword [0x629560]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x648fc4]
xor edi, edi
lea esi, [ebp - 0x13c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd8], edi
call fcn.00405a20
mov ebx, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x15c], 5
mov dword [ebp - 0x158], edi
mov dword [ebx + 0x2ac], 1
call fcn.0044d9e0
lea ecx, [ebp - 0xbc]
call fcn.004e38ad
mov dword [ebp - 4], edi
cmp dword [ebx + 0x88], 0x120
mov dword [ebp - 0x8c], edi
ja 0x467913
cmp dword [ebx + 0x84], 0x160
jbe 0x467913
push 0xc
call fcn.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
cmp esi, edi
mov byte [ebp - 4], 1
je 0x467947
mov edi, dword [ebx + 0x88]
add edi, edi
jmp 0x467930
push 0xc
call fcn.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
cmp esi, edi
mov byte [ebp - 4], 2
je 0x467947
mov edi, dword [ebx + 0x88]
mov eax, dword [ebx + 0x84]
push 8
push eax
push esi
call fcn.0048b240
mov dword [esi], vtable.CJpegEncoder.0
jmp 0x467949
xor esi, esi
mov byte [ebp - 4], 0
cmp dword [ebx + 0x1a8], 2
mov dword [ebp - 0xa8], esi
jne 0x46798e
push 0x280
call fcn.004d3c8b
add esp, 4
test eax, eax
je 0x467987
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x84]
push ecx
push edx
mov esi, eax
call fcn.0048b830
mov dword [ebp - 0x60], eax
jmp 0x4679d2
xor eax, eax
mov dword [ebp - 0x60], eax
jmp 0x4679d2
push 0xc
call fcn.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
mov byte [ebp - 4], 3
je 0x4679c9
mov eax, dword [ebx + 0x84]
mov edi, dword [ebx + 0x88]
push 0xd
push eax
push esi
call fcn.0048b240
mov dword [esi], vtable.CMpeg4Encoder.0
mov dword [esi + 4], 0
jmp 0x4679cb
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 4]
push 0x2c
lea esi, [ebx + 0xcb0]
push 0
push esi
mov dword [ebx + 0x1ac], ecx
call fcn.004f9810
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x84]
add esp, 0xc
push edx
push eax
push 4
mov ebx, esi
call fcn.0048a240
add esp, 0xc
push 0x2c
lea ecx, [ebp - 0x1ec]
push 0
push ecx
call fcn.004f9810
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x88]
mov eax, dword [esi + 0x84]
add esp, 0xc
push edx
push eax
push 1
lea ebx, [ebp - 0x1ec]
call fcn.0048a240
add esp, 0xc
push 0x2c
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.004f9810
mov edx, dword [esi + 0x88]
mov eax, dword [esi + 0x84]
add esp, 0xc
push edx
push eax
push 1
lea ebx, [ebp - 0x218]
call fcn.0048a240
xor eax, eax
add esp, 0xc
push 0x2c
lea ecx, [ebp - 0x1ec]
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x55], al
lea edi, [esi + 0xcdc]
lea eax, [ebp - 0x1c0]
mov edx, ebx
mov ecx, 0xb
lea esi, [ebp - 0x1ec]
push eax
mov dword [ebp - 0x50], edx
rep movsd dword es:[edi], dword [esi]
call fcn.004f9810
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x88]
add esp, 0xc
cmp eax, 0x120
mov dword [ebp - 0xcc], 0xffffffff
ja 0x467afd
mov ecx, dword [esi + 0x84]
cmp ecx, 0x160
jbe 0x467afd
lea edx, [eax + eax]
push edx
push ecx
push 1
lea ebx, [ebp - 0x1c0]
call fcn.0048a240
add esp, 0xc
mov eax, 0x160
cmp eax, dword [esi + 0x84]
sbb eax, eax
and eax, 0x20000
add eax, 0x30000
push eax
mov dword [ebp - 0x84], eax
call fcn.004d3cbb
add esp, 4
mov dword [ebp - 0x34], eax
call fcn.0047b7b0
mov edx, dword [esi + 0x84]
push esi
lea ecx, [esi + 0xa8]
push ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x88]
push ecx
push edx
mov ebx, eax
mov dword [ebp - 0x94], eax
call fcn.0047c370
push 0x48
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.004f9810
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
add esp, 0xc
lea edi, [ebp - 0x28c]
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], edx
call fcn.0049a860
push 0x64
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.004f9810
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
add esp, 0xc
lea esi, [ebp - 0x2f4]
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x2f0], edx
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 1
call fcn.0049ad40
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
mov dword [ebp - 0x150], eax
add eax, 0x10
push eax
mov dword [ebp - 0x14c], ecx
call fcn.004f2b9f
add esp, 4
test eax, eax
je 0x467c12
lea ecx, [eax + 0xf]
and ecx, 0xfffffff0
cmp ecx, eax
jne 0x467c09
add ecx, 0x10
mov dl, cl
sub dl, al
mov byte [ecx - 1], dl
jmp 0x467c14
xor ecx, ecx
mov eax, dword [0x648fc0]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x84]
cmp eax, 0x160
mov dword [ebp - 0x140], ecx
jbe 0x467c34
shr eax, 2
jmp 0x467c36
shr eax, 1
mov edi, dword [esi + 0x88]
cmp edi, 0x120
mov dword [ebp - 0x20], eax
jbe 0x467c4c
shr edi, 2
jmp 0x467c4e
shr edi, 1
push 0x2c
lea ecx, [ebp - 0x134]
push 0
push ecx
call fcn.004f9810
mov edx, dword [ebp - 0x20]
add esp, 0xc
push edi
push edx
push 1
lea ebx, [ebp - 0x134]
call fcn.0048a240
add esp, 0xc
push 0xc
call fcn.004d3c8b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
test ebx, ebx
mov byte [ebp - 4], 4
je 0x467ca1
mov eax, dword [ebp - 0x20]
push 8
push eax
push ebx
call fcn.0048b240
mov dword [ebx], vtable.CJpegEncoder.0
jmp 0x467ca3
xor ebx, ebx
mov byte [ebp - 4], 0
xor edi, edi
cmp dword [esi + 0x7d9c], edi
mov dword [ebp - 0xe4], ebx
mov dword [esi + 0xde0], edi
mov byte [esi + 0xde4], 0
je 0x467ce8
cmp dword [esi + 0x84], 0x160
ja 0x467ce1
cmp dword [esi + 0x198], edi
jne 0x467ce8
cmp dword [esi + 0x7cf8], 5
jae 0x467ce8
mov ebx, 1
jmp 0x467cea
xor ebx, ebx
push 0x2c
lea ecx, [ebp - 0x194]
push edi
push ecx
mov byte [esi + 0x7da0], bl
mov dword [ebp - 0x74], edi
call fcn.004f9810
add esp, 0xc
test bl, bl
mov byte [ebp - 0x29], 0
mov dword [ebp - 0xd0], edi
jne 0x467d3c
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x7cf8]
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ecx
jmp 0x467e8d
mov eax, dword [esi + 0x84]
cmp eax, 0x160
jbe 0x467d4f
shr eax, 1
mov byte [ebp - 0x29], 1
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x120
jbe 0x467d68
shr eax, 1
or byte [ebp - 0x29], 2
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x7cf8]
cmp eax, 5
jae 0x467d85
mov dword [esi + 0x98], 6
jmp 0x467d93
cmp eax, 8
jae 0x467d8d
add eax, 2
mov dword [esi + 0x98], eax
cmp dword [esi + 0x1a8], 2
jne 0x467dd7
push 0x280
call fcn.004d3c8b
add esp, 4
cmp eax, edi
je 0x467dcd
mov edx, dword [esi + 0x88]
mov ecx, dword [esi + 0x84]
push edx
push ecx
mov esi, eax
call fcn.0048b830
mov esi, dword [ebp + 8]
mov dword [ebp - 0x74], eax
jmp 0x467e57
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x467e57
push 0xc
call fcn.004d3c8b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
cmp ebx, edi
mov byte [ebp - 4], 5
je 0x467e12
mov eax, dword [esi + 0x84]
mov edi, dword [esi + 0x88]
push 0xd
push eax
push ebx
call fcn.0048b240
mov dword [ebx], vtable.CMpeg4Encoder.0
mov dword [ebx + 4], 0
jmp 0x467e14
xor ebx, ebx
push 0
push 0x62d3e4
push 0x62d2b0
push 0
push ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x74], ebx
call fcn.004f3cd7
add esp, 0x14
test eax, eax
je 0x467e57
mov edx, dword [eax + 8]
mov dword [edx + 0x70], 7
mov ecx, dword [eax + 8]
mov dword [ecx + 0x74], 0x10
mov edx, dword [eax + 8]
mov dword [edx + 0x370], 0xc80
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
push eax
push ecx
push 1
lea ebx, [ebp - 0x194]
call fcn.0048a240
mov eax, dword [esi + 0x94]
imul eax, dword [esi + 0x90]
lea eax, [eax + eax*2]
add esp, 0xc
shr eax, 1
mov dword [ebp - 0xd0], eax
mov ebx, dword [esi + 0x198]
lea edx, [ebx + 1]
test edx, edx
mov dword [ebp - 0x30], edx
fild dword [ebp - 0x30]
jge 0x467ea6
fadd qword [0x611728]
fld qword [0x6116c0]
fmul st(1)
fadd qword [0x6116f0]
fdivrp st(1)
call fcn.004fb970
xor edi, edi
cmp eax, edi
mov dword [ebp - 0xc8], eax
jne 0x467ed1
mov dword [ebp - 0xc8], 1
mov eax, dword [esi + 0x7cf4]
cmp eax, 0xa
jge 0x467ee5
mov dword [ebp - 0x80], 0x499ea0
jmp 0x467f29
cmp eax, 0x64
jne 0x467ef3
mov dword [ebp - 0x80], 0x499bd0
jmp 0x467f29
cmp eax, 0x12c
jne 0x467f03
mov dword [ebp - 0x80], 0x499ea0
jmp 0x467f29
cmp eax, 0x190
jne 0x467f13
mov dword [ebp - 0x80], 0x499ea0
jmp 0x467f29
xor ecx, ecx
cmp eax, 0x1f4
setne cl
sub ecx, 1
and ecx, 0x499ea0
mov dword [ebp - 0x80], ecx
cmp dword [esi + 0x88], 0x120
jbe 0x467f3c
mov eax, 1
jmp 0x467f4c
mov edx, 0x160
cmp edx, dword [esi + 0x84]
sbb eax, eax
and eax, 2
mov ecx, dword [esi + 0xd18]
mov edx, dword [esi + 0x18c]
push ecx
mov ecx, dword [esi + 0x188]
push edx
mov edx, dword [esi + 0x184]
push ecx
mov ecx, dword [esi + 0x180]
push edx
mov edx, dword [esi + 0x8c]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_ConfigChannel_enum_VIDEOFORMAT__enum_VIDEORESOLUTION__unsigned_long_int__int__int__int__int__int_]
mov eax, dword [esi + 0xd18]
push eax
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_StartChannel_int_]
add esp, 0x24
test eax, eax
jl 0x46a7c3
cmp dword [esi + 0x7d94], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0xc0], edi
je 0x467fc9
cmp byte [esi + 0x823], 0
je 0x467fc9
push edi
push edi
push esi
push 0x467350
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x7d00], eax
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 6
push ecx
mov edx, dword [ebp - 0x94]
call fcn.0047c970
lea esp, [esp]
mov edx, dword [ebp - 0x80]
mov eax, dword [esi + 0xd18]
push edx
mov edx, dword [ebp - 0x18]
push eax
mov eax, dword [edx]
lea ecx, [ebp - 0x6c]
push ecx
push 0
push eax
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_GetVideo_unsigned_char___enum_COLORFORMAT__unsigned_long_long_unsigned___int64____int__void__]
add esp, 0x14
test eax, eax
mov dword [ebp - 0x24], eax
jge 0x468013
mov dword [ebp - 4], 0
jmp 0x46a7c3
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
xor ebx, ebx
push ebx
push 0x2710
push ecx
push edx
call fcn.00500a50
push ebx
push 0x5265c00
push edx
push eax
call fcn.005ca310
mov edi, eax
mov eax, dword [esi + 0x2b4]
test al, 2
mov dword [ebp - 0x5c], edi
je 0x46804d
and eax, 0xfffffffd
mov dword [esi + 0x2b4], eax
mov eax, dword [esi + 0x2b4]
test al, 8
je 0x46827a
and eax, 0xfffffff7
xor ebx, ebx
cmp dword [ebp - 0x8c], ebx
mov dword [esi + 0x2b4], eax
je 0x4680ce
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x7c]
cmp dword [ecx - 0xc], ebx
jne 0x468081
mov ebx, 1
lea esi, [ebp - 0x318]
call fcn.00405a20
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xdc], ecx
sub ecx, dword [ebp - 0x13c]
mov dword [ebp - 0xd8], eax
sbb eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x158]
jl 0x468268
jg 0x4680c3
cmp ecx, dword [ebp - 0x15c]
jbe 0x468268
test ebx, ebx
jne 0x468268
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x88]
cmp eax, 0x120
mov edx, dword [ebp - 0x50]
ja 0x46810e
mov ecx, dword [esi + 0x84]
cmp ecx, 0x160
jbe 0x46810e
mov ebx, dword [ebp - 0x50]
lea edx, [ebp - 0x1c0]
push edx
call fcn.00499420
add esp, 4
mov dword [ebp - 0x1a0], 1
lea edx, [ebp - 0x1c0]
mov edi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx]
push 0
push edi
mov edi, dword [ebp - 0x34]
push edi
push edx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x28], eax
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x468146
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x605167
call fcn.0041c260
lea ecx, [ebp - 0x164]
push ecx
push esi
call fcn.0044cd60
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00404f90
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x164]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4681a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x20]
push 0x60d25c
push edi
call fcn.004f5eba
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4681d9
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
push ebx
push ecx
push 1
push edx
call fcn.004f64af
push ebx
call fcn.004f61b8
add esp, 0x14
cmp dword [ebp - 0x8c], 0
je 0x46822e
call fcn.00459cc0
test eax, eax
je 0x46822e
call fcn.00484bf0
push ecx
mov esi, eax
lea eax, [edi - 0x10]
mov dword [ebp - 0x30], esp
mov ebx, esp
push eax
call fcn.004053b0
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebp - 0x90]
push ecx
add eax, 0x7c
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 9
call fcn.00404f70
mov byte [ebp - 4], 7
call fcn.00484f10
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xd8]
lea eax, [edi - 0x10]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], edx
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46826b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x46826b
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], 0
xor ebx, ebx
mov eax, dword [esi + 0x2b4]
test al, al
jns 0x4682db
and eax, 0xffffff7f
cmp byte [esi + 0x2a9], 0
mov dword [esi + 0x2b4], eax
mov dword [ebp - 0xc0], ebx
je 0x4682d3
mov eax, dword [esi + 0x7d3c]
cmp eax, ebx
je 0x4682cc
mov esi, eax
call fcn.0048abe0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d3c]
push eax
call fcn.004d3cb6
add esp, 4
mov dword [esi + 0x7d3c], ebx
call fcn.0044c4e0
mov byte [esi + 0x2a9], 0
call fcn.0044d9e0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b4]
test al, 0x40
je 0x468334
and eax, 0xffffffbf
cmp byte [esi + 0x2a8], 0
mov dword [esi + 0x2b4], eax
je 0x46832c
mov eax, dword [esi + 0x7d38]
cmp eax, ebx
je 0x468325
mov esi, eax
call fcn.0048abe0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d38]
push eax
call fcn.004d3cb6
add esp, 4
mov dword [esi + 0x7d38], ebx
call fcn.0044c4e0
mov byte [esi + 0x2a8], 0
call fcn.0044d9e0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b4]
test al, 0x20
je 0x468612
and eax, 0xffffffdf
cmp byte [esi + 0x2a9], 0
mov dword [esi + 0x2b4], eax
mov dword [ebp - 0xc0], 1
jne 0x468584
mov eax, dword [esi + 0x7d3c]
cmp eax, ebx
je 0x468390
mov esi, eax
call fcn.0048abe0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d3c]
push eax
call fcn.004d3cb6
add esp, 4
mov dword [esi + 0x7d3c], ebx
call fcn.0044c4e0
lea ecx, [ebp - 0x108]
push 0x649a5c
push ecx
call fcn.004f36b2
add esp, 8
cmp eax, ebx
jne 0x4683b5
mov eax, dword [ebp - 0xf4]
add eax, 0x76c
jmp 0x4683b7
xor eax, eax
lea edx, [ebp - 0x108]
push 0x649a5c
push edx
mov word [ebp - 0xa4], ax
call fcn.004f36b2
add esp, 8
cmp eax, ebx
jne 0x4683e1
mov eax, dword [ebp - 0xf8]
add eax, 1
jmp 0x4683e3
xor eax, eax
mov byte [ebp - 0xa2], al
lea eax, [ebp - 0x108]
push 0x649a5c
push eax
call fcn.004f36b2
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0x108]
push 0x649a5c
push ecx
mov byte [ebp - 0xa1], al
call fcn.004f36b2
add esp, 0x10
cmp eax, ebx
jne 0x46842c
mov eax, dword [ebp - 0x100]
jmp 0x46842f
or eax, 0xffffffff
lea edx, [ebp - 0x108]
push 0x649a5c
push edx
mov byte [ebp - 0xa0], al
call fcn.004f36b2
add esp, 8
cmp eax, ebx
jne 0x468455
mov eax, dword [ebp - 0x104]
jmp 0x468458
or eax, 0xffffffff
mov byte [ebp - 0x9f], al
lea eax, [ebp - 0x108]
push 0x649a5c
push eax
call fcn.004f36b2
add esp, 8
cmp eax, ebx
jne 0x46847e
mov eax, dword [ebp - 0x108]
jmp 0x468481
or eax, 0xffffffff
push 0x3048
mov byte [ebp - 0x9e], al
mov byte [ebp - 0x9d], 0
call fcn.004d3c8b
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
add esp, 4
push ecx
movzx ecx, byte [esi + 0xa0]
push edx
movzx edx, byte [esi + 0x9c]
mov ebx, eax
movzx eax, byte [esi + 0x1b4]
push eax
movzx eax, word [esi + 0x9e]
push ecx
movzx ecx, byte [esi + 0x1ac]
push edx
movzx edx, byte [esi + 0x7cf8]
push eax
mov eax, dword [esi + 0x198]
push ecx
movzx ecx, byte [esi + 0xd58]
push edx
mov edx, dword [esi + 0x88]
add eax, 1
push eax
mov eax, dword [esi + 0x84]
push ecx
push edx
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.alarm_
mov dword [esi + 0x7d3c], ebx
call fcn.0041c260
push esi
lea ecx, [ebp - 0x154]
call fcn.0044c770
mov esi, eax
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x468539
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00405590
mov esi, dword [esi]
push esi
mov esi, ebx
call fcn.0048aa80
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x154]
add eax, 0xfffffff0
add esp, 0x34
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46856c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov ebx, 1
mov dword [eax + 0xde0], ebx
mov byte [eax + 0x2a9], bl
mov esi, eax
jmp 0x468589
mov ebx, 1
mov dword [ebp - 0x88], edi
call fcn.0044d9e0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b4]
test al, 0x10
je 0x4687fc
and eax, 0xffffffef
cmp byte [esi + 0x2a8], 0
mov dword [esi + 0x2b4], eax
jne 0x4687f4
mov eax, dword [esi + 0x7d38]
test eax, eax
je 0x4685ed
mov esi, eax
call fcn.0048abe0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d38]
push eax
call fcn.004d3cb6
add esp, 4
mov dword [esi + 0x7d38], 0
call fcn.0044c4e0
lea ecx, [ebp - 0x108]
push 0x649a5c
push ecx
call fcn.004f36b2
add esp, 8
test eax, eax
jne 0x46861c
mov eax, dword [ebp - 0xf4]
add eax, 0x76c
jmp 0x46861e
mov ebx, 1
jmp 0x468597
xor eax, eax
lea edx, [ebp - 0x108]
push 0x649a5c
push edx
mov word [ebp - 0x9c], ax
call fcn.004f36b2
add esp, 8
test eax, eax
jne 0x468648
mov eax, dword [ebp - 0xf8]
add eax, 1
jmp 0x46864a
xor eax, eax
mov byte [ebp - 0x9a], al
lea eax, [ebp - 0x108]
push 0x649a5c
push eax
call fcn.004f36b2
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0x108]
push 0x649a5c
push ecx
mov byte [ebp - 0x99], al
call fcn.004f36b2
add esp, 0x10
test eax, eax
jne 0x468693
mov eax, dword [ebp - 0x100]
jmp 0x468696
or eax, 0xffffffff
lea edx, [ebp - 0x108]
push 0x649a5c
push edx
mov byte [ebp - 0x98], al
call fcn.004f36b2
add esp, 8
test eax, eax
jne 0x4686bc
mov eax, dword [ebp - 0x104]
jmp 0x4686bf
or eax, 0xffffffff
mov byte [ebp - 0x97], al
lea eax, [ebp - 0x108]
push 0x649a5c
push eax
call fcn.004f36b2
add esp, 8
test eax, eax
jne 0x4686e5
mov eax, dword [ebp - 0x108]
jmp 0x4686e8
or eax, 0xffffffff
push 0x3048
mov byte [ebp - 0x96], al
mov byte [ebp - 0x95], 0
call fcn.004d3c8b
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x9c]
add esp, 4
push ecx
movzx ecx, byte [esi + 0xa0]
push edx
movzx edx, byte [esi + 0x9c]
mov ebx, eax
movzx eax, byte [esi + 0x1b4]
push eax
movzx eax, word [esi + 0x9e]
push ecx
movzx ecx, byte [esi + 0x1ac]
push edx
movzx edx, byte [esi + 0x7cf8]
push eax
mov eax, dword [esi + 0x198]
push ecx
movzx ecx, byte [esi + 0xd58]
push edx
mov edx, dword [esi + 0x88]
mov edi, 1
add eax, edi
push eax
mov eax, dword [esi + 0x84]
push ecx
push edx
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x605167
mov dword [esi + 0x7d38], ebx
call fcn.0041c260
push esi
lea ecx, [ebp - 0x160]
call fcn.0044c770
mov esi, eax
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x4687a3
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00405590
mov esi, dword [esi]
push esi
mov esi, ebx
call fcn.0048aa80
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
add esp, 0x34
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4687d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov dword [eax + 0xde0], edi
mov dword [ebp - 0x7c], 0
mov byte [eax + 0x2a8], 1
mov esi, eax
mov ebx, 1
call fcn.0044d9e0
mov esi, dword [ebp + 8]
cmp dword [esi + 0x7d98], 0
je 0x468865
cmp dword [ebp - 0xc0], 0
je 0x468857
mov edx, dword [ebp - 0xcc]
lea ecx, [ebp - 0xac]
push ecx
push edx
mov dword [ebp - 0xac], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0xac], ebx
jne 0x468865
push 0
push 0
push 0
push 0x46c5f0
push 0
push 0
mov dword [ebp - 0xac], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xcc], eax
jmp 0x468865
push ebx
push 0
push 0x605167
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [ebp - 0x24], ebx
jne 0x468876
lea eax, [esi + 0xa8]
push eax
jmp 0x467fd1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
add dword [ebp - 0x70], ebx
cmp dword [esi + 0x7cf4], 0xa
mov ecx, dword [ecx + 8]
mov dword [esi + 0xcdc], eax
mov dword [esi + 0xce0], edx
mov dword [esi + 0xce4], ecx
jge 0x468942
mov ecx, dword [esi + 0x84]
cmp ecx, 0x160
jbe 0x468942
cmp dword [esi + 0x88], 0x120
jbe 0x468902
lea edx, [ecx*8]
push edx
push 0
push eax
call fcn.004f9810
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0xce0]
add esp, 0xc
add eax, eax
push eax
push 0x7f
push ecx
call fcn.004f9810
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0xce4]
add esp, 0xc
add edx, edx
push edx
push 0x7f
push eax
jmp 0x46893a
add ecx, ecx
add ecx, ecx
push ecx
push 0
push eax
call fcn.004f9810
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0xce0]
add esp, 0xc
push edx
push 0x7f
push eax
call fcn.004f9810
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0xce4]
add esp, 0xc
push ecx
push 0x7f
push edx
call fcn.004f9810
add esp, 0xc
cmp dword [esi + 0x88], 0x120
jbe 0x46898c
cmp dword [esi + 0x1c8], 0
je 0x46898c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x150]
mov edi, dword [eax]
mov ebx, dword [ebp - 0x140]
push ecx
push edi
push ebx
call fcn.004ff920
mov edx, dword [ebp - 0x14c]
add esp, 0xc
push ebx
push edx
push edi
mov edi, dword [ebp - 0x150]
call fcn.00499640
add esp, 0xc
emms
movzx ecx, byte [ebp - 0x55]
mov eax, dword [esi + 0x1d0]
cmp eax, ecx
je 0x4689a0
test eax, eax
setne byte [ebp - 0x55]
cmp dword [esi + 0xdf0], 0
je 0x468d03
mov eax, dword [esi + 0x88]
cmp eax, 0x120
ja 0x468bf9
cmp dword [esi + 0x84], 0x160
ja 0x468ae3
cmp dword [esi + 0xd48], 0
jle 0x468d03
mov eax, dword [esi + 0xd48]
mov edi, dword [esi + 0xd50]
cdq
sub eax, edx
mov ebx, eax
mov eax, edi
sub edi, dword [esi + 0xd48]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0xd4c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 0xd54]
cdq
sar ebx, 1
sar ecx, 1
sub eax, edx
add edi, 1
sar eax, 1
sub ecx, ebx
add ecx, 1
mov dword [ebp - 0x28], edi
mov edi, dword [esi + 0xd4c]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x20], ecx
cmp edi, dword [esi + 0xd54]
jg 0x468a63
mov eax, dword [esi + 0x84]
mov edx, dword [ebp - 0x28]
imul eax, edi
add eax, dword [esi + 0xd48]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
push edx
push 0x23
push eax
call fcn.004f9810
add esp, 0xc
add edi, 1
jmp 0x468a33
mov edi, dword [ebp - 0x224]
lea esp, [esp]
cmp edi, dword [ebp - 0x21c]
jg 0x468aa2
mov eax, dword [esi + 0x84]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
shr eax, 1
imul eax, edi
add eax, dword [ecx + 4]
push edx
add eax, ebx
push 0xd4
push eax
call fcn.004f9810
add esp, 0xc
add edi, 1
jmp 0x468a70
mov edi, dword [ebp - 0x224]
jmp 0x468ab0
cmp edi, dword [ebp - 0x21c]
jg 0x468d03
mov eax, dword [esi + 0x84]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
shr eax, 1
imul eax, edi
add eax, dword [ecx + 8]
push edx
add eax, ebx
push 0x72
push eax
call fcn.004f9810
add esp, 0xc
add edi, 1
jmp 0x468ab0
cmp eax, 0x120
ja 0x468bf9
cmp dword [esi + 0x84], 0x2c0
ja 0x468bf9
mov eax, dword [esi + 0xd48]
test eax, eax
jle 0x468d03
mov ecx, dword [esi + 0xd50]
lea ebx, [eax + eax]
mov eax, dword [esi + 0xd4c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [esi + 0xd54]
lea edi, [ecx + ecx]
sub ecx, dword [esi + 0xd48]
cdq
sub edi, ebx
sub eax, edx
add edi, 1
sar eax, 1
add ecx, 1
mov dword [ebp - 0x28], edi
mov edi, dword [esi + 0xd4c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x20], ecx
cmp edi, dword [esi + 0xd54]
jg 0x468b80
mov eax, dword [esi + 0x84]
mov edx, dword [ebp - 0x28]
imul eax, edi
mov ecx, dword [ebp - 0x18]
push edx
add eax, ebx
add eax, dword [ecx]
push 0x23
push eax
call fcn.004f9810
add esp, 0xc
add edi, 1
jmp 0x468b54
mov edi, dword [ebp - 0x234]
cmp edi, dword [ebp - 0x22c]
jg 0x468bbc
mov eax, dword [esi + 0x84]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
shr eax, 1
imul eax, edi
add eax, dword [esi + 0xd48]
push edx
add eax, dword [ecx + 4]
push 0xd4
push eax
call fcn.004f9810
add esp, 0xc
add edi, 1
jmp 0x468b86
mov edi, dword [ebp - 0x234]
cmp edi, dword [ebp - 0x22c]
jg 0x468d03
mov eax, dword [esi + 0x84]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
shr eax, 1
imul eax, edi
add eax, dword [esi + 0xd48]
push edx
add eax, dword [ecx + 8]
push 0x72
push eax
call fcn.004f9810
add esp, 0xc
add edi, 1
jmp 0x468bc2
cmp eax, 0x240
ja 0x468d03
cmp dword [esi + 0x84], 0x2c0
ja 0x468d03
mov eax, dword [esi + 0xd48]
test eax, eax
jle 0x468d03
mov edx, dword [esi + 0xd4c]
mov edi, dword [esi + 0xd54]
lea ebx, [eax + eax]
mov eax, dword [esi + 0xd50]
lea ecx, [eax + eax]
sub eax, dword [esi + 0xd48]
sub ecx, ebx
add edi, edi
add edx, edx
add ecx, 1
add eax, 1
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
mov edi, edx
lea ebx, [ebx]
cmp edi, dword [ebp - 0x304]
jg 0x468c8c
mov eax, dword [esi + 0x84]
mov edx, dword [ebp - 0x28]
imul eax, edi
mov ecx, dword [ebp - 0x18]
push edx
add eax, ebx
add eax, dword [ecx]
push 0x23
push eax
call fcn.004f9810
add esp, 0xc
add edi, 1
jmp 0x468c60
mov edi, dword [esi + 0xd4c]
cmp edi, dword [esi + 0xd54]
jg 0x468cc8
mov eax, dword [esi + 0x84]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
shr eax, 1
imul eax, edi
add eax, dword [esi + 0xd48]
push edx
add eax, dword [ecx + 4]
push 0xd4
push eax
call fcn.004f9810
add esp, 0xc
add edi, 1
jmp 0x468c92
mov edi, dword [esi + 0xd4c]
mov edi, edi
cmp edi, dword [esi + 0xd54]
jg 0x468d03
mov eax, dword [esi + 0x84]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
shr eax, 1
imul eax, edi
add eax, dword [esi + 0xd48]
push edx
add eax, dword [ecx + 8]
push 0x72
push eax
call fcn.004f9810
add esp, 0xc
add edi, 1
jmp 0x468cd0
cmp byte [esi + 0x820], 1
jne 0x468f0f
mov eax, dword [ebp - 0x70]
xor edx, edx
div dword [ebp - 0xc8]
test edx, edx
jne 0x468f0f
mov eax, dword [esi + 0xd20]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x2dc], 1
jne 0x468d45
mov dword [ebp - 0x2d0], 4
jmp 0x468d65
cmp eax, 1
jne 0x468d56
mov dword [ebp - 0x2d0], 0x14
jmp 0x468d65
cmp eax, 2
jne 0x468d65
mov dword [ebp - 0x2d0], 0x64
mov edx, dword [esi + 0xd2c]
mov edi, dword [esi + 0xd24]
cmp edx, edi
jle 0x468e2d
mov eax, dword [esi + 0xd30]
mov ecx, dword [esi + 0xd28]
cmp eax, ecx
jle 0x468e2d
mov ebx, dword [esi + 0x88]
cmp ebx, 0x120
ja 0x468df6
cmp dword [esi + 0x84], 0x160
ja 0x468dc4
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], eax
jmp 0x468e51
cmp ebx, 0x120
ja 0x468df6
cmp dword [esi + 0x84], 0x2c0
ja 0x468df6
add edi, edi
add edx, edx
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], eax
jmp 0x468e51
cmp ebx, 0x240
ja 0x468e51
cmp dword [esi + 0x84], 0x2c0
ja 0x468e51
add edx, edx
add edi, edi
mov dword [ebp - 0x2c8], edx
add ecx, ecx
lea edx, [eax + eax]
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], edx
jmp 0x468e51
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2c0], ecx
mov edi, dword [ebp - 0x18]
lea edx, [ebp - 0x2f4]
push edi
push edx
call fcn.0049a9b0
mov eax, dword [ebp - 0x2d4]
add esp, 8
cmp eax, dword [ebp - 0x2d0]
jle 0x468f12
cmp byte [esi + 0x820], 0
je 0x468e86
or dword [esi + 0x2b4], 0x20
cmp dword [esi + 0xd34], 0
je 0x468ecc
cmp dword [esi + 0x284], 0
je 0x468ecc
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xd4]
mov eax, ecx
sub eax, edx
cmp ecx, edx
jae 0x468eae
add eax, 0x5265c00
cmp eax, 0x1770
jbe 0x468ecc
or dword [esi + 0x2b4], 8
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x8c], 1
cmp dword [esi + 0x7d98], 0
je 0x468f12
cmp dword [esi + 0x284], 0
je 0x468f12
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x5c]
cmp eax, ecx
jb 0x468eef
sub eax, ecx
jmp 0x468ef6
sub eax, ecx
add eax, 0x5265c00
cmp eax, 0x1770
jbe 0x468f12
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xe0], ecx
mov byte [0x648fa1], 1
jmp 0x468f12
mov edi, dword [ebp - 0x18]
cmp dword [esi + 0x1b8], 1
jne 0x468fa1
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x288]
lea edx, [ebp - 0x28c]
push edx
mov edx, dword [ebp - 0x50]
push 0
push eax
mov ebx, eax
mov eax, dword [edi + 0x10]
push eax
mov eax, dword [edx]
mov edx, dword [edi]
mov dword [ebp - 0x28], ecx
call fcn.0049a760
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x14]
mov edi, dword [ebp - 0x28]
mov edx, dword [edx + 4]
add esp, 0x10
lea eax, [ebp - 0x28c]
push eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 4]
push 1
sar ebx, 1
push ebx
sar edi, 1
push ecx
mov ecx, edi
call fcn.0049a760
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x18]
mov edx, dword [edx + 8]
add esp, 0x10
lea ecx, [ebp - 0x28c]
push ecx
mov ecx, dword [ebp - 0x50]
push 2
push ebx
push eax
mov eax, dword [ecx + 8]
mov ecx, edi
call fcn.0049a760
add esp, 0x10
emms
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x90]
xor ebx, ebx
cmp dword [edx + 0x24], ebx
je 0x4698e0
call fcn.004d4991
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x468fcc
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.00405a20
mov ecx, esi
push ecx
mov esi, str._y__m__d__H:_M:_S
lea edi, [ebp - 0x168]
call fcn.00405ba0
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00404f90
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x168]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469030
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x28], edx
xor eax, eax
jmp 0x469040
cmp eax, dword [ebp - 0x28]
jge 0x4698ba
cmp eax, ebx
jl 0x4698b0
cmp eax, dword [ecx - 0xc]
jg 0x4698b0
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x88]
cmp edx, 0x240
mov cl, byte [eax + ecx]
jne 0x4691c9
cmp dword [edi + 0x84], 0x2c0
jne 0x4691c9
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x469098.33
movzx ecx, byte [ecx + 0x46aae0]
jmp dword [ecx*4 + 0x46aaa8]
mov dword [ebp - 0x3c], 0x645e28
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x646128
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x6438a8
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x642768
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x643368
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x643068
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x645768
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x643f68
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x642be8
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x645a68
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x6452e8
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x642468
jmp case.0x469098.33
mov dword [ebp - 0x3c], 0x644e68
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx]
mov edx, eax
shl edx, 4
movzx ebx, byte [esi + edx + 0x389a]
movzx ecx, byte [esi + edx + 0x38a9]
add ecx, ebx
movzx ebx, byte [esi + edx + 0xb9e9]
movzx edx, byte [esi + edx + 0xb9da]
add ecx, ebx
add ecx, edx
sar ecx, 2
cmp ecx, 0xd0
jle 0x469158
xor ecx, ecx
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x469172
cmp ecx, 0x60
jge 0x46916b
mov ecx, 0xff
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x469172
mov ecx, dword [edi + eax*4 + 0x82c]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x4698a3
xor ecx, ecx
cmp ecx, 0x10
jge 0x4691c4
mov ebx, dword [ebp - 0x3c]
mov esi, edx
shl esi, 4
add esi, ecx
cmp byte [esi + ebx], 0
je 0x4691bf
mov bl, byte [ebp - 0x1c]
add edx, 0x14
imul edx, dword [edi + 0x84]
add edx, ecx
mov esi, eax
shl esi, 4
add esi, edx
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov byte [esi + edx + 0x19a], bl
mov edx, dword [ebp - 0x24]
add ecx, 1
jmp 0x469185
add edx, 1
jmp 0x469177
cmp edx, 0x120
jne 0x46948c
cmp dword [edi + 0x84], 0x2c0
jne 0x469333
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x4691fb.33
movzx ecx, byte [ecx + 0x46ab34]
jmp dword [ecx*4 + 0x46aafc]
mov dword [ebp - 0x48], 0x644ce8
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x644928
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x6455e8
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x6447a8
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x644b68
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x6443e8
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x6422e8
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x643c68
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x644268
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x643728
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x645168
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x644628
jmp case.0x4691fb.33
mov dword [ebp - 0x48], 0x642a68
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
lea esi, [eax + eax*2 + 0x840]
lea esi, [ecx + esi*4]
lea edx, [eax + eax*2]
lea edx, [ecx + edx*4 + 0xa240]
movzx ecx, byte [esi + 0x1d3]
movzx esi, byte [esi + 0x1cc]
add ecx, esi
movzx esi, byte [edx + 0x1d3]
movzx edx, byte [edx + 0x1cc]
add ecx, esi
add ecx, edx
sar ecx, 2
cmp ecx, 0xd0
jle 0x4692c7
mov dword [ebp - 0x1c], ebx
mov dword [edi + eax*4 + 0x82c], ebx
jmp 0x4692e4
cmp ecx, 0x60
jge 0x4692da
mov ecx, 0xff
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x4692e1
mov ecx, dword [edi + eax*4 + 0x82c]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x4698a3
xor ecx, ecx
cmp ecx, 8
jge 0x46932e
mov ebx, dword [ebp - 0x48]
lea esi, [ecx + edx*8]
cmp byte [esi + ebx], 0
je 0x469329
mov bl, byte [ebp - 0x1c]
add edx, 0xc
imul edx, dword [edi + 0x84]
lea esi, [eax + eax*2]
add edx, ecx
lea edx, [edx + esi*4]
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
mov byte [edx + esi + 0x1cc], bl
mov edx, dword [ebp - 0x24]
add ecx, 1
jmp 0x4692f4
add edx, 1
jmp 0x4692e6
cmp edx, 0x120
jne 0x46948c
cmp dword [edi + 0x84], 0x160
jne 0x46948c
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x469365.33
movzx ecx, byte [ecx + 0x46ab88]
jmp dword [ecx*4 + 0x46ab50]
mov dword [ebp - 0x4c], 0x644568
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x6465a8
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x644aa8
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x642fa8
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x643668
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x6464e8
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x643ea8
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x642228
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x645d68
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x643de8
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x643ba8
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x646428
jmp case.0x469365.33
mov dword [ebp - 0x4c], 0x642ee8
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
movzx esi, byte [edx + eax*8 + 0x7ad]
movzx ecx, byte [edx + eax*8 + 0x7b4]
add ecx, esi
movzx esi, byte [edx + eax*8 + 0x2754]
movzx edx, byte [edx + eax*8 + 0x274d]
add ecx, esi
add ecx, edx
sar ecx, 2
cmp ecx, 0xd0
jle 0x469421
mov dword [ebp - 0x1c], ebx
mov dword [edi + eax*4 + 0x82c], ebx
jmp 0x46943e
cmp ecx, 0x60
jge 0x469434
mov ecx, 0xff
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x46943b
mov ecx, dword [edi + eax*4 + 0x82c]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x18
mov dword [ebp - 0x24], edx
jge 0x4698a3
xor ecx, ecx
mov edi, edi
cmp ecx, 8
jge 0x469487
mov ebx, dword [ebp - 0x4c]
lea esi, [ecx + edx*8]
cmp byte [esi + ebx], 0
je 0x469482
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
mov bl, byte [ebp - 0x1c]
add edx, 5
imul edx, dword [edi + 0x84]
add edx, ecx
lea edx, [edx + eax*8]
mov byte [edx + esi + 0xcd], bl
mov edx, dword [ebp - 0x24]
add ecx, 1
jmp 0x469450
add edx, 1
jmp 0x469440
cmp edx, 0x1e0
jne 0x4695f4
cmp dword [edi + 0x84], 0x280
jne 0x4695f4
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x4694be.33
movzx ecx, byte [ecx + 0x46abdc]
jmp dword [ecx*4 + 0x46aba4]
mov dword [ebp - 0x40], 0x645e28
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x646128
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x6438a8
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x642768
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x643368
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x643068
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x645768
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x643f68
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x642be8
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x645a68
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x6452e8
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x642468
jmp case.0x4694be.33
mov dword [ebp - 0x40], 0x644e68
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx]
mov edx, eax
shl edx, 4
movzx ebx, byte [esi + edx + 0x3354]
movzx ecx, byte [esi + edx + 0x3363]
add ecx, ebx
movzx ebx, byte [esi + edx + 0xa8e3]
movzx edx, byte [esi + edx + 0xa8d4]
add ecx, ebx
add ecx, edx
sar ecx, 2
cmp ecx, 0xd0
jle 0x46957e
xor ecx, ecx
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x469598
cmp ecx, 0x60
jge 0x469591
mov ecx, 0xff
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x469598
mov ecx, dword [edi + eax*4 + 0x82c]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x4698a3
xor ecx, ecx
jmp 0x4695b0
cmp ecx, 0x10
jge 0x4695ef
mov ebx, dword [ebp - 0x40]
mov esi, edx
shl esi, 4
add esi, ecx
cmp byte [esi + ebx], 0
je 0x4695ea
mov bl, byte [ebp - 0x1c]
add edx, 0x14
imul edx, dword [edi + 0x84]
add edx, ecx
mov esi, eax
shl esi, 4
add esi, edx
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov byte [esi + edx + 0x154], bl
mov edx, dword [ebp - 0x24]
add ecx, 1
jmp 0x4695b0
add edx, 1
jmp 0x46959d
cmp edx, 0xf0
jne 0x4698a3
cmp dword [edi + 0x84], 0x280
jne 0x469754
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x469626.33
movzx ecx, byte [ecx + 0x46ac30]
jmp dword [ecx*4 + 0x46abf8]
mov dword [ebp - 0x44], 0x644ce8
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x644928
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x6455e8
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x6447a8
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x644b68
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x6443e8
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x6422e8
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x643c68
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x644268
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x643728
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x645168
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x644628
jmp case.0x469626.33
mov dword [ebp - 0x44], 0x642a68
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx]
lea edx, [eax + eax*2]
add edx, edx
add edx, edx
movzx ebx, byte [esi + edx + 0x1a90]
movzx ecx, byte [esi + edx + 0x1a97]
add ecx, ebx
movzx ebx, byte [esi + edx + 0x9017]
movzx edx, byte [esi + edx + 0x9010]
add ecx, ebx
add ecx, edx
sar ecx, 2
cmp ecx, 0xd0
jle 0x4696e8
xor ecx, ecx
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x469702
cmp ecx, 0x60
jge 0x4696fb
mov ecx, 0xff
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x469702
mov ecx, dword [edi + eax*4 + 0x82c]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x4698a3
xor ecx, ecx
cmp ecx, 8
jge 0x46974f
mov ebx, dword [ebp - 0x44]
lea esi, [ecx + edx*8]
cmp byte [esi + ebx], 0
je 0x46974a
mov bl, byte [ebp - 0x1c]
add edx, 0xa
imul edx, dword [edi + 0x84]
lea esi, [eax + eax*2]
add edx, ecx
lea edx, [edx + esi*4]
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
mov byte [edx + esi + 0x190], bl
mov edx, dword [ebp - 0x24]
add ecx, 1
jmp 0x469715
add edx, 1
jmp 0x469707
cmp edx, 0xf0
jne 0x4698a3
cmp dword [edi + 0x84], 0x140
jne 0x4698a3
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x469786.33
movzx ecx, byte [ecx + 0x46ac84]
jmp dword [ecx*4 + 0x46ac4c]
mov dword [ebp - 0x38], 0x644568
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x6465a8
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x644aa8
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x642fa8
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x643668
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x6464e8
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x643ea8
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x642228
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x645d68
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x643de8
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x643ba8
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x646428
jmp case.0x469786.33
mov dword [ebp - 0x38], 0x642ee8
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
movzx esi, byte [edx + eax*8 + 0x6ef]
movzx ecx, byte [edx + eax*8 + 0x6f6]
add ecx, esi
movzx esi, byte [edx + eax*8 + 0x23b6]
movzx edx, byte [edx + eax*8 + 0x23af]
add ecx, esi
add ecx, edx
sar ecx, 2
cmp ecx, 0xd0
jle 0x469841
xor ecx, ecx
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x46985b
cmp ecx, 0x60
jge 0x469854
mov ecx, 0xff
mov dword [edi + eax*4 + 0x82c], ecx
jmp 0x46985b
mov ecx, dword [edi + eax*4 + 0x82c]
mov dword [ebp - 0x1c], ecx
xor esi, esi
cmp esi, 0x18
jge 0x4698a3
xor ecx, ecx
cmp ecx, 8
jge 0x46989e
mov ebx, dword [ebp - 0x38]
lea edx, [ecx + esi*8]
cmp byte [edx + ebx], 0
je 0x469899
mov bl, byte [ebp - 0x1c]
lea edx, [esi + 5]
imul edx, dword [edi + 0x84]
mov edi, dword [ebp - 0x18]
mov edi, dword [edi]
add edx, ecx
lea edx, [edx + eax*8]
mov byte [edx + edi + 0xaf], bl
mov edi, dword [ebp + 8]
add ecx, 1
jmp 0x469867
add esi, 1
jmp 0x469860
mov ecx, dword [ebp - 0x20]
add eax, 1
xor ebx, ebx
jmp 0x469040
push 0x80070057
call fcn.00404150
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4698da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x90]
cmp dword [ecx + 0x28], ebx
je 0x469b1f
mov ecx, dword [esi + 0x88]
cmp ecx, 0x120
jbe 0x4699c6
mov eax, dword [esi + 0x84]
cmp eax, 0x160
jbe 0x4699ba
mov ecx, dword [edi]
mov edx, eax
imul edx, edx, 0x43
movzx ebx, byte [edx + ecx + 0x173]
lea eax, [eax + eax*4]
add edx, ecx
movzx edx, byte [edx + 0x14]
lea ecx, [ecx + eax*4]
movzx eax, byte [ecx + 0x173]
movzx ecx, byte [ecx + 0x14]
add eax, ebx
add eax, ecx
add eax, edx
sar eax, 2
cmp eax, 0xd0
jle 0x469952
xor edx, edx
mov dword [esi + 0x88c], edx
jmp 0x46996a
cmp eax, 0x60
jge 0x469964
mov edx, 0xff
mov dword [esi + 0x88c], edx
jmp 0x46996a
mov edx, dword [esi + 0x88c]
xor ecx, ecx
lea esp, [esp]
cmp ecx, 0x30
jge 0x469b1f
xor eax, eax
jmp 0x469980
cmp eax, 0x160
jge 0x4699b5
mov ebx, ecx
imul ebx, ebx, 0x160
add ebx, eax
cmp byte [ebx + esi + 0x3af4], 0
je 0x4699b0
mov edi, dword [edi]
lea ebx, [ecx + 0x14]
imul ebx, dword [esi + 0x84]
add ebx, eax
mov byte [ebx + edi + 0x14], dl
mov edi, dword [ebp - 0x18]
add eax, 1
jmp 0x469980
add ecx, 1
jmp 0x469970
cmp ecx, 0x120
ja 0x469a7a
mov eax, dword [esi + 0x84]
cmp eax, 0x160
jbe 0x469a7a
mov ecx, dword [edi]
mov edx, eax
imul edx, edx, 0x23
movzx ebx, byte [edx + ecx + 0x16e]
lea eax, [eax + eax*2]
add edx, ecx
movzx edx, byte [edx + 0xf]
lea ecx, [ecx + eax*4]
movzx eax, byte [ecx + 0x16e]
movzx ecx, byte [ecx + 0xf]
add eax, ebx
add eax, ecx
add eax, edx
sar eax, 2
cmp eax, 0xd0
jle 0x469a17
xor edx, edx
mov dword [esi + 0x88c], edx
jmp 0x469a2f
cmp eax, 0x60
jge 0x469a29
mov edx, 0xff
mov dword [esi + 0x88c], edx
jmp 0x469a2f
mov edx, dword [esi + 0x88c]
xor ecx, ecx
cmp ecx, 0x18
jge 0x469b1f
xor eax, eax
lea esp, [esp]
cmp eax, 0x160
jge 0x469a75
mov ebx, ecx
imul ebx, ebx, 0x160
add ebx, eax
cmp byte [ebx + esi + 0x19f4], 0
je 0x469a70
mov edi, dword [edi]
lea ebx, [ecx + 0xc]
imul ebx, dword [esi + 0x84]
add ebx, eax
mov byte [ebx + edi + 0xf], dl
mov edi, dword [ebp - 0x18]
add eax, 1
jmp 0x469a40
add ecx, 1
jmp 0x469a31
mov ecx, dword [esi + 0x84]
mov edx, dword [edi]
lea eax, [ecx*8]
sub eax, ecx
lea ebx, [edx + eax*4]
lea eax, [edx + ecx*4 + 8]
movzx eax, byte [ecx + eax + 2]
lea edx, [edx + ecx*4]
movzx ecx, byte [ecx + edx + 0x89]
movzx edx, byte [ebx + 0x89]
add eax, ecx
movzx ecx, byte [ebx + 0xa]
add eax, edx
add eax, ecx
sar eax, 2
cmp eax, 0xd0
jle 0x469ac7
xor edx, edx
mov dword [esi + 0x88c], edx
jmp 0x469adf
cmp eax, 0x60
jge 0x469ad9
mov edx, 0xff
mov dword [esi + 0x88c], edx
jmp 0x469adf
mov edx, dword [esi + 0x88c]
xor ecx, ecx
cmp ecx, 0x18
jge 0x469b1f
xor eax, eax
cmp eax, 0x80
jge 0x469b1a
mov ebx, ecx
shl ebx, 7
add ebx, eax
cmp byte [ebx + esi + 0xdf4], 0
je 0x469b15
mov edi, dword [edi]
lea ebx, [ecx + 5]
imul ebx, dword [esi + 0x84]
add ebx, eax
mov byte [ebx + edi + 0xa], dl
mov edi, dword [ebp - 0x18]
add eax, 1
jmp 0x469ae8
add ecx, 1
jmp 0x469ae1
cmp dword [esi + 0x194], 0
je 0x469b3e
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x94]
lea edx, [esi + 0xa8]
push edx
push eax
call fcn.0047c740
cmp byte [esi + 0x7da0], 0
jne 0x469fa5
cmp dword [esi + 0x7d54], 0
jg 0x469b75
cmp byte [esi + 0x2a8], 0
jne 0x469b75
cmp byte [esi + 0x2a9], 0
jne 0x469b75
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x46a56f
mov eax, dword [ebp - 0x70]
cmp eax, 1
jbe 0x46a56f
mov ecx, dword [esi + 0x7cf8]
cmp ecx, 0xa
jb 0x469b91
mov ecx, 9
xor edx, edx
div dword [ecx*8 + 0x62c5b0]
cmp dword [ecx*8 + 0x62c5b4], 0
je 0x469bab
test edx, edx
setne al
jmp 0x469bb0
test edx, edx
sete al
test al, al
je 0x46a56f
cmp dword [esi + 0xde0], 0
mov ebx, dword [ebp - 0x60]
je 0x469bd7
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [esi + 0xde0], 0
mov eax, dword [esi + 0x1c4]
mov ecx, dword [ebp - 0x84]
mov edi, dword [ebp - 0x34]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebp - 0x50]
push ecx
add edi, 0xe
push edi
push eax
mov ecx, ebx
call edx
mov ebx, dword [ebx + 4]
test ebx, ebx
mov dword [ebp - 0x20], eax
jne 0x469c0f
mov al, byte [edi + 4]
and al, 0xc0
cmp al, 0xc0
sete al
jmp 0x469c55
cmp ebx, 1
jne 0x469c53
cmp byte [edi], 0xa0
jne 0x469c3e
cmp byte [edi + 1], 0x10
jne 0x469c3e
cmp byte [edi + 2], 0
jne 0x469c3e
cmp byte [edi + 3], 0
jne 0x469c3e
cmp byte [edi + 7], bl
jne 0x469c53
mov cl, byte [edi + 8]
and cl, 0x1f
cmp cl, bl
je 0x469c53
mov al, bl
jmp 0x469c55
cmp byte [edi + 3], 1
jne 0x469c53
mov dl, byte [edi + 4]
and dl, 0x1f
cmp dl, 1
je 0x469c53
mov al, 1
jmp 0x469c55
xor al, al
cmp dword [ebp - 0x20], 0
movzx ebx, al
mov dword [ebp - 0x30], ebx
jle 0x46a56f
cmp byte [esi + 0x2a8], 0
je 0x469d15
cmp dword [esi + 0x7d38], 0
je 0x469cc1
lea edi, [esi + 0x7d20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x34]
push 1
push ebx
push eax
mov eax, dword [esi + 0x7d38]
call fcn.0048ac40
mov ecx, dword [esi + 0x7d38]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x469cba
call fcn.0044c4e0
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x7d38]
add dword [ebp - 0x7c], 1
cmp dword [eax + 0x1c], 0x36ee80
ja 0x469d0e
cmp dword [eax + 0x3034], 0x400
jae 0x469d0e
lea edx, [ebp - 0x33c]
push 0x649a5c
push edx
call fcn.004f36b2
mov ecx, dword [esi + 0x7d38]
movzx edx, byte [ecx + 0x27]
add esp, 8
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x330]
cmp eax, edx
je 0x469d15
or dword [esi + 0x2b4], 0x50
cmp byte [esi + 0x2a9], 0
je 0x469df6
cmp dword [esi + 0x7d3c], 0
je 0x469d71
lea edi, [esi + 0x7d20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x34]
push 1
push ebx
push eax
mov eax, dword [esi + 0x7d3c]
call fcn.0048ac40
mov ecx, dword [esi + 0x7d3c]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x469d6a
call fcn.0044c4e0
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x88]
cmp eax, ecx
jb 0x469d82
sub eax, ecx
jmp 0x469d89
sub eax, ecx
add eax, 0x5265c00
mov edx, dword [esi + 0xd1c]
imul edx, edx, 0x3e8
cmp eax, edx
jbe 0x469da3
or dword [esi + 0x2b4], 0x80
mov eax, dword [esi + 0x7d3c]
cmp dword [eax + 0x1c], 0x36ee80
ja 0x469dec
cmp dword [eax + 0x3034], 0x400
jae 0x469dec
lea eax, [ebp - 0x384]
push 0x649a5c
push eax
call fcn.004f36b2
mov ecx, dword [esi + 0x7d3c]
movzx edx, byte [ecx + 0x27]
add esp, 8
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x378]
cmp eax, edx
je 0x469df6
or dword [esi + 0x2b4], 0x80
mov eax, dword [esi + 0x7d54]
test eax, eax
jle 0x46a56f
xor ebx, ebx
mov dword [ebp - 0x1c], eax
cmp ebx, 0x80
mov dword [ebp - 0x24], ebx
jge 0x46a56f
cmp dword [ebp - 0x1c], 0
jle 0x46a56f
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + ebx*4 + 0xe8]
test eax, eax
je 0x469f78
mov ecx, dword [eax + 0x24]
cmp ecx, dword [esi + 0x15c]
jne 0x469f78
mov edx, dword [eax + 0x28]
cmp edx, dword [esi + 0x160]
jne 0x469f78
mov ecx, dword [eax + 0x2c]
cmp ecx, dword [esi + 0x164]
jne 0x469f78
sub dword [ebp - 0x1c], 1
cmp dword [ebp - 0x30], 0
mov edi, dword [eax + 0x14]
lea ecx, [eax + 0x14]
je 0x469f80
cmp edi, 0x19
jl 0x469ea7
mov edx, 0xa
sub edx, edi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + ebx*4 + 0xe8]
mov eax, dword [ecx + 0xc]
sub eax, edi
add eax, 0x32
xor edx, edx
mov edi, 0x28
div edi
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + ebx*4 + 0xe8]
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x28], edx
mov edi, dword [ebp - 0x54]
mov dword [eax + 0x1c], 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi + eax*4 + 0xe8]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x493e0
lea ebx, [edx + ecx + 0x30]
mov ecx, dword [ebp - 0x20]
mov byte [ebx + 4], 6
lea edx, [ecx + 0x12]
mov dword [ebx], edx
mov edx, dword [edi + eax*4 + 0xe8]
movzx edx, byte [edx + 0x24]
mov byte [ebx + 5], dl
mov edx, dword [edi + eax*4 + 0xe8]
movzx edx, byte [edx + 0x28]
mov byte [ebx + 6], dl
mov eax, dword [edi + eax*4 + 0xe8]
movzx edx, byte [eax + 0x2c]
mov eax, dword [ebp - 0x34]
push ecx
add eax, 0xe
push eax
lea ecx, [ebx + 0x12]
push ecx
mov byte [ebx + 7], dl
call fcn.004ff920
mov al, byte [ebp - 0x28]
movzx edx, byte [ebx + 9]
mov ecx, dword [ebp - 0x24]
and al, 1
add al, al
add al, al
add al, al
and dl, 0x10
or al, dl
or al, 1
mov byte [ebx + 9], al
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0xa], eax
mov eax, dword [edi + ecx*4 + 0xe8]
mov eax, dword [eax + 0xc]
add eax, 1
xor edx, edx
mov ebx, 0x28
div ebx
mov eax, dword [edi + ecx*4 + 0xe8]
add esp, 0xc
mov dword [eax + 0xc], edx
mov ecx, dword [edi + ecx*4 + 0xe8]
add ecx, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [ebp - 0x24]
add ebx, 1
jmp 0x469e09
cmp dword [eax + 0x1c], 0
je 0x469f78
cmp edi, 0x28
jge 0x469f96
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
jmp 0x469eb7
mov dword [eax + 0x1c], 0
add ebx, 1
jmp 0x469e09
cmp dword [esi + 0x7d54], 0
jle 0x46a2c6
mov eax, dword [ebp - 0x70]
cmp eax, 1
jbe 0x46a2d0
mov ecx, dword [esi + 0x98]
cmp ecx, 0xa
jb 0x469fce
mov ecx, 9
xor edx, edx
div dword [ecx*8 + 0x62c5b0]
cmp dword [ecx*8 + 0x62c5b4], 0
je 0x469fe8
test edx, edx
setne al
jmp 0x469fed
test edx, edx
sete al
test al, al
je 0x46a2d0
mov al, byte [ebp - 0x29]
cmp al, 3
mov edx, dword [ebp - 0x50]
jne 0x46a024
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
mov edx, dword [edx]
push eax
mov eax, dword [ebp - 0x194]
push ecx
push edx
push eax
call dword [0x67aa1c]
add esp, 0x10
emms
jmp 0x46a066
cmp al, 1
jne 0x46a04d
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
mov edx, dword [edx]
push eax
mov eax, dword [ebp - 0x194]
push ecx
push edx
push eax
call dword [0x67aa3c]
add esp, 0x10
emms
jmp 0x46a066
mov ecx, dword [ebp - 0xd0]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.004ff920
add esp, 0xc
cmp byte [esi + 0xde4], 0
mov ebx, dword [ebp - 0x74]
je 0x46a082
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov byte [esi + 0xde4], 0
mov eax, dword [esi + 0x1c4]
mov ecx, dword [ebp - 0x84]
mov edi, dword [ebp - 0x34]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push eax
push ecx
add edi, 0xe
push edi
lea eax, [ebp - 0x194]
push eax
mov ecx, ebx
call edx
mov ebx, dword [ebx + 4]
test ebx, ebx
mov dword [ebp - 0x20], eax
jne 0x46a0bf
mov cl, byte [edi + 4]
and cl, 0xc0
cmp cl, 0xc0
sete cl
jmp 0x46a105
cmp ebx, 1
jne 0x46a103
cmp byte [edi], 0xa0
jne 0x46a0ee
cmp byte [edi + 1], 0x10
jne 0x46a0ee
cmp byte [edi + 2], 0
jne 0x46a0ee
cmp byte [edi + 3], 0
jne 0x46a0ee
cmp byte [edi + 7], bl
jne 0x46a103
mov dl, byte [edi + 8]
and dl, 0x1f
cmp dl, bl
je 0x46a103
mov cl, bl
jmp 0x46a105
cmp byte [edi + 3], 1
jne 0x46a103
mov cl, byte [edi + 4]
and cl, 0x1f
cmp cl, 1
je 0x46a103
mov cl, 1
jmp 0x46a105
xor cl, cl
test eax, eax
movzx edx, cl
mov dword [ebp - 0x30], edx
jle 0x46a2d0
mov eax, dword [esi + 0x7d54]
test eax, eax
jle 0x46a2d0
xor edi, edi
mov edx, eax
jmp 0x46a130
cmp edi, 0x80
jge 0x46a2d0
test edx, edx
jle 0x46a2d0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + edi*4 + 0xe8]
test eax, eax
je 0x46a299
mov ecx, dword [eax + 0x24]
cmp ecx, dword [esi + 0x15c]
jne 0x46a299
mov ecx, dword [eax + 0x28]
cmp ecx, dword [esi + 0x160]
jne 0x46a299
mov ecx, dword [eax + 0x2c]
cmp ecx, dword [esi + 0x164]
jne 0x46a299
mov ebx, dword [eax + 0x14]
sub edx, 1
cmp dword [ebp - 0x30], 0
lea ecx, [eax + 0x14]
mov dword [ebp - 0x1c], edx
je 0x46a2a1
cmp ebx, 0x19
jl 0x46a1cb
mov edx, 0xa
sub edx, ebx
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + edi*4 + 0xe8]
mov eax, dword [ecx + 0xc]
sub eax, ebx
add eax, 0x32
xor edx, edx
mov ebx, 0x28
div ebx
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + edi*4 + 0xe8]
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x28], edx
mov dword [eax + 0x1c], 1
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + edi*4 + 0xe8]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x493e0
lea ebx, [edx + ecx + 0x30]
mov ecx, dword [ebp - 0x20]
mov byte [ebx + 4], 6
lea edx, [ecx + 0x12]
mov dword [ebx], edx
mov edx, dword [eax + edi*4 + 0xe8]
movzx edx, byte [edx + 0x24]
mov byte [ebx + 5], dl
mov edx, dword [eax + edi*4 + 0xe8]
movzx edx, byte [edx + 0x28]
mov byte [ebx + 6], dl
mov eax, dword [eax + edi*4 + 0xe8]
movzx edx, byte [eax + 0x2c]
mov eax, dword [ebp - 0x34]
push ecx
add eax, 0xe
push eax
lea ecx, [ebx + 0x12]
push ecx
mov byte [ebx + 7], dl
call fcn.004ff920
mov al, byte [ebp - 0x28]
movzx edx, byte [ebx + 9]
mov ecx, dword [ebp - 0x54]
and al, 1
add al, al
add al, al
add al, al
and dl, 0x10
or al, dl
or al, 1
mov byte [ebx + 9], al
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0xa], eax
mov eax, dword [ecx + edi*4 + 0xe8]
mov eax, dword [eax + 0xc]
add eax, 1
xor edx, edx
mov ebx, 0x28
div ebx
mov eax, dword [ecx + edi*4 + 0xe8]
add esp, 0xc
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + edi*4 + 0xe8]
add ecx, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [ebp - 0x1c]
add edi, 1
jmp 0x46a130
cmp dword [eax + 0x1c], 0
je 0x46a299
cmp ebx, 0x28
jge 0x46a2b7
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
jmp 0x46a1db
mov dword [eax + 0x1c], 0
add edi, 1
jmp 0x46a130
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp byte [esi + 0x2a8], 0
jne 0x46a2f1
cmp byte [esi + 0x2a9], 0
jne 0x46a2f1
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x46a56f
mov eax, dword [ebp - 0x70]
cmp eax, 1
jbe 0x46a56f
mov ecx, dword [esi + 0x7cf8]
cmp ecx, 0xa
jb 0x46a30d
mov ecx, 9
xor edx, edx
div dword [ecx*8 + 0x62c5b0]
cmp dword [ecx*8 + 0x62c5b4], 0
je 0x46a327
test edx, edx
setne al
jmp 0x46a32c
test edx, edx
sete al
test al, al
je 0x46a56f
cmp dword [esi + 0xde0], 0
mov ebx, dword [ebp - 0x60]
je 0x46a353
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [esi + 0xde0], 0
mov eax, dword [esi + 0x1c4]
mov ecx, dword [ebp - 0x84]
mov edi, dword [ebp - 0x34]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebp - 0x50]
push ecx
add edi, 0xe
push edi
push eax
mov ecx, ebx
call edx
mov ebx, dword [ebx + 4]
test ebx, ebx
mov dword [ebp - 0x20], eax
jne 0x46a38b
mov al, byte [edi + 4]
and al, 0xc0
cmp al, 0xc0
sete al
jmp 0x46a3d1
cmp ebx, 1
jne 0x46a3cf
cmp byte [edi], 0xa0
jne 0x46a3ba
cmp byte [edi + 1], 0x10
jne 0x46a3ba
cmp byte [edi + 2], 0
jne 0x46a3ba
cmp byte [edi + 3], 0
jne 0x46a3ba
cmp byte [edi + 7], bl
jne 0x46a3cf
mov cl, byte [edi + 8]
and cl, 0x1f
cmp cl, bl
je 0x46a3cf
mov al, bl
jmp 0x46a3d1
cmp byte [edi + 3], 1
jne 0x46a3cf
mov dl, byte [edi + 4]
and dl, 0x1f
cmp dl, 1
je 0x46a3cf
mov al, 1
jmp 0x46a3d1
xor al, al
cmp dword [ebp - 0x20], 0
movzx ebx, al
jle 0x46a56f
cmp byte [esi + 0x2a8], 0
je 0x46a48e
cmp dword [esi + 0x7d38], 0
je 0x46a43a
lea edi, [esi + 0x7d20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x34]
push 1
push ebx
push eax
mov eax, dword [esi + 0x7d38]
call fcn.0048ac40
mov ecx, dword [esi + 0x7d38]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x46a433
call fcn.0044c4e0
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x7d38]
add dword [ebp - 0x7c], 1
cmp dword [eax + 0x1c], 0x36ee80
ja 0x46a487
cmp dword [eax + 0x3034], 0x400
jae 0x46a487
lea edx, [ebp - 0x3a8]
push 0x649a5c
push edx
call fcn.004f36b2
mov ecx, dword [esi + 0x7d38]
movzx edx, byte [ecx + 0x27]
add esp, 8
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x39c]
cmp eax, edx
je 0x46a48e
or dword [esi + 0x2b4], 0x50
cmp byte [esi + 0x2a9], 0
je 0x46a56f
cmp dword [esi + 0x7d3c], 0
je 0x46a4ea
lea edi, [esi + 0x7d20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x34]
push 1
push ebx
push eax
mov eax, dword [esi + 0x7d3c]
call fcn.0048ac40
mov ecx, dword [esi + 0x7d3c]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x46a4e3
call fcn.0044c4e0
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x88]
cmp eax, ecx
jb 0x46a4fb
sub eax, ecx
jmp 0x46a502
sub eax, ecx
add eax, 0x5265c00
mov edx, dword [esi + 0xd1c]
imul edx, edx, 0x3e8
cmp eax, edx
jbe 0x46a51c
or dword [esi + 0x2b4], 0x80
mov eax, dword [esi + 0x7d3c]
cmp dword [eax + 0x1c], 0x36ee80
ja 0x46a565
cmp dword [eax + 0x3034], 0x400
jae 0x46a565
lea eax, [ebp - 0x360]
push 0x649a5c
push eax
call fcn.004f36b2
mov ecx, dword [esi + 0x7d3c]
movzx edx, byte [ecx + 0x27]
add esp, 8
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x354]
cmp eax, edx
je 0x46a56f
or dword [esi + 0x2b4], 0x80
cmp dword [esi + 0x7d58], 0
mov ebx, dword [ebp - 0x5c]
jle 0x46a79b
mov ecx, dword [ebp - 0xc4]
mov eax, ebx
sub eax, ecx
cmp ebx, ecx
jae 0x46a592
add eax, 0x5265c00
cmp eax, 0x78
jbe 0x46a79b
cmp dword [esi + 0x84], 0x160
mov dword [ebp - 0xc4], ebx
jbe 0x46a609
cmp dword [esi + 0x88], 0x120
jbe 0x46a5e1
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x134]
push eax
call dword [0x67aa24]
add esp, 0x10
emms
jmp 0x46a62f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x110]
push edx
mov edx, dword [ebp - 0x134]
push ecx
push eax
push edx
call dword [0x67aa40]
add esp, 0x10
emms
jmp 0x46a62f
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x134]
push eax
call dword [0x67aa50]
add esp, 0x10
emms
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 0
push eax
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0x134]
push eax
call edx
xor ecx, ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [ebp - 0x30], eax
add eax, 0x14
mov dword [edi], eax
mov ax, word [ebp - 0x110]
mov word [edi + 4], ax
mov cx, word [ebp - 0x10c]
mov word [edi + 6], cx
mov edx, dword [esi + 0x7d58]
xor ecx, ecx
mov dword [ebp - 0x1c], edx
cmp ecx, 4
mov dword [ebp - 0x24], ecx
jge 0x46a79b
cmp dword [ebp - 0x1c], 0
jle 0x46a79b
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + ecx*4 + 0x520]
test eax, eax
je 0x46a793
mov edx, dword [eax + 0xc]
cmp edx, dword [esi + 0x15c]
jne 0x46a793
mov edx, dword [eax + 0x10]
cmp edx, dword [esi + 0x160]
jne 0x46a793
mov edx, dword [eax + 0x14]
cmp edx, dword [esi + 0x164]
jne 0x46a793
mov ecx, dword [eax + 0x206c]
mov edi, dword [ebp - 0x30]
imul ecx, ecx, 0x493e0
sub dword [ebp - 0x1c], 1
push str.Close
add edi, 0x18
push edi
push 0x60cda8
push 0xc8
lea eax, [ecx + eax + 0x2078]
push 0x6046b0
mov dword [ebp - 0x28], eax
add eax, 4
push 0x493e0
push eax
call fcn.004f5aa0
add esp, 0x1c
test edi, edi
mov ebx, eax
je 0x46a755
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
add eax, 4
push edi
add eax, ebx
push edx
push eax
mov dword [ebp - 0x20], eax
call fcn.004ff920
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [edi + eax], 0xa0d0a0d
lea ebx, [ebx + edi + 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + eax*4 + 0x520]
mov edi, dword [edx + 0x206c]
add edi, 1
and edi, 7
mov dword [edx + 0x206c], edi
mov edx, dword [ecx + eax*4 + 0x520]
add edx, 0x2074
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x5c]
add ecx, 1
jmp 0x46a68d
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x78], ebx
jmp 0x467fe0
mov edx, dword [esi + 0xd18]
mov edi, dword [ebp - 0x140]
push edx
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_CancelGetAudio_int_]
mov eax, dword [esi + 0x7d00]
add esp, 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x7d00]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
mov dword [esi + 0x7d00], 0
call fcn.0046aca0
mov edx, dword [esi + 0xd18]
push edx
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_StopChannel_int_]
mov eax, dword [esi + 0xd18]
add esp, 4
push eax
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_CloseChannel_int_]
add esp, 4
push 0x2c
xor ebx, ebx
lea ecx, [esi + 0xcdc]
push ebx
push ecx
call fcn.004f9810
add esp, 0xc
cmp edi, ebx
je 0x46a84d
movzx edx, byte [edi - 1]
sub edi, edx
push edi
call fcn.004f2965
add esp, 4
mov eax, dword [ebp - 0x2e4]
cmp eax, ebx
je 0x46a866
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004f2965
add esp, 4
xor edi, edi
jmp 0x46a870
mov eax, dword [ebp + edi*4 - 0x258]
cmp eax, ebx
je 0x46a88a
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004f2965
add esp, 4
add edi, 1
cmp edi, 3
jl 0x46a870
mov eax, dword [esi + 0x7d38]
cmp eax, ebx
mov byte [esi + 0x2a8], bl
mov byte [esi + 0x2a9], bl
je 0x46a8cc
mov esi, eax
call fcn.0048abe0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d38]
push eax
call fcn.004d3cb6
add esp, 4
mov dword [esi + 0x7d38], ebx
call fcn.0044c4e0
mov eax, dword [esi + 0x7d3c]
cmp eax, ebx
je 0x46a8fa
mov esi, eax
call fcn.0048abe0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d3c]
push eax
call fcn.004d3cb6
add esp, 4
mov dword [esi + 0x7d3c], ebx
call fcn.0044c4e0
mov ecx, dword [ebp - 0x60]
cmp ecx, ebx
je 0x46a909
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [ebp - 0x74]
cmp ecx, ebx
je 0x46a918
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [ebp - 0x194]
cmp eax, ebx
je 0x46a931
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004f2965
add esp, 4
mov ecx, dword [ebp - 0xa8]
cmp ecx, ebx
je 0x46a943
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0xe4]
cmp ecx, ebx
je 0x46a955
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [ebp - 0x1ec]
cmp eax, ebx
je 0x46a96e
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004f2965
add esp, 4
mov eax, dword [ebp - 0x218]
cmp eax, ebx
je 0x46a987
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004f2965
add esp, 4
mov eax, dword [esi + 0xcb0]
cmp eax, ebx
je 0x46a9a0
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004f2965
add esp, 4
mov eax, dword [ebp - 0x134]
cmp eax, ebx
je 0x46a9b9
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004f2965
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
call fcn.004d3cb6
mov eax, dword [ebp - 0x94]
add esp, 4
cmp eax, ebx
je 0x46a9dc
lea ecx, [esi + 0xa8]
push ecx
push eax
call fcn.0047c490
mov edi, 0x120
cmp dword [esi + 0x88], edi
ja 0x46aa0e
cmp dword [esi + 0x84], 0x160
jbe 0x46aa0e
mov eax, dword [ebp - 0x1c0]
cmp eax, ebx
je 0x46aa0e
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004f2965
add esp, 4
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2ac], ebx
mov byte [esi + 0x7da0], bl
mov dword [esi + 0x84], 0x160
mov dword [esi + 0x88], edi
mov byte [esi + 0x822], bl
call fcn.004d8c67
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov edx, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esi + 4]
push ecx
push ebx
push 0x1323
push edx
call edi
call fcn.004d8c67
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push esi
push ebx
push 0x415
push ecx
call edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
call fcn.004e3981
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4