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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1876
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.00405890
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.00447520
lea ecx, [ebp - 0xb8]
call fcn.004d4719
mov dword [ebp - 4], edi
cmp dword [ebx + 0x88], 0x120
mov dword [ebp - 0x8c], edi
ja 0x45cb03
cmp dword [ebx + 0x84], 0x160
jbe 0x45cb03
push 0xc
call fcn.004c495b
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
cmp esi, edi
mov byte [ebp - 4], 1
je 0x45cb37
mov edi, dword [ebx + 0x88]
add edi, edi
jmp 0x45cb20
push 0xc
call fcn.004c495b
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
cmp esi, edi
mov byte [ebp - 4], 2
je 0x45cb37
mov edi, dword [ebx + 0x88]
mov eax, dword [ebx + 0x84]
push 8
push eax
push esi
call fcn.0047cba0
mov dword [esi], vtable.CJpegEncoder.0
jmp 0x45cb39
xor esi, esi
mov byte [ebp - 4], 0
cmp dword [ebx + 0x1a8], 2
mov dword [ebp - 0xa4], esi
jne 0x45cb7e
push 0x280
call fcn.004c495b
add esp, 4
test eax, eax
je 0x45cb77
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x84]
push ecx
push edx
mov esi, eax
call fcn.0047d190
mov dword [ebp - 0x5c], eax
jmp 0x45cbc2
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp 0x45cbc2
push 0xc
call fcn.004c495b
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
mov byte [ebp - 4], 3
je 0x45cbb9
mov eax, dword [ebx + 0x84]
mov edi, dword [ebx + 0x88]
push 0xd
push eax
push esi
call fcn.0047cba0
mov dword [esi], vtable.CMpeg4Encoder.0
mov dword [esi + 4], 0
jmp 0x45cbbb
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.004ea260
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x84]
add esp, 0xc
push edx
push eax
push 4
mov ebx, esi
call fcn.0047bee0
add esp, 0xc
push 0x2c
lea ecx, [ebp - 0x1e4]
push 0
push ecx
call fcn.004ea260
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.0047bee0
add esp, 0xc
push 0x2c
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.004ea260
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.0047bee0
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.004ea260
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x88]
add esp, 0xc
cmp eax, 0x120
mov dword [ebp - 0xcc], 0xffffffff
ja 0x45ccdb
mov ecx, dword [esi + 0x84]
cmp ecx, 0x160
jbe 0x45ccdb
lea edx, [eax + eax]
push edx
push ecx
push 1
lea ebx, [ebp - 0x1b8]
call fcn.0047bee0
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.004c498b
add esp, 4
mov dword [ebp - 0x34], eax
call fcn.0046d490
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.0046e000
push 0x48
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.004ea260
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.0048c1c0
push 0x64
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.004ea260
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.0048c6a0
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.004e39c9
add esp, 4
test eax, eax
je 0x45cded
lea ecx, [eax + 0xf]
and ecx, 0xfffffff0
cmp ecx, eax
jne 0x45cde4
add ecx, 0x10
mov dl, cl
sub dl, al
mov byte [ecx - 1], dl
jmp 0x45cdef
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 0x45ce0f
shr eax, 2
jmp 0x45ce11
shr eax, 1
mov edi, dword [esi + 0x88]
cmp edi, 0x120
mov dword [ebp - 0x20], eax
jbe 0x45ce27
shr edi, 2
jmp 0x45ce29
shr edi, 1
push 0x2c
lea ecx, [ebp - 0x12c]
push 0
push ecx
call fcn.004ea260
mov edx, dword [ebp - 0x20]
add esp, 0xc
push edi
push edx
push 1
lea ebx, [ebp - 0x12c]
call fcn.0047bee0
add esp, 0xc
push 0xc
call fcn.004c495b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
test ebx, ebx
mov byte [ebp - 4], 4
je 0x45ce7c
mov eax, dword [ebp - 0x20]
push 8
push eax
push ebx
call fcn.0047cba0
mov dword [ebx], vtable.CJpegEncoder.0
jmp 0x45ce7e
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 0x45cec3
cmp dword [esi + 0x84], 0x160
ja 0x45cebc
cmp dword [esi + 0x198], edi
jne 0x45cec3
cmp dword [esi + 0x7ce4], 5
jae 0x45cec3
mov ebx, 1
jmp 0x45cec5
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.004ea260
add esp, 0xc
test bl, bl
mov byte [ebp - 0x29], 0
mov dword [ebp - 0xd0], edi
jne 0x45cf17
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 0x45d06a
mov eax, dword [esi + 0x84]
cmp eax, 0x160
jbe 0x45cf2a
shr eax, 1
mov byte [ebp - 0x29], 1
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x120
jbe 0x45cf43
shr eax, 1
or byte [ebp - 0x29], 2
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x7ce4]
cmp eax, 5
jae 0x45cf60
mov dword [esi + 0x98], 6
jmp 0x45cf6e
cmp eax, 8
jae 0x45cf68
add eax, 2
mov dword [esi + 0x98], eax
cmp dword [esi + 0x1a8], 2
jne 0x45cfb2
push 0x280
call fcn.004c495b
add esp, 4
cmp eax, edi
je 0x45cfa8
mov edx, dword [esi + 0x88]
mov ecx, dword [esi + 0x84]
push edx
push ecx
mov esi, eax
call fcn.0047d190
mov esi, dword [ebp + 8]
mov dword [ebp - 0x70], eax
jmp 0x45d032
xor eax, eax
mov dword [ebp - 0x70], eax
jmp 0x45d032
push 0xc
call fcn.004c495b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
cmp ebx, edi
mov byte [ebp - 4], 5
je 0x45cfef
mov eax, dword [esi + 0x84]
mov edi, dword [esi + 0x88]
push 0xd
push eax
push ebx
call fcn.0047cba0
mov dword [ebx], vtable.CMpeg4Encoder.0
mov dword [ebx + 4], 0
xor edi, edi
jmp 0x45cff1
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.004e4b01
add esp, 0x14
cmp eax, edi
je 0x45d032
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.0047bee0
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 0x45d083
fadd qword [0x600588]
fld qword [0x600548]
fmul st(1)
fadd qword [0x5d2190]
fdivrp st(1)
call fcn.004ec640
cmp eax, edi
mov dword [ebp - 0xdc], eax
jne 0x45d0ac
mov dword [ebp - 0xdc], 1
mov eax, dword [esi + 0x7ce0]
cmp eax, 0xa
jge 0x45d0c0
mov dword [ebp - 0x7c], 0x48b800
jmp 0x45d104
cmp eax, 0x64
jne 0x45d0ce
mov dword [ebp - 0x7c], 0x48b530
jmp 0x45d104
cmp eax, 0x12c
jne 0x45d0de
mov dword [ebp - 0x7c], 0x48b800
jmp 0x45d104
cmp eax, 0x190
jne 0x45d0ee
mov dword [ebp - 0x7c], 0x48b800
jmp 0x45d104
xor ecx, ecx
cmp eax, 0x1f4
setne cl
sub ecx, 1
and ecx, 0x48b800
mov dword [ebp - 0x7c], ecx
cmp dword [esi + 0x88], 0x120
jbe 0x45d117
mov eax, 1
jmp 0x45d127
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 0x45f92f
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 0x45d1ad
cmp byte [esi + 0x81f], 0
je 0x45d1ad
push edi
push edi
push esi
push 0x45c5d0
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.0046e600
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 0x45d1f2
mov dword [ebp - 4], 0
jmp 0x45f92f
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
push edi
push 0x2710
push eax
push ecx
call fcn.004f1720
push edi
push 0x5265c00
push edx
push eax
call fcn.005bb140
mov dword [ebp - 0xbc], eax
mov eax, dword [esi + 0x2b0]
test al, 2
je 0x45d22b
and eax, 0xfffffffd
mov dword [esi + 0x2b0], eax
mov eax, dword [esi + 0x2b0]
test al, 8
je 0x45d456
and eax, 0xfffffff7
xor ebx, ebx
cmp dword [ebp - 0x8c], edi
mov dword [esi + 0x2b0], eax
je 0x45d2ac
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x7c]
cmp dword [eax - 0xc], edi
jne 0x45d25f
mov ebx, 1
lea esi, [ebp - 0x310]
call fcn.00405890
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 0x45d447
jg 0x45d2a1
cmp ecx, dword [ebp - 0x154]
jbe 0x45d447
cmp ebx, edi
jne 0x45d447
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x88]
cmp eax, 0x120
mov edx, dword [ebp - 0x50]
ja 0x45d2ee
mov ecx, dword [esi + 0x84]
cmp ecx, 0x160
jbe 0x45d2ee
mov ebx, dword [ebp - 0x50]
lea edx, [ebp - 0x1b8]
push edx
call fcn.0048ad80
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.004c5661
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x45d322
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 0x5f50ef
call fcn.00416360
lea ecx, [ebp - 0x160]
push ecx
push esi
call fcn.00446910
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00404e30
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 0x45d385
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x20]
push 0x5fd778
push edi
call fcn.004e7305
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45d3b8
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
push ebx
push ecx
push 1
push edx
call fcn.004e7432
add esp, 0x10
push ebx
call fcn.004e7532
add esp, 4
cmp dword [ebp - 0x8c], 0
je 0x45d40d
call fcn.0044f210
test eax, eax
je 0x45d40d
call fcn.00476990
push ecx
mov esi, eax
lea eax, [edi - 0x10]
mov dword [ebp - 0x30], esp
mov ebx, esp
push eax
call fcn.00405220
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.00404bc0
mov byte [ebp - 4], 7
call fcn.00476ce0
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 0x45d44a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45d44a
mov esi, dword [ebp + 8]
mov dword [ebp - 0x8c], 0
xor edi, edi
mov eax, dword [esi + 0x2b0]
test al, al
jns 0x45d4b7
and eax, 0xffffff7f
cmp byte [esi + 0x2a9], 0
mov dword [esi + 0x2b0], eax
mov dword [ebp - 0xa8], edi
je 0x45d4af
mov eax, dword [esi + 0x7d28]
cmp eax, edi
je 0x45d4a8
mov esi, eax
call fcn.0047c4d0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d28]
push eax
call fcn.004c4986
add esp, 4
mov dword [esi + 0x7d28], edi
call fcn.00446090
mov byte [esi + 0x2a9], 0
call fcn.00447520
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b0]
test al, 0x40
je 0x45d510
and eax, 0xffffffbf
cmp byte [esi + 0x2a8], 0
mov dword [esi + 0x2b0], eax
je 0x45d508
mov eax, dword [esi + 0x7d24]
cmp eax, edi
je 0x45d501
mov esi, eax
call fcn.0047c4d0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d24]
push eax
call fcn.004c4986
add esp, 4
mov dword [esi + 0x7d24], edi
call fcn.00446090
mov byte [esi + 0x2a8], 0
call fcn.00447520
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b0]
test al, 0x20
je 0x45d7f1
and eax, 0xffffffdf
cmp byte [esi + 0x2a9], 0
mov dword [esi + 0x2b0], eax
mov dword [ebp - 0xa8], 1
jne 0x45d76a
mov eax, dword [esi + 0x7d28]
cmp eax, edi
je 0x45d56c
mov esi, eax
call fcn.0047c4d0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d28]
push eax
call fcn.004c4986
add esp, 4
mov dword [esi + 0x7d28], edi
call fcn.00446090
lea ecx, [ebp - 0x100]
push 0x637a44
push ecx
call fcn.004e44dc
add esp, 8
cmp eax, edi
jne 0x45d591
mov eax, dword [ebp - 0xec]
add eax, 0x76c
jmp 0x45d593
xor eax, eax
lea edx, [ebp - 0x100]
push 0x637a44
push edx
mov word [ebp - 0xa0], ax
call fcn.004e44dc
add esp, 8
cmp eax, edi
jne 0x45d5bd
mov eax, dword [ebp - 0xf0]
add eax, 1
jmp 0x45d5bf
xor eax, eax
mov byte [ebp - 0x9e], al
lea eax, [ebp - 0x100]
push 0x637a44
push eax
call fcn.004e44dc
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.004e44dc
add esp, 0x10
cmp eax, edi
jne 0x45d608
mov eax, dword [ebp - 0xf8]
jmp 0x45d60b
or eax, 0xffffffff
lea edx, [ebp - 0x100]
push 0x637a44
push edx
mov byte [ebp - 0x9c], al
call fcn.004e44dc
add esp, 8
cmp eax, edi
jne 0x45d631
mov eax, dword [ebp - 0xfc]
jmp 0x45d634
or eax, 0xffffffff
mov byte [ebp - 0x9b], al
lea eax, [ebp - 0x100]
push 0x637a44
push eax
call fcn.004e44dc
add esp, 8
cmp eax, edi
jne 0x45d65a
mov eax, dword [ebp - 0x100]
jmp 0x45d65d
or eax, 0xffffffff
push 0x3048
mov byte [ebp - 0x9a], al
mov byte [ebp - 0x99], 0
call fcn.004c495b
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.00416360
push esi
lea ecx, [ebp - 0x15c]
call fcn.00446320
mov esi, eax
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x45d719
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00405400
mov esi, dword [esi]
push esi
mov esi, ebx
call fcn.0047c370
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 0x45d74c
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 0x45d76f
mov ebx, 1
mov dword [ebp - 0x6c], edi
call fcn.00447520
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b0]
test al, 0x10
je 0x45d9d5
and eax, 0xffffffef
cmp byte [esi + 0x2a8], 0
mov dword [esi + 0x2b0], eax
jne 0x45d9cd
mov eax, dword [esi + 0x7d24]
cmp eax, edi
je 0x45d7cc
mov esi, eax
call fcn.0047c4d0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d24]
push eax
call fcn.004c4986
add esp, 4
mov dword [esi + 0x7d24], edi
call fcn.00446090
lea ecx, [ebp - 0x100]
push 0x637a44
push ecx
call fcn.004e44dc
add esp, 8
cmp eax, edi
jne 0x45d7f8
mov eax, dword [ebp - 0xec]
add eax, 0x76c
jmp 0x45d7fa
mov ebx, 1
jmp 0x45d77a
xor eax, eax
lea edx, [ebp - 0x100]
push 0x637a44
push edx
mov word [ebp - 0x98], ax
call fcn.004e44dc
add esp, 8
cmp eax, edi
jne 0x45d824
mov eax, dword [ebp - 0xf0]
add eax, 1
jmp 0x45d826
xor eax, eax
mov byte [ebp - 0x96], al
lea eax, [ebp - 0x100]
push 0x637a44
push eax
call fcn.004e44dc
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.004e44dc
add esp, 0x10
cmp eax, edi
jne 0x45d86f
mov eax, dword [ebp - 0xf8]
jmp 0x45d872
or eax, 0xffffffff
lea edx, [ebp - 0x100]
push 0x637a44
push edx
mov byte [ebp - 0x94], al
call fcn.004e44dc
add esp, 8
cmp eax, edi
jne 0x45d898
mov eax, dword [ebp - 0xfc]
jmp 0x45d89b
or eax, 0xffffffff
mov byte [ebp - 0x93], al
lea eax, [ebp - 0x100]
push 0x637a44
push eax
call fcn.004e44dc
add esp, 8
cmp eax, edi
jne 0x45d8c1
mov eax, dword [ebp - 0x100]
jmp 0x45d8c4
or eax, 0xffffffff
push 0x3048
mov byte [ebp - 0x92], al
mov byte [ebp - 0x91], 0
call fcn.004c495b
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 0x5f50ef
mov dword [esi + 0x7d24], ebx
call fcn.00416360
push esi
lea ecx, [ebp - 0x158]
call fcn.00446320
mov esi, eax
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x45d97c
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00405400
mov esi, dword [esi]
push esi
mov esi, ebx
call fcn.0047c370
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 0x45d9af
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.00447520
mov esi, dword [ebp + 8]
cmp dword [esi + 0x7d70], edi
je 0x45da32
cmp dword [ebp - 0xa8], edi
je 0x45da25
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 0x45da32
push edi
push edi
push edi
push 0x461640
push edi
push edi
mov dword [ebp - 0xc0], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xcc], eax
jmp 0x45da32
push ebx
push edi
push 0x5f50ef
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [ebp - 0x24], ebx
jne 0x45da42
lea ecx, [esi + 0xa8]
jmp 0x45d1b4
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 0x45db0c
mov ecx, dword [esi + 0x84]
cmp ecx, 0x160
jbe 0x45db0c
cmp dword [esi + 0x88], 0x120
jbe 0x45dacd
lea edx, [ecx*8]
push edx
push edi
push eax
call fcn.004ea260
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0xcdc]
add esp, 0xc
add eax, eax
push eax
push 0x7f
push ecx
call fcn.004ea260
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0xce0]
add esp, 0xc
add edx, edx
push edx
push 0x7f
push eax
jmp 0x45db04
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
call fcn.004ea260
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0xcdc]
add esp, 0xc
push edx
push 0x7f
push eax
call fcn.004ea260
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0xce0]
add esp, 0xc
push ecx
push 0x7f
push edx
call fcn.004ea260
add esp, 0xc
cmp dword [esi + 0x88], 0x120
jbe 0x45db57
cmp dword [esi + 0x1c8], edi
je 0x45db57
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.004f05f0
mov edx, dword [ebp - 0x144]
add esp, 0xc
push ebx
push edx
push edi
mov edi, dword [ebp - 0x148]
call fcn.0048afa0
add esp, 0xc
emms
xor edi, edi
movzx ecx, byte [ebp - 0x55]
mov eax, dword [esi + 0x1d0]
cmp eax, ecx
je 0x45db6b
cmp eax, edi
setne byte [ebp - 0x55]
cmp dword [esi + 0xddc], edi
je 0x45ded3
mov eax, dword [esi + 0x88]
cmp eax, 0x120
ja 0x45ddc7
cmp dword [esi + 0x84], 0x160
ja 0x45dca3
cmp dword [esi + 0xd34], 0
jle 0x45ded3
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 0x45dc30
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.004ea260
add esp, 0xc
add edi, 1
jmp 0x45dc00
mov edi, dword [ebp - 0x21c]
cmp edi, dword [ebp - 0x214]
jg 0x45dc68
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.004ea260
add esp, 0xc
add edi, 1
jmp 0x45dc36
mov edi, dword [ebp - 0x21c]
mov edi, edi
cmp edi, dword [ebp - 0x214]
jg 0x45ded3
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.004ea260
add esp, 0xc
add edi, 1
jmp 0x45dc70
cmp eax, 0x120
ja 0x45ddc7
cmp dword [esi + 0x84], 0x2c0
ja 0x45ddc7
cmp dword [esi + 0xd34], 0
jle 0x45ded3
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 0x45dd4c
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.004ea260
add esp, 0xc
add edi, 1
jmp 0x45dd20
mov edi, dword [ebp - 0x22c]
cmp edi, dword [ebp - 0x224]
jg 0x45dd88
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.004ea260
add esp, 0xc
add edi, 1
jmp 0x45dd52
mov edi, dword [ebp - 0x22c]
mov edi, edi
cmp edi, dword [ebp - 0x224]
jg 0x45ded3
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.004ea260
add esp, 0xc
add edi, 1
jmp 0x45dd90
cmp eax, 0x240
ja 0x45ded3
cmp dword [esi + 0x84], 0x2c0
ja 0x45ded3
mov eax, dword [esi + 0xd34]
test eax, eax
jle 0x45ded3
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 0x45de54
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.004ea260
add esp, 0xc
add edi, 1
jmp 0x45de28
mov edi, dword [esi + 0xd38]
lea ebx, [ebx]
cmp edi, dword [esi + 0xd40]
jg 0x45de96
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.004ea260
add esp, 0xc
add edi, 1
jmp 0x45de60
mov edi, dword [esi + 0xd38]
lea esp, [esp]
cmp edi, dword [esi + 0xd40]
jg 0x45ded3
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.004ea260
add esp, 0xc
add edi, 1
jmp 0x45dea0
cmp byte [esi + 0x81c], 1
jne 0x45e06e
mov eax, dword [ebp - 0x68]
xor edx, edx
div dword [ebp - 0xdc]
test edx, edx
jne 0x45e06e
mov eax, dword [esi + 0xd1c]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x2d4], 1
jne 0x45df15
mov dword [ebp - 0x2c8], 4
jmp 0x45df35
cmp eax, 1
jne 0x45df26
mov dword [ebp - 0x2c8], 0x14
jmp 0x45df35
cmp eax, 2
jne 0x45df35
mov dword [ebp - 0x2c8], 0x64
mov edx, dword [esi + 0xd28]
mov edi, dword [esi + 0xd20]
cmp edx, edi
jle 0x45dffd
mov eax, dword [esi + 0xd2c]
mov ecx, dword [esi + 0xd24]
cmp eax, ecx
jle 0x45dffd
mov ebx, dword [esi + 0x88]
cmp ebx, 0x120
ja 0x45dfc6
cmp dword [esi + 0x84], 0x160
ja 0x45df94
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2b8], eax
jmp 0x45e021
cmp ebx, 0x120
ja 0x45dfc6
cmp dword [esi + 0x84], 0x2c0
ja 0x45dfc6
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 0x45e021
cmp ebx, 0x240
ja 0x45e021
cmp dword [esi + 0x84], 0x2c0
ja 0x45e021
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 0x45e021
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.0048c310
mov eax, dword [ebp - 0x2cc]
add esp, 8
cmp eax, dword [ebp - 0x2c8]
jle 0x45e071
cmp byte [esi + 0x81c], 0
je 0x45e052
or dword [esi + 0x2b0], 0x20
cmp dword [esi + 0xd30], 1
jne 0x45e071
or dword [esi + 0x2b0], 8
mov dword [ebp - 0x8c], 1
jmp 0x45e071
mov edi, dword [ebp - 0x18]
cmp dword [esi + 0x1b8], 1
jne 0x45e100
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.0048c0c0
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.0048c0c0
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.0048c0c0
add esp, 0x10
emms
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x88]
xor ebx, ebx
cmp dword [edx + 0x24], ebx
je 0x45ea40
call fcn.004c5661
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x45e12b
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.00405890
mov ecx, esi
push ecx
mov esi, str._y__m__d__H:_M:_S
lea edi, [ebp - 0x14c]
call fcn.00405a10
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00404e30
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 0x45e18f
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 0x45ea1a
cmp eax, ebx
jl 0x45ea10
cmp eax, dword [ecx - 0xc]
jg 0x45ea10
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x88]
cmp edx, 0x240
mov cl, byte [eax + ecx]
jne 0x45e329
cmp dword [edi + 0x84], 0x2c0
jne 0x45e329
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45e1f8.33
movzx ecx, byte [ecx + 0x45fc44]
jmp dword [ecx*4 + 0x45fc0c]
mov dword [ebp - 0x3c], 0x633e28
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x634128
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x6318a8
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x630768
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x631368
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x631068
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x633768
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x631f68
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x630be8
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x633a68
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x6332e8
jmp case.0x45e1f8.33
mov dword [ebp - 0x3c], 0x630468
jmp case.0x45e1f8.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 0x45e2b8
xor ecx, ecx
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e2d2
cmp ecx, 0x60
jge 0x45e2cb
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e2d2
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x45ea03
xor ecx, ecx
cmp ecx, 0x10
jge 0x45e324
mov ebx, dword [ebp - 0x3c]
mov esi, edx
shl esi, 4
add esi, ecx
cmp byte [esi + ebx], 0
je 0x45e31f
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 0x45e2e5
add edx, 1
jmp 0x45e2d7
cmp edx, 0x120
jne 0x45e5ec
cmp dword [edi + 0x84], 0x2c0
jne 0x45e493
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45e35b.33
movzx ecx, byte [ecx + 0x45fc98]
jmp dword [ecx*4 + 0x45fc60]
mov dword [ebp - 0x48], 0x632ce8
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x632928
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x6335e8
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x6327a8
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x632b68
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x6323e8
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x6302e8
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x631c68
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x632268
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x631728
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x633168
jmp case.0x45e35b.33
mov dword [ebp - 0x48], 0x632628
jmp case.0x45e35b.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 0x45e427
mov dword [ebp - 0x1c], ebx
mov dword [edi + eax*4 + 0x828], ebx
jmp 0x45e444
cmp ecx, 0x60
jge 0x45e43a
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e441
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x45ea03
xor ecx, ecx
cmp ecx, 8
jge 0x45e48e
mov ebx, dword [ebp - 0x48]
lea esi, [ecx + edx*8]
cmp byte [esi + ebx], 0
je 0x45e489
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 0x45e454
add edx, 1
jmp 0x45e446
cmp edx, 0x120
jne 0x45e5ec
cmp dword [edi + 0x84], 0x160
jne 0x45e5ec
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45e4c5.33
movzx ecx, byte [ecx + 0x45fcec]
jmp dword [ecx*4 + 0x45fcb4]
mov dword [ebp - 0x4c], 0x632568
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x6345a8
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x632aa8
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x630fa8
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x631668
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x6344e8
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x631ea8
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x630228
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x633d68
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x631de8
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x631ba8
jmp case.0x45e4c5.33
mov dword [ebp - 0x4c], 0x634428
jmp case.0x45e4c5.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 0x45e581
mov dword [ebp - 0x1c], ebx
mov dword [edi + eax*4 + 0x828], ebx
jmp 0x45e59e
cmp ecx, 0x60
jge 0x45e594
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e59b
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x18
mov dword [ebp - 0x24], edx
jge 0x45ea03
xor ecx, ecx
mov edi, edi
cmp ecx, 8
jge 0x45e5e7
mov ebx, dword [ebp - 0x4c]
lea esi, [ecx + edx*8]
cmp byte [esi + ebx], 0
je 0x45e5e2
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 0x45e5b0
add edx, 1
jmp 0x45e5a0
cmp edx, 0x1e0
jne 0x45e754
cmp dword [edi + 0x84], 0x280
jne 0x45e754
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45e61e.33
movzx ecx, byte [ecx + 0x45fd40]
jmp dword [ecx*4 + 0x45fd08]
mov dword [ebp - 0x40], 0x633e28
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x634128
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x6318a8
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x630768
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x631368
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x631068
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x633768
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x631f68
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x630be8
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x633a68
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x6332e8
jmp case.0x45e61e.33
mov dword [ebp - 0x40], 0x630468
jmp case.0x45e61e.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 0x45e6de
xor ecx, ecx
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e6f8
cmp ecx, 0x60
jge 0x45e6f1
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e6f8
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x45ea03
xor ecx, ecx
jmp 0x45e710
cmp ecx, 0x10
jge 0x45e74f
mov ebx, dword [ebp - 0x40]
mov esi, edx
shl esi, 4
add esi, ecx
cmp byte [esi + ebx], 0
je 0x45e74a
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 0x45e710
add edx, 1
jmp 0x45e6fd
cmp edx, 0xf0
jne 0x45ea03
cmp dword [edi + 0x84], 0x280
jne 0x45e8b4
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45e786.33
movzx ecx, byte [ecx + 0x45fd94]
jmp dword [ecx*4 + 0x45fd5c]
mov dword [ebp - 0x44], 0x632ce8
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x632928
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x6335e8
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x6327a8
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x632b68
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x6323e8
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x6302e8
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x631c68
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x632268
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x631728
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x633168
jmp case.0x45e786.33
mov dword [ebp - 0x44], 0x632628
jmp case.0x45e786.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 0x45e848
xor ecx, ecx
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e862
cmp ecx, 0x60
jge 0x45e85b
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e862
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp edx, 0x30
mov dword [ebp - 0x24], edx
jge 0x45ea03
xor ecx, ecx
cmp ecx, 8
jge 0x45e8af
mov ebx, dword [ebp - 0x44]
lea esi, [ecx + edx*8]
cmp byte [esi + ebx], 0
je 0x45e8aa
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 0x45e875
add edx, 1
jmp 0x45e867
cmp edx, 0xf0
jne 0x45ea03
cmp dword [edi + 0x84], 0x140
jne 0x45ea03
movsx ecx, cl
add ecx, 0xffffffe0
cmp ecx, 0x1a
ja case.0x45e8e6.33
movzx ecx, byte [ecx + 0x45fde8]
jmp dword [ecx*4 + 0x45fdb0]
mov dword [ebp - 0x38], 0x632568
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x6345a8
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x632aa8
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x630fa8
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x631668
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x6344e8
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x631ea8
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x630228
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x633d68
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x631de8
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x631ba8
jmp case.0x45e8e6.33
mov dword [ebp - 0x38], 0x634428
jmp case.0x45e8e6.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 0x45e9a1
xor ecx, ecx
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e9bb
cmp ecx, 0x60
jge 0x45e9b4
mov ecx, 0xff
mov dword [edi + eax*4 + 0x828], ecx
jmp 0x45e9bb
mov ecx, dword [edi + eax*4 + 0x828]
mov dword [ebp - 0x1c], ecx
xor esi, esi
cmp esi, 0x18
jge 0x45ea03
xor ecx, ecx
cmp ecx, 8
jge 0x45e9fe
mov ebx, dword [ebp - 0x38]
lea edx, [ecx + esi*8]
cmp byte [edx + ebx], 0
je 0x45e9f9
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 0x45e9c7
add esi, 1
jmp 0x45e9c0
mov ecx, dword [ebp - 0x20]
add eax, 1
xor ebx, ebx
jmp 0x45e1a0
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 0x45ea3a
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 0x45ec7f
mov ecx, dword [esi + 0x88]
cmp ecx, 0x120
jbe 0x45eb26
mov eax, dword [esi + 0x84]
cmp eax, 0x160
jbe 0x45eb1a
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 0x45eab2
xor edx, edx
mov dword [esi + 0x888], edx
jmp 0x45eaca
cmp eax, 0x60
jge 0x45eac4
mov edx, 0xff
mov dword [esi + 0x888], edx
jmp 0x45eaca
mov edx, dword [esi + 0x888]
xor ecx, ecx
lea esp, [esp]
cmp ecx, 0x30
jge 0x45ec7f
xor eax, eax
jmp 0x45eae0
cmp eax, 0x160
jge 0x45eb15
mov ebx, ecx
imul ebx, ebx, 0x160
add ebx, eax
cmp byte [ebx + esi + 0x3ae0], 0
je 0x45eb10
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 0x45eae0
add ecx, 1
jmp 0x45ead0
cmp ecx, 0x120
ja 0x45ebda
mov eax, dword [esi + 0x84]
cmp eax, 0x160
jbe 0x45ebda
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 0x45eb77
xor edx, edx
mov dword [esi + 0x888], edx
jmp 0x45eb8f
cmp eax, 0x60
jge 0x45eb89
mov edx, 0xff
mov dword [esi + 0x888], edx
jmp 0x45eb8f
mov edx, dword [esi + 0x888]
xor ecx, ecx
cmp ecx, 0x18
jge 0x45ec7f
xor eax, eax
lea esp, [esp]
cmp eax, 0x160
jge 0x45ebd5
mov ebx, ecx
imul ebx, ebx, 0x160
add ebx, eax
cmp byte [ebx + esi + 0x19e0], 0
je 0x45ebd0
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 0x45eba0
add ecx, 1
jmp 0x45eb91
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 0x45ec27
xor edx, edx
mov dword [esi + 0x888], edx
jmp 0x45ec3f
cmp eax, 0x60
jge 0x45ec39
mov edx, 0xff
mov dword [esi + 0x888], edx
jmp 0x45ec3f
mov edx, dword [esi + 0x888]
xor ecx, ecx
cmp ecx, 0x18
jge 0x45ec7f
xor eax, eax
cmp eax, 0x80
jge 0x45ec7a
mov ebx, ecx
shl ebx, 7
add ebx, eax
cmp byte [ebx + esi + 0xde0], 0
je 0x45ec75
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 0x45ec48
add ecx, 1
jmp 0x45ec41
cmp dword [esi + 0x194], 0
je 0x45ec9e
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x90]
lea edx, [esi + 0xa8]
push edx
push eax
call fcn.0046e3d0
cmp byte [esi + 0x7d78], 0
jne 0x45f10c
cmp dword [esi + 0x7d2c], 0
jg 0x45ecd5
cmp byte [esi + 0x2a8], 0
jne 0x45ecd5
cmp byte [esi + 0x2a9], 0
jne 0x45ecd5
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x45f6d6
mov eax, dword [ebp - 0x68]
cmp eax, 1
jbe 0x45f6d6
mov ecx, dword [esi + 0x7ce4]
cmp ecx, 0xa
jb 0x45ecf1
mov ecx, 9
xor edx, edx
div dword [ecx*8 + 0x61a5b0]
cmp dword [ecx*8 + 0x61a5b4], 0
je 0x45ed0b
test edx, edx
setne al
jmp 0x45ed10
test edx, edx
sete al
test al, al
je 0x45f6d6
cmp dword [esi + 0xdcc], 0
mov ebx, dword [ebp - 0x5c]
je 0x45ed37
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 0x45ed6c
mov al, byte [edi + 4]
and al, 0xc0
cmp al, 0xc0
sete al
jmp 0x45edb2
cmp ebx, 1
jne 0x45edb0
cmp byte [edi], 0xa0
jne 0x45ed9b
cmp byte [edi + 1], 0x10
jne 0x45ed9b
cmp byte [edi + 2], 0
jne 0x45ed9b
cmp byte [edi + 3], 0
jne 0x45ed9b
cmp byte [edi + 7], bl
jne 0x45edb0
mov cl, byte [edi + 8]
and cl, 0x1f
cmp cl, bl
je 0x45edb0
mov al, bl
jmp 0x45edb2
cmp byte [edi + 3], 1
jne 0x45edb0
mov dl, byte [edi + 4]
and dl, 0x1f
cmp dl, 1
je 0x45edb0
mov al, 1
jmp 0x45edb2
xor al, al
cmp dword [ebp - 0x20], 0
movzx ebx, al
mov dword [ebp - 0x30], ebx
jle 0x45f6d6
cmp byte [esi + 0x2a8], 0
je 0x45ee72
cmp dword [esi + 0x7d24], 0
je 0x45ee1e
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.0047c530
mov ecx, dword [esi + 0x7d24]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x45ee17
call fcn.00446090
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 0x45ee6b
cmp dword [eax + 0x3034], 0x400
jae 0x45ee6b
lea edx, [ebp - 0x334]
push 0x637a44
push edx
call fcn.004e44dc
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 0x45ee72
or dword [esi + 0x2b0], 0x50
cmp byte [esi + 0x2a9], 0
je 0x45ef5d
cmp dword [esi + 0x7d28], 0
je 0x45eece
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.0047c530
mov ecx, dword [esi + 0x7d28]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x45eec7
call fcn.00446090
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 0x45eee7
fadd dword [0x600530]
fild dword [esi + 0xd18]
fmul dword [esi + 0x78]
fcompp
fnstsw ax
test ah, 0x41
jp 0x45ef03
or dword [esi + 0x2b0], 0x80
mov eax, dword [esi + 0x7d24]
add dword [ebp - 0x84], 1
cmp dword [eax + 0x1c], 0x36ee80
ja 0x45ef53
cmp dword [eax + 0x3034], 0x400
jae 0x45ef53
lea edx, [ebp - 0x37c]
push 0x637a44
push edx
call fcn.004e44dc
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 0x45ef5d
or dword [esi + 0x2b0], 0x80
mov eax, dword [esi + 0x7d2c]
test eax, eax
jle 0x45f6d6
xor ebx, ebx
mov dword [ebp - 0x1c], eax
cmp ebx, 0x80
mov dword [ebp - 0x24], ebx
jge 0x45f6d6
cmp dword [ebp - 0x1c], 0
jle 0x45f6d6
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + ebx*4 + 0xe8]
test eax, eax
je 0x45f0df
mov ecx, dword [eax + 0x24]
cmp ecx, dword [esi + 0x15c]
jne 0x45f0df
mov edx, dword [eax + 0x28]
cmp edx, dword [esi + 0x160]
jne 0x45f0df
mov ecx, dword [eax + 0x2c]
cmp ecx, dword [esi + 0x164]
jne 0x45f0df
sub dword [ebp - 0x1c], 1
cmp dword [ebp - 0x30], 0
mov edi, dword [eax + 0x14]
lea ecx, [eax + 0x14]
je 0x45f0e7
cmp edi, 0x19
jl 0x45f00e
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.004f05f0
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 0x45ef70
cmp dword [eax + 0x1c], 0
je 0x45f0df
cmp edi, 0x28
jge 0x45f0fd
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
jmp 0x45f01e
mov dword [eax + 0x1c], 0
add ebx, 1
jmp 0x45ef70
cmp dword [esi + 0x7d2c], 0
jle 0x45f426
mov eax, dword [ebp - 0x68]
cmp eax, 1
jbe 0x45f430
mov ecx, dword [esi + 0x98]
cmp ecx, 0xa
jb 0x45f135
mov ecx, 9
xor edx, edx
div dword [ecx*8 + 0x61a5b0]
cmp dword [ecx*8 + 0x61a5b4], 0
je 0x45f14f
test edx, edx
setne al
jmp 0x45f154
test edx, edx
sete al
test al, al
je 0x45f430
mov al, byte [ebp - 0x29]
cmp al, 3
mov edx, dword [ebp - 0x50]
jne 0x45f18b
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 0x45f1cd
cmp al, 1
jne 0x45f1b4
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 0x45f1cd
mov ecx, dword [ebp - 0xd0]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp - 0x18c]
push eax
push ecx
call fcn.004f05f0
add esp, 0xc
cmp byte [esi + 0xdd0], 0
mov ebx, dword [ebp - 0x70]
je 0x45f1e9
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 0x45f223
mov cl, byte [edi + 4]
and cl, 0xc0
cmp cl, 0xc0
sete cl
jmp 0x45f269
cmp ebx, 1
jne 0x45f267
cmp byte [edi], 0xa0
jne 0x45f252
cmp byte [edi + 1], 0x10
jne 0x45f252
cmp byte [edi + 2], 0
jne 0x45f252
cmp byte [edi + 3], 0
jne 0x45f252
cmp byte [edi + 7], bl
jne 0x45f267
mov dl, byte [edi + 8]
and dl, 0x1f
cmp dl, bl
je 0x45f267
mov cl, bl
jmp 0x45f269
cmp byte [edi + 3], 1
jne 0x45f267
mov cl, byte [edi + 4]
and cl, 0x1f
cmp cl, 1
je 0x45f267
mov cl, 1
jmp 0x45f269
xor cl, cl
test eax, eax
movzx edx, cl
mov dword [ebp - 0x30], edx
jle 0x45f430
mov eax, dword [esi + 0x7d2c]
test eax, eax
jle 0x45f430
xor edi, edi
mov edx, eax
lea esp, [esp]
cmp edi, 0x80
jge 0x45f430
test edx, edx
jle 0x45f430
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + edi*4 + 0xe8]
test eax, eax
je 0x45f3f9
mov ecx, dword [eax + 0x24]
cmp ecx, dword [esi + 0x15c]
jne 0x45f3f9
mov ecx, dword [eax + 0x28]
cmp ecx, dword [esi + 0x160]
jne 0x45f3f9
mov ecx, dword [eax + 0x2c]
cmp ecx, dword [esi + 0x164]
jne 0x45f3f9
mov ebx, dword [eax + 0x14]
sub edx, 1
cmp dword [ebp - 0x30], 0
lea ecx, [eax + 0x14]
mov dword [ebp - 0x1c], edx
je 0x45f401
cmp ebx, 0x19
jl 0x45f32b
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.004f05f0
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 0x45f290
cmp dword [eax + 0x1c], 0
je 0x45f3f9
cmp ebx, 0x28
jge 0x45f417
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
jmp 0x45f33b
mov dword [eax + 0x1c], 0
add edi, 1
jmp 0x45f290
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp byte [esi + 0x2a8], 0
jne 0x45f451
cmp byte [esi + 0x2a9], 0
jne 0x45f451
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x45f6d6
mov eax, dword [ebp - 0x68]
cmp eax, 1
jbe 0x45f6d6
mov ecx, dword [esi + 0x7ce4]
cmp ecx, 0xa
jb 0x45f46d
mov ecx, 9
xor edx, edx
div dword [ecx*8 + 0x61a5b0]
cmp dword [ecx*8 + 0x61a5b4], 0
je 0x45f487
test edx, edx
setne al
jmp 0x45f48c
test edx, edx
sete al
test al, al
je 0x45f6d6
cmp dword [esi + 0xdcc], 0
mov ebx, dword [ebp - 0x5c]
je 0x45f4b3
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 0x45f4e8
mov al, byte [edi + 4]
and al, 0xc0
cmp al, 0xc0
sete al
jmp 0x45f52e
cmp ebx, 1
jne 0x45f52c
cmp byte [edi], 0xa0
jne 0x45f517
cmp byte [edi + 1], 0x10
jne 0x45f517
cmp byte [edi + 2], 0
jne 0x45f517
cmp byte [edi + 3], 0
jne 0x45f517
cmp byte [edi + 7], bl
jne 0x45f52c
mov cl, byte [edi + 8]
and cl, 0x1f
cmp cl, bl
je 0x45f52c
mov al, bl
jmp 0x45f52e
cmp byte [edi + 3], 1
jne 0x45f52c
mov dl, byte [edi + 4]
and dl, 0x1f
cmp dl, 1
je 0x45f52c
mov al, 1
jmp 0x45f52e
xor al, al
cmp dword [ebp - 0x20], 0
movzx ebx, al
jle 0x45f6d6
cmp byte [esi + 0x2a8], 0
je 0x45f5eb
cmp dword [esi + 0x7d24], 0
je 0x45f597
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.0047c530
mov ecx, dword [esi + 0x7d24]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x45f590
call fcn.00446090
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 0x45f5e4
cmp dword [eax + 0x3034], 0x400
jae 0x45f5e4
lea edx, [ebp - 0x3a0]
push 0x637a44
push edx
call fcn.004e44dc
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 0x45f5eb
or dword [esi + 0x2b0], 0x50
cmp byte [esi + 0x2a9], 0
je 0x45f6d6
cmp dword [esi + 0x7d28], 0
je 0x45f647
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.0047c530
mov ecx, dword [esi + 0x7d28]
add esp, 0xc
cmp dword [ecx + 0x303c], 0
jne 0x45f640
call fcn.00446090
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 0x45f660
fadd dword [0x600530]
fild dword [esi + 0xd18]
fmul dword [esi + 0x78]
fcompp
fnstsw ax
test ah, 0x41
jp 0x45f67c
or dword [esi + 0x2b0], 0x80
mov eax, dword [esi + 0x7d24]
add dword [ebp - 0x84], 1
cmp dword [eax + 0x1c], 0x36ee80
ja 0x45f6cc
cmp dword [eax + 0x3034], 0x400
jae 0x45f6cc
lea edx, [ebp - 0x358]
push 0x637a44
push edx
call fcn.004e44dc
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 0x45f6d6
or dword [esi + 0x2b0], 0x80
cmp dword [esi + 0x7d30], 0
mov ebx, dword [ebp - 0xbc]
jle 0x45f905
mov ecx, dword [ebp - 0xc8]
mov eax, ebx
sub eax, ecx
cmp ebx, ecx
jae 0x45f6fc
add eax, 0x5265c00
cmp eax, 0x78
jbe 0x45f905
cmp dword [esi + 0x84], 0x160
mov dword [ebp - 0xc8], ebx
jbe 0x45f773
cmp dword [esi + 0x88], 0x120
jbe 0x45f74b
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 0x45f799
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 0x45f799
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 0x45f905
cmp dword [ebp - 0x1c], 0
jle 0x45f905
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + ecx*4 + 0x520]
test eax, eax
je 0x45f8fd
mov edx, dword [eax + 0xc]
cmp edx, dword [esi + 0x15c]
jne 0x45f8fd
mov edx, dword [eax + 0x10]
cmp edx, dword [esi + 0x160]
jne 0x45f8fd
mov edx, dword [eax + 0x14]
cmp edx, dword [esi + 0x164]
jne 0x45f8fd
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 0x5fbc34
push 0xc8
lea eax, [ecx + eax + 0x2078]
push 0x5f4610
mov dword [ebp - 0x28], eax
add eax, 4
push 0x493e0
push eax
call fcn.004e68c0
add esp, 0x1c
test edi, edi
mov ebx, eax
je 0x45f8bc
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.004f05f0
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 0x45f7f4
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 0x45d1c0
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.0045fe10
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.004ea260
add esp, 0xc
cmp edi, ebx
je 0x45f9b9
movzx edx, byte [edi - 1]
sub edi, edx
push edi
call fcn.004e378f
add esp, 4
mov eax, dword [ebp - 0x2dc]
cmp eax, ebx
je 0x45f9d2
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004e378f
add esp, 4
xor edi, edi
mov eax, dword [ebp + edi*4 - 0x250]
cmp eax, ebx
je 0x45f9ee
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004e378f
add esp, 4
add edi, 1
cmp edi, 3
jl 0x45f9d4
mov eax, dword [esi + 0x7d24]
cmp eax, ebx
mov byte [esi + 0x2a8], bl
mov byte [esi + 0x2a9], bl
je 0x45fa30
mov esi, eax
call fcn.0047c4d0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d24]
push eax
call fcn.004c4986
add esp, 4
mov dword [esi + 0x7d24], ebx
call fcn.00446090
mov eax, dword [esi + 0x7d28]
cmp eax, ebx
je 0x45fa5e
mov esi, eax
call fcn.0047c4d0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7d28]
push eax
call fcn.004c4986
add esp, 4
mov dword [esi + 0x7d28], ebx
call fcn.00446090
mov ecx, dword [ebp - 0x5c]
cmp ecx, ebx
je 0x45fa6d
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [ebp - 0x70]
cmp ecx, ebx
je 0x45fa7c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [ebp - 0x18c]
cmp eax, ebx
je 0x45fa95
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004e378f
add esp, 4
mov ecx, dword [ebp - 0xa4]
cmp ecx, ebx
je 0x45faa7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0xc4]
cmp ecx, ebx
je 0x45fab9
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [ebp - 0x1e4]
cmp eax, ebx
je 0x45fad2
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004e378f
add esp, 4
mov eax, dword [ebp - 0x210]
cmp eax, ebx
je 0x45faeb
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004e378f
add esp, 4
mov eax, dword [esi + 0xcac]
cmp eax, ebx
je 0x45fb04
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004e378f
add esp, 4
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x45fb1d
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004e378f
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
call fcn.004c4986
mov eax, dword [ebp - 0x90]
add esp, 4
cmp eax, ebx
je 0x45fb40
lea ecx, [esi + 0xa8]
push ecx
push eax
call fcn.0046e120
mov edi, 0x120
cmp dword [esi + 0x88], edi
ja 0x45fb72
cmp dword [esi + 0x84], 0x160
jbe 0x45fb72
mov eax, dword [ebp - 0x1b8]
cmp eax, ebx
je 0x45fb72
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004e378f
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.004c9922
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.004c9922
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.004d47ed
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