Function at 0x478138
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], 0x6b91f4
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x20], 0
mov dword [ebp - 0x14], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x30]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
cmp eax, ecx
je 0x4782bc
mov esi, eax
add esi, 0xffffffe8
mov dword [ebp - 4], eax
test eax, eax
je 0x47827d
mov word [ebp - 0x20], 0x14
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x34]
mov dword [ecx + 8], eax
mov edx, dword [esi + 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x4781fe
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x38]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x40], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x40]
cmp ecx, eax
je 0x47825f
mov edx, dword [ebp - 0x40]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x47825f
mov ecx, dword [esi + 8]
mov edi, dword [ecx - 4]
push edi
push edi
mov eax, dword [ebp - 4]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
add edx, 0xc
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x44]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x50], edi
mov edx, dword [esi + 8]
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x54]
push ecx
mov eax, dword [ebp - 0x58]
push eax
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], edx
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
dec dword [ebp - 0x14]
mov word [ebp - 0x20], 8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
add ecx, 0xffffffe8
push ecx
push ebx
call fcn.00478674
add esp, 0xc
mov esi, dword [ebp + 0x10]
push esi
push ebx
call fcn.0069a2e0
add esp, 8
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x14], edx
mov ecx, dword [ebp + 8]
add dword [ecx + 8], 0x18
jmp 0x478551
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 8]
sub eax, ecx
mov ecx, 0x18
cdq
idiv ecx
mov ecx, eax
test ecx, ecx
je 0x4782dc
add ecx, ecx
jmp 0x4782e1
mov ecx, 0x2a
mov dword [ebp - 0x64], ecx
mov edi, dword [ebp - 0x64]
mov eax, edi
shl eax, 3
lea eax, [eax + eax*2]
push eax
call fcn.0067ac68
pop ecx
mov esi, eax
test esi, esi
jne 0x47833c
lea edx, [ebp - 0x30]
mov eax, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov edx, 0x6b045c
mov word [ebp - 0x20], 0x2c
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
inc dword [ebp - 0x14]
mov dword [ebp - 8], edx
inc dword [ebp - 0x14]
push ecx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x68]
push eax
push ebx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
push ecx
call fcn.004786b8
add esp, 0xc
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, 0x18
push dword [eax + 4]
pop edx
mov eax, ebx
sub eax, edx
cdq
idiv ecx
shl eax, 3
mov edx, dword [ebp - 0x68]
lea eax, [eax + eax*2]
add eax, edx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47847d
mov word [ebp - 0x20], 0x44
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x6c]
mov dword [eax + 8], edx
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x4783e6
mov edx, dword [esi + 8]
mov dword [ebp - 0x70], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x70]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x78], ecx
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x78]
cmp eax, edx
je 0x47845f
mov ecx, dword [ebp - 0x78]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x47845f
mov eax, dword [esi + 8]
mov edi, dword [eax - 4]
push edi
push edi
mov edx, dword [ebp - 0xc]
push edx
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
add ecx, 0xc
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x7c]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
mov edx, dword [eax + 8]
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0x88], edi
mov ecx, dword [esi + 8]
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov dword [ebp - 0x90], edx
mov ecx, dword [ebp - 0x88]
push ecx
mov eax, dword [ebp - 0x8c]
push eax
mov edx, dword [ebp - 0x90]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], edx
dec dword [ebp - 0x14]
mov word [ebp - 0x20], 0x38
mov word [ebp - 0x20], 0x5c
mov eax, dword [ebp + 8]
push dword [eax + 4]
mov eax, ebx
pop edx
sub eax, edx
mov ecx, 0x18
cdq
idiv ecx
shl eax, 3
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x68]
add eax, edx
add eax, 0x18
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
push ebx
call fcn.004786b8
mov word [ebp - 0x20], 0
add esp, 0xc
jmp 0x4784de
mov edx, dword [ebp + 8]
mov ebx, 0x18
mov esi, dword [edx + 8]
mov edx, dword [ebp + 8]
mov eax, esi
mov ecx, dword [edx + 4]
sub eax, ecx
push esi
cdq
idiv ebx
push ecx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.00478564
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0067ac7c
mov edx, dword [ebp - 0x64]
pop ecx
shl edx, 3
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp + 8]
add eax, 0x10
lea edx, [edx + edx*2]
add edx, ecx
mov ecx, edx
mov edx, ebx
shl edx, 3
mov dword [eax + 8], ecx
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 8]
lea edx, [edx + edx*2]
add edx, eax
add edx, 0x18
mov dword [ecx + 8], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x68]
mov dword [edx + 4], eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret