Function at 0x410af0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483af0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
call fcn.0044f63a
mov ecx, dword [eax + 4]
call fcn.0044725d
mov dword [esp + 0x48], 0
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410b52
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x48], 1
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410b81
push 0x80004005
call fcn.00401fc0
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 + 0x48], 2
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x94]
push ecx
push edx
call fcn.0042d1b0
mov edi, eax
mov esi, dword [edi + 0xc]
mov dword [esp + 0x2c], edi
cmp esi, dword [edi + 0x10]
jbe 0x410bb9
call fcn.00462656
mov ebp, dword [edi]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x410bd0
call fcn.00462656
mov eax, dword [edi]
test ebp, ebp
je 0x410bda
cmp ebp, eax
je 0x410bdf
call fcn.00462656
cmp dword [esp + 0x38], esi
je 0x410d97
test ebp, ebp
jne 0x410c57
call fcn.00462656
xor eax, eax
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax + 0x10]
jb 0x410c02
call fcn.00462656
mov edx, dword [esp + 0x38]
mov edi, dword [edx]
mov ecx, dword [edi + 0x10]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x410c6e
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x410c5c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x410c5c
push eax
call fcn.00401fe0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x410c4a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
jmp 0x410c6a
mov eax, dword [ebp]
jmp 0x410bf4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401da0
mov ebp, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
cmp eax, 1
jne 0x410c89
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00461856
add esp, 4
mov dword [esp + 0x28], eax
jmp 0x410cf9
mov edx, dword [esp + 0x28]
lea ecx, [edx + edx + 1]
cmp eax, ecx
jg 0x410d97
mov edx, eax
and edx, 0x80000001
jns 0x410ca8
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jle 0x410cf9
mov eax, dword [eax*4 + 0x48f4d4]
push eax
mov ecx, ebx
call fcn.0044e025
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0044c5f3
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, dword [ebx + 0x94]
push edi
push eax
call fcn.0042ec40
test eax, eax
je 0x410d25
test ebp, ebp
jne 0x410d20
call fcn.00462656
xor eax, eax
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax + 0x10]
jb 0x410d12
call fcn.00462656
add dword [esp + 0x38], 4
mov edi, dword [esp + 0x2c]
jmp 0x410bc3
mov eax, dword [ebp]
jmp 0x410d04
cmp dword [0x4a9948], 0
jne 0x410d8c
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push 0x4905e0
push eax
call fcn.00410e20
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 3
call fcn.00407570
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410d79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push 0x10
push 0x48e338
push ecx
mov ecx, ebx
call fcn.0044a077
push 0x3ee
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebx]
mov eax, dword [edx + 0x168]
mov ecx, ebx
call eax
mov byte [esp + 0x48], 1
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 0x410dc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410ded
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1b]
mov dword [esp + 0x48], 0xffffffff
call fcn.00410f60
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret