Function at 0x458391
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor eax, eax
cmp ebx, esi
mov word [ebp - 0x2c], si
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1c], esi
je 0x45868e
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x45868e
cmp dword [edi + 4], esi
jle 0x45868e
call fcn.0046ed85
cmp eax, esi
mov dword [ebp - 8], eax
je 0x45868e
cmp dword [ebx], esi
mov dword [ebp - 0x18], esi
jle 0x4584b4
add ebx, 0x4f4
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
dec ebx
mov dword [ebp - 4], esi
js 0x45849c
mov ecx, ebx
imul ecx, ecx, 0x1234
add eax, ecx
lea esi, [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
lea eax, [esi + 0xcd8]
cmp dword [eax - 4], 0
jg 0x458426
cmp dword [eax], 0
jle 0x458477
sub esp, 0x10
mov edi, esp
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 fcn.004a3bac
mov esi, dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.004a3cef
add esp, 0x18
test eax, eax
jne 0x45848e
push dword [esi]
mov esi, dword [ebp - 0xc]
sub esp, 0x10
mov edi, esp
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 fcn.004a3bac
add esp, 0x10
push eax
call fcn.004a3ec4
test eax, eax
pop ecx
pop ecx
je 0x458473
inc dword [ebp - 4]
cmp dword [ebp - 4], 7
jge 0x45849a
jmp 0x458477
and dword [ebp - 4], 0
mov esi, dword [ebp - 0xc]
mov eax, 0x1234
sub dword [ebp - 0x10], eax
dec ebx
sub esi, eax
test ebx, ebx
mov dword [ebp - 0xc], esi
jge 0x458415
jmp 0x45849a
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0046ee6e
pop ecx
xor esi, esi
inc dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x14], 4
cmp ecx, dword [eax]
jl 0x4583f0
mov edi, dword [ebp + 0xc]
cmp dword [edi + 4], esi
mov dword [ebp - 0x10], esi
jle 0x458681
add edi, 0x44
mov dword [ebp - 4], edi
jmp 0x4584ca
xor esi, esi
push 0x10
lea eax, [ebp - 0x2c]
push esi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
call fcn.004b53e0
mov esi, dword [ebp - 8]
add esp, 0xc
call fcn.0046f129
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
je 0x458654
jmp 0x4584f9
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0xcf4]
mov edx, dword [ebx + 0xcf0]
mov eax, dword [edi - 0x38]
call fcn.0045297e
test eax, eax
jne 0x4585d6
mov esi, dword [edi - 0x38]
push esi
mov eax, ebx
call fcn.00485d5a
test eax, eax
pop ecx
jne 0x4585d6
xor edx, edx
cmp dword [ebx + 0x11bc], edx
je 0x45854d
mov eax, dword [ebp + 8]
mov ebx, esi
call fcn.0048d988
test eax, eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 4]
je 0x4585d6
xor edx, edx
cmp dword [ebx + 0xf78], edx
jne 0x458565
cmp dword [ebx + 0xf90], edx
jne 0x458565
cmp dword [ebx + 0x10b0], edx
je 0x45856e
mov dword [ebp + 8], 1
jmp 0x458586
cmp dword [ebx + 0x1170], edx
je 0x458583
cmp byte [edi + 0x1f], 0
mov dword [ebp + 8], 1
je 0x458586
mov dword [ebp + 8], edx
movsx esi, word [ebx + 0xf18]
cmp esi, edx
mov dword [ebp - 0x18], edx
jle 0x4585d1
lea ecx, [ebx + 0xf1a]
movzx eax, word [ecx]
cmp ax, dx
jge 0x4585b3
movsx edx, word [edi - 4]
movsx eax, ax
neg eax
cmp edx, eax
je 0x4585cc
xor edx, edx
jmp 0x4585c0
cmp word [edi - 4], ax
jne 0x4585c0
mov dword [ebp + 8], 1
inc dword [ebp - 0x18]
inc ecx
inc ecx
cmp dword [ebp - 0x18], esi
jl 0x45859a
jmp 0x4585d1
xor edx, edx
mov dword [ebp + 8], edx
cmp dword [ebp + 8], edx
jne 0x4585e4
mov esi, dword [edi - 0x38]
mov eax, ebx
call fcn.00485d94
test eax, eax
je 0x45863c
sub esp, 0x10
lea esi, [ebp - 0x2c]
mov edi, esp
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 fcn.004a3d6f
add esp, 0x10
test eax, eax
jne 0x458620
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebx + 0x1c]
mov edi, esp
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 fcn.004a3f09
add esp, 0x20
test eax, eax
je 0x458639
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1174]
lea esi, [ebx + 0x1c]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
call fcn.0046f18a
test eax, eax
mov dword [ebp + 8], eax
jne 0x4584f6
cmp dword [ebp - 0x14], eax
jne 0x458657
inc dword [ebp - 0x1c]
mov ax, word [ebp - 0x14]
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov word [edi], ax
mov ax, word [ebp - 0xc]
mov word [edi + 0x18], ax
mov eax, dword [ebp + 0xc]
add edi, 0x90
cmp ecx, dword [eax + 4]
mov dword [ebp - 4], edi
jl 0x4584c8
mov edi, dword [ebp - 8]
call fcn.0046ee28
mov eax, dword [ebp - 0x1c]
jmp 0x458690
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret