Function at 0x4b924c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff4b4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xb40], ebx
mov dword [ebp - 0xb48], ebx
mov dword [ebp - 0xb44], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ba1af
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 1
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00409404
test al, al
je 0x4ba191
xor ecx, ecx
push ebp
push 0x4ba187
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
push ebp
push 0x4ba0cd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41ae94]
call fcn.004200fc
mov dword [ebp - 0x18], eax
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0041fc04
lea edx, [ebp - 0x28]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
and eax, 0xffff
cmp eax, 0x4b53
je 0x4b931d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403d60
jmp 0x4ba191
mov eax, dword [ebp - 0x18]
call fcn.004b8990
mov ebx, eax
test ebx, ebx
jge 0x4b933d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403d60
jmp 0x4ba191
lea edx, [ebp - 0xd8]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xd4]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xd2]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xd0]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xce]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xcc]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xc8]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xc4]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp word [ebp - 0xc4], 0
jbe 0x4b93f2
movzx edx, word [ebp - 0xc4]
mov cx, 1
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0x14]
xor ecx, ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0x14]
mov byte [ebp - 0x29], 0
jmp 0x4b95bd
lea edx, [ebp - 0x108]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x104]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x102]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x100]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xfe]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xfc]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xfa]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xf8]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xf4]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xf0]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xec]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xea]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xe8]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xe6]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xe4]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xe0]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xdc]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
movzx ecx, word [ebp - 0xec]
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0xec]
mov byte [ebp + eax - 0x22c], 0
lea edx, [ebp - 0xb44]
lea eax, [ebp - 0x22c]
call fcn.00409ac8
mov eax, dword [ebp - 0xb44]
lea edx, [ebp - 0xb40]
call fcn.004089d4
mov eax, dword [ebp - 0xb40]
push eax
lea edx, [ebp - 0xb48]
mov eax, dword [ebp - 0xc]
call fcn.004089d4
mov edx, dword [ebp - 0xb48]
pop eax
call fcn.00404738
jne 0x4b95bd
mov byte [ebp - 0x29], 1
jmp 0x4b95e5
mov eax, dword [ebp - 0x18]
call fcn.0041fbe4
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x4b95dd
cmp eax, dword [esp]
pop edx
pop eax
ja 0x4b940b
jmp 0x4b95e5
pop edx
pop eax
jg 0x4b940b
cmp byte [ebp - 0x29], 0
jne 0x4b95fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403d60
jmp 0x4ba191
push 0xffff
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x41ae94]
call fcn.004200fc
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x128]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x124]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x122]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x120]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x11e]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x11c]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x118]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x114]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x110]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x10c]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x10a]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
movzx edx, word [ebp - 0x10c]
mov cx, 1
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
cmp word [ebp - 0x10a], 0
jbe 0x4b9725
movzx edx, word [ebp - 0x10a]
mov cx, 1
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
test byte [ebp - 0x100], 1
je 0x4b9a3a
cmp dword [ebp + 8], 0
jne 0x4b974e
mov byte [ebp - 0x11], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403d60
jmp 0x4ba191
mov dword [ebp - 0xb8], 0x12345678
mov dword [ebp - 0xbc], 0x23456789
mov dword [ebp - 0xc0], 0x34567890
mov dword [ebp - 0xb4], 0x8088405
lea edx, [ebp - 0x730]
mov ecx, 0xc
mov eax, dword [ebp - 0x18]
call fcn.0041fe10
mov eax, dword [ebp + 8]
call fcn.004045ec
mov edi, eax
test edi, edi
jle 0x4b9834
mov eax, 1
mov edx, dword [ebp + 8]
mov dl, byte [edx + eax - 1]
xor dl, byte [ebp - 0xb8]
and edx, 0xff
mov edx, dword [edx*4 + 0x532268]
mov ecx, dword [ebp - 0xb8]
shr ecx, 8
and ecx, 0xffffff
xor edx, ecx
mov dword [ebp - 0xb8], edx
mov edx, dword [ebp - 0xb8]
and edx, 0xff
add dword [ebp - 0xbc], edx
mov edx, dword [ebp - 0xbc]
imul edx, dword [ebp - 0xb4]
inc edx
mov dword [ebp - 0xbc], edx
mov dl, byte [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
shr ecx, 0x18
xor dl, cl
and edx, 0xff
mov edx, dword [edx*4 + 0x532268]
mov ecx, dword [ebp - 0xc0]
shr ecx, 8
and ecx, 0xffffff
xor edx, ecx
mov dword [ebp - 0xc0], edx
inc eax
dec edi
jne 0x4b97a0
mov eax, 0xc
lea edi, [ebp - 0x730]
lea esi, [ebp - 0x73c]
mov edx, dword [ebp - 0xc0]
and edx, 0xffff
or edx, 2
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
xor cl, byte [edi]
mov byte [esi], cl
mov dl, byte [ebp - 0xb8]
xor dl, byte [esi]
and edx, 0xff
mov edx, dword [edx*4 + 0x532268]
mov ecx, dword [ebp - 0xb8]
shr ecx, 8
and ecx, 0xffffff
xor edx, ecx
mov dword [ebp - 0xb8], edx
mov edx, dword [ebp - 0xb8]
and edx, 0xff
add dword [ebp - 0xbc], edx
mov edx, dword [ebp - 0xbc]
imul edx, dword [ebp - 0xb4]
inc edx
mov dword [ebp - 0xbc], edx
mov dl, byte [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
shr ecx, 0x18
xor dl, cl
and edx, 0xff
mov edx, dword [edx*4 + 0x532268]
mov ecx, dword [ebp - 0xc0]
shr ecx, 8
and ecx, 0xffffff
xor edx, ecx
mov dword [ebp - 0xc0], edx
inc esi
inc edi
dec eax
jne 0x4b9845
mov ax, word [ebp - 0x100]
and ax, 8
cmp ax, 8
jne 0x4b9913
movzx eax, word [ebp - 0xfc]
shl eax, 0x10
mov dword [ebp - 4], eax
jmp 0x4b991c
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 4], eax
mov al, byte [ebp - 1]
cmp al, byte [ebp - 0x731]
je 0x4b993d
mov byte [ebp - 0x11], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403d60
jmp 0x4ba191
mov dl, 1
mov eax, dword [0x41af84]
call fcn.004034b8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xb3c]
xor ecx, ecx
mov edx, 0x400
call fcn.00402e74
lea edx, [ebp - 0xb3c]
mov ecx, 0x400
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x400
jne 0x4b99e6
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0xb3c]
mov edx, 0x400
call fcn.004b8cc4
lea edx, [ebp - 0xb3c]
mov ecx, 0x400
mov eax, dword [ebp - 0x20]
call fcn.0041fe48
lea edx, [ebp - 0xb3c]
mov ecx, 0x400
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x400
je 0x4b9983
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0xb3c]
mov edx, dword [ebp - 0xa8]
call fcn.004b8cc4
lea edx, [ebp - 0xb3c]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.0041fc04
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
jmp 0x4b9a40
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, 0x4000
call fcn.00402820
mov dword [ebp - 0x30], eax
mov eax, 0x10102
call fcn.00402820
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
add eax, 0x10000
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x48], 0
jne 0x4b9ab5
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
cmp eax, 4
jge 0x4b9aa2
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x24]
call fcn.004b8a3c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x38], 4
mov dword [ebp - 0x48], 0x20
mov eax, dword [ebp - 0x44]
and al, 1
mov byte [ebp - 0x2a], al
shr dword [ebp - 0x44], 1
dec dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 2
call fcn.004b8c6c
mov edx, eax
test edx, edx
jne 0x4b9c9c
mov ecx, dword [ebp - 0x48]
and ecx, 0x80000007
jns 0x4b9af1
dec ecx
or ecx, 0xfffffff8
inc ecx
shr dword [ebp - 0x44], cl
mov eax, dword [ebp - 0x48]
and eax, 0x80000007
jns 0x4b9b03
dec eax
or eax, 0xfffffff8
inc eax
sub dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0xa4]
mov ecx, 4
mov eax, dword [ebp - 0x24]
call fcn.004b8af4
movzx eax, word [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov eax, 0x4000
call fcn.00402820
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xa8], 0
je 0x4b9c8c
cmp dword [ebp - 0xa8], 0x4000
jle 0x4b9b6f
mov dword [ebp - 0xac], 0x4000
jmp 0x4b9b7b
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x24]
call fcn.004b8af4
mov esi, dword [ebp - 0xac]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jb 0x4b9bed
mov edx, dword [ebp - 0x34]
mov ecx, 0x8000
mov eax, dword [ebp - 0x1c]
call fcn.0041fe48
mov eax, dword [ebp - 0x34]
add eax, 0x8000
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x98]
call fcn.00402a1c
sub dword [ebp - 0x4c], 0x8000
mov edi, dword [ebp - 0xb0]
mov ebx, dword [ebp - 0x50]
sub ebx, dword [ebp - 0x4c]
cmp esi, ebx
jge 0x4b9bff
mov ebx, esi
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov ecx, ebx
call fcn.00402a1c
add dword [ebp - 0x4c], ebx
sub esi, ebx
test esi, esi
jle 0x4b9c73
add edi, ebx
mov edx, dword [ebp - 0x34]
mov ecx, 0x8000
mov eax, dword [ebp - 0x1c]
call fcn.0041fe48
mov eax, dword [ebp - 0x34]
add eax, 0x8000
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x98]
call fcn.00402a1c
sub dword [ebp - 0x4c], 0x8000
mov ebx, dword [ebp - 0x50]
sub ebx, dword [ebp - 0x4c]
cmp esi, ebx
jge 0x4b9c5e
mov ebx, esi
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov ecx, ebx
call fcn.00402a1c
add dword [ebp - 0x4c], ebx
sub esi, ebx
test esi, esi
jg 0x4b9c14
mov eax, dword [ebp - 0xac]
sub dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x4b9b57
mov eax, dword [ebp - 0xb0]
call fcn.00402840
jmp 0x4ba09c
cmp edx, 2
jne 0x4ba020
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 5
call fcn.004b8c6c
add eax, 0x101
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 5
call fcn.004b8c6c
inc eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 4
call fcn.004b8c6c
add eax, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x54], 0x11e
jg 0x4b9d02
cmp dword [ebp - 0x58], 0x1e
jle 0x4b9d14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403d60
jmp 0x4ba191
lea eax, [ebp - 0x724]
xor ecx, ecx
mov edx, 0x4c
call fcn.00402e74
mov edi, dword [ebp - 0x5c]
dec edi
test edi, edi
jl 0x4b9d57
inc edi
mov esi, 0x532158
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 3
call fcn.004b8c6c
xor edx, edx
mov dl, byte [esi]
mov dword [ebp + edx*4 - 0x724], eax
inc esi
dec edi
jne 0x4b9d34
mov ecx, 7
mov dl, 1
mov eax, dword [0x4b89e0]
call fcn.004ba368
mov esi, eax
push 0
push 0x13
mov byte [ebp - 0xb4c], 0
lea eax, [ebp - 0xb4c]
push eax
push 0
push 0xffff
lea edx, [ebp - 0x724]
mov ecx, 0x13d
mov eax, esi
call fcn.004ba1c4
lea eax, [ebp - 0x724]
xor ecx, ecx
mov edx, 0x4f8
call fcn.00402e74
xor ebx, ebx
jmp 0x4b9f14
mov eax, dword [esi + 0xc]
add eax, 7
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x24]
call fcn.004b8bc4
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax*4 + 0x5320d8]
and eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov eax, esi
call fcn.004ba38c
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
and eax, 0xffff
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x7c], 0xf
jg 0x4b9e36
mov eax, dword [ebp - 0x7c]
mov dword [ebp + ebx*4 - 0x724], eax
inc ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x80]
call fcn.004b8c38
jmp 0x4b9f14
cmp dword [ebp - 0x7c], 0x10
jne 0x4b9e9c
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x70]
shr eax, cl
and eax, 3
add eax, 3
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + ebx*4 - 0x728]
mov dword [ebp - 0x7c], eax
mov edi, dword [ebp - 0x84]
dec edi
test edi, edi
jl 0x4b9e79
inc edi
xor eax, eax
lea edx, [eax + ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + edx*4 - 0x724], ecx
inc eax
dec edi
jne 0x4b9e68
add ebx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
add eax, 2
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x6c]
call fcn.004b8c38
jmp 0x4b9f14
cmp dword [ebp - 0x7c], 0x11
jne 0x4b9ed9
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x70]
shr eax, cl
and eax, 7
add eax, 3
mov dword [ebp - 0x84], eax
add ebx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
add eax, 3
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x6c]
call fcn.004b8c38
jmp 0x4b9f14
cmp dword [ebp - 0x7c], 0x12
jne 0x4b9f14
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x70]
shr eax, cl
and eax, 0x7f
add eax, 0xb
mov dword [ebp - 0x84], eax
add ebx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
add eax, 7
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x6c]
call fcn.004b8c38
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x58]
cmp ebx, eax
jl 0x4b9dae
mov ecx, 0xf
mov dl, 1
mov eax, dword [0x4b89e0]
call fcn.004ba368
mov dword [ebp - 0x60], eax
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0x5321ac
push 0x1e
push 0x101
lea edx, [ebp - 0x724]
mov ecx, 0x13d
mov eax, dword [ebp - 0x60]
call fcn.004ba1c4
mov ecx, 0xf
mov dl, 1
mov eax, dword [0x4b89e0]
call fcn.004ba368
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
push 0x5321cc
push 0x1f
push 0
lea edx, [ebp - 0x724]
mov ecx, 0x13d
mov eax, dword [ebp - 0x64]
call fcn.004ba1c4
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call fcn.004b8e6c
mov eax, esi
call fcn.004034e8
mov eax, dword [ebp - 0x60]
call fcn.004034e8
mov eax, dword [ebp - 0x64]
call fcn.004034e8
jmp 0x4ba09c
dec edx
jne 0x4ba09c
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x53266c]
mov eax, dword [0x532668]
call fcn.004b8e6c
cmp byte [ebp - 0x2a], 0
je 0x4b9a7f
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x4c]
je 0x4ba0bf
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
call fcn.0041fe48
mov byte [ebp - 0x11], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba0db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba191
cmp dword [ebp - 0x20], 0
je 0x4ba0f6
mov eax, dword [ebp - 0x20]
call fcn.004034e8
cmp dword [ebp - 0x1c], 0
je 0x4ba142
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4ba119
cmp eax, 0
jne 0x4ba119
cmp byte [ebp - 0x11], 0
jne 0x4ba119
mov byte [ebp - 0x11], 1
jmp 0x4ba13a
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0xf0]
cdq
cmp edx, dword [esp + 4]
jne 0x4ba132
cmp eax, dword [esp]
pop edx
pop eax
je 0x4ba13a
mov byte [ebp - 0x11], 2
mov eax, dword [ebp - 0x1c]
call fcn.004034e8
cmp dword [ebp - 0x18], 0
je 0x4ba150
mov eax, dword [ebp - 0x18]
call fcn.004034e8
cmp dword [ebp - 0x30], 0
je 0x4ba15e
mov eax, dword [ebp - 0x30]
call fcn.00402840
cmp dword [ebp - 0x34], 0
je 0x4ba16c
mov eax, dword [ebp - 0x34]
call fcn.00402840
cmp byte [ebp - 0x11], 0
je 0x4ba186
mov eax, dword [ebp - 0x10]
call fcn.00409404
test al, al
je 0x4ba186
mov eax, dword [ebp - 0x10]
call fcn.00409614
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba1b6
lea eax, [ebp - 0xb48]
mov edx, 3
call fcn.00404340
ret