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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2106
mov eax, dword fs:[0]
push eax
sub esp, 0x398
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x636fb4]
xor edi, edi
lea esi, [ebp - 0x134]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], edi
call fcn.00405880
mov ebx, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x154], 5
mov dword [ebp - 0x150], edi
mov dword [ebx + 0x2ac], 1
call fcn.00447d90
lea ecx, [ebp - 0xb8]
call fcn.004d4f59
mov dword [ebp - 4], edi
cmp dword [ebx + 0x88], 0x120
mov dword [ebp - 0x8c], edi
ja 0x45d363
cmp dword [ebx + 0x84], 0x160
jbe 0x45d363
push 0xc
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
cmp esi, edi
mov byte [ebp - 4], 1
je 0x45d397
mov edi, dword [ebx + 0x88]
add edi, edi
jmp 0x45d380
push 0xc
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
cmp esi, edi
mov byte [ebp - 4], 2
je 0x45d397
mov edi, dword [ebx + 0x88]
mov eax, dword [ebx + 0x84]
push 8
push eax
push esi
call fcn.0047d420
mov dword [esi], vtable.CJpegEncoder.0
jmp 0x45d399
xor esi, esi
mov byte [ebp - 4], 0
cmp dword [ebx + 0x1a8], 2
mov dword [ebp - 0xa4], esi
jne 0x45d3de
push 0x280
call fcn.004c51db
add esp, 4
test eax, eax
je 0x45d3d7
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x84]
push ecx
push edx
mov esi, eax
call fcn.0047da10
mov dword [ebp - 0x5c], eax
jmp 0x45d422
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp 0x45d422
push 0xc
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
mov byte [ebp - 4], 3
je 0x45d419
mov eax, dword [ebx + 0x84]
mov edi, dword [ebx + 0x88]
push 0xd
push eax
push esi
call fcn.0047d420
mov dword [esi], vtable.CMpeg4Encoder.0
mov dword [esi + 4], 0
jmp 0x45d41b
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
push 0x2c
lea esi, [ebx + 0xcac]
push 0
push esi
mov dword [ebx + 0x1ac], ecx
call fcn.004eaae0
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x84]
add esp, 0xc
push edx
push eax
push 4
mov ebx, esi
call fcn.0047c740
add esp, 0xc
push 0x2c
lea ecx, [ebp - 0x1e4]
push 0
push ecx
call fcn.004eaae0
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 - 0x1e4]
call fcn.0047c740
add esp, 0xc
push 0x2c
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.004eaae0
mov edx, dword [esi + 0x88]
mov eax, dword [esi + 0x84]
add esp, 0xc
push edx
push eax
push 1
lea ebx, [ebp - 0x210]
call fcn.0047c740
add esp, 0xc
xor eax, eax
push 0x2c
lea ecx, [ebp - 0x1e4]
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0x55], al
lea edi, [esi + 0xcd8]
lea eax, [ebp - 0x1b8]
mov edx, ebx
mov ecx, 0xb
lea esi, [ebp - 0x1e4]
push eax
mov dword [ebp - 0x50], edx
rep movsd dword es:[edi], dword [esi]
call fcn.004eaae0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x88]
add esp, 0xc
cmp eax, 0x120
mov dword [ebp - 0xcc], 0xffffffff
ja 0x45d53b
mov ecx, dword [esi + 0x84]
cmp ecx, 0x160
jbe 0x45d53b
lea edx, [eax + eax]
push edx
push ecx
push 1
lea ebx, [ebp - 0x1b8]
call fcn.0047c740
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 - 0x80], eax
call fcn.004c520b
add esp, 4
mov dword [ebp - 0x34], eax
call fcn.0046dcf0
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 - 0x90], eax
call fcn.0046e860
push 0x48
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.004eaae0
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
add esp, 0xc
lea edi, [ebp - 0x284]
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x280], edx
call fcn.0048ca40
push 0x64
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.004eaae0
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
add esp, 0xc
lea esi, [ebp - 0x2ec]
mov dword [ebp - 0x2ec], ecx
mov dword [ebp - 0x2e8], edx
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 1
call fcn.0048cf20
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
mov dword [ebp - 0x148], eax
add eax, 0x10
push eax
mov dword [ebp - 0x144], ecx
call fcn.004e4249
add esp, 4
test eax, eax
je 0x45d64d
lea ecx, [eax + 0xf]
and ecx, 0xfffffff0
cmp ecx, eax
jne 0x45d644
add ecx, 0x10
mov dl, cl
sub dl, al
mov byte [ecx - 1], dl
jmp 0x45d64f
xor ecx, ecx
mov eax, dword [0x636fb0]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x84]
cmp eax, 0x160
mov dword [ebp - 0x138], ecx
jbe 0x45d66f
shr eax, 2
jmp 0x45d671
shr eax, 1
mov edi, dword [esi + 0x88]
cmp edi, 0x120
mov dword [ebp - 0x20], eax
jbe 0x45d687
shr edi, 2
jmp 0x45d689
shr edi, 1
push 0x2c
lea ecx, [ebp - 0x12c]
push 0
push ecx
call fcn.004eaae0
mov edx, dword [ebp - 0x20]
add esp, 0xc
push edi
push edx
push 1
lea ebx, [ebp - 0x12c]
call fcn.0047c740
add esp, 0xc
push 0xc
call fcn.004c51db
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
test ebx, ebx
mov byte [ebp - 4], 4
je 0x45d6dc
mov eax, dword [ebp - 0x20]
push 8
push eax
push ebx
call fcn.0047d420
mov dword [ebx], vtable.CJpegEncoder.0
jmp 0x45d6de
xor ebx, ebx
mov byte [ebp - 4], 0
xor edi, edi
cmp dword [esi + 0x7d74], edi
mov dword [ebp - 0xc4], ebx
mov dword [esi + 0xdcc], edi
mov byte [esi + 0xdd0], 0
je 0x45d723
cmp dword [esi + 0x84], 0x160
ja 0x45d71c
cmp dword [esi + 0x198], edi
jne 0x45d723
cmp dword [esi + 0x7ce4], 5
jae 0x45d723
mov ebx, 1
jmp 0x45d725
xor ebx, ebx
push 0x2c
lea ecx, [ebp - 0x18c]
push edi
push ecx
mov byte [esi + 0x7d78], bl
mov dword [ebp - 0x70], edi
call fcn.004eaae0
add esp, 0xc
test bl, bl
mov byte [ebp - 0x29], 0
mov dword [ebp - 0xd0], edi
jne 0x45d777
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x7ce4]
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ecx
jmp 0x45d8ca
mov eax, dword [esi + 0x84]
cmp eax, 0x160
jbe 0x45d78a
shr eax, 1
mov byte [ebp - 0x29], 1
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x120
jbe 0x45d7a3
shr eax, 1
or byte [ebp - 0x29], 2
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x7ce4]
cmp eax, 5
jae 0x45d7c0
mov dword [esi + 0x98], 6
jmp 0x45d7ce
cmp eax, 8
jae 0x45d7c8
add eax, 2
mov dword [esi + 0x98], eax
cmp dword [esi + 0x1a8], 2
jne 0x45d812
push 0x280
call fcn.004c51db
add esp, 4
cmp eax, edi
je 0x45d808
mov edx, dword [esi + 0x88]
mov ecx, dword [esi + 0x84]
push edx
push ecx
mov esi, eax
call fcn.0047da10
mov esi, dword [ebp + 8]
mov dword [ebp - 0x70], eax
jmp 0x45d892
xor eax, eax
mov dword [ebp - 0x70], eax
jmp 0x45d892
push 0xc
call fcn.004c51db
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
cmp ebx, edi
mov byte [ebp - 4], 5
je 0x45d84f
mov eax, dword [esi + 0x84]
mov edi, dword [esi + 0x88]
push 0xd
push eax
push ebx
call fcn.0047d420
mov dword [ebx], vtable.CMpeg4Encoder.0
mov dword [ebx + 4], 0
xor edi, edi
jmp 0x45d851
xor ebx, ebx
push edi
push 0x61b3e0
push 0x61b2ac
push edi
push ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x70], ebx
call fcn.004e5381
add esp, 0x14
cmp eax, edi
je 0x45d892
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 - 0x18c]
call fcn.0047c740
mov eax, dword [esi + 0x94]
imul eax, dword [esi + 0x90]
lea eax, [eax + eax*2]
shr eax, 1
add esp, 0xc
mov dword [ebp - 0xd0], eax
xor edi, edi
mov ebx, dword [esi + 0x198]
lea edx, [ebx + 1]
test edx, edx
mov dword [ebp - 0x30], edx
fild dword [ebp - 0x30]
jge 0x45d8e3
fadd qword [0x6005c0]
fld qword [0x600570]
fmul st(1)
fadd qword [0x6005a0]
fdivrp st(1)
call fcn.004ecec0
cmp eax, edi
mov dword [ebp - 0xdc], eax
jne 0x45d90c
mov dword [ebp - 0xdc], 1
mov eax, dword [esi + 0x7ce0]
cmp eax, 0xa
jge 0x45d920
mov dword [ebp - 0x7c], 0x48c080
jmp 0x45d964
cmp eax, 0x64
jne 0x45d92e
mov dword [ebp - 0x7c], 0x48bdb0
jmp 0x45d964
cmp eax, 0x12c
jne 0x45d93e
mov dword [ebp - 0x7c], 0x48c080
jmp 0x45d964
cmp eax, 0x190
jne 0x45d94e
mov dword [ebp - 0x7c], 0x48c080
jmp 0x45d964
xor ecx, ecx
cmp eax, 0x1f4
setne cl
sub ecx, 1
and ecx, 0x48c080
mov dword [ebp - 0x7c], ecx
cmp dword [esi + 0x88], 0x120
jbe 0x45d977
mov eax, 1
jmp 0x45d987
mov edx, 0x160
cmp edx, dword [esi + 0x84]
sbb eax, eax
and eax, 2
mov ecx, dword [esi + 0xd14]
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 + 0xd14]
push eax
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_StartChannel_int_]
add esp, 0x24
test eax, eax
jl 0x46018f
cmp dword [esi + 0x7d6c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0xa8], edi
je 0x45da0d
cmp byte [esi + 0x81f], 0
je 0x45da0d
push edi
push edi
push esi
push 0x45ce30
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x7cec], eax
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x90]
call fcn.0046ee60
nop
mov ecx, dword [ebp - 0x7c]
mov edx, dword [esi + 0xd14]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
mov edx, dword [ecx]
lea eax, [ebp - 0x64]
push eax
push edi
push edx
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_GetVideo_unsigned_char___enum_COLORFORMAT__unsigned_long_long_unsigned___int64____int__void__]
add esp, 0x14
cmp eax, edi
mov dword [ebp - 0x24], eax
jge 0x45da52
mov dword [ebp - 4], 0
jmp 0x46018f
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
push edi
push 0x2710
push eax
push ecx
call fcn.004f1fa0
push edi
push 0x5265c00
push edx
push eax
call fcn.005bb9c0
mov dword [ebp - 0xbc], eax
mov eax, dword [esi + 0x2b0]
test al, 2
je 0x45da8b
and eax, 0xfffffffd
mov dword [esi + 0x2b0], eax
mov eax, dword [esi + 0x2b0]
test al, 8
je 0x45dcb6
and eax, 0xfffffff7
xor ebx, ebx
cmp dword [ebp - 0x8c], edi
mov dword [esi + 0x2b0], eax
je 0x45db0c
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x7c]
cmp dword [eax - 0xc], edi
jne 0x45dabf
mov ebx, 1
lea esi, [ebp - 0x310]
call fcn.00405880
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xd8], ecx
sub ecx, dword [ebp - 0x134]
mov dword [ebp - 0xd4], eax
sbb eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x150]
jl 0x45dca7
jg 0x45db01
cmp ecx, dword [ebp - 0x154]
jbe 0x45dca7
cmp ebx, edi
jne 0x45dca7
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x88]
cmp eax, 0x120
mov edx, dword [ebp - 0x50]
ja 0x45db4e
mov ecx, dword [esi + 0x84]
cmp ecx, 0x160
jbe 0x45db4e
mov ebx, dword [ebp - 0x50]
lea edx, [ebp - 0x1b8]
push edx
call fcn.0048b600
add esp, 4
mov dword [ebp - 0x198], 1
lea edx, [ebp - 0x1b8]
xor edi, edi
mov ebx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx]
push edi
push ebx
mov ebx, dword [ebp - 0x34]
push ebx
push edx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x28], eax
call fcn.004c5ee1
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x45db82
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 0x5f510f
call fcn.00416b90
lea ecx, [ebp - 0x160]
push ecx
push esi
call fcn.00447180
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00404e20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45dbe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x20]
push 0x5fd780
push edi
call fcn.004e7b85
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45dc18
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
push ebx
push ecx
push 1
push edx
call fcn.004e7cb2
add esp, 0x10
push ebx
call fcn.004e7db2
add esp, 4
cmp dword [ebp - 0x8c], 0
je 0x45dc6d
call fcn.0044fa90
test eax, eax
je 0x45dc6d
call fcn.004771f0
push ecx
mov esi, eax
lea eax, [edi - 0x10]
mov dword [ebp - 0x30], esp
mov ebx, esp
push eax
call fcn.00405210
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebp - 0x88]
push ecx
add eax, 0x7c
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 9
call fcn.00404bb0
mov byte [ebp - 4], 7
call fcn.00477540
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
lea eax, [edi - 0x10]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dcaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45dcaa
mov esi, dword [ebp + 8]
mov dword [ebp - 0x8c], 0
xor edi, edi
mov eax, dword [esi + 0x2b0]
test al, al
jns 0x45dd17
and eax, 0xffffff7f
cmp byte [esi + 0x2a9], 0
mov dword [esi + 0x2b0], eax
mov dword [ebp - 0xa8], edi
je 0x45dd0f
mov eax, dword [esi + 0x7d28]
cmp eax, edi
je 0x45dd08
mov esi, eax
call fcn.0047cd30
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d28]
push eax
call fcn.004c5206
add esp, 4
mov dword [esi + 0x7d28], edi
call fcn.00446900
mov byte [esi + 0x2a9], 0
call fcn.00447d90
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b0]
test al, 0x40
je 0x45dd70
and eax, 0xffffffbf
cmp byte [esi + 0x2a8], 0
mov dword [esi + 0x2b0], eax
je 0x45dd68
mov eax, dword [esi + 0x7d24]
cmp eax, edi
je 0x45dd61
mov esi, eax
call fcn.0047cd30
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d24]
push eax
call fcn.004c5206
add esp, 4
mov dword [esi + 0x7d24], edi
call fcn.00446900
mov byte [esi + 0x2a8], 0
call fcn.00447d90
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b0]
test al, 0x20
je 0x45e051
and eax, 0xffffffdf
cmp byte [esi + 0x2a9], 0
mov dword [esi + 0x2b0], eax
mov dword [ebp - 0xa8], 1
jne 0x45dfca
mov eax, dword [esi + 0x7d28]
cmp eax, edi
je 0x45ddcc
mov esi, eax
call fcn.0047cd30
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d28]
push eax
call fcn.004c5206
add esp, 4
mov dword [esi + 0x7d28], edi
call fcn.00446900
lea ecx, [ebp - 0x100]
push 0x637a44
push ecx
call fcn.004e4d5c
add esp, 8
cmp eax, edi
jne 0x45ddf1
mov eax, dword [ebp - 0xec]
add eax, 0x76c
jmp 0x45ddf3
xor eax, eax
lea edx, [ebp - 0x100]
push 0x637a44
push edx
mov word [ebp - 0xa0], ax
call fcn.004e4d5c
add esp, 8
cmp eax, edi
jne 0x45de1d
mov eax, dword [ebp - 0xf0]
add eax, 1
jmp 0x45de1f
xor eax, eax
mov byte [ebp - 0x9e], al
lea eax, [ebp - 0x100]
push 0x637a44
push eax
call fcn.004e4d5c
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0x100]
push 0x637a44
push ecx
mov byte [ebp - 0x9d], al
call fcn.004e4d5c
add esp, 0x10
cmp eax, edi
jne 0x45de68
mov eax, dword [ebp - 0xf8]
jmp 0x45de6b
or eax, 0xffffffff
lea edx, [ebp - 0x100]
push 0x637a44
push edx
mov byte [ebp - 0x9c], al
call fcn.004e4d5c
add esp, 8
cmp eax, edi
jne 0x45de91
mov eax, dword [ebp - 0xfc]
jmp 0x45de94
or eax, 0xffffffff
mov byte [ebp - 0x9b], al
lea eax, [ebp - 0x100]
push 0x637a44
push eax
call fcn.004e4d5c
add esp, 8
cmp eax, edi
jne 0x45deba
mov eax, dword [ebp - 0x100]
jmp 0x45debd
or eax, 0xffffffff
push 0x3048
mov byte [ebp - 0x9a], al
mov byte [ebp - 0x99], 0
call fcn.004c51db
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa0]
add esp, 4
push ecx
movzx ecx, byte [esi + 0xa0]
push edx
movzx edx, byte [esi + 0x9c]
mov dword [esi + 0x7d28], eax
movzx eax, byte [esi + 0x1b4]
push eax
movzx eax, word [esi + 0x9e]
push ecx
movzx ecx, byte [esi + 0x1ac]
mov ebx, dword [esi + 0x7d24]
push edx
movzx edx, byte [esi + 0x7ce4]
push eax
mov eax, dword [esi + 0x198]
push ecx
movzx ecx, byte [esi + 0xd44]
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
call fcn.00416b90
push esi
lea ecx, [ebp - 0x15c]
call fcn.00446b90
mov esi, eax
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x45df79
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.004053f0
mov esi, dword [esi]
push esi
mov esi, ebx
call fcn.0047cbd0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
add esp, 0x34
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45dfac
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 + 0xdcc], ebx
mov dword [ebp - 0x84], edi
mov byte [eax + 0x2a9], bl
mov esi, eax
jmp 0x45dfcf
mov ebx, 1
mov dword [ebp - 0x6c], edi
call fcn.00447d90
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b0]
test al, 0x10
je 0x45e235
and eax, 0xffffffef
cmp byte [esi + 0x2a8], 0
mov dword [esi + 0x2b0], eax
jne 0x45e22d
mov eax, dword [esi + 0x7d24]
cmp eax, edi
je 0x45e02c
mov esi, eax
call fcn.0047cd30
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d24]
push eax
call fcn.004c5206
add esp, 4
mov dword [esi + 0x7d24], edi
call fcn.00446900
lea ecx, [ebp - 0x100]
push 0x637a44
push ecx
call fcn.004e4d5c
add esp, 8
cmp eax, edi
jne 0x45e058
mov eax, dword [ebp - 0xec]
add eax, 0x76c
jmp 0x45e05a
mov ebx, 1
jmp 0x45dfda
xor eax, eax
lea edx, [ebp - 0x100]
push 0x637a44
push edx
mov word [ebp - 0x98], ax
call fcn.004e4d5c
add esp, 8
cmp eax, edi
jne 0x45e084
mov eax, dword [ebp - 0xf0]
add eax, 1
jmp 0x45e086
xor eax, eax
mov byte [ebp - 0x96], al
lea eax, [ebp - 0x100]
push 0x637a44
push eax
call fcn.004e4d5c
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0x100]
push 0x637a44
push ecx
mov byte [ebp - 0x95], al
call fcn.004e4d5c
add esp, 0x10
cmp eax, edi
jne 0x45e0cf
mov eax, dword [ebp - 0xf8]
jmp 0x45e0d2
or eax, 0xffffffff
lea edx, [ebp - 0x100]
push 0x637a44
push edx
mov byte [ebp - 0x94], al
call fcn.004e4d5c
add esp, 8
cmp eax, edi
jne 0x45e0f8
mov eax, dword [ebp - 0xfc]
jmp 0x45e0fb
or eax, 0xffffffff
mov byte [ebp - 0x93], al
lea eax, [ebp - 0x100]
push 0x637a44
push eax
call fcn.004e4d5c
add esp, 8
cmp eax, edi
jne 0x45e121
mov eax, dword [ebp - 0x100]
jmp 0x45e124
or eax, 0xffffffff
push 0x3048
mov byte [ebp - 0x92], al
mov byte [ebp - 0x91], 0
call fcn.004c51db
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
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 + 0x7ce4]
push eax
mov eax, dword [esi + 0x198]
push ecx
movzx ecx, byte [esi + 0xd44]
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 0x5f510f
mov dword [esi + 0x7d24], ebx
call fcn.00416b90
push esi
lea ecx, [ebp - 0x158]
call fcn.00446b90
mov esi, eax
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x45e1dc
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.004053f0
mov esi, dword [esi]
push esi
mov esi, ebx
call fcn.0047cbd0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x158]
add eax, 0xfffffff0
add esp, 0x34
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45e20f
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 + 0xdcc], 1
mov dword [ebp - 0x78], edi
mov byte [eax + 0x2a8], 1
mov esi, eax
mov ebx, 1
call fcn.00447d90
mov esi, dword [ebp + 8]
cmp dword [esi + 0x7d70], edi
je 0x45e292
cmp dword [ebp - 0xa8], edi
je 0x45e285
mov edx, dword [ebp - 0xcc]
lea ecx, [ebp - 0xc0]
push ecx
push edx
mov dword [ebp - 0xc0], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0xc0], ebx
jne 0x45e292
push edi
push edi
push edi
push 0x461ea0
push edi
push edi
mov dword [ebp - 0xc0], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xcc], eax
jmp 0x45e292
push ebx
push edi
push 0x5f510f
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [ebp - 0x24], ebx
jne 0x45e2a2
lea ecx, [esi + 0xa8]
jmp 0x45da14
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
add dword [ebp - 0x68], ebx
cmp dword [esi + 0x7ce0], 0xa
mov ecx, dword [ecx + 8]
mov dword [esi + 0xcd8], eax
mov dword [esi + 0xcdc], edx
mov dword [esi + 0xce0], ecx
jge 0x45e36c
mov ecx, dword [esi + 0x84]
cmp ecx, 0x160
jbe 0x45e36c
cmp dword [esi + 0x88], 0x120
jbe 0x45e32d
lea edx, [ecx*8]
push edx
push edi
push eax
call fcn.004eaae0
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0xcdc]
add esp, 0xc
add eax, eax
push eax
push 0x7f
push ecx
call fcn.004eaae0
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0xce0]
add esp, 0xc
add edx, edx
push edx
push 0x7f
push eax
jmp 0x45e364
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
call fcn.004eaae0
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0xcdc]
add esp, 0xc
push edx
push 0x7f
push eax
call fcn.004eaae0
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0xce0]
add esp, 0xc
push ecx
push 0x7f
push edx
call fcn.004eaae0
add esp, 0xc
cmp dword [esi + 0x88], 0x120
jbe 0x45e3b7
cmp dword [esi + 0x1c8], edi
je 0x45e3b7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x148]
mov edi, dword [eax]
mov ebx, dword [ebp - 0x138]
push ecx
push edi
push ebx
call fcn.004f0e70
mov edx, dword [ebp - 0x144]
add esp, 0xc
push ebx
push edx
push edi
mov edi, dword [ebp - 0x148]
call fcn.0048b820
add esp, 0xc
emms
xor edi, edi
movzx ecx, byte [ebp - 0x55]
mov eax, dword [esi + 0x1d0]
cmp eax, ecx
je 0x45e3cb
cmp eax, edi
setne byte [ebp - 0x55]
cmp dword [esi + 0xddc], edi
je 0x45e733
mov eax, dword [esi + 0x88]
cmp eax, 0x120
ja 0x45e627
cmp dword [esi + 0x84], 0x160
ja 0x45e503
cmp dword [esi + 0xd34], 0
jle 0x45e733
mov eax, dword [esi + 0xd34]
mov edi, dword [esi + 0xd3c]
cdq
sub eax, edx
mov ebx, eax
mov eax, edi
sub edi, dword [esi + 0xd34]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0xd38]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [esi + 0xd40]
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 + 0xd38]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20], ecx
lea ecx, [ecx]
cmp edi, dword [esi + 0xd40]
jg 0x45e490
mov eax, dword [esi + 0x84]
mov edx, dword [ebp - 0x28]
imul eax, edi
add eax, dword [esi + 0xd34]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
push edx
push 0x23
push eax
call fcn.004eaae0
add esp, 0xc
add edi, 1
jmp 0x45e460
mov edi, dword [ebp - 0x21c]
cmp edi, dword [ebp - 0x214]
jg 0x45e4c8
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.004eaae0
add esp, 0xc
add edi, 1
jmp 0x45e496
mov edi, dword [ebp - 0x21c]
mov edi, edi
cmp edi, dword [ebp - 0x214]
jg 0x45e733
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.004eaae0
add esp, 0xc
add edi, 1
jmp 0x45e4d0
cmp eax, 0x120
ja 0x45e627
cmp dword [esi + 0x84], 0x2c0
ja 0x45e627
cmp dword [esi + 0xd34], 0
jle 0x45e733
mov eax, dword [esi + 0xd34]
mov ecx, dword [esi + 0xd3c]
lea ebx, [eax + eax]
mov eax, dword [esi + 0xd38]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 0xd40]
lea edi, [ecx + ecx]
sub ecx, dword [esi + 0xd34]
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 + 0xd38]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x20], ecx
lea esp, [esp]
cmp edi, dword [esi + 0xd40]
jg 0x45e5ac
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.004eaae0
add esp, 0xc
add edi, 1
jmp 0x45e580
mov edi, dword [ebp - 0x22c]
cmp edi, dword [ebp - 0x224]
jg 0x45e5e8
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 + 0xd34]
push edx
add eax, dword [ecx + 4]
push 0xd4
push eax
call fcn.004eaae0
add esp, 0xc
add edi, 1
jmp 0x45e5b2
mov edi, dword [ebp - 0x22c]
mov edi, edi
cmp edi, dword [ebp - 0x224]
jg 0x45e733
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 + 0xd34]
push edx
add eax, dword [ecx + 8]
push 0x72
push eax
call fcn.004eaae0
add esp, 0xc
add edi, 1
jmp 0x45e5f0
cmp eax, 0x240
ja 0x45e733
cmp dword [esi + 0x84], 0x2c0
ja 0x45e733
mov eax, dword [esi + 0xd34]
test eax, eax
jle 0x45e733
mov edx, dword [esi + 0xd38]
mov edi, dword [esi + 0xd40]
lea ebx, [eax + eax]
mov eax, dword [esi + 0xd3c]
lea ecx, [eax + eax]
sub eax, dword [esi + 0xd34]
sub ecx, ebx
add edi, edi
add edx, edx
add ecx, 1
add eax, 1
mov dword [ebp - 0x2fc], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
mov edi, edx
cmp edi, dword [ebp - 0x2fc]
jg 0x45e6b4
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.004eaae0
add esp, 0xc
add edi, 1
jmp 0x45e688
mov edi, dword [esi + 0xd38]
lea ebx, [ebx]
cmp edi, dword [esi + 0xd40]
jg 0x45e6f6
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 + 0xd34]
push edx
add eax, dword [ecx + 4]
push 0xd4
push eax
call fcn.004eaae0
add esp, 0xc
add edi, 1
jmp 0x45e6c0
mov edi, dword [esi + 0xd38]
lea esp, [esp]
cmp edi, dword [esi + 0xd40]
jg 0x45e733
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 + 0xd34]
push edx
add eax, dword [ecx + 8]
push 0x72
push eax
call fcn.004eaae0
add esp, 0xc
add edi, 1
jmp 0x45e700
cmp byte [esi + 0x81c], 1
jne 0x45e8ce
mov eax, dword [ebp - 0x68]
xor edx, edx
div dword [ebp - 0xdc]
test edx, edx
jne 0x45e8ce
mov eax, dword [esi + 0xd1c]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x2d4], 1
jne 0x45e775
mov dword [ebp - 0x2c8], 4
jmp 0x45e795
cmp eax, 1
jne 0x45e786
mov dword [ebp - 0x2c8], 0x14
jmp 0x45e795
cmp eax, 2
jne 0x45e795
mov dword [ebp - 0x2c8], 0x64
mov edx, dword [esi + 0xd28]
mov edi, dword [esi + 0xd20]
cmp edx, edi
jle 0x45e85d
mov eax, dword [esi + 0xd2c]
mov ecx, dword [esi + 0xd24]
cmp eax, ecx
jle 0x45e85d
mov ebx, dword [esi + 0x88]
cmp ebx, 0x120
ja 0x45e826
cmp dword [esi + 0x84], 0x160
ja 0x45e7f4
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2b8], eax
jmp 0x45e881
cmp ebx, 0x120
ja 0x45e826
cmp dword [esi + 0x84], 0x2c0
ja 0x45e826
add edi, edi
add edx, edx
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2b8], eax
jmp 0x45e881
cmp ebx, 0x240
ja 0x45e881
cmp dword [esi + 0x84], 0x2c0
ja 0x45e881
add edx, edx
add edi, edi
mov dword [ebp - 0x2c0], edx
add ecx, ecx
lea edx, [eax + eax]
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2b8], edx
jmp 0x45e881
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2b8], ecx
mov edi, dword [ebp - 0x18]
lea edx, [ebp - 0x2ec]
push edi
push edx
call fcn.0048cb90
mov eax, dword [ebp - 0x2cc]
add esp, 8
cmp eax, dword [ebp - 0x2c8]
jle 0x45e8d1
cmp byte [esi + 0x81c], 0
je 0x45e8b2
or dword [esi + 0x2b0], 0x20
cmp dword [esi + 0xd30], 1
jne 0x45e8d1
or dword [esi + 0x2b0], 8
mov dword [ebp - 0x8c], 1
jmp 0x45e8d1
mov edi, dword [ebp - 0x18]
cmp dword [esi + 0x1b8], 1
jne 0x45e960
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x280]
lea edx, [ebp - 0x284]
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.0048c940
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 - 0x284]
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.0048c940
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x18]
mov edx, dword [edx + 8]
add esp, 0x10
lea ecx, [ebp - 0x284]
push ecx
mov ecx, dword [ebp - 0x50]
push 2
push ebx
push eax
mov eax, dword [ecx + 8]
mov ecx, edi
call fcn.0048c940
add esp, 0x10
emms
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x88]
xor ebx, ebx
cmp dword [edx + 0x24], ebx
je 0x45f2a0
call fcn.004c5ee1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x45e98b
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 - 0x2f4]
mov byte [ebp - 4], 0xc
call fcn.00405880
mov ecx, esi
push ecx
mov esi, str._y__m__d__H:_M:_S
lea edi, [ebp - 0x14c]
call fcn.00405a00
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00404e20
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45e9ef
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
lea ebx, [ebx]
cmp eax, dword [ebp - 0x28]
jge 0x45f27a
cmp eax, ebx
jl 0x45f270
cmp eax, dword [ecx - 0xc]
jg 0x45f270
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x88]
cmp edx, 0x240
mov cl, byte [eax + ecx]
jne 0x45eb89
cmp dword [edi + 0x84], 0x2c0
jne 0x45eb89
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45ea58.33
movzx ecx, byte [ecx + 0x4604a4]
jmp dword [ecx*4 + 0x46046c]
mov dword [ebp - 0x3c], 0x633e28
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x634128
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x6318a8
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x630768
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x631368
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x631068
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x633768
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x631f68
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x630be8
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x633a68
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x6332e8
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x630468
jmp case.0x45ea58.33
mov dword [ebp - 0x3c], 0x632e68
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 0x45eb18
xor ecx, ecx
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45eb32
cmp ecx, 0x60
jge 0x45eb2b
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45eb32
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x45f263
xor ecx, ecx
cmp ecx, 0x10
jge 0x45eb84
mov ebx, dword [ebp - 0x3c]
mov esi, edx
shl esi, 4
add esi, ecx
cmp byte [esi + ebx], 0
je 0x45eb7f
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 0x45eb45
add edx, 1
jmp 0x45eb37
cmp edx, 0x120
jne 0x45ee4c
cmp dword [edi + 0x84], 0x2c0
jne 0x45ecf3
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45ebbb.33
movzx ecx, byte [ecx + 0x4604f8]
jmp dword [ecx*4 + 0x4604c0]
mov dword [ebp - 0x48], 0x632ce8
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x632928
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x6335e8
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x6327a8
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x632b68
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x6323e8
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x6302e8
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x631c68
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x632268
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x631728
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x633168
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x632628
jmp case.0x45ebbb.33
mov dword [ebp - 0x48], 0x630a68
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 0x45ec87
mov dword [ebp - 0x1c], ebx
mov dword [edi + eax*4 + 0x828], ebx
jmp 0x45eca4
cmp ecx, 0x60
jge 0x45ec9a
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45eca1
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x45f263
xor ecx, ecx
cmp ecx, 8
jge 0x45ecee
mov ebx, dword [ebp - 0x48]
lea esi, [ecx + edx*8]
cmp byte [esi + ebx], 0
je 0x45ece9
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 0x45ecb4
add edx, 1
jmp 0x45eca6
cmp edx, 0x120
jne 0x45ee4c
cmp dword [edi + 0x84], 0x160
jne 0x45ee4c
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45ed25.33
movzx ecx, byte [ecx + 0x46054c]
jmp dword [ecx*4 + 0x460514]
mov dword [ebp - 0x4c], 0x632568
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x6345a8
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x632aa8
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x630fa8
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x631668
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x6344e8
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x631ea8
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x630228
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x633d68
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x631de8
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x631ba8
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x634428
jmp case.0x45ed25.33
mov dword [ebp - 0x4c], 0x630ee8
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 0x45ede1
mov dword [ebp - 0x1c], ebx
mov dword [edi + eax*4 + 0x828], ebx
jmp 0x45edfe
cmp ecx, 0x60
jge 0x45edf4
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45edfb
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x18
mov dword [ebp - 0x24], edx
jge 0x45f263
xor ecx, ecx
mov edi, edi
cmp ecx, 8
jge 0x45ee47
mov ebx, dword [ebp - 0x4c]
lea esi, [ecx + edx*8]
cmp byte [esi + ebx], 0
je 0x45ee42
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 0x45ee10
add edx, 1
jmp 0x45ee00
cmp edx, 0x1e0
jne 0x45efb4
cmp dword [edi + 0x84], 0x280
jne 0x45efb4
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45ee7e.33
movzx ecx, byte [ecx + 0x4605a0]
jmp dword [ecx*4 + 0x460568]
mov dword [ebp - 0x40], 0x633e28
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x634128
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x6318a8
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x630768
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x631368
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x631068
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x633768
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x631f68
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x630be8
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x633a68
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x6332e8
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x630468
jmp case.0x45ee7e.33
mov dword [ebp - 0x40], 0x632e68
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 0x45ef3e
xor ecx, ecx
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45ef58
cmp ecx, 0x60
jge 0x45ef51
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45ef58
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x45f263
xor ecx, ecx
jmp 0x45ef70
cmp ecx, 0x10
jge 0x45efaf
mov ebx, dword [ebp - 0x40]
mov esi, edx
shl esi, 4
add esi, ecx
cmp byte [esi + ebx], 0
je 0x45efaa
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 0x45ef70
add edx, 1
jmp 0x45ef5d
cmp edx, 0xf0
jne 0x45f263
cmp dword [edi + 0x84], 0x280
jne 0x45f114
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45efe6.33
movzx ecx, byte [ecx + 0x4605f4]
jmp dword [ecx*4 + 0x4605bc]
mov dword [ebp - 0x44], 0x632ce8
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x632928
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x6335e8
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x6327a8
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x632b68
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x6323e8
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x6302e8
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x631c68
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x632268
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x631728
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x633168
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x632628
jmp case.0x45efe6.33
mov dword [ebp - 0x44], 0x630a68
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 0x45f0a8
xor ecx, ecx
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45f0c2
cmp ecx, 0x60
jge 0x45f0bb
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45f0c2
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x45f263
xor ecx, ecx
cmp ecx, 8
jge 0x45f10f
mov ebx, dword [ebp - 0x44]
lea esi, [ecx + edx*8]
cmp byte [esi + ebx], 0
je 0x45f10a
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 0x45f0d5
add edx, 1
jmp 0x45f0c7
cmp edx, 0xf0
jne 0x45f263
cmp dword [edi + 0x84], 0x140
jne 0x45f263
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45f146.33
movzx ecx, byte [ecx + 0x460648]
jmp dword [ecx*4 + 0x460610]
mov dword [ebp - 0x38], 0x632568
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x6345a8
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x632aa8
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x630fa8
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x631668
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x6344e8
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x631ea8
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x630228
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x633d68
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x631de8
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x631ba8
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x634428
jmp case.0x45f146.33
mov dword [ebp - 0x38], 0x630ee8
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 0x45f201
xor ecx, ecx
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45f21b
cmp ecx, 0x60
jge 0x45f214
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45f21b
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor esi, esi
cmp esi, 0x18
jge 0x45f263
xor ecx, ecx
cmp ecx, 8
jge 0x45f25e
mov ebx, dword [ebp - 0x38]
lea edx, [ecx + esi*8]
cmp byte [edx + ebx], 0
je 0x45f259
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 0x45f227
add esi, 1
jmp 0x45f220
mov ecx, dword [ebp - 0x20]
add eax, 1
xor ebx, ebx
jmp 0x45ea00
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 0x45f29a
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 - 0x88]
cmp dword [ecx + 0x28], ebx
je 0x45f4df
mov ecx, dword [esi + 0x88]
cmp ecx, 0x120
jbe 0x45f386
mov eax, dword [esi + 0x84]
cmp eax, 0x160
jbe 0x45f37a
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 0x45f312
xor edx, edx
mov dword [esi + 0x888], edx
jmp 0x45f32a
cmp eax, 0x60
jge 0x45f324
mov edx, 0xff
mov dword [esi + 0x888], edx
jmp 0x45f32a
mov edx, dword [esi + 0x888]
xor ecx, ecx
lea esp, [esp]
cmp ecx, 0x30
jge 0x45f4df
xor eax, eax
jmp 0x45f340
cmp eax, 0x160
jge 0x45f375
mov ebx, ecx
imul ebx, ebx, 0x160
add ebx, eax
cmp byte [ebx + esi + 0x3ae0], 0
je 0x45f370
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 0x45f340
add ecx, 1
jmp 0x45f330
cmp ecx, 0x120
ja 0x45f43a
mov eax, dword [esi + 0x84]
cmp eax, 0x160
jbe 0x45f43a
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 0x45f3d7
xor edx, edx
mov dword [esi + 0x888], edx
jmp 0x45f3ef
cmp eax, 0x60
jge 0x45f3e9
mov edx, 0xff
mov dword [esi + 0x888], edx
jmp 0x45f3ef
mov edx, dword [esi + 0x888]
xor ecx, ecx
cmp ecx, 0x18
jge 0x45f4df
xor eax, eax
lea esp, [esp]
cmp eax, 0x160
jge 0x45f435
mov ebx, ecx
imul ebx, ebx, 0x160
add ebx, eax
cmp byte [ebx + esi + 0x19e0], 0
je 0x45f430
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 0x45f400
add ecx, 1
jmp 0x45f3f1
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 0x45f487
xor edx, edx
mov dword [esi + 0x888], edx
jmp 0x45f49f
cmp eax, 0x60
jge 0x45f499
mov edx, 0xff
mov dword [esi + 0x888], edx
jmp 0x45f49f
mov edx, dword [esi + 0x888]
xor ecx, ecx
cmp ecx, 0x18
jge 0x45f4df
xor eax, eax
cmp eax, 0x80
jge 0x45f4da
mov ebx, ecx
shl ebx, 7
add ebx, eax
cmp byte [ebx + esi + 0xde0], 0
je 0x45f4d5
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 0x45f4a8
add ecx, 1
jmp 0x45f4a1
cmp dword [esi + 0x194], 0
je 0x45f4fe
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x90]
lea edx, [esi + 0xa8]
push edx
push eax
call fcn.0046ec30
cmp byte [esi + 0x7d78], 0
jne 0x45f96c
cmp dword [esi + 0x7d2c], 0
jg 0x45f535
cmp byte [esi + 0x2a8], 0
jne 0x45f535
cmp byte [esi + 0x2a9], 0
jne 0x45f535
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x45ff36
mov eax, dword [ebp - 0x68]
cmp eax, 1
jbe 0x45ff36
mov ecx, dword [esi + 0x7ce4]
cmp ecx, 0xa
jb 0x45f551
mov ecx, 9
xor edx, edx
div dword [ecx*8 + 0x61a5b0]
cmp dword [ecx*8 + 0x61a5b4], 0
je 0x45f56b
test edx, edx
setne al
jmp 0x45f570
test edx, edx
sete al
test al, al
je 0x45ff36
cmp dword [esi + 0xdcc], 0
mov ebx, dword [ebp - 0x5c]
je 0x45f597
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [esi + 0xdcc], 0
mov eax, dword [esi + 0x1c4]
mov ecx, dword [ebp - 0x80]
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 0x45f5cc
mov al, byte [edi + 4]
and al, 0xc0
cmp al, 0xc0
sete al
jmp 0x45f612
cmp ebx, 1
jne 0x45f610
cmp byte [edi], 0xa0
jne 0x45f5fb
cmp byte [edi + 1], 0x10
jne 0x45f5fb
cmp byte [edi + 2], 0
jne 0x45f5fb
cmp byte [edi + 3], 0
jne 0x45f5fb
cmp byte [edi + 7], bl
jne 0x45f610
mov cl, byte [edi + 8]
and cl, 0x1f
cmp cl, bl
je 0x45f610
mov al, bl
jmp 0x45f612
cmp byte [edi + 3], 1
jne 0x45f610
mov dl, byte [edi + 4]
and dl, 0x1f
cmp dl, 1
je 0x45f610
mov al, 1
jmp 0x45f612
xor al, al
cmp dword [ebp - 0x20], 0
movzx ebx, al
mov dword [ebp - 0x30], ebx
jle 0x45ff36
cmp byte [esi + 0x2a8], 0
je 0x45f6d2
cmp dword [esi + 0x7d24], 0
je 0x45f67e
lea edi, [esi + 0x7d0c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x34]
push 1
push ebx
push eax
mov eax, dword [esi + 0x7d24]
call fcn.0047cd90
mov ecx, dword [esi + 0x7d24]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x45f677
call fcn.00446900
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x7d24]
add dword [ebp - 0x78], 1
cmp dword [eax + 0x1c], 0x36ee80
ja 0x45f6cb
cmp dword [eax + 0x3034], 0x400
jae 0x45f6cb
lea edx, [ebp - 0x334]
push 0x637a44
push edx
call fcn.004e4d5c
mov ecx, dword [esi + 0x7d24]
movzx edx, byte [ecx + 0x27]
add esp, 8
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x328]
cmp eax, edx
je 0x45f6d2
or dword [esi + 0x2b0], 0x50
cmp byte [esi + 0x2a9], 0
je 0x45f7bd
cmp dword [esi + 0x7d28], 0
je 0x45f72e
lea edi, [esi + 0x7d0c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x34]
push 1
push ebx
push eax
mov eax, dword [esi + 0x7d28]
call fcn.0047cd90
mov ecx, dword [esi + 0x7d28]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x45f727
call fcn.00446900
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x6c]
add eax, 1
test eax, eax
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
jge 0x45f747
fadd dword [0x600558]
fild dword [esi + 0xd18]
fmul dword [esi + 0x78]
fcompp
fnstsw ax
test ah, 0x41
jp 0x45f763
or dword [esi + 0x2b0], 0x80
mov eax, dword [esi + 0x7d24]
add dword [ebp - 0x84], 1
cmp dword [eax + 0x1c], 0x36ee80
ja 0x45f7b3
cmp dword [eax + 0x3034], 0x400
jae 0x45f7b3
lea edx, [ebp - 0x37c]
push 0x637a44
push edx
call fcn.004e4d5c
mov ecx, dword [esi + 0x7d24]
movzx edx, byte [ecx + 0x27]
add esp, 8
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x370]
cmp eax, edx
je 0x45f7bd
or dword [esi + 0x2b0], 0x80
mov eax, dword [esi + 0x7d2c]
test eax, eax
jle 0x45ff36
xor ebx, ebx
mov dword [ebp - 0x1c], eax
cmp ebx, 0x80
mov dword [ebp - 0x24], ebx
jge 0x45ff36
cmp dword [ebp - 0x1c], 0
jle 0x45ff36
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + ebx*4 + 0xe8]
test eax, eax
je 0x45f93f
mov ecx, dword [eax + 0x24]
cmp ecx, dword [esi + 0x15c]
jne 0x45f93f
mov edx, dword [eax + 0x28]
cmp edx, dword [esi + 0x160]
jne 0x45f93f
mov ecx, dword [eax + 0x2c]
cmp ecx, dword [esi + 0x164]
jne 0x45f93f
sub dword [ebp - 0x1c], 1
cmp dword [ebp - 0x30], 0
mov edi, dword [eax + 0x14]
lea ecx, [eax + 0x14]
je 0x45f947
cmp edi, 0x19
jl 0x45f86e
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.004f0e70
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 - 0x74]
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 0x45f7d0
cmp dword [eax + 0x1c], 0
je 0x45f93f
cmp edi, 0x28
jge 0x45f95d
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
jmp 0x45f87e
mov dword [eax + 0x1c], 0
add ebx, 1
jmp 0x45f7d0
cmp dword [esi + 0x7d2c], 0
jle 0x45fc86
mov eax, dword [ebp - 0x68]
cmp eax, 1
jbe 0x45fc90
mov ecx, dword [esi + 0x98]
cmp ecx, 0xa
jb 0x45f995
mov ecx, 9
xor edx, edx
div dword [ecx*8 + 0x61a5b0]
cmp dword [ecx*8 + 0x61a5b4], 0
je 0x45f9af
test edx, edx
setne al
jmp 0x45f9b4
test edx, edx
sete al
test al, al
je 0x45fc90
mov al, byte [ebp - 0x29]
cmp al, 3
mov edx, dword [ebp - 0x50]
jne 0x45f9eb
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
mov edx, dword [edx]
push eax
mov eax, dword [ebp - 0x18c]
push ecx
push edx
push eax
call dword [0x6689fc]
add esp, 0x10
emms
jmp 0x45fa2d
cmp al, 1
jne 0x45fa14
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
mov edx, dword [edx]
push eax
mov eax, dword [ebp - 0x18c]
push ecx
push edx
push eax
call dword [0x668a1c]
add esp, 0x10
emms
jmp 0x45fa2d
mov ecx, dword [ebp - 0xd0]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp - 0x18c]
push eax
push ecx
call fcn.004f0e70
add esp, 0xc
cmp byte [esi + 0xdd0], 0
mov ebx, dword [ebp - 0x70]
je 0x45fa49
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov byte [esi + 0xdd0], 0
mov eax, dword [esi + 0x1c4]
mov ecx, dword [ebp - 0x80]
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 - 0x18c]
push eax
mov ecx, ebx
call edx
mov ebx, dword [ebx + 4]
test ebx, ebx
mov dword [ebp - 0x20], eax
jne 0x45fa83
mov cl, byte [edi + 4]
and cl, 0xc0
cmp cl, 0xc0
sete cl
jmp 0x45fac9
cmp ebx, 1
jne 0x45fac7
cmp byte [edi], 0xa0
jne 0x45fab2
cmp byte [edi + 1], 0x10
jne 0x45fab2
cmp byte [edi + 2], 0
jne 0x45fab2
cmp byte [edi + 3], 0
jne 0x45fab2
cmp byte [edi + 7], bl
jne 0x45fac7
mov dl, byte [edi + 8]
and dl, 0x1f
cmp dl, bl
je 0x45fac7
mov cl, bl
jmp 0x45fac9
cmp byte [edi + 3], 1
jne 0x45fac7
mov cl, byte [edi + 4]
and cl, 0x1f
cmp cl, 1
je 0x45fac7
mov cl, 1
jmp 0x45fac9
xor cl, cl
test eax, eax
movzx edx, cl
mov dword [ebp - 0x30], edx
jle 0x45fc90
mov eax, dword [esi + 0x7d2c]
test eax, eax
jle 0x45fc90
xor edi, edi
mov edx, eax
lea esp, [esp]
cmp edi, 0x80
jge 0x45fc90
test edx, edx
jle 0x45fc90
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + edi*4 + 0xe8]
test eax, eax
je 0x45fc59
mov ecx, dword [eax + 0x24]
cmp ecx, dword [esi + 0x15c]
jne 0x45fc59
mov ecx, dword [eax + 0x28]
cmp ecx, dword [esi + 0x160]
jne 0x45fc59
mov ecx, dword [eax + 0x2c]
cmp ecx, dword [esi + 0x164]
jne 0x45fc59
mov ebx, dword [eax + 0x14]
sub edx, 1
cmp dword [ebp - 0x30], 0
lea ecx, [eax + 0x14]
mov dword [ebp - 0x1c], edx
je 0x45fc61
cmp ebx, 0x19
jl 0x45fb8b
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.004f0e70
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 - 0x74]
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 0x45faf0
cmp dword [eax + 0x1c], 0
je 0x45fc59
cmp ebx, 0x28
jge 0x45fc77
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
jmp 0x45fb9b
mov dword [eax + 0x1c], 0
add edi, 1
jmp 0x45faf0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp byte [esi + 0x2a8], 0
jne 0x45fcb1
cmp byte [esi + 0x2a9], 0
jne 0x45fcb1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x45ff36
mov eax, dword [ebp - 0x68]
cmp eax, 1
jbe 0x45ff36
mov ecx, dword [esi + 0x7ce4]
cmp ecx, 0xa
jb 0x45fccd
mov ecx, 9
xor edx, edx
div dword [ecx*8 + 0x61a5b0]
cmp dword [ecx*8 + 0x61a5b4], 0
je 0x45fce7
test edx, edx
setne al
jmp 0x45fcec
test edx, edx
sete al
test al, al
je 0x45ff36
cmp dword [esi + 0xdcc], 0
mov ebx, dword [ebp - 0x5c]
je 0x45fd13
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [esi + 0xdcc], 0
mov eax, dword [esi + 0x1c4]
mov ecx, dword [ebp - 0x80]
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 0x45fd48
mov al, byte [edi + 4]
and al, 0xc0
cmp al, 0xc0
sete al
jmp 0x45fd8e
cmp ebx, 1
jne 0x45fd8c
cmp byte [edi], 0xa0
jne 0x45fd77
cmp byte [edi + 1], 0x10
jne 0x45fd77
cmp byte [edi + 2], 0
jne 0x45fd77
cmp byte [edi + 3], 0
jne 0x45fd77
cmp byte [edi + 7], bl
jne 0x45fd8c
mov cl, byte [edi + 8]
and cl, 0x1f
cmp cl, bl
je 0x45fd8c
mov al, bl
jmp 0x45fd8e
cmp byte [edi + 3], 1
jne 0x45fd8c
mov dl, byte [edi + 4]
and dl, 0x1f
cmp dl, 1
je 0x45fd8c
mov al, 1
jmp 0x45fd8e
xor al, al
cmp dword [ebp - 0x20], 0
movzx ebx, al
jle 0x45ff36
cmp byte [esi + 0x2a8], 0
je 0x45fe4b
cmp dword [esi + 0x7d24], 0
je 0x45fdf7
lea edi, [esi + 0x7d0c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x34]
push 1
push ebx
push eax
mov eax, dword [esi + 0x7d24]
call fcn.0047cd90
mov ecx, dword [esi + 0x7d24]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x45fdf0
call fcn.00446900
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x7d24]
add dword [ebp - 0x78], 1
cmp dword [eax + 0x1c], 0x36ee80
ja 0x45fe44
cmp dword [eax + 0x3034], 0x400
jae 0x45fe44
lea edx, [ebp - 0x3a0]
push 0x637a44
push edx
call fcn.004e4d5c
mov ecx, dword [esi + 0x7d24]
movzx edx, byte [ecx + 0x27]
add esp, 8
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x394]
cmp eax, edx
je 0x45fe4b
or dword [esi + 0x2b0], 0x50
cmp byte [esi + 0x2a9], 0
je 0x45ff36
cmp dword [esi + 0x7d28], 0
je 0x45fea7
lea edi, [esi + 0x7d0c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x34]
push 1
push ebx
push eax
mov eax, dword [esi + 0x7d28]
call fcn.0047cd90
mov ecx, dword [esi + 0x7d28]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x45fea0
call fcn.00446900
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x6c]
add eax, 1
test eax, eax
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
mov dword [ebp - 0x6c], eax
jge 0x45fec0
fadd dword [0x600558]
fild dword [esi + 0xd18]
fmul dword [esi + 0x78]
fcompp
fnstsw ax
test ah, 0x41
jp 0x45fedc
or dword [esi + 0x2b0], 0x80
mov eax, dword [esi + 0x7d24]
add dword [ebp - 0x84], 1
cmp dword [eax + 0x1c], 0x36ee80
ja 0x45ff2c
cmp dword [eax + 0x3034], 0x400
jae 0x45ff2c
lea edx, [ebp - 0x358]
push 0x637a44
push edx
call fcn.004e4d5c
mov ecx, dword [esi + 0x7d24]
movzx edx, byte [ecx + 0x27]
add esp, 8
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x34c]
cmp eax, edx
je 0x45ff36
or dword [esi + 0x2b0], 0x80
cmp dword [esi + 0x7d30], 0
mov ebx, dword [ebp - 0xbc]
jle 0x460165
mov ecx, dword [ebp - 0xc8]
mov eax, ebx
sub eax, ecx
cmp ebx, ecx
jae 0x45ff5c
add eax, 0x5265c00
cmp eax, 0x78
jbe 0x460165
cmp dword [esi + 0x84], 0x160
mov dword [ebp - 0xc8], ebx
jbe 0x45ffd3
cmp dword [esi + 0x88], 0x120
jbe 0x45ffab
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x12c]
push eax
call dword [0x668a04]
add esp, 0x10
emms
jmp 0x45fff9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x104]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x108]
push edx
mov edx, dword [ebp - 0x12c]
push ecx
push eax
push edx
call dword [0x668a20]
add esp, 0x10
emms
jmp 0x45fff9
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x12c]
push eax
call dword [0x668a30]
add esp, 0x10
emms
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 0
push eax
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0x12c]
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 - 0x108]
mov word [edi + 4], ax
mov cx, word [ebp - 0x104]
mov word [edi + 6], cx
mov edx, dword [esi + 0x7d30]
xor ecx, ecx
mov dword [ebp - 0x1c], edx
cmp ecx, 4
mov dword [ebp - 0x24], ecx
jge 0x460165
cmp dword [ebp - 0x1c], 0
jle 0x460165
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + ecx*4 + 0x520]
test eax, eax
je 0x46015d
mov edx, dword [eax + 0xc]
cmp edx, dword [esi + 0x15c]
jne 0x46015d
mov edx, dword [eax + 0x10]
cmp edx, dword [esi + 0x160]
jne 0x46015d
mov edx, dword [eax + 0x14]
cmp edx, dword [esi + 0x164]
jne 0x46015d
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 0x5fbc3c
push 0xc8
lea eax, [ecx + eax + 0x2078]
push 0x5f4630
mov dword [ebp - 0x28], eax
add eax, 4
push 0x493e0
push eax
call fcn.004e7140
add esp, 0x1c
test edi, edi
mov ebx, eax
je 0x46011c
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.004f0e70
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 - 0xbc]
add ecx, 1
jmp 0x460054
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x74], ebx
xor edi, edi
jmp 0x45da20
mov edx, dword [esi + 0xd14]
mov edi, dword [ebp - 0x138]
push edx
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_CancelGetAudio_int_]
mov eax, dword [esi + 0x7cec]
add esp, 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x7cec]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
mov dword [esi + 0x7cec], 0
call fcn.00460670
mov edx, dword [esi + 0xd14]
push edx
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_StopChannel_int_]
mov eax, dword [esi + 0xd14]
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 + 0xcd8]
push ebx
push ecx
call fcn.004eaae0
add esp, 0xc
cmp edi, ebx
je 0x460219
movzx edx, byte [edi - 1]
sub edi, edx
push edi
call fcn.004e400f
add esp, 4
mov eax, dword [ebp - 0x2dc]
cmp eax, ebx
je 0x460232
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004e400f
add esp, 4
xor edi, edi
mov eax, dword [ebp + edi*4 - 0x250]
cmp eax, ebx
je 0x46024e
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004e400f
add esp, 4
add edi, 1
cmp edi, 3
jl 0x460234
mov eax, dword [esi + 0x7d24]
cmp eax, ebx
mov byte [esi + 0x2a8], bl
mov byte [esi + 0x2a9], bl
je 0x460290
mov esi, eax
call fcn.0047cd30
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d24]
push eax
call fcn.004c5206
add esp, 4
mov dword [esi + 0x7d24], ebx
call fcn.00446900
mov eax, dword [esi + 0x7d28]
cmp eax, ebx
je 0x4602be
mov esi, eax
call fcn.0047cd30
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d28]
push eax
call fcn.004c5206
add esp, 4
mov dword [esi + 0x7d28], ebx
call fcn.00446900
mov ecx, dword [ebp - 0x5c]
cmp ecx, ebx
je 0x4602cd
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [ebp - 0x70]
cmp ecx, ebx
je 0x4602dc
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [ebp - 0x18c]
cmp eax, ebx
je 0x4602f5
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004e400f
add esp, 4
mov ecx, dword [ebp - 0xa4]
cmp ecx, ebx
je 0x460307
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0xc4]
cmp ecx, ebx
je 0x460319
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [ebp - 0x1e4]
cmp eax, ebx
je 0x460332
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004e400f
add esp, 4
mov eax, dword [ebp - 0x210]
cmp eax, ebx
je 0x46034b
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004e400f
add esp, 4
mov eax, dword [esi + 0xcac]
cmp eax, ebx
je 0x460364
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004e400f
add esp, 4
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x46037d
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004e400f
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
call fcn.004c5206
mov eax, dword [ebp - 0x90]
add esp, 4
cmp eax, ebx
je 0x4603a0
lea ecx, [esi + 0xa8]
push ecx
push eax
call fcn.0046e980
mov edi, 0x120
cmp dword [esi + 0x88], edi
ja 0x4603d2
cmp dword [esi + 0x84], 0x160
jbe 0x4603d2
mov eax, dword [ebp - 0x1b8]
cmp eax, ebx
je 0x4603d2
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004e400f
add esp, 4
mov dword [esi + 0x2b0], ebx
mov dword [esi + 0x2ac], ebx
mov byte [esi + 0x7d78], bl
mov dword [esi + 0x84], 0x160
mov dword [esi + 0x88], edi
mov byte [esi + 0x81e], bl
call fcn.004ca1a2
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.004ca1a2
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 - 0xb8]
mov dword [ebp - 4], 0xffffffff
call fcn.004d502d
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