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

Disassembly:
push 0x64
mov eax, 0x4fcce7
call fcn.004e2dc9
mov edi, ecx
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
call fcn.00410c83
mov eax, dword [ebp + 0x14]
mov ecx, 0x3c0
movsd xmm0, qword [ebp + 0x18]
test eax, eax
movsd qword [edi + 0x90], xmm0
cmovle eax, ecx
lea ecx, [ebp - 0x70]
and eax, 0xfffffff8
mov dword [edi + 0x8c], eax
call fcn.00411802
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 1
call fcn.00410f2d
push dword [ebp + 0xc]
lea ecx, [edi + 0x98]
call fcn.00429479
mov esi, dword [edi + 0x50]
lea ecx, [edi + 0x98]
push ebx
call fcn.00429721
xor ecx, ecx
inc ecx
sub ecx, esi
add eax, ecx
push eax
push esi
lea esi, [edi + 0x98]
mov ecx, esi
call fcn.0042965a
mov ecx, esi
call fcn.004296c2
push ebx
xor ecx, ecx
lea esi, [edi + 0xb8]
push ebx
inc ecx
push ebx
push dword [edi + 0x8c]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.004094b9
mov ecx, esi
call fcn.0040962e
lea ecx, [edi + 0x98]
mov dword [ebp + 0x14], ebx
call fcn.00429721
test eax, eax
js 0x4113a6
mov esi, ebx
mov ecx, ebx
mov dword [ebp - 0x14], esi
push ecx
lea ecx, [edi + 0x98]
call fcn.0042952b
test al, al
je 0x411273
mov eax, dword [edi + 0xc4]
mov byte [edi + 0x14c], bl
mov eax, dword [esi + eax]
add esi, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], esi
jmp 0x411276
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0x14]
lea ecx, [edi + 0x98]
inc eax
push eax
call fcn.0042952b
test al, al
je 0x4112a4
mov eax, dword [edi + 0xc4]
mov byte [edi + 0x14c], bl
mov eax, dword [esi + eax]
add esi, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
jmp 0x4112a9
mov eax, ebx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0xc], 0
jne 0x4112b7
test eax, eax
je 0x41138c
push 0x44
call fcn.004dc5b8
mov dword [ebp + 0x1c], eax
pop ecx
test eax, eax
je 0x411352
mov ecx, dword [edi + 0x64]
cmp ecx, dword [ebp - 0x44]
jae 0x4112dc
mov esi, ecx
shl esi, 4
add esi, dword [ebp - 0x4c]
jmp 0x4112e8
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
lea esi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
push ecx
lea ecx, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x8c]
cvttsd2si ebx, qword [esi + 0x90]
mov dword [ebp - 0x1c], eax
call fcn.0042fff8
mov esi, dword [ebp + 0x1c]
push eax
lea ecx, [esi + 0x14]
mov dword [esi + 0xc], 0x10
call fcn.0042db52
mov eax, dword [ebp - 0x1c]
mov ecx, esi
lea esi, [ebp - 0x30]
lea edi, [ecx + 0x18]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x28], ebx
xor ebx, ebx
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], ebx
mov dword [ecx + 0x3c], ebx
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x40], ebx
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
mov esi, ecx
jmp 0x411354
mov esi, ebx
lea edx, [edi + 0x70]
mov ecx, dword [edx + 8]
inc ecx
cmp ecx, dword [edx + 4]
jle 0x41137b
mov eax, ecx
add ecx, 8
cdq
sub eax, edx
sar eax, 1
add eax, ecx
lea ecx, [edi + 0x70]
and eax, 0xfffffff8
push eax
call fcn.00406ba3
lea edx, [edi + 0x70]
mov ecx, dword [edx + 8]
lea eax, [ecx + 1]
mov dword [edx + 8], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], esi
mov esi, dword [ebp - 0x14]
add dword [ebp + 0x14], 2
lea ecx, [edi + 0x98]
call fcn.00429721
mov ecx, dword [ebp + 0x14]
cmp ecx, eax
jle 0x411249
push dword [ebp + 0x10]
lea ecx, [edi + 0xa8]
call fcn.00429479
mov esi, dword [edi + 0x5c]
lea ecx, [edi + 0xa8]
push ebx
call fcn.00429721
xor ecx, ecx
inc ecx
sub ecx, esi
add eax, ecx
push eax
push esi
lea esi, [edi + 0xa8]
mov ecx, esi
call fcn.0042965a
mov ecx, esi
call fcn.004296c2
push ebx
xor ecx, ecx
push ebx
inc ecx
push ebx
push dword [edi + 0x8c]
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x150]
call fcn.004094b9
lea ecx, [edi + 0x150]
call fcn.0040962e
mov ecx, esi
mov dword [ebp + 0xc], ebx
call fcn.00429721
test eax, eax
js 0x411584
mov esi, ebx
mov ecx, ebx
mov dword [ebp + 0x1c], esi
push ecx
lea ecx, [edi + 0xa8]
call fcn.0042952b
test al, al
je 0x41144b
mov eax, dword [edi + 0x15c]
mov byte [edi + 0x1e4], bl
mov eax, dword [esi + eax]
add esi, 4
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x1c], esi
jmp 0x41144e
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0xa8]
inc eax
push eax
call fcn.0042952b
test al, al
je 0x41147c
mov eax, dword [edi + 0x15c]
mov byte [edi + 0x1e4], bl
mov eax, dword [esi + eax]
add esi, 4
mov dword [ebp - 0x18], eax
mov dword [ebp + 0x1c], esi
jmp 0x411481
mov eax, ebx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0x10], 0
jne 0x41148f
test eax, eax
je 0x41156a
push 0x44
call fcn.004dc5b8
mov dword [ebp + 0x14], eax
pop ecx
test eax, eax
je 0x411525
mov ecx, dword [edi + 0x60]
cmp ecx, dword [ebp - 0x50]
jae 0x4114b4
mov esi, ecx
shl esi, 4
add esi, dword [ebp - 0x58]
jmp 0x4114c0
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
lea esi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
push ecx
lea ecx, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x8c]
cvttsd2si ebx, qword [esi + 0x90]
mov dword [ebp - 0x1c], eax
call fcn.0042fff8
mov edx, dword [ebp + 0x14]
push eax
lea ecx, [edx + 8]
mov dword [edx], 0x10
call fcn.0042db52
mov ecx, dword [ebp + 0x14]
lea esi, [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
lea edi, [ecx + 0xc]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x1c], ebx
xor ebx, ebx
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], ebx
mov dword [ecx + 0x30], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
jmp 0x411528
mov dword [ebp + 0x14], ebx
mov ecx, dword [edi + 0x84]
inc ecx
cmp ecx, dword [edi + 0x80]
jle 0x41154f
mov eax, ecx
add ecx, 8
cdq
sub eax, edx
sar eax, 1
add eax, ecx
lea ecx, [edi + 0x7c]
and eax, 0xfffffff8
push eax
call fcn.00406ba3
mov ecx, dword [edi + 0x84]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x84], eax
mov eax, dword [edi + 0x7c]
mov dword [eax + ecx*4], edx
add dword [ebp + 0xc], 2
lea ecx, [edi + 0xa8]
call fcn.00429721
mov ecx, dword [ebp + 0xc]
cmp ecx, eax
jle 0x411421
mov esi, dword [ebp + 8]
mov dword [esi], 0x51d44c
mov dword [ebp - 0x20], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push 0xf
mov dword [ebp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
cmp dword [edi + 0x84], 0
mov ecx, ebx
mov dword [ebp + 0x14], ebx
jle 0x411692
cmp ecx, dword [edi + 0x84]
jae 0x4115f7
mov eax, dword [edi + 0x7c]
mov ecx, dword [eax + ecx*4]
jmp 0x4115f9
mov ecx, ebx
lea eax, [ebp + 0xc]
push eax
call fcn.0040ff0c
mov ecx, dword [esi]
push ecx
mov edx, dword [eax]
mov dword [esi], edx
mov dword [eax], ecx
mov ecx, esp
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
push ebx
mov ecx, esi
call fcn.00403ccf
test eax, eax
jne 0x411635
mov ecx, dword [ebp + 0x14]
inc ecx
mov dword [ebp + 0x14], ecx
cmp ecx, dword [edi + 0x84]
jl 0x4115ed
jmp 0x411692
push ecx
mov edi, esp
push ecx
mov esi, esp
lea ecx, [ebp - 0x70]
push dword [ebp + 0x14]
call fcn.0042fff8
push ecx
mov ecx, esp
mov edx, str.Error_opening
push eax
call fcn.0042e541
mov edx, 0x522338
mov ecx, esi
call fcn.0042e5cf
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, esi
call fcn.0042e590
mov edx, 0x522334
lea ecx, [ebp + 0x14]
call fcn.0042e5cf
mov ecx, dword [esi]
push ecx
mov edx, dword [eax]
mov dword [esi], edx
mov dword [eax], ecx
mov ecx, esp
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
call fcn.0042db1d
mov edi, dword [ebp - 0x10]
pop ecx
push ebx
mov ecx, esi
call fcn.00403ccf
test eax, eax
jne 0x411752
mov ecx, ebx
mov dword [ebp + 0x14], ebx
cmp dword [edi + 0x78], eax
jle 0x411752
cmp ecx, dword [edi + 0x78]
jae 0x4116bd
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + ecx*4]
jmp 0x4116bf
mov ecx, ebx
lea eax, [ebp + 0xc]
push eax
call fcn.00410418
mov ecx, dword [esi]
push ecx
mov edx, dword [eax]
mov dword [esi], edx
mov dword [eax], ecx
mov ecx, esp
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
push ebx
mov ecx, esi
call fcn.00403ccf
test eax, eax
jne 0x4116f8
mov ecx, dword [ebp + 0x14]
inc ecx
mov dword [ebp + 0x14], ecx
cmp ecx, dword [edi + 0x78]
jl 0x4116b3
jmp 0x411752
push ecx
mov edi, esp
push ecx
mov esi, esp
lea ecx, [ebp - 0x64]
push dword [ebp + 0x14]
call fcn.0042fff8
push ecx
mov ecx, esp
mov edx, str.Error_opening
push eax
call fcn.0042e541
mov edx, 0x522338
mov ecx, esi
call fcn.0042e5cf
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, esi
call fcn.0042e590
mov edx, 0x522334
lea ecx, [ebp + 0x14]
call fcn.0042e5cf
mov ecx, dword [esi]
push ecx
mov edx, dword [eax]
mov dword [esi], edx
mov dword [eax], ecx
mov ecx, esp
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
push ebx
mov ecx, esi
call fcn.00403ccf
test eax, eax
jne 0x4117d0
mov esi, dword [ebp - 0x10]
mov edi, ebx
cmp dword [esi + 0x84], ebx
jle 0x41178f
mov eax, dword [esi + 0x7c]
mov eax, dword [eax + edi*4]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x411786
mov ecx, dword [edx]
add eax, 0x34
push eax
lea eax, [ebp + 0x14]
push eax
push edx
call dword [ecx + 0x10]
inc edi
cmp edi, dword [esi + 0x84]
jl 0x41176b
cmp dword [esi + 0x78], ebx
jle 0x4117b2
mov eax, dword [esi + 0x70]
mov edx, dword [eax + ebx*4]
mov ecx, dword [edx + 0x40]
test ecx, ecx
je 0x4117ac
mov eax, dword [ecx]
push edx
lea edx, [ebp + 0x14]
push edx
push ecx
call dword [eax + 0x10]
inc ebx
cmp ebx, dword [esi + 0x78]
jl 0x411794
push 9
lea ecx, [esi + 0xc]
call fcn.00430d14
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
lea ecx, [ebp - 0x70]
call fcn.0041182a
mov eax, esi
call fcn.004e2d97
ret 0x18