Function at 0x40d18b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [0x469f3c], eax
push 0x46d6a0
call fcn.00412dd7
add esp, 4
mov dword [ebp - 4], 0x242e8
mov ecx, dword [0x469f3c]
imul ecx, ecx, 0x1b
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00412e92
add esp, 4
mov dword [0x467bec], eax
cmp dword [0x467bec], 0
jne 0x40d1fc
push 0x467ef8
push str.PROC:_s_get_TMCB_memory_error_exit
push 0x6f7
push 0x45a12c
mov eax, dword [0x45b824]
push eax
call fcn.00409481
add esp, 0x14
push 0
call fcn.0042014d
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [0x467bec]
push edx
call fcn.00421180
add esp, 0xc
push 0x30
push 0
push 0x467eb0
call fcn.00421180
add esp, 0xc
mov ax, word [0x46d4e0]
mov word [0x467ec8], ax
mov cx, word [0x467ec8]
mov word [0x467eb8], cx
mov dl, byte [0x46d4e2]
mov byte [0x467ec7], dl
mov al, byte [0x467ec7]
mov byte [0x467eb7], al
mov dword [0x467eb0], 0x3faa
mov word [0x467ed2], 9
mov byte [0x467ed4], 2
mov ecx, dword [0x469f3c]
sub ecx, 1
mov dword [0x467bf0], ecx
mov dword [0x467bf4], 1
mov dword [0x467bf8], 1
mov edx, dword [0x469f3c]
shl edx, 2
push edx
call fcn.00412e92
add esp, 4
mov dword [0x467bfc], eax
cmp dword [0x467bfc], 0
jne 0x40d2d8
push 0x467ef8
push str.PROC:_s_get_TMCBPool_memory_error
push 0x70f
push 0x45a16c
mov eax, dword [0x45b824]
push eax
call fcn.00409481
add esp, 0x14
push 0
call fcn.0042014d
mov dword [ebp - 8], 0
jmp 0x40d2ea
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [0x469f3c]
jae 0x40d306
mov eax, dword [ebp - 8]
mov ecx, dword [0x467bfc]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4], edx
jmp 0x40d2e1
mov dword [0x467c02], 0
mov dword [0x467c0a], 0
mov dword [0x467c0e], 0xffffffff
mov dword [0x467c12], 0xffffffff
mov dword [ebp - 8], 1
jmp 0x40d340
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xa
jae 0x40d38a
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0xa
mov edx, dword [ebp - 8]
imul edx, edx, 0x16
mov dword [edx + 0x467c02], ecx
mov eax, dword [ebp - 8]
imul eax, eax, 0x16
mov dword [eax + 0x467c0a], 0
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x16
mov dword [ecx + 0x467c0e], 0xffffffff
mov edx, dword [ebp - 8]
imul edx, edx, 0x16
mov dword [edx + 0x467c12], 0xffffffff
jmp 0x40d337
mov dword [0x467cde], 0
mov dword [0x467ce6], 0
mov dword [0x467cea], 0xffffffff
mov dword [0x467cee], 0xffffffff
mov dword [ebp - 8], 0xb
jmp 0x40d3c4
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x14
jae 0x40d411
mov ecx, dword [ebp - 8]
sub ecx, 0xa
imul ecx, ecx, 0x64
mov edx, dword [ebp - 8]
imul edx, edx, 0x16
mov dword [edx + 0x467c02], ecx
mov eax, dword [ebp - 8]
imul eax, eax, 0x16
mov dword [eax + 0x467c0a], 0
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x16
mov dword [ecx + 0x467c0e], 0xffffffff
mov edx, dword [ebp - 8]
imul edx, edx, 0x16
mov dword [edx + 0x467c12], 0xffffffff
jmp 0x40d3bb
mov dword [0x467dba], 0
mov dword [0x467dc2], 0
mov dword [0x467dc6], 0xffffffff
mov dword [0x467dca], 0xffffffff
mov dword [ebp - 8], 0x15
jmp 0x40d44b
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1e
jae 0x40d49b
mov ecx, dword [ebp - 8]
sub ecx, 0x14
imul ecx, ecx, 0x3e8
mov edx, dword [ebp - 8]
imul edx, edx, 0x16
mov dword [edx + 0x467c02], ecx
mov eax, dword [ebp - 8]
imul eax, eax, 0x16
mov dword [eax + 0x467c0a], 0
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x16
mov dword [ecx + 0x467c0e], 0xffffffff
mov edx, dword [ebp - 8]
imul edx, edx, 0x16
mov dword [edx + 0x467c12], 0xffffffff
jmp 0x40d442
mov dword [0x467e96], 0
mov dword [0x467e9e], 0
mov dword [0x467ea2], 0xffffffff
mov dword [0x467ea6], 0xffffffff
mov esp, ebp
pop ebp
ret