Function at 0x4730da
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x44]
xor ecx, ecx
mov dword [ebp - 0x14], eax
inc eax
mov dword [edi + 0x44], eax
mov dx, word [ebx + 2]
xor eax, eax
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 4], ecx
sete al
mov dword [ebp - 0x28], eax
mov eax, 0x800
mov esi, eax
and dx, si
cmp dx, ax
jne 0x47311a
mov esi, dword [ebx + 0x10]
jmp 0x47311c
xor esi, esi
cmp dword [edi + 0x40], ecx
jne 0x473318
mov eax, esi
call fcn.004507ed
test eax, eax
je 0x473318
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
movsx eax, word [eax + 0x1c]
mov dword [ebp - 0xc], eax
call fcn.0045c77d
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 8]
mov ebx, dword [eax + 0x14]
mov esi, dword [ebx + 0x44]
mov dword [ebp - 0x10], ebx
call fcn.004516f9
mov esi, eax
mov eax, edi
mov dword [ebp - 0x20], esi
call fcn.004708bb
push dword [ebx]
mov ebx, dword [ebx + 0x14]
push 0
push esi
mov eax, edi
call fcn.00457e40
add esp, 0xc
cmp dword [ebp - 0xc], 0
jge 0x4731e2
inc dword [edi + 0x48]
mov esi, dword [edi + 0x48]
mov ecx, dword [ebp - 8]
push esi
push 0x1a
pop eax
call fcn.0045623c
mov ecx, dword [ebp - 8]
push esi
push 1
mov ebx, eax
push 7
pop eax
call fcn.0045624d
mov esi, dword [ebp - 0x10]
push 0x26
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push edi
call fcn.0045fb68
mov ecx, dword [ebp - 8]
add esp, 0x1c
mov eax, ebx
mov dword [ebp - 4], 1
call fcn.0044f9fb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
mov ecx, edi
call fcn.0046221b
mov esi, ebx
mov dword [ebp - 0x24], eax
call fcn.00457055
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
imul ecx, ecx, 0x18
mov esi, dword [edx + 0xc]
mov dword [ebp - 0x30], ecx
cmp byte [ecx + esi + 0x16], al
je 0x47321b
cmp al, 0x62
je 0x47321b
and dword [ebp - 0x18], 0
jmp 0x473222
mov dword [ebp - 0x18], 1
mov esi, dword [edx + 0x10]
test esi, esi
je 0x473315
cmp dword [ebp - 4], 0
jne 0x4731d1
cmp dword [ebp - 0x18], 0
je 0x473315
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0xc]
cmp dword [eax], ecx
jne 0x473301
mov eax, dword [esi + 0x2c]
push 0
push dword [eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
movzx ecx, byte [ecx + 0x4d]
push ecx
call fcn.0045ba2a
add esp, 0xc
cmp eax, dword [ebp - 0x24]
jne 0x473301
cmp dword [ebp - 0x28], 0
je 0x473287
cmp dword [esi + 4], 1
jne 0x473301
cmp byte [esi + 0x18], 0
je 0x473301
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
push esi
push edi
call fcn.00462ebc
mov ecx, dword [ebp - 8]
push ebx
mov dword [ebp - 4], eax
push 0x1a
pop eax
call fcn.0045623c
mov ecx, dword [ebp - 8]
push ebx
push 1
mov dword [ebp - 0x2c], eax
push 7
pop eax
call fcn.0045624d
push 0xfffffffffffffff0
push dword [ebp - 4]
push dword [ebp - 0x20]
push dword [esi + 0x14]
push dword [ebp - 0x14]
push dword [ebp - 8]
push 0x26
pop eax
call fcn.0045aa2d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add esp, 0x2c
mov dword [ebp - 4], 3
call fcn.0044f9fb
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x473301
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x30]
cmp byte [edx + eax + 0x14], 0
jne 0x473301
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x47322d
cmp dword [ebp - 4], esi
jne 0x4731d1
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fld qword [edi + 0x1c0]
xor eax, eax
fstp qword [ebp - 0x34]
mov dword [ebp - 4], 2
cmp ecx, eax
je 0x47333b
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
jmp 0x47335e
fld1
fstp qword [edi + 0x1c0]
mov ecx, dword [ebx + 8]
cmp word [ecx + 0x1c], ax
jge 0x47335e
mov ecx, 0x800
test word [ebx + 2], cx
jne 0x47335e
mov dword [ebp - 4], 1
xor ecx, ecx
cmp dword [ebp - 4], 1
sete cl
push ecx
push eax
push ebx
mov eax, edi
call fcn.004622a8
fld qword [ebp - 0x34]
fstp qword [edi + 0x1c0]
add esp, 0xc
jmp 0x4731da