Function at 0x456151
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x2c], bx
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 edi, dword [ebp + 8]
cmp edi, ebx
mov dword [ebp - 0x1c], ebx
je 0x45644e
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x45644e
cmp dword [esi + 4], ebx
jle 0x45644e
call fcn.0046a3c9
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x45644e
cmp dword [edi], ebx
mov dword [ebp - 0x18], ebx
jle 0x456274
add edi, 0x4f4
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 4], ebx
mov ebx, dword [eax + 8]
dec ebx
js 0x45625a
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 0x4561e6
cmp dword [eax], 0
jle 0x456237
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.00499a1b
mov esi, dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.00499b2f
add esp, 0x18
test eax, eax
jne 0x45624e
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.00499a1b
add esp, 0x10
push eax
call fcn.00499cea
test eax, eax
pop ecx
pop ecx
je 0x456233
inc dword [ebp - 4]
cmp dword [ebp - 4], 7
jge 0x45625a
jmp 0x456237
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 0x4561d5
jmp 0x45625a
push dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
call fcn.0046a47b
pop ecx
inc dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x14], 4
xor ebx, ebx
cmp ecx, dword [eax]
jl 0x4561b0
mov esi, dword [ebp + 0xc]
cmp dword [esi + 4], ebx
mov dword [ebp - 0x10], ebx
jle 0x456441
add esi, 0x44
mov dword [ebp - 4], esi
jmp 0x45628a
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
call fcn.004a8c80
mov edi, dword [ebp - 8]
add esp, 0xc
call fcn.0046a6b7
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
je 0x456414
jmp 0x4562b9
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0xcf4]
mov edx, dword [ebx + 0xcf0]
mov eax, dword [esi - 0x38]
call fcn.00450d82
test eax, eax
jne 0x456396
mov edi, dword [esi - 0x38]
push edi
mov eax, ebx
call fcn.0047d2a1
test eax, eax
pop ecx
jne 0x456396
xor edx, edx
cmp dword [ebx + 0x11bc], edx
je 0x45630d
mov eax, dword [ebp + 8]
mov ebx, edi
call fcn.0048461e
test eax, eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 4]
je 0x456396
xor edx, edx
cmp dword [ebx + 0xf78], edx
jne 0x456325
cmp dword [ebx + 0xf90], edx
jne 0x456325
cmp dword [ebx + 0x10b0], edx
je 0x45632e
mov dword [ebp + 8], 1
jmp 0x456346
cmp dword [ebx + 0x1170], edx
je 0x456343
cmp byte [esi + 0x1f], 0
mov dword [ebp + 8], 1
je 0x456346
mov dword [ebp + 8], edx
movsx edi, word [ebx + 0xf18]
cmp edi, edx
mov dword [ebp - 0x18], edx
jle 0x456391
lea ecx, [ebx + 0xf1a]
movzx eax, word [ecx]
cmp ax, dx
jge 0x456373
movsx edx, word [esi - 4]
movsx eax, ax
neg eax
cmp edx, eax
je 0x45638c
xor edx, edx
jmp 0x456380
cmp word [esi - 4], ax
jne 0x456380
mov dword [ebp + 8], 1
inc dword [ebp - 0x18]
inc ecx
inc ecx
cmp dword [ebp - 0x18], edi
jl 0x45635a
jmp 0x456391
xor edx, edx
mov dword [ebp + 8], edx
cmp dword [ebp + 8], edx
jne 0x4563a4
mov esi, dword [esi - 0x38]
mov eax, ebx
call fcn.0047d2db
test eax, eax
je 0x4563f9
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.00499b95
add esp, 0x10
test eax, eax
jne 0x4563e0
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.00499d2f
add esp, 0x20
test eax, eax
je 0x4563f9
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 - 8]
call fcn.0046a703
test eax, eax
mov esi, dword [ebp - 4]
mov dword [ebp + 8], eax
jne 0x4562b6
cmp dword [ebp - 0x14], eax
jne 0x456417
inc dword [ebp - 0x1c]
mov ax, word [ebp - 0x14]
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov word [esi], ax
mov ax, word [ebp - 0xc]
mov word [esi + 0x18], ax
mov eax, dword [ebp + 0xc]
add esi, 0x90
cmp ecx, dword [eax + 4]
mov dword [ebp - 4], esi
jl 0x456288
mov esi, dword [ebp - 8]
call fcn.0046a43e
mov eax, dword [ebp - 0x1c]
jmp 0x456450
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret