Function at 0x411b70
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 0x411bd2
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 0x411c01
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 0x411c39
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 0x411c50
call fcn.00462656
mov eax, dword [edi]
test ebp, ebp
je 0x411c5a
cmp ebp, eax
je 0x411c5f
call fcn.00462656
cmp dword [esp + 0x38], esi
je 0x411e1a
test ebp, ebp
jne 0x411cd7
call fcn.00462656
xor eax, eax
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax + 0x10]
jb 0x411c82
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 0x411cee
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x411cdc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x411cdc
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 0x411cca
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 0x411cea
mov eax, dword [ebp]
jmp 0x411c74
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 0x411d09
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00461856
add esp, 4
mov dword [esp + 0x28], eax
jmp 0x411d7c
mov edx, dword [esp + 0x28]
lea ecx, [edx*4 + 1]
cmp eax, ecx
jg 0x411e1a
mov edx, eax
and edx, 0x80000001
jns 0x411d2b
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jle 0x411d7c
mov eax, dword [eax*4 + 0x48f490]
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 0x411da8
test ebp, ebp
jne 0x411da3
call fcn.00462656
xor eax, eax
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax + 0x10]
jb 0x411d95
call fcn.00462656
add dword [esp + 0x38], 4
mov edi, dword [esp + 0x2c]
jmp 0x411c43
mov eax, dword [ebp]
jmp 0x411d87
cmp dword [0x4a9948], 0
jne 0x411e0f
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 0x411dfc
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 0x411e4b
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 0x411e70
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