Function at 0x52fe70
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, ecx
mov eax, dword [ecx + 0x24c]
mov dword [ebp - 0x3c], 0
test eax, eax
jne 0x530b82
mov edi, dword [esi + 4]
mov ebx, dword [esi + 0x34]
mov dword [ebp - 0x2c], 2
cmp dword [esi + 0x14], 0x1c
jb 0x530761
lea eax, [esi + 8]
mov dword [ebp - 0x48], eax
push eax
call fcn.004d4b50
add esp, 4
mov eax, dword [esi]
cmp eax, 7
mov dword [ebp - 0x24], esi
je 0x5302e6
mov ecx, ebx
cmp eax, 8
jne 0x52fed8
mov ebx, edi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
jmp 0x53040b
cmp eax, 9
jne 0x52fee7
mov ebx, ecx
mov esi, dword [ebp - 0x24]
jmp 0x530165
mov dword [ebp - 0x28], 0xffffffe1
cmp eax, 0xa
mov esi, dword [ebp - 0x24]
mov ebx, ecx
je 0x530518
jmp 0x53076d
add ecx, 8
mov dword [esi + 0xc], ecx
shr eax, 8
and eax, dword [ebx*4 + 0x6f4330]
lea eax, [edx + eax*4]
movzx edx, word [edx + 2]
lea edx, [eax + edx*4]
mov bl, byte [edx]
jmp 0x52ff4c
mov edi, dword [esi + 0x10]
movzx ebx, word [edi]
shrd eax, ebx, 0x10
mov dword [esi + 8], eax
xor ecx, 0x10
mov dword [esi + 0xc], ecx
add dword [esi + 0x14], 0xfffffffe
add edi, 2
mov dword [esi + 0x10], edi
shr eax, cl
movzx edi, al
lea edx, [edx + edi*4]
movzx ebx, byte [edx]
cmp ebx, 9
jae 0x52ff01
mov edi, dword [ebp - 0x20]
movzx eax, bl
add eax, ecx
mov dword [esi + 0xc], eax
mov al, byte [edx + 2]
mov ecx, dword [esi + 0x60]
mov byte [ecx + edi], al
dec dword [esi + 0xc0]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, dword [esi + 0x40]
je 0x530af5
mov bh, byte [ebp - 0x10]
mov bl, al
inc dword [ebp - 0x14]
je 0x530155
cmp dword [esi + 0x14], 0x1b
jbe 0x53074b
cmp dword [esi + 0xc0], 0
je 0x530778
mov eax, dword [esi + 0x6c]
mov byte [ebp - 0x10], bl
movzx ecx, bl
movzx edx, bh
mov dl, byte [eax + edx + 0x100]
or dl, byte [eax + ecx]
movzx eax, dl
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x70]
movzx eax, byte [edx + eax]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
cmp ecx, 0x10
jb 0x52ff3c
jmp 0x52ff1f
mov ecx, esi
call fcn.004c93d0
jmp 0x53017e
mov edx, dword [esi + 0x10]
movzx eax, word [edx]
shrd ebx, eax, 0x10
mov dword [esi + 8], ebx
add dword [esi + 0x14], 0xfffffffe
xor ecx, 0x10
add edx, 2
mov eax, ebx
shr eax, cl
mov dword [esi + 0x10], edx
mov edx, ebx
movzx eax, ax
mov dword [ebp - 0x18], eax
sub ecx, 0xfffffff0
mov dword [esi + 0xc], ecx
jb 0x530026
jmp 0x530044
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
ja 0x52ffde
mov eax, edx
shr eax, cl
movzx eax, ax
mov dword [ebp - 0x18], eax
or ecx, 0x10
mov dword [esi + 0xc], ecx
mov eax, dword [esi + 0x10]
mov ebx, edx
movzx edx, word [eax]
shrd ebx, edx, 0x10
mov edx, ebx
mov dword [esi + 8], ebx
add dword [esi + 0x14], 0xfffffffe
xor ecx, 0x10
add eax, 2
mov dword [esi + 0x10], eax
shr edx, cl
and edx, dword [edi*4 + 0x6f4310]
lea eax, [ecx + edi]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
shl edx, 0x10
add edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x530225
add eax, 8
mov dword [esi + 0xc], eax
shr edx, 8
and edx, dword [ecx*4 + 0x6f4330]
lea ecx, [edi + edx*4]
movzx edx, word [edi + 2]
lea edi, [ecx + edx*4]
mov cl, byte [edi]
jmp 0x5301b5
lea edi, [eax - 0xa]
mov ecx, eax
add ecx, 0xfffffffc
xor edx, edx
cmp ax, 0xa
setb dl
cmovae ecx, edi
shl ecx, 2
mov eax, 0x605142
shr eax, cl
and eax, 7
mov ecx, dword [esi + 0x48]
add ecx, edx
add ecx, 2
and ecx, 3
mov ecx, dword [esi + ecx*4 + 0x4c]
add eax, ecx
add eax, 0xfffffffd
test eax, eax
mov edx, SysReAllocString
cmovg edx, eax
mov dword [esi + 0x10c], edx
xor edi, edi
jmp 0x530105
mov dword [esi + 0x10c], eax
cmp ax, 3
ja 0x530088
mov edx, eax
not edx
xor edi, edi
inc edi
mov ecx, eax
shr edi, cl
mov dword [esi + 0xb4], edi
mov eax, dword [esi + 0x48]
add edx, eax
and edx, 3
mov edx, dword [esi + edx*4 + 0x4c]
mov dword [esi + 0x10c], edx
sub eax, edi
mov dword [esi + 0x48], eax
mov ebx, dword [ebp - 0x10]
jmp 0x53023c
mov ecx, dword [esi + 0x10]
mov ebx, edx
movzx edx, word [ecx]
shrd ebx, edx, 0x10
mov edx, ebx
mov dword [esi + 8], ebx
xor eax, 0x10
mov dword [esi + 0xc], eax
add dword [esi + 0x14], 0xfffffffe
add ecx, 2
mov dword [esi + 0x10], ecx
jmp 0x53019d
sete al
movzx edi, al
mov dword [esi + 0xb4], edi
mov eax, dword [esi + 0x48]
dec eax
mov dword [esi + 0x48], eax
and eax, 3
mov edx, dword [esi + eax*4 + 0x4c]
mov dword [esi + 0x10c], edx
jmp 0x53023c
cmp dword [esi + 0xb8], 0
jle 0x530b37
mov ebx, dword [ebp - 0x20]
cmp dword [esi + 0x10c], 0
mov dword [ebp - 0x10], ebx
jns 0x530130
cmp dword [esi + 0xc8], 0
je 0x52ffd2
mov eax, dword [esi + 0x98]
movzx ecx, byte [esi + 0x104]
mov edi, dword [eax + ecx*4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
cmp eax, 0x10
jae 0x53010d
mov ebx, edx
mov ecx, eax
shr edx, cl
movzx ecx, dl
lea edi, [edi + ecx*4]
movzx ecx, byte [edi]
cmp ecx, 9
jae 0x530067
movzx ecx, cl
add ecx, eax
mov dword [esi + 0xc], ecx
movzx eax, word [edi + 2]
dec dword [esi + 0xc8]
mov dword [esi + 0xb4], 0
cmp eax, 0xf
jbe 0x5300d1
mov edx, ebx
movzx edi, byte [esi + eax + 0x270]
cmp edi, 0x10
ja 0x53000e
cmp ecx, 0x10
jb 0x530214
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
movzx eax, word [edx]
shrd ebx, eax, 0x10
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], ebx
add dword [esi + 0x14], 0xfffffffe
xor ecx, 0x10
add edx, 2
mov dword [esi + 0x10], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
shr edx, cl
and edx, dword [edi*4 + 0x6f4350]
add ecx, edi
mov dword [esi + 0xc], ecx
mov cl, byte [esi + 0xf0]
shl edx, cl
add edx, dword [esi + eax*4 + 0x490]
mov dword [esi + 0x10c], edx
xor edi, edi
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
cmp eax, ecx
je 0x530250
cmp ebx, ecx
cmovl ecx, ebx
mov dword [esi + 0x3c], ecx
mov eax, ecx
mov ebx, dword [esi + 0x108]
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edx
jg 0x530556
mov ecx, dword [ebp - 0x10]
sub ecx, edx
and ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
mov edi, dword [esi + 0x60]
mov dword [ebp - 0x1c], edi
mov edi, edx
and edi, 3
mov eax, dword [ebp - 0x18]
mov dword [esi + edi*4 + 0x4c], eax
mov eax, ecx
mov ecx, dword [ebp - 0x10]
lea edi, [ebx + ecx]
inc edx
mov dword [esi + 0x48], edx
sub dword [esi + 0xb8], ebx
lea edx, [eax + ebx]
mov ebx, dword [ebp - 0x1c]
movups xmm0, xmmword [ebx + eax]
movups xmmword [ebx + ecx], xmm0
cmp edx, ecx
setg bl
cmp edi, eax
setg bh
test bl, bh
jne 0x530512
mov ebx, edi
mov edi, dword [esi + 0x40]
cmp ebx, edi
jge 0x530512
cmp edx, edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
jge 0x5308f2
cmp edi, 0x11
jge 0x5304e0
cmp dword [esi + 0xb8], 0
jle 0x530902
mov ecx, dword [esi + 0x14]
cmp ecx, 0x1c
jb 0x53075b
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x53054a
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
mov edi, dword [esi + 0x68]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
cmp eax, 0x10
jb 0x53033c
mov ecx, dword [esi + 0x10]
movzx ebx, word [ecx]
shrd edx, ebx, 0x10
mov dword [esi + 8], edx
xor eax, 0x10
mov dword [esi + 0xc], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov dword [esi + 0x14], ebx
add ecx, 2
mov dword [esi + 0x10], ecx
mov ebx, edx
mov ecx, eax
shr ebx, cl
movzx ecx, bl
lea edi, [edi + ecx*4]
movzx ecx, byte [edi]
cmp ecx, 9
mov dword [ebp - 0x30], edx
jae 0x53046b
movzx ecx, cl
add ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [esi + 0xc], ecx
movzx edi, word [edi + 2]
movzx ecx, byte [edi*8 + 0x6f0372]
movzx eax, byte [edi*8 + 0x6f0373]
mov dword [ebp - 0x14], eax
movsx ebx, byte [edi*8 + 0x6f0374]
movzx eax, byte [edi*8 + 0x6f0375]
mov edx, esi
movzx esi, word [edi*8 + 0x6f0376]
mov dword [ebp - 0x1c], esi
mov esi, edx
movzx edx, word [edi*8 + 0x6f0378]
mov dword [ebp - 0x34], edx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0xb4], eax
mov edi, dword [esi + 0x74]
mov al, byte [edi + eax]
mov byte [esi + 0x104], al
xor ebx, ebx
test ecx, ecx
jne 0x53048c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp al, 0x10
ja 0x530797
cmp ecx, 0x10
jae 0x530444
shr edx, cl
and edx, dword [eax*4 + 0x6f4350]
add ecx, eax
mov dword [esi + 0xc], ecx
add edx, dword [ebp - 0x34]
mov dword [esi + 0x108], edx
mov eax, dword [ebp - 0x18]
dec eax
mov dword [esi + 0xc4], eax
add ebx, dword [ebp - 0x1c]
je 0x530162
sub dword [esi + 0xb8], ebx
mov eax, dword [esi + 0xb0]
test eax, eax
jne 0x53068e
mov eax, dword [esi + 0x44]
mov edx, dword [ebp - 0x20]
lea ecx, [edx - 1]
and ecx, eax
add edx, 0xfffffffe
and edx, eax
mov eax, dword [esi + 0x60]
mov cl, byte [eax + ecx]
mov byte [ebp - 0x10], cl
mov ecx, ebx
mov bl, byte [ebp - 0x10]
mov bh, byte [eax + edx]
neg ecx
mov dword [ebp - 0x14], ecx
jmp 0x52ff81
mov eax, dword [esi + 0x10]
movzx edi, word [eax]
shrd edx, edi, 0x10
mov dword [esi + 8], edx
mov edi, dword [ebp - 0x10]
add edi, 0xfffffffe
mov dword [esi + 0x14], edi
add eax, 2
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
xor ecx, 0x10
jmp 0x5303db
add eax, 8
mov dword [esi + 0xc], eax
shr ebx, 8
and ebx, dword [ecx*4 + 0x6f4330]
lea ecx, [edi + ebx*4]
movzx edi, word [edi + 2]
lea edi, [ecx + edi*4]
mov cl, byte [edi]
jmp 0x530357
mov dword [ebp - 0x38], ecx
cmp cl, 0x10
mov edx, dword [ebp - 0x30]
ja 0x53081b
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x5304c5
mov eax, dword [esi + 0x10]
movzx edi, word [eax]
shrd edx, edi, 0x10
mov dword [esi + 8], edx
mov edi, dword [ebp - 0x10]
add edi, 0xfffffffe
mov dword [ebp - 0x10], edi
mov dword [esi + 0x14], edi
add eax, 2
mov dword [esi + 0x10], eax
xor ecx, 0x10
mov ebx, edx
shr ebx, cl
mov eax, dword [ebp - 0x38]
and ebx, dword [eax*4 + 0x6f4350]
add ecx, eax
mov dword [esi + 0xc], ecx
mov eax, dword [ebp - 0x14]
jmp 0x5303ce
mov ecx, dword [ebp - 0x1c]
add edx, ecx
add eax, ecx
cmp edi, 0x21
jae 0x5304f9
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edx + 0x10], xmm0
jmp 0x5302d9
add edx, 0x10
add eax, 0x10
lea ecx, [edi - 0x10]
push ecx
push eax
push edx
call fcn.00553570
add esp, 0xc
jmp 0x5302d9
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 0x40]
mov ecx, edi
mov edi, ecx
test ecx, ecx
jle 0x530544
mov ecx, ebx
sub ecx, dword [esi + 0x10c]
mov edx, dword [esi + 0x60]
and ecx, dword [esi + 0x44]
mov cl, byte [edx + ecx]
mov byte [edx + ebx], cl
inc ebx
lea ecx, [edi - 1]
cmp eax, ebx
jne 0x53051d
jmp 0x5308f9
dec edi
jmp 0x5302d9
mov ecx, esi
call fcn.004c8ef0
jmp 0x5302e6
cmp edx, 0x7ffffffc
jg 0x530b0b
mov ebx, dword [ebp - 0x3c]
sub ebx, ecx
mov esi, dword [ebp - 0x24]
jge 0x530976
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffffc
mov dword [ebp - 0x28], 0xfffffff4
cmp ecx, 0x1b
ja 0x53076d
mov edx, dword [esi + 0x248]
xor ecx, ecx
cmp dword [edx + 0x7c], 0
mov dword [ebp - 0x30], edx
jne 0x530b4a
movzx ecx, cl
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + ecx*4 + 0xc4]
mov edx, dword [ebp - 0x14]
movzx ebx, byte [ecx + edx]
mov dword [ebp - 0x34], ebx
not eax
mov ebx, dword [ebp - 0x18]
sub ebx, dword [ebp - 0x3c]
add ebx, eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax*4 + 0x6f4350]
and eax, ebx
imul eax, edx
mov dword [ebp - 0x1c], ecx
add eax, dword [ecx + edx*4 + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + eax*4 + 0x1c4]
add dword [esi + 0x48], edi
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x34]
sar ebx, cl
mov ecx, eax
mov eax, dword [eax + 0xc]
mov edi, eax
cmp ebx, eax
jge 0x530a43
mov eax, dword [ebp - 0x1c]
cmp byte [eax + edx], 0
je 0x530a43
mov eax, ecx
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
cmp byte [ecx + edi], 0
je 0x53076d
mov ecx, dword [ecx + 0xa4]
test ecx, ecx
je 0x530b17
mov dword [ebp - 0x28], 0xfffffff5
cmp ebx, dword [eax + 0xc]
jge 0x53076d
add ecx, dword [ebp - 0x38]
movsx edx, word [eax + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x60]
add eax, dword [ebp - 0x10]
cmp ebx, edx
je 0x53067f
push ebx
push dword [ebp - 0x18]
push edi
push ecx
push eax
call fcn.0054b4d0
add esp, 0x14
test eax, eax
je 0x530b23
sub dword [esi + 0xb8], eax
mov ecx, dword [ebp - 0x10]
add ecx, eax
cmp ecx, dword [esi + 0x40]
jge 0x530a30
mov ebx, ecx
jmp 0x5302d9
push edi
push ecx
push eax
call fcn.00553570
add esp, 0xc
mov eax, edi
jmp 0x530664
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
cmp ecx, 0x18
mov dword [ebp - 0x14], ebx
jae 0x530bf7
mov edx, dword [esi + 0x100]
shr eax, cl
movzx eax, al
mov bl, byte [edx + eax*4]
movzx edx, word [edx + eax*4 + 2]
neg dword [ebp - 0x14]
jmp 0x530709
mov edx, dword [esi + 0x10]
mov edi, dword [edx]
shrd ebx, edi, 0x18
mov edi, dword [ebp - 0x20]
mov dword [esi + 8], ebx
xor ecx, 0x18
mov dword [esi + 0xc], ecx
add dword [esi + 0x14], 0xfffffffd
add edx, 3
mov dword [esi + 0x10], edx
shr ebx, cl
movzx ecx, bl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx + ecx*4]
movzx edx, word [edx + ecx*4 + 2]
mov ecx, dword [esi + 0x60]
mov byte [ecx + edi], al
dec dword [esi + 0xc0]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, dword [esi + 0x40]
je 0x530af5
inc dword [ebp - 0x14]
je 0x530155
cmp dword [esi + 0x14], 0x1b
jbe 0x53074b
cmp dword [esi + 0xc0], 0
je 0x530b8d
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x10], eax
movzx edi, bl
mov ecx, dword [esi + 0xc]
cmp bl, 9
jae 0x53089d
add ecx, edi
mov dword [esi + 0xc], ecx
mov ebx, dword [esi + 8]
mov eax, edx
cmp ecx, 0x18
mov edi, dword [ebp - 0x20]
jb 0x5306d7
jmp 0x5306b8
mov dword [esi], 8
mov edi, dword [ebp - 0x14]
neg edi
mov ebx, dword [ebp - 0x20]
jmp 0x530761
mov dword [esi], 7
mov dword [esi + 0x34], ebx
mov dword [esi + 4], edi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.004c9120
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x52ff98
mov ebx, dword [ebp - 0x14]
neg ebx
jmp 0x530411
cmp ecx, 0x10
jb 0x5307be
mov eax, dword [esi + 0x10]
movzx edi, word [eax]
shrd edx, edi, 0x10
mov dword [esi + 8], edx
mov edi, dword [ebp - 0x10]
add edi, 0xfffffffe
mov dword [ebp - 0x10], edi
mov dword [esi + 0x14], edi
add eax, 2
mov dword [esi + 0x10], eax
xor ecx, 0x10
mov eax, edx
shr eax, cl
movzx eax, ax
add ecx, 0x10
mov dword [esi + 0xc], ecx
cmp ecx, 0x18
jae 0x5307ee
shr edx, cl
mov edi, dword [ebp - 0x14]
and edx, dword [edi*4 + 0x6f4310]
add ecx, edi
add ecx, 0xfffffff0
mov dword [esi + 0xc], ecx
shl edx, 0x10
or edx, eax
jmp 0x5303e9
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x28], edi
mov esi, ebx
mov ebx, dword [edi]
shrd edx, ebx, 0x18
mov ebx, esi
mov esi, dword [ebp - 0x24]
mov dword [esi + 8], edx
mov edi, dword [ebp - 0x10]
add edi, 0xfffffffd
mov dword [esi + 0x14], edi
mov edi, dword [ebp - 0x28]
add edi, 3
mov dword [esi + 0x10], edi
xor ecx, 0x18
jmp 0x5307d0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x530845
mov eax, dword [esi + 0x10]
movzx edi, word [eax]
shrd edx, edi, 0x10
mov dword [esi + 8], edx
mov edi, dword [ebp - 0x10]
add edi, 0xfffffffe
mov dword [ebp - 0x10], edi
mov dword [esi + 0x14], edi
add eax, 2
mov dword [esi + 0x10], eax
xor ecx, 0x10
mov eax, edx
shr eax, cl
movzx edi, ax
add ecx, 0x10
mov dword [esi + 0xc], ecx
cmp ecx, 0x18
jae 0x530c18
mov ebx, edx
shr ebx, cl
mov eax, dword [ebp - 0x38]
and ebx, dword [eax*4 + 0x6f4310]
add ecx, eax
add ecx, 0xfffffff0
shl ebx, 0x10
or ebx, edi
jmp 0x5304d5
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
shrd ebx, eax, 0x10
mov dword [esi + 8], ebx
add dword [esi + 0x14], 0xfffffffe
xor ecx, 0x10
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [esi + 0x10], eax
jmp 0x5308a7
mov eax, dword [ebp - 0x48]
mov ebx, dword [eax]
cmp ecx, 0x10
jae 0x530878
movzx eax, dx
mov dword [ebp - 0x18], eax
mov eax, ebx
shr eax, cl
mov dword [ebp - 0x1c], eax
movzx edx, al
mov eax, dword [ebp - 0x10]
lea edx, [eax + edx*4]
mov eax, dword [ebp - 0x18]
lea eax, [edx + eax*4]
mov dword [ebp - 0x18], eax
lea edx, [ecx + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0x1c]
shr eax, 8
and eax, dword [edi*4 + 0x6f4330]
mov edi, dword [ebp - 0x18]
movzx edx, byte [edi + eax*4]
add ecx, edx
add ecx, 8
mov dword [esi + 0xc], ecx
movzx eax, word [edi + eax*4 + 2]
jmp 0x53073e
mov ebx, edx
jmp 0x530518
mov dword [esi], 0x10
dec edi
jmp 0x530908
mov dword [esi], 0xe
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x530761
mov esi, dword [edi + 4]
lea edx, [esi - 1]
xor ecx, ecx
dec ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, eax
add cl, 9
mov ebx, edx
sar ebx, cl
inc eax
mov dword [ebp - 0x1c], eax
test ebx, ebx
jne 0x53091f
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x98], ecx
test esi, esi
jle 0x53098d
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x1c]
shl esi, cl
xor eax, eax
xor edx, edx
dec eax
mov ecx, eax
inc eax
cmp dword [edi + ecx*4 + 0x60], edx
jl 0x53094d
mov ebx, edx
mov ecx, dword [ebp - 0x1c]
sar ebx, cl
mov byte [edi + ebx + 0x9c], al
add edx, esi
cmp edx, dword [edi + 4]
jl 0x53094c
mov eax, dword [edi + 0x98]
mov dword [ebp - 0x1c], eax
jmp 0x53098d
mov dword [ebp - 0x18], ebx
mov edi, dword [esi + 0x24c]
mov ecx, dword [edi + 0x98]
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffffffff
je 0x530913
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
movzx eax, byte [edi + eax + 0x9c]
dec eax
mov edx, dword [ebp - 0x18]
mov ecx, eax
inc eax
cmp dword [edi + ecx*4 + 0x60], edx
jle 0x5309a1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add ecx, edx
cmp dword [edi + 4], ecx
jl 0x530a10
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x48]
mov edx, ecx
and edx, 3
mov ebx, dword [esi + 0x10c]
mov dword [esi + edx*4 + 0x4c], ebx
inc ecx
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp - 0x14]
sub dword [esi + 0xb8], ecx
mov dword [edi + 8], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [edi + eax*4 + 0x58]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 0
mov ecx, esi
mov edi, dword [ebp - 0x10]
mov edx, edi
call fcn.0067fa90
add eax, edi
mov ecx, eax
cmp eax, dword [esi + 0x40]
jge 0x530a1c
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
jmp 0x530678
mov dword [ebp - 0x28], 0xffffffee
jmp 0x53076d
mov esi, dword [ebp - 0x24]
mov dword [esi], 0xf
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x14]
jmp 0x530a3c
mov dword [esi], 0xf
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov ebx, ecx
jmp 0x530761
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0xc0]
cmp eax, 2
jae 0x530a69
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x44]
jmp 0x53060e
mov esi, eax
xor edx, edx
inc edx
mov ecx, dword [ebp - 0x34]
shl edx, cl
and edx, 0xfffffffe
imul edi, edx
sub dword [ebp - 0x18], edi
xor ebx, ebx
jmp 0x530a8f
mov edx, dword [ebp - 0x18]
mov eax, ebx
inc eax
mov dword [ebp - 0x18], edx
mov ebx, eax
cmp esi, eax
je 0x530a58
cmp dword [ebp - 0x20], ebx
je 0x530a80
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + ebx*4 + 0xc4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
movzx ecx, byte [eax + ecx]
test ecx, ecx
je 0x530a80
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + ebx*4 + 0x1c4]
xor edi, edi
inc edi
shl edi, cl
and edi, 0xfffffffe
mov eax, edx
imul edi, dword [edx + 0xc]
mov edx, dword [ebp - 0x18]
sub edx, edi
jge 0x530a83
mov edx, dword [ecx*4 + 0x6f4350]
mov edi, dword [ebp - 0x18]
and edx, edi
sar edi, cl
mov ecx, dword [ebp - 0x14]
imul edx, ecx
mov ebx, dword [ebp - 0x34]
add edx, dword [ebx + ecx*4 + 0x20]
mov ecx, ebx
mov dword [ebp - 0x38], edx
mov ebx, edi
mov esi, dword [ebp - 0x24]
jmp 0x53060e
mov dword [esi], 0xd
mov edi, dword [ebp - 0x14]
not edi
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x530756
mov dword [ebp - 0x28], 0xfffffff0
jmp 0x53076d
mov dword [ebp - 0x28], 0xffffffed
jmp 0x53076d
xor eax, eax
cmp dword [esi + 0x10c], 0x79
jge 0x530664
jmp 0x53076d
mov dword [esi], 0xe
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
xor edi, edi
jmp 0x530756
mov ebx, dword [esi + 0x44]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx - 2]
and edx, ebx
dec ecx
and ecx, ebx
mov ebx, dword [esi + 0x60]
movzx edx, byte [ebx + edx]
movzx ebx, byte [ebx + ecx]
mov ecx, dword [esi + 0x6c]
mov dl, byte [ecx + edx + 0x100]
or dl, byte [ecx + ebx]
movzx ecx, dl
mov edx, dword [ebp - 0x30]
mov cl, byte [edx + ecx + 0x80]
jmp 0x53059b
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
jmp 0x52fe90
mov ecx, esi
call fcn.004c9120
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
cmp ecx, 0x18
jb 0x530bbe
mov esi, dword [ebp - 0x24]
mov edx, dword [esi + 0x10]
mov edi, dword [edx]
shrd eax, edi, 0x18
mov dword [esi + 8], eax
xor ecx, 0x18
mov dword [esi + 0xc], ecx
add dword [esi + 0x14], 0xfffffffd
add edx, 3
mov dword [esi + 0x10], edx
shr eax, cl
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0xb0], 0
je 0x530be8
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x100]
movzx eax, al
mov bl, byte [ecx + eax*4]
mov dword [ebp - 0x10], ecx
movzx edx, word [ecx + eax*4 + 2]
jmp 0x530725
mov ebx, dword [ebp - 0x14]
neg ebx
xor eax, eax
mov esi, dword [ebp - 0x24]
jmp 0x530411
mov edx, dword [esi + 0x10]
mov edi, dword [edx]
shrd eax, edi, 0x18
mov dword [esi + 8], eax
xor ecx, 0x18
mov dword [esi + 0xc], ecx
add dword [esi + 0x14], 0xfffffffd
add edx, 3
mov dword [esi + 0x10], edx
jmp 0x5306a0
mov eax, dword [esi + 0x10]
mov ebx, edi
mov edi, dword [eax]
shrd edx, edi, 0x18
mov dword [esi + 8], edx
mov edi, dword [ebp - 0x10]
add edi, 0xfffffffd
mov dword [ebp - 0x10], edi
mov dword [esi + 0x14], edi
mov edi, ebx
add eax, 3
mov dword [esi + 0x10], eax
xor ecx, 0x18
jmp 0x53085b