Function at 0x48576b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
push 0x47ee50
push 0x47ee40
push 7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00485c50
test eax, eax
js 0x485995
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x48598c
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x485983
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0x47ee20
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x48597a
mov esi, dword [ebp + 0x1c]
mov edi, dword [0x496118]
lea eax, [esi + 1]
push eax
push 0
push 0x11
call edi
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x485971
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x496124]
test eax, eax
js 0x48596a
push esi
push dword [ebp + 0x18]
push dword [ebp - 0x1c]
call fcn.004871f0
add esp, 0xc
push ebx
call dword [0x496120]
test eax, eax
js 0x48596a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
test eax, eax
js 0x48596a
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x48596a
mov esi, dword [0x496114]
lea eax, [ebp - 0x38]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call esi
push 1
push 0
push 0xc
call edi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x485961
mov esi, dword [ebp + 8]
push esi
push 0
push 8
call edi
mov dword [ebp - 0x30], eax
test eax, eax
je 0x485958
and dword [ebp - 0x28], 0
mov eax, 0x2008
mov edi, dword [0x49611c]
mov word [ebp - 0x38], ax
xor eax, eax
mov dword [ebp - 8], eax
test esi, esi
jle 0x4858cf
mov ebx, dword [ebp + 0xc]
push dword [ebx + eax*4]
call dword [0x49612c]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x30]
call edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jl 0x4858ae
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call edi
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x48]
push edx
push esi
sub esp, 0x10
mov esi, 0x47d170
mov ecx, dword [eax]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jns 0x485946
cmp eax, 0x8002000e
jne 0x48592b
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x48]
push edx
push 0
sub esp, 0x10
mov esi, 0x47d170
mov ecx, dword [eax]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jns 0x485946
push eax
call fcn.00484bd5
pop ecx
push 0x10
push 0x47ef68
push 0x47efdc
push 0
call dword [0x496140]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push dword [ebp - 0x30]
call dword [0x496128]
push dword [ebp - 0x10]
call dword [0x496128]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [0x496128]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x2710
call dword [fcn.00496010]
push 0
call fcn.004868e1
int3