Function at 0x4a4832
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538d20
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x57c06c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
movaps xmm0, xmmword [0x565500]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0xa0], 0x4c2680
mov dword [ebp - 0x9c], 0x4c2620
mov dword [ebp - 0x98], 0x4c26c0
mov dword [ebp - 0x94], 0x4c2760
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x34], 0x558690
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0xa4], 0x4a45f0
mov dword [ebp - 4], 0
call fcn.004c2060
mov ebx, dword [ebp + 0xc]
add esp, 4
mov esi, dword [ebp + 0x10]
test ebx, ebx
je 0x4a46d8
test esi, esi
jne 0x4a46f9
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0x14], 0x2b
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [ebp - 0x254]
test eax, eax
jne 0x4a4720
push 0x1c
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x268]
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [ebp - 0x254], eax
mov dword [eax + 8], fcn.0040b3d0
mov dword [eax + 0xc], 0x4c2780
mov dword [eax + 0x10], 0x4c27c0
mov dword [eax + 0x14], 0x4c5250
mov dword [eax + 0x18], fcn.0040b3d0
mov dword [eax + 4], esi
mov dword [eax], ebx
mov eax, dword [ebp - 0x258]
cmp eax, 0xc8
je 0x4a4792
cmp eax, 0xc9
je 0x4a4792
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0x14], 0x15
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x258]
mov dword [ecx + 0x18], eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x258]
add esp, 4
add eax, 0xffffff38
xor esi, esi
cmp eax, 0xa
ja case.0x4a47a9.209
movzx eax, byte [eax + 0x4a4ddc]
jmp dword [eax*4 + 0x4a4dc8]
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
call eax
add esp, 4
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 8]
call eax
add esp, 4
mov dword [ebp - 0x258], 0xc9
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
call eax
mov esi, eax
add esp, 4
cmp esi, 1
jne 0x4a4862
lea ecx, [ebp - 0x26c]
call fcn.004c2320
mov dword [ebp - 0x258], 0xca
jmp 0x4a4862
mov esi, 1
jmp 0x4a4862
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
call eax
mov esi, eax
jmp 0x4a485f
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0x14], 0x15
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x258]
mov dword [ecx + 0x18], eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
call eax
add esp, 4
sub esi, 1
je 0x4a48e6
sub esi, 1
jne 0x4a48e6
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0x14], 0x35
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x268]
add esp, 4
test eax, eax
je 0x4a48e6
mov esi, 1
nop dword [eax]
test esi, esi
jle 0x4a48bd
mov eax, dword [eax + 0x24]
lea ecx, [ebp - 0x26c]
push esi
push ecx
call eax
mov eax, dword [ebp - 0x268]
add esp, 8
dec esi
jmp 0x4a48a0
cmp byte [ebp - 0x25c], 0
je 0x4a48dc
mov dword [ebp - 0x258], 0xc8
mov dword [ebp - 0x158], 0
jmp 0x4a48e6
mov dword [ebp - 0x258], 0x64
mov ecx, dword [ebp - 0x248]
cmp ecx, 3
je 0x4a48fa
cmp ecx, 1
jne 0x4a4da5
mov eax, dword [ebp - 0x24c]
imul eax, dword [ebp - 0x250]
imul eax, ecx
push eax
call fcn.004eec3a
mov ecx, dword [ebp - 0x250]
add esp, 4
mov dword [edi + 0x18], ecx
mov ebx, eax
mov ecx, dword [ebp - 0x24c]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x270], ebx
cmp ecx, 0xca
jne 0x4a499a
push 0x1c
lea eax, [ebp - 0x26c]
push 1
push eax
mov eax, dword [ebp - 0x268]
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0x26c]
mov dword [eax], 0x4c6c00
mov dword [eax + 4], 0x4c6d60
mov byte [eax + 8], 0
call fcn.004c63a0
cmp byte [ebp - 0x22c], 0
je 0x4a498e
mov esi, 0xcf
mov dword [ebp - 0x258], esi
jmp 0x4a4a76
mov dword [ebp - 0x258], 0xcb
jmp 0x4a49a6
cmp ecx, 0xcb
jne 0x4a4a2d
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0x10], 0
je 0x4a4a1f
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x4a49ca
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ecx]
call eax
add esp, 4
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x4a4a70
cmp eax, 2
je 0x4a4a1f
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x4a49ca
cmp eax, 3
je 0x4a49ff
cmp eax, 1
jne 0x4a49b8
inc dword [ecx + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 8]
cmp eax, edx
jl 0x4a49b8
mov eax, dword [ebp - 0x144]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x4a49b2
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1e8], eax
jmp 0x4a4a65
cmp ecx, 0xcc
je 0x4a4a65
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0x14], 0x15
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x258]
mov dword [ecx + 0x18], eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [ebp - 0x26c]
call fcn.004c2520
mov esi, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x1f4]
nop dword [eax]
mov edx, dword [ebp - 0x20c]
cmp ecx, edx
jae 0x4a4b96
mov eax, edx
sub eax, ecx
dec eax
imul eax, dword [ebp - 0x250]
imul eax, dword [ebp - 0x248]
add eax, ebx
mov dword [ebp - 0x278], eax
cmp esi, 0xcd
je 0x4a4aed
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0x14], 0x15
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x258]
mov dword [ecx + 0x18], eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x1f4]
add esp, 4
mov edx, dword [ebp - 0x20c]
cmp ecx, edx
jb 0x4a4b1a
mov eax, dword [ebp - 0x26c]
push 0xffffffffffffffff
mov dword [eax + 0x14], 0x7e
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax + 4]
call eax
add esp, 8
jmp 0x4a4a70
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x4a4b4a
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x264]
mov eax, dword [eax]
call eax
add esp, 4
push 1
lea eax, [ebp - 0x274]
mov dword [ebp - 0x274], 0
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x1f4]
add esp, 0x10
add ecx, dword [ebp - 0x274]
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x1f4], ecx
jmp 0x4a4a80
cmp esi, 0xcd
je 0x4a4ba6
cmp esi, 0xce
jne 0x4a4bcd
cmp byte [ebp - 0x22c], 0
jne 0x4a4bcd
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x258], 0xd2
jmp 0x4a4c16
cmp esi, 0xcf
jne 0x4a4be1
mov dword [ebp - 0x258], 0xd2
jmp 0x4a4c20
cmp esi, 0xd2
je 0x4a4c20
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0x14], 0x15
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x258]
mov dword [ecx + 0x18], eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
call eax
add esp, 4
nop dword [eax]
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0x11], 0
jne 0x4a4c46
mov eax, dword [eax]
lea ecx, [ebp - 0x26c]
push ecx
call eax
add esp, 4
test eax, eax
jne 0x4a4c20
mov eax, dword [ebp - 0x268]
jmp 0x4a4cb6
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 0x18]
call eax
mov eax, dword [ebp - 0x268]
add esp, 4
test eax, eax
je 0x4a4cc9
mov esi, 1
nop word [eax + eax]
test esi, esi
jle 0x4a4c8d
mov eax, dword [eax + 0x24]
lea ecx, [ebp - 0x26c]
push esi
push ecx
call eax
mov eax, dword [ebp - 0x268]
add esp, 8
dec esi
jmp 0x4a4c70
cmp byte [ebp - 0x25c], 0
je 0x4a4cac
mov dword [ebp - 0x258], 0xc8
mov dword [ebp - 0x158], 0
jmp 0x4a4cb6
mov dword [ebp - 0x258], 0x64
test eax, eax
je 0x4a4cc9
mov eax, dword [eax + 0x28]
lea ecx, [ebp - 0x26c]
push ecx
call eax
add esp, 4
mov eax, dword [edi + 0x1c]
imul eax, dword [edi + 0x18]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x258], 0
shl eax, 2
push eax
call fcn.004e2aee
mov esi, dword [edi + 0x1c]
add esp, 4
imul esi, dword [edi + 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x248]
cmp eax, 3
jne 0x4a4d63
xor ebx, ebx
test esi, esi
jle 0x4a4d42
mov edx, dword [ebp - 0x270]
inc edx
mov ecx, dword [edi + 0x10]
lea edx, [edx + 3]
movzx eax, byte [edx - 2]
mov byte [ecx + ebx*4], al
mov ecx, dword [edi + 0x10]
movzx eax, byte [edx - 3]
mov byte [ecx + ebx*4 + 1], al
mov ecx, dword [edi + 0x10]
movzx eax, byte [edx - 4]
mov byte [ecx + ebx*4 + 2], al
mov eax, dword [edi + 0x10]
mov byte [eax + ebx*4 + 3], 0xff
inc ebx
cmp ebx, esi
jl 0x4a4d12
mov ebx, dword [ebp - 0x270]
push ebx
call fcn.004e4a56
push dword [ebp - 0x27c]
call fcn.004f8b6d
mov dword [edi + 0xc], eax
add esp, 8
mov al, 1
jmp 0x4a4da7
cmp eax, 1
jne 0x4a4d48
xor edx, edx
test esi, esi
jle 0x4a4d48
nop
mov ecx, dword [edi + 0x10]
movzx eax, byte [edx + ebx]
mov byte [ecx + edx*4], al
mov ecx, dword [edi + 0x10]
movzx eax, byte [edx + ebx]
mov byte [ecx + edx*4 + 1], al
mov ecx, dword [edi + 0x10]
movzx eax, byte [edx + ebx]
mov byte [ecx + edx*4 + 2], al
mov eax, dword [edi + 0x10]
mov byte [eax + edx*4 + 3], 0xff
inc edx
cmp edx, esi
jl 0x4a4d70
jmp 0x4a4d48
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004e24d7
mov esp, ebp
pop ebp
ret 0xc