Function at 0x415830
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4df2b5
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, 0x518caa
call fcn.004dd464
mov eax, dword [ebp + 8]
cmp eax, 0x465
ja 0x41592d
je 0x415912
cmp eax, 0x113
jne case.0x41593b.1128
cmp dword [ebp + 0xc], 0x514
jne case.0x41593b.1128
mov ecx, dword [edi + 0x7c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x58]
call eax
mov ecx, dword [edi + 0x7a0]
movups xmm0, xmmword [eax]
lea eax, [ecx + 0x53]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x2f
jge 0x4158b3
mov dword [ebp - 0x1c], 0x2f
jmp 0x4158c1
cmp ecx, 0x20c
mov edx, 0x25f
cmovg eax, edx
mov ecx, dword [edi + 0x7c4]
push 1
mov dword [ebp - 0x14], eax
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
add dword [edi + 0x7a0], 4
cmp dword [edi + 0x7a0], 0x25f
jl case.0x41593b.1128
mov dword [edi + 0x7a0], 0xffffffdc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
call fcn.00415570
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
add eax, 0xfffffb9a
cmp eax, 7
ja case.0x41593b.1128
jmp dword [eax*4 + 0x415ae8]
push 1
mov ecx, edi
call fcn.0046c7ad
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov byte [edi + 0x7a4], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 0
mov ecx, edi
push 1
je 0x41599f
push 1
call fcn.0046cd11
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0
call fcn.0046cd11
mov ecx, dword [edi + 0x7cc]
test ecx, ecx
je case.0x41593b.1128
push 0
call fcn.0046b41b
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 4], 0
call fcn.00402970
mov ecx, eax
test ecx, ecx
je 0x415ade
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
lea esi, [eax + eax]
push esi
lea eax, [ebp + 8]
push 0x506c48
push eax
call fcn.00406a20
mov ecx, dword [edi + 0x7c0]
add esp, 0xc
push esi
call fcn.0046c64d
mov edx, dword [ebp + 8]
jmp 0x415ab2
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x415a3e
mov dword [edi + 0x7a0], 0xffffffdc
mov ecx, dword [edi + 0x7c4]
test eax, eax
setne al
movzx eax, al
mov edx, dword [ecx]
push eax
call dword [edx + 0x104]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edi + 0x772], 0
je case.0x41593b.1128
push 1
mov ecx, edi
call fcn.0046c7ad
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
call fcn.00406170
mov dword [ebp - 4], 2
mov ecx, dword [edi + 0x7c8]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg case.0x41593b.1128
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004027e0
salc
pop ecx
inc ecx
add byte [ecx + 0x5a], ch
inc ecx
add dl, cl
pop edx
inc ecx
add byte [edi + 0x2c00415a], cl
pop edx
inc ecx
add byte [edx + 0x59], bh
inc ecx
add byte [edx + 0x59], al
inc ecx
add byte [edi + 0x59], bl
inc ecx
add ah, cl
int3