Function at 0x4109ac
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7b8
push ebx
push esi
push edi
xor edi, edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
cmp eax, edx
jne 0x410a10
mov ecx, dword [ebx]
mov dword [ebp - 8], ecx
mov eax, dword [ebx + 4]
add eax, eax
mov edx, eax
shl edx, 3
lea edx, [edx + edx*8]
push edx
call fcn.0067ac46
pop ecx
mov dword [ebx], eax
mov ecx, dword [ebx + 4]
shl ecx, 3
lea ecx, [ecx + ecx*8]
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx]
push edx
call fcn.0069cc60
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call fcn.0067ac5a
pop ecx
mov eax, dword [ebx + 4]
add eax, eax
mov dword [ebx + 4], eax
mov edx, dword [ebx + 8]
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + edx*8 + 0x38], eax
mov edx, dword [ebx + 8]
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + edx*8 + 0x3c], eax
mov edx, dword [ebx + 8]
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + edx*8 + 0x40], eax
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x410a4c
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x410d0c
movsx eax, byte [esi]
cmp eax, 0x2f
je 0x410a5d
mov edx, dword [ebp + 0x14]
mov cl, byte [edx]
test cl, cl
jne 0x410a62
mov dword [ebp - 4], esi
jmp 0x410a7d
lea eax, [ebp - 0x818]
mov dword [ebp - 4], eax
push esi
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 4]
push ecx
push ebx
call fcn.00410d64
add esp, 0x10
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x410acb
push 1
mov edx, dword [ebx + 8]
shl edx, 3
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
add edx, ecx
add edx, 8
push edx
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.0040f490
add esp, 0x10
mov edi, eax
test edi, edi
jge 0x410aea
push 0x30
mov eax, dword [ebp + 0x18]
push eax
mov edx, dword [ebx + 8]
shl edx, 3
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
add edx, ecx
add edx, 8
push edx
call fcn.0069cc60
add esp, 0xc
jmp 0x410aea
push 0x30
mov eax, dword [ebp + 0x18]
push eax
mov edx, dword [ebx + 8]
shl edx, 3
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
add edx, ecx
add edx, 8
push edx
call fcn.0069cc60
add esp, 0xc
test edi, edi
jge 0x410af5
xor eax, eax
jmp 0x410d5d
mov edx, dword [ebx + 8]
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
test byte [ecx + edx*8 + 0xd], 0x10
je 0x410c03
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x410b1a
mov dl, byte [ebx + 0x55]
test dl, dl
jne 0x410c03
mov ecx, dword [ebx + 8]
shl ecx, 3
lea ecx, [ecx + ecx*8]
mov eax, dword [ebx]
add ecx, eax
add ecx, 0x38
push ecx
push esi
mov edx, dword [ebp + 0x14]
push edx
push ebx
call fcn.00410dd8
add esp, 0x10
mov ecx, dword [ebx + 8]
lea ecx, [ecx + ecx*8]
mov eax, dword [ebx]
mov edi, dword [eax + ecx*8 + 0x38]
mov al, byte [edi]
test al, al
jne 0x410b4d
xor edi, edi
test edi, edi
je 0x410c03
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x410b63
mov dl, byte [ebx + 0x55]
test dl, dl
jne 0x410b6e
mov cl, byte [ebx + 0x54]
test cl, cl
je 0x410c03
push 1
lea eax, [ebp - 0x848]
push eax
push edi
push ebx
call fcn.0040f490
add esp, 0x10
test eax, eax
jne 0x410c03
mov edx, dword [ebx + 8]
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
mov dword [ecx + edx*8 + 0x40], 1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x410be0
mov dl, byte [ebx + 0x55]
test dl, dl
je 0x410be0
test byte [ebp - 0x843], 0x40
je 0x410be0
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jne 0x410bc3
mov edx, dword [ebx + 8]
mov ecx, dword [ebx]
mov eax, esi
mov esi, edi
lea edx, [edx + edx*8]
mov dword [ecx + edx*8 + 0x38], eax
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
push esi
lea esi, [ebp - 0x848]
lea eax, [eax + eax*8]
mov ecx, 0xc
lea edi, [edx + eax*8 + 8]
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x410c03
mov eax, dword [ebx + 8]
lea eax, [eax + eax*8]
mov edx, dword [ebx]
movsx ecx, word [ebp - 0x844]
mov dword [edx + eax*8 + 0x3c], ecx
mov eax, dword [ebx + 8]
lea eax, [eax + eax*8]
mov edx, dword [ebx]
mov dword [edx + eax*8 + 0x40], 1
mov eax, dword [ebx + 8]
lea eax, [eax + eax*8]
mov edx, dword [ebx]
test byte [edx + eax*8 + 0xd], 0x10
je 0x410c19
mov byte [edx + eax*8 + 0x44], 0
jmp 0x410c61
mov ecx, dword [ebx + 8]
lea ecx, [ecx + ecx*8]
mov eax, dword [ebx]
test byte [eax + ecx*8 + 0xd], 0x40
je 0x410c54
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x410c45
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jne 0x410c45
mov eax, dword [ebx + 8]
lea eax, [eax + eax*8]
mov edx, dword [ebx]
mov byte [edx + eax*8 + 0x44], 2
jmp 0x410c61
mov ecx, dword [ebx + 8]
lea ecx, [ecx + ecx*8]
mov eax, dword [ebx]
mov byte [eax + ecx*8 + 0x44], 1
jmp 0x410c61
mov edx, dword [ebx + 8]
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
mov byte [ecx + edx*8 + 0x44], 3
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
mov edi, dword [ebx + 0x2c]
test edi, edi
lea eax, [eax + eax*8]
mov ecx, dword [edx + eax*8 + 0x20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx + eax*8 + 0x24]
mov dword [ebp - 0xc], ecx
je 0x410ca0
push 0
push 0x400
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add eax, 0x3ff
adc edx, 0
call fcn.006a4d7b
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x410cc0
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add eax, 0x1ff
adc edx, 0
call fcn.006a4d7b
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov edi, eax
cmp edi, 0x2710
jl 0x410cdc
mov edx, dword [ebx + 0x68]
cmp edx, 5
jge 0x410cdc
mov dword [ebx + 0x68], 5
cmp edi, 0x186a0
jl 0x410cf3
mov ecx, dword [ebx + 0x68]
cmp ecx, 6
jge 0x410cf3
mov dword [ebx + 0x68], 6
cmp edi, 0xf4240
jl 0x410d0e
mov eax, dword [ebx + 0x68]
cmp eax, 7
jge 0x410d0e
mov dword [ebx + 0x68], 7
jmp 0x410d0e
xor edi, edi
push esi
call fcn.0069ce0c
pop ecx
inc eax
push eax
call fcn.0067ac46
mov edx, dword [ebx + 8]
pop ecx
mov ecx, dword [ebx]
lea edx, [edx + edx*8]
mov dword [ecx + edx*8], eax
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
lea eax, [eax + eax*8]
mov eax, dword [edx + eax*8]
push esi
push edi
mov edi, esi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
inc dword [ebx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret