Function at 0x40ad30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [0x429090]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x158], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ad80
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.00414830
sub esp, 0x18
mov ecx, esp
push 0x43212c
call fcn.00414370
lea ecx, [ebp - 0x170]
call fcn.00403690
push eax
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x140]
call fcn.00414980
mov edx, dword [ebp - 0x144]
add esp, 0x1c
cmp edx, 0x10
jb 0x40ae05
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40adfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b077
push edx
push ecx
call fcn.00415dee
add esp, 8
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp edx, 0x10
jb 0x40ae5a
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b077
push edx
push ecx
call fcn.00415dee
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x431d24
call fcn.00414370
lea ecx, [ebp - 0x170]
call fcn.00403690
add esp, 0x18
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x158]
push eax
push 0x42efbc
call fcn.00414c00
add esp, 4
lea ecx, [ebp - 0x128]
mov edx, eax
call fcn.00414980
mov edx, dword [ebp - 0x144]
add esp, 4
cmp edx, 0x10
jb 0x40aedb
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40aed1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b07c
push edx
push ecx
call fcn.00415dee
add esp, 8
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp edx, 0x10
jb 0x40af30
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40af26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b07c
push edx
push ecx
call fcn.00415dee
add esp, 8
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [0x4290c4]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x158], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40af68
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.00414830
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x128]
call fcn.00414d00
mov edx, dword [ebp - 0x144]
mov bl, al
cmp edx, 0x10
jb 0x40afd1
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40afc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b157
push edx
push ecx
call fcn.00415dee
add esp, 8
test bl, bl
je 0x40b081
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x40b013
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b009
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b157
push edx
push ecx
call fcn.00415dee
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x40b068
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b05e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b157
push edx
push ecx
call fcn.00415dee
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041577c
mov esp, ebp
pop ebp
ret
call fcn.0041923c
call fcn.0041923c
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push 0x42efb0
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.004180cc
add esp, 8
test eax, eax
je 0x40b0b5
push eax
call fcn.0041815a
add esp, 4
jmp 0x40b150
lea ecx, [ebp - 0x140]
call fcn.00405db0
test al, al
jne 0x40b0d8
push 0
lea ecx, [ebp - 0x140]
call fcn.004142a0
push eax
call dword [0x429078]
lea ecx, [ebp - 0x140]
call fcn.00405db0
test al, al
je 0x40b10a
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.00414370
sub esp, 0x18
mov ecx, esp
call fcn.00406830
call fcn.0040a200
add esp, 0x30
lea ecx, [ebp - 0x128]
call fcn.00405d80
test al, al
je 0x40b150
sub esp, 0x18
mov ecx, esp
push 0x42e3ab
call fcn.00414330
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.00414370
sub esp, 0x18
mov ecx, esp
push 0x42ef50
call fcn.00414330
call fcn.00404880
add esp, 0x48
push 0
call fcn.00417fff
call fcn.0041923c
int3