Function at 0x407f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445e36
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x45c4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [esi + 0xd0], eax
movdqu xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x1f8], 0
movdqu xmmword [ebp - 0x258], xmm0
mov dword [ebp - 0x1f4], 0
movdqu xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x1f0], 0
movdqu xmmword [ebp - 0x238], xmm0
movdqu xmmword [ebp - 0x228], xmm0
movdqu xmmword [ebp - 0x218], xmm0
movdqu xmmword [ebp - 0x208], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1e4], 6
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0x18]
test edi, edi
push esi
mov dword [esi + 0x18], 0
setne bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x408057
test edi, edi
je 0x408057
push edi
lea ecx, [ebp - 0x268]
call fcn.00407b60
mov ecx, edi
call fcn.004013de
push edi
call fcn.0042c242
add esp, 4
add esi, 0x20
dec dword [ebp - 0x1e4]
jne 0x408016
cmp dword [ebp - 0x1f0], 0
jbe 0x4080e4
mov eax, dword [0x45f860]
test al, 1
jne 0x40807c
or eax, 1
mov dword [0x45f860], eax
cmp dword [0x45f854], 2
je 0x40808a
call fcn.00415360
mov esi, dword [0x45f858]
lea ecx, [ebp - 0x1e0]
call fcn.0040d610
push esi
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 1
call fcn.0040fc30
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040d9e0
lea eax, [ebp - 0x1e0]
mov ecx, esi
push eax
call fcn.0040ffe0
lea eax, [ebp - 0x1e0]
mov ecx, esi
push eax
call fcn.0040f660
lea ecx, [ebp - 0x1e0]
call fcn.0040f0c0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x1fc]
test ebx, ebx
je 0x408186
mov edi, dword [ebp - 0x1f8]
cmp ebx, edi
je 0x40817d
lea esi, [ebx + 0x5c]
cmp dword [esi], 8
jb 0x408116
push dword [esi - 0x14]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], ax
cmp dword [esi - 0x18], 8
jb 0x40813a
push dword [esi - 0x2c]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x18], 7
mov dword [esi - 0x1c], 0
mov word [esi - 0x2c], ax
cmp dword [esi - 0x30], 8
jb 0x40815f
push dword [esi - 0x44]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x30], 7
mov dword [esi - 0x34], 0
mov word [esi - 0x44], ax
add esi, 0x60
lea eax, [esi - 0x5c]
cmp eax, edi
jne 0x408106
push ebx
call fcn.0042c242
add esp, 4
mov ebx, dword [ebp - 0x208]
test ebx, ebx
je 0x4081c5
mov edi, dword [ebp - 0x204]
mov esi, ebx
cmp ebx, edi
je 0x4081bc
lea esp, [esp]
push 0x404095
push 0xc
push 0x18
lea eax, [esi + 0x3c]
push eax
call fcn.0042bedf
add esi, 0x15c
cmp esi, edi
jne 0x4081a0
push ebx
call fcn.0042c242
add esp, 4
mov ebx, dword [ebp - 0x214]
test ebx, ebx
je 0x408205
mov edi, dword [ebp - 0x210]
mov esi, ebx
cmp ebx, edi
je 0x4081fc
jmp 0x4081e0
push 0x404095
push 6
push 0x18
lea eax, [esi + 0x24]
push eax
call fcn.0042bedf
add esi, 0xb4
cmp esi, edi
jne 0x4081e0
push ebx
call fcn.0042c242
add esp, 4
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x408218
push eax
call fcn.0042c242
add esp, 4
mov ebx, dword [ebp - 0x22c]
test ebx, ebx
je 0x408314
mov edi, dword [ebp - 0x228]
cmp ebx, edi
je 0x40830b
lea esi, [ebx + 0x98]
lea ebx, [ebx]
cmp dword [esi], 8
jb 0x408250
push dword [esi - 0x14]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], ax
cmp dword [esi - 0x18], 8
jb 0x408274
push dword [esi - 0x2c]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x18], 7
mov dword [esi - 0x1c], 0
mov word [esi - 0x2c], ax
cmp dword [esi - 0x3c], 8
jb 0x408299
push dword [esi - 0x50]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x3c], 7
mov dword [esi - 0x40], 0
mov word [esi - 0x50], ax
cmp dword [esi - 0x54], 8
jb 0x4082be
push dword [esi - 0x68]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x54], 7
mov dword [esi - 0x58], 0
mov word [esi - 0x68], ax
cmp dword [esi - 0x6c], 8
jb 0x4082e3
push dword [esi - 0x80]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x6c], 7
mov dword [esi - 0x70], 0
mov word [esi - 0x80], ax
add esi, 0x9c
lea eax, [esi - 0x98]
cmp eax, edi
jne 0x408240
push ebx
call fcn.0042c242
add esp, 4
mov ebx, dword [ebp - 0x238]
test ebx, ebx
je 0x408366
mov edi, dword [ebp - 0x234]
cmp ebx, edi
je 0x40835d
lea esi, [ebx + 0x48]
jmp 0x408330
cmp dword [esi], 8
jb 0x408340
push dword [esi - 0x14]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], ax
add esi, 0x4c
lea eax, [esi - 0x48]
cmp eax, edi
jne 0x408330
push ebx
call fcn.0042c242
add esp, 4
mov ebx, dword [ebp - 0x244]
test ebx, ebx
je 0x408401
mov edi, dword [ebp - 0x240]
cmp ebx, edi
je 0x4083f8
lea esi, [ebx + 0x78]
cmp dword [esi], 8
jb 0x408391
push dword [esi - 0x14]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], ax
cmp dword [esi - 0x3c], 8
jb 0x4083b5
push dword [esi - 0x50]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x3c], 7
mov dword [esi - 0x40], 0
mov word [esi - 0x50], ax
cmp dword [esi - 0x54], 8
jb 0x4083da
push dword [esi - 0x68]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x54], 7
mov dword [esi - 0x58], 0
mov word [esi - 0x68], ax
add esi, 0x7c
lea eax, [esi - 0x78]
cmp eax, edi
jne 0x408381
push ebx
call fcn.0042c242
add esp, 4
mov ebx, dword [ebp - 0x250]
test ebx, ebx
je 0x40844e
mov edi, dword [ebp - 0x24c]
cmp ebx, edi
je 0x408445
lea esi, [ebx + 0x24]
cmp dword [esi], 8
jb 0x408428
push dword [esi - 0x14]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], ax
add esi, 0x4c
lea eax, [esi - 0x24]
cmp eax, edi
jne 0x408418
push ebx
call fcn.0042c242
add esp, 4
mov ebx, dword [ebp - 0x25c]
test ebx, ebx
je 0x4084f0
mov edi, dword [ebp - 0x258]
cmp ebx, edi
je 0x4084e7
lea esi, [ebx + 0x68]
lea ecx, [ecx]
cmp dword [esi], 8
jb 0x408480
push dword [esi - 0x14]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], ax
cmp dword [esi - 0x2c], 8
jb 0x4084a4
push dword [esi - 0x40]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x2c], 7
mov dword [esi - 0x30], 0
mov word [esi - 0x40], ax
cmp dword [esi - 0x44], 8
jb 0x4084c9
push dword [esi - 0x58]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [esi - 0x44], 7
mov dword [esi - 0x48], 0
mov word [esi - 0x58], ax
add esi, 0x6c
lea eax, [esi - 0x68]
cmp eax, edi
jne 0x408470
push ebx
call fcn.0042c242
add esp, 4
mov ebx, dword [ebp - 0x268]
test ebx, ebx
je 0x408520
mov edi, dword [ebp - 0x264]
mov esi, ebx
cmp ebx, edi
je 0x408517
mov ecx, esi
call fcn.004039ef
add esi, 0x104
cmp esi, edi
jne 0x408506
push ebx
call fcn.0042c242
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b782
mov esp, ebp
pop ebp
ret