Function at 0x445e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x49d810]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
je 0x4461ba
cmp dword [0x49d890], edi
je 0x445e8b
cmp dword [esi + 0x9a8], edi
je 0x445e8b
mov eax, dword [0x49d4d8]
cmp eax, edi
je 0x445e7f
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dx, word [0x498808]
push 0x128
push 0x496298
push 0x499a98
mov dword [0x49d830], edi
mov dword [0x49d834], edi
mov word [0x4962a6], dx
call fcn.0045dbf0
mov ecx, dword [0x498808]
add esp, 0xc
xor eax, eax
cmp ecx, edi
jle 0x445eed
jmp 0x445ed0
mov dx, word [eax*4 + 0x498834]
or dx, word [eax*2 + 0x498828]
inc eax
cmp eax, ecx
mov word [eax*2 + 0x499aa6], dx
jl 0x445ed0
fild dword [0x498810]
mov eax, dword [0x498820]
mov ecx, dword [0x498824]
lea edx, [esp + 0x20]
fdiv qword [0x498820]
push edx
mov dword [0x499ba8], eax
mov dword [0x499bac], ecx
fstp qword [0x499bb0]
fild dword [0x49880c]
fmul qword [0x47ff90]
fstp qword [0x499bb8]
call fcn.00428430
add esp, 4
test eax, eax
je 0x4461ba
mov eax, dword [0x49d4d8]
cmp eax, edi
je 0x445f50
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [0x49d4d8]
mov edx, dword [eax]
push 0x499a98
push eax
call dword [edx + 0x24]
test eax, eax
jne 0x445f79
push edi
push edi
push 0x482810
call fcn.004727d9
call fcn.00422740
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x49d4d8]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x58]
mov eax, dword [0x49d4d8]
mov edx, dword [eax]
push edi
push eax
call dword [edx + 0x60]
mov eax, dword [0x49d4d8]
push edi
lea edx, [esp + 0x14]
push edx
mov word [0x49d82c], di
mov dword [esp + 0x18], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [0x49d4d8]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x50]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x498808]
push 0x49d834
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x498814]
lea edx, [esp + 0x24]
push edx
mov edx, dword [0x49880c]
push eax
push ecx
push edx
call fcn.00426200
mov eax, dword [0x49d834]
shl eax, 4
push eax
call fcn.0045e1f2
mov ecx, dword [0x49d834]
shl ecx, 4
push ecx
mov dword [0x49d838], eax
call fcn.0045e1f2
mov edx, dword [0x49d834]
shl edx, 4
push edx
mov dword [0x49d83c], eax
call fcn.0045e1f2
mov dword [0x49d840], eax
mov eax, dword [0x49d834]
shl eax, 4
push eax
call fcn.0045e1f2
fild dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
add esp, 0x2c
fdiv qword [0x498820]
mov dword [0x49d844], eax
mov dword [0x49d848], 0
mov dword [0x49d84c], 0
mov dword [0x49d850], 0
mov dword [0x49d854], 0
mov dword [0x49d858], 0
mov dword [0x49d85c], 0
mov dword [0x49d860], 0
mov dword [0x49d864], 0
mov dword [0x49b9bc], ecx
mov dword [0x49b9c0], edi
fadd qword [0x47ff78]
call fcn.0045d728
xor edx, edx
mov dword [0x49d6f0], edx
mov dword [0x49d6f4], edx
mov dword [0x49b9c8], eax
mov dword [0x49d6f8], edx
push edi
push edi
push edi
mov dword [0x49d6fc], edx
push edi
mov dword [0x49d700], edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x49d700], eax
mov eax, dword [esp + 0xc]
lea ecx, [eax*4]
push ecx
mov dword [0x49b9c4], 0x49d6f0
call fcn.0045e1f2
mov edx, dword [0x49d834]
add esp, 4
push 0x49d894
push edi
mov dword [0x49b9b8], eax
mov eax, dword [0x498808]
push esi
sub edx, eax
push 0x4441a0
shl edx, 1
push edi
mov dword [0x49d800], edx
mov dword [esi + 0x9a8], edi
push edi
mov dword [0x496738], 1
mov dword [0x496734], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49d890], eax
call ebx
mov dword [esp + 0x14], eax
lea ebx, [ebx]
call ebx
sub eax, dword [esp + 0x14]
cmp eax, 0x3e8
jae 0x446175
cmp dword [esi + 0x9a8], edi
je 0x446160
cmp dword [0x49d890], 0xffffffff
je 0x44618a
cmp dword [esi + 0x9a8], edi
jne 0x445e7f
call fcn.0043d470
mov ecx, esi
call fcn.0043ce40
push edi
push edi
push 0x482798
mov dword [esi + 0x9a0], edi
mov dword [esi + 0x9a8], edi
call fcn.004727d9
call fcn.00422740
mov ecx, esi
call fcn.0046ebc0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret