Function at 0x4082d0
Capabilities:
Create thread
Read .ini file
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6b64
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x3c], ebx
call fcn.004d819b
mov esi, dword [0x647fdc]
mov eax, dword [esi + 0x58]
test eax, eax
mov dword [esp + 0x1c], esi
jne 0x408336
call fcn.0041af70
jmp 0x4083c8
lea eax, [esi + 0x50]
push eax
mov dword [esp + 0x2c], eax
call fcn.004598e0
mov ecx, dword [esi + 0x58]
add esp, 4
test eax, eax
mov dword [esi + 0x64], ecx
jne 0x408357
call fcn.0041af70
jmp 0x4083c8
push 3
lea eax, [esp + 0x14]
mov ecx, esi
push eax
add ecx, 0x3c
call fcn.00404c40
mov dword [esp + 0x1b8], 0
mov esi, dword [esp + 0x10]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
call fcn.004052b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004596f0
add esp, 4
test eax, eax
jne 0x4083a4
mov edi, dword [esp + 0x28]
call fcn.00459b20
mov dword [esp + 0x1b8], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4083c8
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [ebx + 0x1080]
mov dword [esp + 0xa0], eax
mov dword [ebx + 0x2580], eax
lea eax, [ebx + 0x10d4]
mov dword [esp + 0x9c], eax
mov dword [ebx + 0x2584], eax
lea eax, [ebx + 0x1128]
mov dword [esp + 0xa4], eax
mov dword [ebx + 0x2588], eax
lea eax, [ebx + 0x117c]
mov dword [esp + 0xb0], eax
mov dword [ebx + 0x258c], eax
lea eax, [ebx + 0x11d0]
mov dword [esp + 0x50], eax
mov dword [ebx + 0x2590], eax
lea eax, [ebx + 0x1224]
mov dword [esp + 0x90], eax
mov dword [ebx + 0x2594], eax
lea eax, [ebx + 0x1278]
mov dword [esp + 0x58], eax
mov dword [ebx + 0x2598], eax
lea eax, [ebx + 0x12cc]
mov dword [esp + 0xbc], eax
mov dword [ebx + 0x259c], eax
lea eax, [ebx + 0x1320]
mov dword [esp + 0x60], eax
mov dword [ebx + 0x25a0], eax
lea eax, [ebx + 0x1374]
mov dword [esp + 0x98], eax
mov dword [ebx + 0x25a4], eax
lea eax, [ebx + 0x13c8]
mov dword [esp + 0x68], eax
mov dword [ebx + 0x25a8], eax
lea eax, [ebx + 0x141c]
mov dword [esp + 0xb8], eax
mov dword [ebx + 0x25ac], eax
lea eax, [ebx + 0x1470]
mov dword [esp + 0x70], eax
mov dword [ebx + 0x25b0], eax
lea eax, [ebx + 0x14c4]
mov dword [esp + 0x48], eax
mov dword [ebx + 0x25b4], eax
lea eax, [ebx + 0x1518]
mov dword [esp + 0x78], eax
mov dword [ebx + 0x25b8], eax
lea eax, [ebx + 0x156c]
mov dword [esp + 0xac], eax
mov dword [ebx + 0x25bc], eax
lea eax, [ebx + 0x15c0]
mov dword [esp + 0x80], eax
mov dword [ebx + 0x25c0], eax
lea eax, [ebx + 0x1614]
mov dword [esp + 0xa8], eax
mov dword [ebx + 0x25c4], eax
lea eax, [ebx + 0x1668]
mov dword [esp + 0x88], eax
mov dword [ebx + 0x25c8], eax
lea eax, [ebx + 0x16bc]
mov dword [esp + 0xb4], eax
mov dword [ebx + 0x25cc], eax
lea eax, [ebx + 0x1710]
mov dword [esp + 0x4c], eax
mov dword [ebx + 0x25d0], eax
lea eax, [ebx + 0x1764]
mov dword [esp + 0x54], eax
mov dword [ebx + 0x25d4], eax
lea eax, [ebx + 0x17b8]
mov dword [esp + 0x5c], eax
mov dword [ebx + 0x25d8], eax
lea eax, [ebx + 0x180c]
mov dword [esp + 0x64], eax
mov dword [ebx + 0x25dc], eax
lea eax, [ebx + 0x1860]
mov dword [esp + 0x6c], eax
mov dword [ebx + 0x25e0], eax
lea eax, [ebx + 0x18b4]
mov dword [esp + 0x74], eax
mov dword [ebx + 0x25e4], eax
lea eax, [ebx + 0x1908]
mov dword [esp + 0x7c], eax
mov dword [ebx + 0x25e8], eax
fild dword [ebx + 0xd20]
lea eax, [ebx + 0x195c]
mov dword [esp + 0x84], eax
mov dword [ebx + 0x25ec], eax
fstp dword [esp + 0x10]
lea eax, [ebx + 0x19b0]
fild dword [ebx + 0xd24]
mov dword [esp + 0x8c], eax
mov dword [ebx + 0x25f0], eax
lea eax, [ebx + 0x1a04]
fstp dword [esp + 0x28]
mov dword [esp + 0x94], eax
fld dword [esp + 0x10]
mov dword [ebx + 0x25f4], eax
fld dword [esp + 0x28]
lea eax, [ebx + 0x1a58]
fld st(0)
mov dword [esp + 0x30], eax
fdivp st(2)
mov dword [ebx + 0x25f8], eax
lea eax, [ebx + 0x1aac]
mov dword [esp + 0x14], eax
mov dword [ebx + 0x25fc], eax
mov esi, 1
fld qword [0x610f78]
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x408638
mov edi, dword [esp + 0x1c]
mov dword [edi + 0xe4], esi
jmp 0x408648
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xe4], 0
mov edi, eax
xor edx, edx
cmp dword [edi + 0xe4], edx
mov ecx, 0x500
mov eax, 0x400
je 0x40866c
fxch st(1)
fdiv qword [0x610f70]
fstp dword [edi + 0xe8]
jmp 0x40869c
cmp dword [ebx + 0xd20], ecx
fstp st(1)
jl 0x40868c
cmp dword [ebx + 0xd24], eax
jl 0x40868c
mov dword [ebx + 0xd20], ecx
mov dword [ebx + 0xd24], eax
jmp 0x40869c
mov dword [ebx + 0xd20], eax
mov dword [ebx + 0xd24], 0x300
mov eax, dword [ebx + 0xd24]
mov ecx, dword [ebx + 0xd20]
mov dword [ebx + 0xa4], eax
add eax, 0xffffff62
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [0x610f68]
mov dword [ebx + 0x98], edx
mov dword [ebx + 0x9c], edx
fmul st(1)
mov dword [ebx + 0xa0], ecx
mov dword [ebx + 0xac], esi
mov dword [ebx + 0xb4], eax
fadd qword [0x5dfcb0]
mov dword [ebx + 0xa8], 0xa
call fcn.004fbc30
fld st(1)
fucomp st(3)
mov dword [ebx + 0xb0], eax
fnstsw ax
test ah, 0x44
jp 0x408718
fstp st(2)
fmulp st(1)
call fcn.004fbc30
mov dword [ebx + 0xb0], eax
jmp 0x408740
fstp st(1)
fld qword [0x610f60]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x40873e
fmul qword [0x610f58]
call fcn.004fbc30
mov dword [ebx + 0xb0], eax
jmp 0x408740
fstp st(0)
call fcn.00458290
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40875f
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x1b8], esi
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408790
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
push 0x64
lea ecx, [esp + 0xd8]
push 0
push ecx
mov byte [esp + 0x1c4], 2
call fcn.004f9940
add esp, 0xc
call fcn.004d8fd9
mov eax, dword [eax + 8]
push 0x64
lea edx, [esp + 0xd8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4087ef
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x1bc], 3
call fcn.0041c4a0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1bc], 4
call fcn.00404ec0
mov byte [esp + 0x1b8], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408852
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x24]
push 0x5c
push esi
call fcn.004f35e7
add esp, 8
test eax, eax
jne 0x40886a
or esi, 0xffffffff
jmp 0x40886e
sub eax, esi
mov esi, eax
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404c40
push str.logo.bmp
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1c4], 5
call fcn.00404cc0
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1bc], 6
call fcn.00404ec0
mov byte [esp + 0x1b8], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1b8], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404c40
push str.dvr.dat
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1c4], 7
call fcn.00404cc0
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1bc], 8
call fcn.00404ec0
mov byte [esp + 0x1b8], 7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40895e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1b8], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408986
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404c40
push str._rtcc.tmp
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1c4], 9
call fcn.00404cc0
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1bc], 0xa
call fcn.00404ec0
mov byte [esp + 0x1b8], 9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4089ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1b8], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
push ecx
push 1
push str.UseDefaultLogo
push str.Logo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
je 0x408a6e
mov edx, dword [esp + 0x24]
push 0x2050
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
test eax, eax
je 0x408a61
push eax
mov eax, dword [ebx + 0xd4c]
push 0
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x408a6e
push 0
lea ecx, [ebx + 0xd2c]
call fcn.004e26ec
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408a88
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x1b8], 0xb
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408aba
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
push 0
push 0x80
push 4
push 0
push 3
mov byte [esp + 0x1cc], 0xc
mov ecx, dword [esp + 0x4c]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x408c57
push 0x64
lea edx, [esp + 0x140]
push 0
push edx
call fcn.004f9940
add esp, 0xc
push 0
lea eax, [esp + 0x30]
push eax
push 0x64
lea ecx, [esp + 0x148]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x2c], 0
je 0x408bb5
push 0x6fd
lea edx, [esp + 0x14]
push edx
call fcn.00422da0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1b8], 0xd
mov eax, dword [eax]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
call fcn.004056d0
mov byte [esp + 0x1c4], 0xc
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.004052b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00458670
add esp, 4
jmp 0x408c4c
push 0
call fcn.004f502d
add esp, 4
lea ecx, [esp + 0x40]
push ecx
mov esi, 0x605cb4
lea edi, [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.00405aa0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1bc], 0xe
call fcn.00404ec0
mov byte [esp + 0x1b8], 0xc
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408c14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x408c31
mov ecx, esi
push ecx
lea ecx, [esp + 0x38]
call fcn.00405490
mov eax, dword [esp + 0x34]
push 0
lea edx, [esp + 0xc4]
push edx
push esi
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0xe4], 0
je 0x408cde
cmp dword [ebx + 0xa4], 0x300
jl 0x408c98
mov edi, dword [esp + 0x1c]
fld dword [edi + 0xe8]
fmul qword [0x610f50]
call fcn.004fbc30
fld dword [edi + 0xe8]
fmul qword [0x610f48]
mov esi, eax
call fcn.004fbc30
mov edi, eax
jmp 0x408ca0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [ebx + 0xb0]
mov eax, dword [ebx + 0xa0]
mov edx, dword [ebx + 0xac]
push 1
sub eax, ecx
push 0x53
sub eax, 0xa8
push 0x8a
add edx, 0xf
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
lea ecx, [ebx + 0xd2c]
call fcn.004e26ae
jmp 0x408dc9
mov eax, dword [ebx + 0xa0]
cmp eax, 0x500
jne 0x408d35
mov eax, 0x41a
sub eax, dword [ebx + 0xa8]
mov esi, dword [ebx + 0xac]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov dword [ebx + 0xb0], 0x41a
fdiv qword [0x610f40]
fiadd dword [esp + 0x18]
call fcn.004fbc30
push 1
push 0x53
push 0x8a
add esi, 0x1e
push esi
push 0x439
jmp 0x408d84
cmp eax, 0x400
jne 0x408d95
mov ecx, 0x338
sub ecx, dword [ebx + 0xa8]
mov esi, dword [ebx + 0xac]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov dword [ebx + 0xb0], 0x338
fdiv qword [0x610f38]
fiadd dword [esp + 0x18]
call fcn.004fbc30
push 1
push 0x53
push 0x8a
add esi, 0xa
push esi
push 0x348
lea ecx, [ebx + 0xd2c]
mov dword [ebx + 0xb4], eax
call fcn.004e26ae
mov eax, dword [ebx + 0xa0]
cmp eax, 0x500
jne 0x408dae
mov esi, 0x32
mov edi, 0x2e
jmp 0x408dc9
cmp eax, 0x400
jne 0x408dc1
mov esi, 5
mov edi, 0x28
jmp 0x408dc9
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x2c]
mov edx, dword [ebx + 0xb4]
mov eax, dword [ebx + 0xa8]
push 1
push 0x46
add edx, edi
push 0x258
lea edi, [ebx + 0xa8]
push edx
add eax, esi
push eax
lea ecx, [ebx + 0xd80]
call fcn.004e26ae
push ebx
call fcn.004108b0
push ebx
call fcn.004103c0
mov esi, ebx
call fcn.00415510
mov eax, ebx
call fcn.004150b0
call fcn.00416090
call fcn.00414060
push ebx
call fcn.004108b0
push ebx
call fcn.004103c0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045bd10
call fcn.0047baf0
mov ecx, dword [ebx + 0xd24]
mov edx, eax
mov eax, dword [ebx + 0xd20]
push ebx
mov dword [ebx + 0xd8], edx
push edi
mov ebx, edx
call fcn.0047d9f0
mov edi, esi
mov eax, dword [edi + 0xd8]
mov ecx, dword [eax + 0x3e60]
cmp ecx, 2
jg 0x408e93
imul ecx, ecx, 0x320c
mov edx, 1
mov dword [ecx + eax + 0x3e70], edx
mov ecx, dword [eax + 0x3e60]
imul ecx, ecx, 0x320c
mov dword [ecx + eax + 0x3e78], 0xffffffff
add dword [eax + 0x3e60], edx
mov ecx, dword [edi + 0xd8]
push 5
call fcn.004e26ec
mov eax, dword [edi + 0xd8]
xor ecx, ecx
mov dword [eax + 0xa3e4], 0xffffffff
cmp dword [eax + 0x3e70], ecx
je 0x408ece
cmp dword [eax + 0x3e5c], ecx
je 0x408ece
mov dword [eax + 0x3e5c], ecx
mov dword [eax + 0x3e54], ecx
mov esi, dword [edi + 0xd8]
lea ebx, [esi + 0xa3cc]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xa3b0]
test eax, eax
jbe 0x408f00
add eax, 0xffffffff
mov dword [esi + 0xa3b0], eax
jne 0x408f00
mov dword [esi + 0x3e58], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push 0
push 0x489b70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [edi + 0x8bc]
test eax, eax
je 0x408f29
mov eax, dword [eax + 0x20]
push str.ButtonUp
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x910]
test eax, eax
je 0x408f41
mov eax, dword [eax + 0x20]
push str.ButtonLeft
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x964]
test eax, eax
je 0x408f59
mov eax, dword [eax + 0x20]
push str.ButtonRight
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x9b8]
test eax, eax
je 0x408f71
mov eax, dword [eax + 0x20]
push str.ButtonDown
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xa0c]
test eax, eax
je 0x408f89
mov eax, dword [eax + 0x20]
push str.CheckBoxScan
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xa60]
test eax, eax
je 0x408fa1
mov eax, dword [eax + 0x20]
push str.ButtonZoomin
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xab4]
test eax, eax
je 0x408fb9
mov eax, dword [eax + 0x20]
push str.ButtonZoomout
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xb08]
test eax, eax
je 0x408fd1
mov eax, dword [eax + 0x20]
push str.ButtonZoomout
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xb5c]
test eax, eax
je 0x408fe9
mov eax, dword [eax + 0x20]
push str.ButtonZoomin
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xbb0]
test eax, eax
je 0x409001
mov eax, dword [eax + 0x20]
push str.ButtonZoomin
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xc04]
test eax, eax
je 0x409019
mov eax, dword [eax + 0x20]
push str.ButtonZoomout
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xc58]
test eax, eax
je 0x409031
mov eax, dword [eax + 0x20]
push str.CheckBoxLight
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xcac]
test eax, eax
je 0x409049
mov eax, dword [eax + 0x20]
push str.CheckBoxBrush
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xed4]
test eax, eax
je 0x409061
mov eax, dword [eax + 0x20]
push str.ButtonPtzSet
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0xe80]
test eax, eax
je 0x409079
mov eax, dword [eax + 0x20]
push str.ButtonPtzGo
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x3388]
test eax, eax
je 0x409091
mov eax, dword [eax + 0x20]
push str.CheckBoxPreview
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x33dc]
test eax, eax
je 0x4090a9
mov eax, dword [eax + 0x20]
push str.CheckBoxLocal
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x2628]
test eax, eax
je 0x4090c1
mov eax, dword [eax + 0x20]
push str.ButtonStartAll
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x267c]
test eax, eax
je 0x4090d9
mov eax, dword [eax + 0x20]
push str.ButtonStopAll
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4090f2
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP1
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x40910b
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP2
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x409124
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP3
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x40913d
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP4
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x50]
test eax, eax
je 0x409153
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP5
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x90]
test eax, eax
je 0x40916c
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP6
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x58]
test eax, eax
je 0x409182
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP7
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x40919b
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP8
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4091b1
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP9
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4091ca
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP10
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4091e0
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP11
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4091f9
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP12
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x70]
test eax, eax
je 0x40920f
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP13
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x48]
test eax, eax
je 0x409225
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP14
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x78]
test eax, eax
je 0x40923b
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP15
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0xac]
test eax, eax
je 0x409254
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP16
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x80]
test eax, eax
je 0x40926d
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP17
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x409286
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP18
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x88]
test eax, eax
je 0x40929f
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP19
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4092b8
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP20
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4092ce
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP21
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4092e4
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP22
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4092fa
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP23
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x64]
test eax, eax
je 0x409310
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP24
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x409326
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP25
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x74]
test eax, eax
je 0x40933c
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP26
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x409352
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP27
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x84]
test eax, eax
je 0x40936b
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP28
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x409384
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP29
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x94]
test eax, eax
je 0x40939d
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP30
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4093b3
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP31
push eax
call sub.intfd.dll_Ordinal_46
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4093c9
mov eax, dword [eax + 0x20]
push str.CheckBoxStatusP32
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x2f98]
test eax, eax
je 0x4093e1
mov eax, dword [eax + 0x20]
push str.ButtonPage4
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x2fec]
test eax, eax
je 0x4093f9
mov eax, dword [eax + 0x20]
push str.ButtonPage6
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x3040]
test eax, eax
je 0x409411
mov eax, dword [eax + 0x20]
push str.ButtonPage8
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x3094]
test eax, eax
je 0x409429
mov eax, dword [eax + 0x20]
push str.ButtonPage9
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x30e8]
test eax, eax
je 0x409441
mov eax, dword [eax + 0x20]
push str.ButtonPage10
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x313c]
test eax, eax
je 0x409459
mov eax, dword [eax + 0x20]
push str.ButtonPage16
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x3190]
test eax, eax
je 0x409471
mov eax, dword [eax + 0x20]
push str.ButtonPage25
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x31e4]
test eax, eax
je 0x409489
mov eax, dword [eax + 0x20]
push str.ButtonPage36
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x3238]
test eax, eax
je 0x4094a1
mov eax, dword [eax + 0x20]
push str.ButtonFullScreen
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x328c]
test eax, eax
je 0x4094b9
mov eax, dword [eax + 0x20]
push str.ButtonPageUp
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x32e0]
test eax, eax
je 0x4094d1
mov eax, dword [eax + 0x20]
push str.ButtonPageDown
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x3334]
test eax, eax
je 0x4094e9
mov eax, dword [eax + 0x20]
push str.CheckBoxPageCycle
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x2874]
test eax, eax
je 0x409501
mov eax, dword [eax + 0x20]
push str.ButtonExit
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x2a6c]
test eax, eax
je 0x409519
mov eax, dword [eax + 0x20]
push str.ButtonHelp
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x2970]
test eax, eax
je 0x409531
mov eax, dword [eax + 0x20]
push str.CheckBoxLogin
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x2a18]
test eax, eax
je 0x409549
mov eax, dword [eax + 0x20]
push str.ButtonConfig
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x28c8]
test eax, eax
je 0x409561
mov eax, dword [eax + 0x20]
push str.ButtonMinimize
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x29c4]
test eax, eax
je 0x409579
mov eax, dword [eax + 0x20]
push str.ButtonPlayback
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x291c]
test eax, eax
je 0x409591
mov eax, dword [eax + 0x20]
push str.ButtonLog
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x7c0]
test eax, eax
je 0x4095a9
mov eax, dword [eax + 0x20]
push str.ButtonSnapShot
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x2f38]
test eax, eax
je 0x4095c1
mov eax, dword [eax + 0x20]
push str.CheckBoxAudio
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x2ac0]
test eax, eax
je 0x4095d9
mov eax, dword [eax + 0x20]
push str.ButtonRemote
push eax
call sub.intfd.dll_Ordinal_46
lea eax, [edi + 0x3430]
test eax, eax
je 0x4095f1
mov eax, dword [eax + 0x20]
push str.CheckBoxPTZ
push eax
call sub.intfd.dll_Ordinal_46
push 0x404
mov ecx, edi
call fcn.004e252b
test eax, eax
je 0x40960f
mov eax, dword [eax + 0x20]
push str.Static1
push eax
call sub.intfd.dll_Ordinal_46
push 0x405
mov ecx, edi
call fcn.004e252b
test eax, eax
je 0x40962d
mov eax, dword [eax + 0x20]
push str.Static1
push eax
call sub.intfd.dll_Ordinal_46
push 0x406
mov ecx, edi
call fcn.004e252b
test eax, eax
je 0x40964b
mov eax, dword [eax + 0x20]
push str.Static1
push eax
call sub.intfd.dll_Ordinal_46
push 0x56e
lea edx, [esp + 0x18]
push edx
call fcn.00422da0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1bc], 0xf
call fcn.00404ec0
mov byte [esp + 0x1b8], 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40969f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
push 0x405
mov ecx, edi
call fcn.004e2573
push 0x643580
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.0123456789_:
mov esi, 0x644e40
mov ebx, 0x643d00
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x6455c0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x606188
mov esi, 0x645140
mov ebx, 0x643940
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x643ac0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60618c
mov esi, 0x6428c0
mov ebx, 0x644600
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x641fc0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x606190
mov esi, 0x641780
mov ebx, 0x6437c0
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x642680
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x606194
mov esi, 0x642380
mov ebx, 0x643b80
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x645500
push 0x18
push 8
mov esi, 0x642080
mov ebx, 0x643400
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x606198
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x642ec0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60619c
mov esi, 0x644780
mov ebx, 0x641300
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x641240
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6061a0
mov esi, 0x642f80
mov ebx, 0x642c80
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x644d80
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6061a4
mov esi, 0x641c00
mov ebx, 0x643280
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x642e00
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6061a8
mov esi, 0x644a80
mov ebx, 0x642740
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x642bc0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6061ac
mov esi, 0x644300
mov ebx, 0x644180
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
mov esi, 0x641480
mov ebx, 0x643640
push 0x645440
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6061b0
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
add esp, 0x10
push 0x641f00
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6061b4
mov esi, 0x643e80
mov ebx, 0x641a80
call fcn.0041c4a0
mov edx, esi
mov ecx, ebx
call fcn.00458930
mov eax, dword [0x647fd8]
add esp, 0x10
test eax, eax
jne 0x40994a
push 0x8490
call fcn.004d3feb
add esp, 4
test eax, eax
je 0x409943
mov esi, eax
call fcn.0044f760
jmp 0x409945
xor eax, eax
mov dword [0x647fd8], eax
mov esi, eax
mov dword [edi + 0xdc], eax
call fcn.0044f8b0
call fcn.004485b0
mov ebx, dword [edi + 0x2610]
cmp dword [edi + 0x260c], ebx
mov esi, eax
mov edx, dword [esi]
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], 0
jbe 0x40997f
call fcn.004f446a
mov eax, dword [edi + 0x260c]
cmp eax, dword [edi + 0x2610]
mov dword [esp + 0x14], eax
jbe 0x40999a
call fcn.004f446a
mov eax, dword [esp + 0x14]
push ebx
lea ebx, [edi + 0x2608]
push ebx
push eax
push ebx
lea eax, [esp + 0x50]
push eax
call fcn.0041cb10
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x409c61
add esi, 0x10
push esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x18
call fcn.004d3feb
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x1b8], 0x10
je 0x4099f2
push eax
mov ecx, ebx
call fcn.00448050
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x4099f8
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1b8], 0xc
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
test al, al
je 0x409c3f
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 0
push 0x62ba7c
push 0x62ba68
mov esi, eax
push 0
push esi
call fcn.004f4036
add esp, 0x14
test eax, eax
push 0
je 0x409b1c
push 0x62ba7c
push 0x62ba68
push 0
push esi
call fcn.004f4036
mov ebx, eax
add esp, 0x14
cmp dword [ebx + 0x170], 1
jne 0x409a80
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
cmp dword [ebx + 0x7cf4], 0x258
jne 0x409a78
push 0x64
jmp 0x409a7a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0x260c]
test ecx, ecx
lea esi, [edi + 0x2608]
mov dword [esp + 0x14], ebx
jne 0x409a98
xor edx, edx
jmp 0x409aa0
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x409abd
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x409abd
mov eax, dword [esi + 8]
mov dword [eax], ebx
add eax, 4
mov dword [esi + 8], eax
jmp 0x409adc
mov ebx, dword [esi + 8]
cmp ecx, ebx
jbe 0x409ac9
call fcn.004f446a
push ebx
push esi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x4c]
push edx
mov eax, esi
call fcn.00421240
mov eax, dword [edi + 0x2600]
mov ecx, dword [edi + eax*4 + 0x2580]
push 1
call fcn.004e2728
mov ecx, dword [edi + 0x2600]
mov eax, dword [edi + ecx*4 + 0x2580]
mov edx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
add dword [edi + 0x2600], 1
jmp 0x409c19
push 0x62ba90
push 0x62ba68
push 0
push esi
call fcn.004f4036
add esp, 0x14
test eax, eax
je 0x409b87
push 0
push 0x62ba90
push 0x62ba68
push 0
push esi
call fcn.004f4036
mov esi, eax
add esp, 0x14
cmp dword [esi + 0x170], 1
jne 0x409b68
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
mov ecx, esi
call edx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x14], esi
lea esi, [edi + 0x2618]
lea ebx, [esp + 0x14]
call fcn.00421180
add dword [edi + 0x2604], 1
jmp 0x409c19
mov ebx, dword [esp + 0x1c]
cmp dword [ebx + 0x168], 0
je 0x409c19
push 0
push 0x62baa4
push 0x62ba68
push 0
push esi
call fcn.004f4036
add esp, 0x14
test eax, eax
je 0x409c19
push 0
push 0x62baa4
push 0x62ba68
push 0
push esi
call fcn.004f4036
mov esi, eax
mov eax, dword [ebx + 0x16c]
xor ecx, ecx
add esp, 0x14
test eax, eax
setne cl
test ecx, ecx
je 0x408755
mov ecx, dword [esi + 0x14]
push eax
push ecx
call fcn.004f5185
add esp, 8
test eax, eax
sete al
test al, al
je 0x409c19
lea eax, [ebx + 0x170]
push eax
lea ecx, [esi + 0x3c]
push ecx
call fcn.0041c7b0
add esp, 8
test al, al
je 0x409c19
mov dword [ebx + 0x20], esi
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
test al, al
jne 0x409a11
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
mov eax, ebx
call fcn.004480e0
push ebx
call fcn.004d401b
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x409d1f
mov ebx, dword [esp + 0x1c]
cmp dword [ebx + 0x168], 0
je 0x409d23
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x409c8c
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x155
lea ecx, [esp + 0x18]
mov bl, 0x11
push ecx
mov byte [esp + 0x1c0], bl
call fcn.00422da0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1bc], 0x12
call fcn.00404ec0
mov byte [esp + 0x1b8], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409ced
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
push 0
push 0
push esi
call fcn.004d60f9
lea eax, [esi - 0x10]
mov byte [esp + 0x1b8], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
cmp dword [ebx + 0x78], 0
je 0x409d4b
mov eax, dword [ebx + 0xc8]
test eax, eax
jbe 0x409d4b
cmp byte [ebx + 0xfc], 0
je 0x409d45
cmp dword [0x647fc4], 0
ja 0x409d4b
push eax
call fcn.004884e0
lea ecx, [esp + 0xc4]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
movzx eax, word [esp + 0xc8]
cdq
mov ecx, 0x7b
idiv ecx
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0xea60
push 0x3d
add edx, 0xf3
mov dword [edi + 0x2f90], edx
mov edx, dword [edi + 0x20]
push edx
call esi
mov eax, dword [edi + 0x20]
push 0
push 0x3e8
push 0x3e
push eax
call esi
mov ecx, dword [edi + 0x20]
push 0
push 0x7d0
push 0x42
push ecx
call esi
mov edx, dword [edi + 0x20]
push 0
push 0x2710
push 0x40
push edx
call esi
mov eax, dword [edi + 0x20]
push 0
push 0x493e0
push 0x41
push eax
call esi
mov ecx, dword [edi + 0x20]
push 0
push 0x1b7740
push 0x43
push ecx
call esi
mov edx, dword [edi + 0xd24]
mov eax, dword [edi + 0xd20]
push 0x40
push edx
push eax
push 0
push 0
push 0
mov ecx, edi
call fcn.004e28f7
mov esi, 5
call fcn.00415f60
mov edi, dword [esp + 0x3c]
mov eax, edi
call fcn.004154b0
xor esi, esi
call fcn.004162c0
mov ecx, 0x648960
call fcn.004df9dd
cmp dword [ebx + 0xf0], esi
je 0x409e2d
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.hook.dll_setMyHook]
add esp, 4
push 0
push 0x3e9
mov ecx, edi
call fcn.004e252b
mov ecx, eax
call fcn.004e26ec
mov byte [esp + 0x1b8], 0xb
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409e6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1b8], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1b8], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409eba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1b8], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409ee2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1b8], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.004f2a78
mov esp, ebp
pop ebp
ret