Function at 0x4835fb
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 0x4838f9
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x4838f9
cmp dword [edi + 4], esi
jle 0x4838f9
call fcn.004a8f27
cmp eax, esi
mov dword [ebp - 8], eax
je 0x4838f9
cmp dword [ebx], esi
mov dword [ebp - 0x18], esi
jle 0x48371e
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 0x483706
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 0x483690
cmp dword [eax], 0
jle 0x4836e1
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.004f05c5
mov esi, dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.004f0708
add esp, 0x18
test eax, eax
jne 0x4836f8
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.004f05c5
add esp, 0x10
push eax
call fcn.004f08dd
test eax, eax
pop ecx
pop ecx
je 0x4836dd
inc dword [ebp - 4]
cmp dword [ebp - 4], 7
jge 0x483704
jmp 0x4836e1
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 0x48367f
jmp 0x483704
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004a9020
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 0x48365a
mov edi, dword [ebp + 0xc]
cmp dword [edi + 4], esi
mov dword [ebp - 0x10], esi
jle 0x4838eb
add edi, 0x44
mov dword [ebp - 4], edi
jmp 0x483734
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.005117f0
mov esi, dword [ebp - 8]
add esp, 0xc
call fcn.004a92db
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
je 0x4838be
jmp 0x483763
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0xcf4]
mov edx, dword [ebx + 0xcf0]
mov eax, dword [edi - 0x38]
call fcn.0047cff8
test eax, eax
jne 0x483840
mov esi, dword [edi - 0x38]
push esi
mov eax, ebx
call fcn.004d2159
test eax, eax
pop ecx
jne 0x483840
xor edx, edx
cmp dword [ebx + 0x11bc], edx
je 0x4837b7
mov eax, dword [ebp + 8]
mov ebx, esi
call fcn.004da21f
test eax, eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 4]
je 0x483840
xor edx, edx
cmp dword [ebx + 0xf78], edx
jne 0x4837cf
cmp dword [ebx + 0xf90], edx
jne 0x4837cf
cmp dword [ebx + 0x10b0], edx
je 0x4837d8
mov dword [ebp + 8], 1
jmp 0x4837f0
cmp dword [ebx + 0x1170], edx
je 0x4837ed
cmp byte [edi + 0x1f], 0
mov dword [ebp + 8], 1
je 0x4837f0
mov dword [ebp + 8], edx
movsx esi, word [ebx + 0xf18]
cmp esi, edx
mov dword [ebp - 0x18], edx
jle 0x48383b
lea ecx, [ebx + 0xf1a]
movzx eax, word [ecx]
cmp ax, dx
jge 0x48381d
movsx edx, word [edi - 4]
movsx eax, ax
neg eax
cmp edx, eax
je 0x483836
xor edx, edx
jmp 0x48382a
cmp word [edi - 4], ax
jne 0x48382a
mov dword [ebp + 8], 1
inc dword [ebp - 0x18]
inc ecx
inc ecx
cmp dword [ebp - 0x18], esi
jl 0x483804
jmp 0x48383b
xor edx, edx
mov dword [ebp + 8], edx
cmp dword [ebp + 8], edx
jne 0x48384e
mov esi, dword [edi - 0x38]
mov eax, ebx
call fcn.004d2193
test eax, eax
je 0x4838a6
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.004f0788
add esp, 0x10
test eax, eax
jne 0x48388a
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.004f0922
add esp, 0x20
test eax, eax
je 0x4838a3
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.004a933c
test eax, eax
mov dword [ebp + 8], eax
jne 0x483760
cmp dword [ebp - 0x14], eax
jne 0x4838c1
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 0x483732
push dword [ebp - 8]
call fcn.004a8fca
mov eax, dword [ebp - 0x1c]
pop ecx
jmp 0x4838fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret