Function at 0x401a40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff14
push ebx
push esi
push edi
mov ebx, eax
mov esi, 0x479918
mov edi, 0x473188
mov eax, 0x473320
call fcn.004676dc
mov word [ebp - 0xdc], 8
xor edx, edx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], edx
push ecx
inc dword [ebp - 0xd0]
call fcn.00407cf0
lea edx, [ebp - 0xc0]
lea eax, [ebx + 0xf4]
call fcn.00471840
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.00471810
mov eax, dword [ebx + 0xf4]
call fcn.0041adb0
push 0x1044
call fcn.004668dc
pop ecx
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x401af3
mov word [ebp - 0xdc], 0x20
mov edx, dword [ebp - 0xc4]
push edx
call fcn.00407e3c
pop ecx
mov word [ebp - 0xdc], 0x14
mov ecx, dword [ebp - 0xc4]
jmp 0x401af9
mov ecx, dword [ebp - 0xc4]
mov dword [esi], ecx
xor eax, eax
mov word [ebp - 0xdc], 0x2c
mov dword [ebp - 4], eax
lea eax, [edi + 4]
inc dword [ebp - 0xd0]
mov word [ebp - 0xdc], 0x38
mov edx, dword [ebx + 0xf4]
push edx
lea edx, [ebp - 4]
push eax
push edx
call fcn.004718d4
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
mov eax, dword [esi]
push eax
call fcn.004080f4
add esp, 8
lea edx, [edi + 0x12]
push edx
mov ecx, dword [esi]
push ecx
call fcn.00407fd0
add esp, 8
call fcn.004037ac
lea eax, [edi + 0x24]
push eax
mov edx, dword [esi]
push edx
call fcn.00407fd0
add esp, 8
call fcn.00403e14
test eax, eax
jne 0x401b9a
mov ecx, dword [0x474be8]
push ecx
call fcn.00403d5c
test eax, eax
je 0x401b8b
lea eax, [edi + 0x26]
push eax
mov edx, dword [esi]
push edx
call fcn.00407fd0
add esp, 8
jmp 0x401b9a
lea ecx, [edi + 0x38]
push ecx
mov eax, dword [esi]
push eax
call fcn.00407fd0
add esp, 8
lea edx, [edi + 0x4d]
push edx
mov ecx, dword [esi]
push ecx
call fcn.00407fd0
add esp, 8
push 1
call fcn.00403fc8
test eax, eax
je 0x401bc5
lea eax, [edi + 0x4f]
push eax
mov edx, dword [esi]
push edx
call fcn.00407fd0
add esp, 8
jmp 0x401bd4
lea ecx, [edi + 0x60]
push ecx
mov eax, dword [esi]
push eax
call fcn.00407fd0
add esp, 8
lea edx, [edi + 0x74]
push edx
mov ecx, dword [esi]
push ecx
call fcn.00407fd0
add esp, 8
call fcn.004081b8
lea eax, [edi + 0x76]
push eax
mov edx, dword [esi]
push edx
call fcn.00407fd0
add esp, 8
call fcn.004033f0
lea ecx, [edi + 0x78]
push ecx
mov eax, dword [esi]
push eax
call fcn.00407fd0
add esp, 8
call fcn.004081b8
lea edx, [edi + 0x7a]
push edx
mov ecx, dword [esi]
push ecx
call fcn.00407fd0
add esp, 8
mov eax, dword [0x474bd8]
lea ecx, [edi + 0x7c]
push eax
mov edx, dword [ebx + 0xf4]
lea eax, [ebx + 0xf0]
push edx
push ecx
push eax
call fcn.004718d4
add esp, 0x10
mov eax, dword [ebx + 0xf0]
call fcn.0041ad7c
test al, al
je 0x401c5b
mov edx, dword [ebx + 0xf0]
mov eax, ebx
call fcn.00402070
lea edx, [edi + 0x81]
push edx
mov ecx, dword [esi]
push ecx
call fcn.00407fd0
add esp, 8
mov word [ebp - 0xdc], 0x44
lea eax, [ebp - 0xbc]
push eax
call fcn.0040439c
pop ecx
add dword [ebp - 0xd0], 0x15
mov word [ebp - 0xdc], 0x38
mov edx, dword [ebx + 0xf0]
xor ecx, ecx
push edx
lea eax, [ebp - 0xc8]
mov word [ebp - 0xdc], 0x50
mov dword [ebp - 0xc8], ecx
push eax
inc dword [ebp - 0xd0]
call fcn.00407cb4
lea edx, [ebp - 0xc8]
mov ecx, dword [edx]
push ecx
lea eax, [ebp - 0xbc]
push eax
call fcn.00404b3c
add esp, 0xc
mov edx, 2
push eax
lea eax, [ebp - 0xc8]
dec dword [ebp - 0xd0]
call fcn.00471810
pop ecx
test ecx, ecx
je 0x401d19
mov eax, dword [ebx + 0xf0]
lea edx, [edi + 0x83]
push eax
push edx
mov ecx, dword [esi]
push ecx
call fcn.00407fd0
add esp, 0xc
mov edx, dword [ebx + 0xf0]
mov eax, ebx
call fcn.00402070
jmp 0x401d3e
mov ecx, dword [ebx + 0xf0]
lea eax, [edi + 0x97]
push ecx
push eax
mov edx, dword [esi]
push edx
call fcn.00407fd0
add esp, 0xc
push 0x14
call sub.KERNEL32.DLL_Sleep
jmp 0x401c93
lea ecx, [edi + 0xae]
push ecx
mov eax, dword [esi]
push eax
call fcn.00407fd0
add esp, 8
call sub.KERNEL32.DLL_GetCurrentProcess
mov ebx, eax
mov word [ebp - 0xdc], 0x38
test ebx, ebx
je 0x401d7e
lea eax, [edi + 0xb0]
push eax
mov edx, dword [esi]
push edx
call fcn.00407fd0
add esp, 8
push 0
push ebx
call sub.KERNEL32.DLL_TerminateProcess
sub dword [ebp - 0xd0], 0x15
push 2
lea ecx, [ebp - 0xbc]
push ecx
call fcn.00404454
add esp, 8
dec dword [ebp - 0xd0]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00471810
mov ecx, dword [ebp - 0xec]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret