Function at 0x52dd50
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, 0x6c
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov edi, dword [ebp + 8]
mov eax, dword [0x754040]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x52dd8a
mov eax, dword [edi + 0x114]
mov dword [ecx], eax
cmp dword [edi + 0x5c], 0
js 0x52eb42
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
je 0x52eb49
test edx, edx
je 0x52ed09
cmp dword [edx], 0
je 0x52ed09
cmp dword [edi + 0x30], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
jne 0x52ec02
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
xor ebx, ebx
inc ebx
lea ecx, [edi + 8]
mov dword [ebp - 0x28], ecx
mov dword [edi + 0x10], eax
lea eax, [edi + 0xcc]
mov dword [ebp - 0x48], eax
lea eax, [edi + 0x240]
mov dword [ebp - 0x58], eax
lea eax, [edi + 0x23c]
mov dword [ebp - 0x74], eax
lea eax, [edi + 0x250]
mov dword [ebp - 0x54], eax
lea eax, [edi + 0xfc]
mov dword [ebp - 0x70], eax
lea eax, [edi + 0xf8]
mov dword [ebp - 0x6c], eax
lea eax, [edi + 0x78]
mov dword [ebp - 0x64], eax
lea eax, [edi + 0x88]
mov dword [ebp - 0x60], eax
lea eax, [edi + 0x98]
mov dword [ebp - 0x5c], eax
lea eax, [edi + 0x338]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x1c], edi
jmp case.default.0x52e521
mov dword [edi], 0x19
mov eax, dword [edi + 0xdc]
mov ecx, eax
shl ecx, 6
mov edx, dword [edi + 0x240]
lea esi, [edx + ecx]
mov dword [edi + 0x70], esi
mov esi, eax
shr esi, 5
mov esi, dword [edi + esi*4 + 0x250]
xor ebx, ebx
bt esi, eax
setb bl
mov dword [edi + 0xb0], ebx
movzx ecx, byte [edx + ecx]
mov edx, dword [edi + 0x78]
mov ecx, dword [edx + ecx*4]
mov edx, dword [edi + 0x88]
mov dword [edi + 0x100], ecx
mov ecx, dword [edi + 0x244]
movzx eax, byte [ecx + eax]
and eax, 3
shl eax, 9
lea eax, [eax + 0x6f3b1a]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0xfc]
mov dword [edi + 0x74], eax
mov eax, dword [edx]
mov dword [edi + 0x68], eax
mov ecx, edi
call fcn.004c7f70
mov ebx, 0xffffffe5
test eax, eax
je case.default.0x52e521
mov edx, dword [edi + 0xf0]
mov ebx, dword [edi + 0xf4]
movzx eax, word [edi + 0xa2]
mov dword [ebp - 0x4c], eax
test ebx, ebx
je 0x52e925
xor esi, esi
mov eax, esi
mov byte [edi + esi + 0x280], 0
inc esi
mov dword [edi + eax*4 + 0x4d0], esi
cmp ebx, esi
jne 0x52dee1
add esi, 0x10
cmp esi, dword [ebp - 0x4c]
jae 0x52df6f
xor edi, edi
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x50], edi
lea eax, [edi + 2]
mov ecx, dword [ebp - 0x20]
shl eax, cl
add eax, 0xfffffffc
mov ecx, edx
shl eax, cl
add eax, ebx
mov dword [ebp - 0x38], eax
xor eax, eax
inc eax
mov ecx, edx
mov dword [ebp - 0x24], esi
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi + 0x270], bl
mov edx, dword [ebp - 0x38]
lea esi, [edx + eax]
mov dword [ebp - 0x2c], esi
mov ebx, eax
shr ebx, cl
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov dword [edx + edi*4 + 0x490], esi
mov esi, dword [ebp - 0x24]
inc esi
inc eax
test ebx, ebx
je 0x52df26
mov edi, dword [ebp - 0x50]
add dword [ebp - 0x20], edi
xor edi, 1
cmp esi, dword [ebp - 0x4c]
mov edx, ecx
mov ebx, dword [ebp - 0x78]
jb 0x52df0a
mov edi, dword [ebp - 0x1c]
mov dword [edi], 7
mov ecx, edi
call fcn.0052fe70
mov ebx, eax
cmp eax, 2
jne case.default.0x52e521
mov ecx, edi
call fcn.004c8020
mov ebx, eax
jmp case.default.0x52e521
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
jmp 0x52dfdd
mov ecx, dword [edi + 0xc]
lea eax, [ecx - 0x1b]
cmp eax, 6
jae 0x52df98
mov edx, dword [edi + 0x14]
mov ebx, 2
test edx, edx
je case.default.0x52e521
mov ebx, dword [edi + 8]
mov esi, dword [edi + 0x10]
mov eax, ebx
shr eax, 8
mov dword [edi + 8], eax
movzx eax, byte [esi]
shld eax, ebx, 0x18
mov dword [edi + 8], eax
dec edx
mov dword [edi + 0x14], edx
inc esi
mov dword [edi + 0x10], esi
add ecx, 0xfffffff8
shr eax, cl
add ecx, 6
mov dword [edi + 0xc], ecx
mov ecx, eax
and ecx, 3
mov dword [edi + 0xf0], ecx
shr eax, 2
and eax, 0xf
shl eax, cl
mov dword [edi + 0xf4], eax
mov esi, dword [edi + 0xcc]
mov ecx, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
call dword [0x74e248]
push esi
push ebx
call ecx
add esp, 8
mov dword [edi + 0x244], eax
mov ebx, 0xffffffeb
test eax, eax
je case.default.0x52e521
mov dword [edi + 4], 0
mov dword [edi], 6
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
jmp 0x52e060
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
shr edx, cl
add ecx, 2
mov dword [edi + 0xc], ecx
and dl, 3
mov ecx, dword [edi + 0x244]
mov byte [ecx + eax], dl
inc eax
mov ecx, dword [edi + 0xcc]
cmp eax, ecx
jge 0x52e0b7
mov ecx, dword [edi + 0xc]
lea edx, [ecx - 0x1f]
cmp edx, 2
jae 0x52e040
mov esi, dword [edi + 0x14]
test esi, esi
je 0x52ee35
mov ebx, dword [edi + 8]
mov dword [ebp - 0x24], ebx
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx + 0x10]
mov edx, ebx
shr edx, 8
mov ebx, dword [ebp - 0x1c]
mov dword [ebx + 8], edx
movzx edx, byte [edi]
mov ebx, dword [ebp - 0x24]
shld edx, ebx, 0x18
mov ebx, dword [ebp - 0x1c]
mov dword [ebx + 8], edx
dec esi
mov ebx, dword [ebp - 0x1c]
mov dword [ebx + 0x14], esi
inc edi
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x10], edi
mov edi, dword [ebp - 0x1c]
add ecx, 0xfffffff8
jmp 0x52e045
mov dword [edi], 0x16
shl ecx, 6
mov edx, dword [ebp - 0x74]
push edi
push dword [ebp - 0x58]
call fcn.0052fa20
add esp, 8
mov ebx, eax
cmp eax, 1
jne case.default.0x52e521
mov eax, dword [ebp - 0x54]
xorps xmm0, xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
test eax, eax
je 0x52e305
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
add edx, 0x3f
xor ecx, ecx
jmp 0x52e11f
xor esi, esi
inc esi
shl esi, cl
mov edi, ecx
shr edi, 5
mov ebx, dword [ebp - 0x54]
or dword [ebx + edi*4], esi
mov edi, dword [ebp - 0x1c]
inc ecx
add edx, 0x40
cmp eax, ecx
je 0x52e305
mov bl, byte [edx - 0x3f]
cmp byte [edx - 2], bl
jne 0x52e113
cmp byte [edx - 3], bl
jne 0x52e113
cmp byte [edx - 1], bl
jne 0x52e113
cmp byte [edx], bl
jne 0x52e113
cmp byte [edx - 6], bl
jne 0x52e113
cmp byte [edx - 7], bl
jne 0x52e113
cmp byte [edx - 5], bl
jne 0x52e113
cmp byte [edx - 4], bl
jne 0x52e113
cmp byte [edx - 0xa], bl
jne 0x52e113
cmp byte [edx - 0xb], bl
jne 0x52e113
cmp byte [edx - 9], bl
jne 0x52e113
cmp byte [edx - 8], bl
jne 0x52e113
cmp byte [edx - 0xe], bl
jne 0x52e113
cmp byte [edx - 0xf], bl
jne 0x52e113
cmp byte [edx - 0xd], bl
jne 0x52e113
cmp byte [edx - 0xc], bl
jne 0x52e113
cmp byte [edx - 0x12], bl
jne 0x52e113
cmp byte [edx - 0x13], bl
jne 0x52e113
cmp byte [edx - 0x11], bl
jne 0x52e113
cmp byte [edx - 0x10], bl
jne 0x52e113
cmp byte [edx - 0x16], bl
jne 0x52e113
cmp byte [edx - 0x17], bl
jne 0x52e113
cmp byte [edx - 0x15], bl
jne 0x52e113
cmp byte [edx - 0x14], bl
jne 0x52e113
cmp byte [edx - 0x1a], bl
jne 0x52e113
cmp byte [edx - 0x1b], bl
jne 0x52e113
cmp byte [edx - 0x19], bl
jne 0x52e113
cmp byte [edx - 0x18], bl
jne 0x52e113
cmp byte [edx - 0x1e], bl
jne 0x52e113
cmp byte [edx - 0x1f], bl
jne 0x52e113
cmp byte [edx - 0x1d], bl
jne 0x52e113
cmp byte [edx - 0x1c], bl
jne 0x52e113
cmp byte [edx - 0x22], bl
jne 0x52e113
cmp byte [edx - 0x23], bl
jne 0x52e113
cmp byte [edx - 0x21], bl
jne 0x52e113
cmp byte [edx - 0x20], bl
jne 0x52e113
cmp byte [edx - 0x26], bl
jne 0x52e113
cmp byte [edx - 0x27], bl
jne 0x52e113
cmp byte [edx - 0x25], bl
jne 0x52e113
cmp byte [edx - 0x24], bl
jne 0x52e113
cmp byte [edx - 0x2a], bl
jne 0x52e113
cmp byte [edx - 0x2b], bl
jne 0x52e113
cmp byte [edx - 0x29], bl
jne 0x52e113
cmp byte [edx - 0x28], bl
jne 0x52e113
cmp byte [edx - 0x2e], bl
jne 0x52e113
cmp byte [edx - 0x2f], bl
jne 0x52e113
cmp byte [edx - 0x2d], bl
jne 0x52e113
cmp byte [edx - 0x2c], bl
jne 0x52e113
cmp byte [edx - 0x32], bl
jne 0x52e113
cmp byte [edx - 0x33], bl
jne 0x52e113
cmp byte [edx - 0x31], bl
jne 0x52e113
cmp byte [edx - 0x30], bl
jne 0x52e113
cmp byte [edx - 0x36], bl
jne 0x52e113
cmp byte [edx - 0x37], bl
jne 0x52e113
cmp byte [edx - 0x35], bl
jne 0x52e113
cmp byte [edx - 0x34], bl
jne 0x52e113
cmp byte [edx - 0x3a], bl
jne 0x52e113
cmp byte [edx - 0x3b], bl
jne 0x52e113
cmp byte [edx - 0x39], bl
jne 0x52e113
cmp byte [edx - 0x38], bl
jne 0x52e113
cmp byte [edx - 0x3e], bl
jne 0x52e113
cmp byte [edx - 0x3d], bl
jne 0x52e113
cmp byte [edx - 0x3c], bl
jne 0x52e113
jmp 0x52e100
mov dword [edi], 0x17
mov edx, dword [edi + 0xf0]
lea eax, [edx + 1]
mov esi, 0x18
mov ecx, eax
shl esi, cl
mov ecx, edi
mov edi, dword [edi + 0xf4]
test byte [ecx + 0x230], 0x20
jne 0x52eb66
lea eax, [edi + esi]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi + 0xd4]
shl ecx, 2
mov edx, dword [ebp - 0x6c]
push edi
push dword [ebp - 0x70]
call fcn.0052fa20
add esp, 8
mov ebx, eax
cmp eax, 1
jne case.default.0x52e521
push dword [edi + 0x23c]
mov eax, 0x100
push eax
push eax
mov esi, dword [ebp - 0x64]
push esi
push edi
call fcn.004d4990
add esp, 0x14
mov dword [ebp - 0x2c], eax
push dword [edi + 0xd0]
mov eax, 0x2c0
push eax
push eax
push dword [ebp - 0x60]
push edi
call fcn.004d4990
add esp, 0x14
mov ebx, eax
and ebx, dword [ebp - 0x2c]
push dword [edi + 0xf8]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x5c]
push edi
call fcn.004d4990
add esp, 0x14
and eax, ebx
test al, 1
je 0x52ec0f
mov dword [edi + 4], 0
mov dword [edi], 0x18
xor eax, eax
jmp 0x52e45a
push dword [ebp - 0x28]
call fcn.004d4b50
add esp, 4
mov ebx, 2
test eax, eax
je case.default.0x52e521
mov eax, dword [edi + 0x230]
mov dword [ebp - 0x24], eax
and eax, 0xffffffdf
mov dword [edi + 0x230], eax
mov esi, dword [edi + 8]
mov edx, dword [edi + 0xc]
lea ecx, [edx + 1]
mov dword [edi + 0xc], ecx
bt esi, edx
jae 0x52eb57
mov ebx, esi
shr ebx, cl
lea ecx, [edx + 4]
mov dword [edi + 0xc], ecx
and ebx, 7
je 0x52ed26
add ebx, 0x11
mov dword [edi + 0x234], ebx
test al, 0x20
jne 0x52ec29
mov dword [edi], 2
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
cmp eax, 2
mov esi, dword [ebp - 0x64]
jne 0x52ebee
mov eax, 2
mov esi, dword [ebp - 0x5c]
cmp dword [edi + 0x270], 1
je 0x52e953
mov ecx, dword [esi + 4]
mov dword [edi + 0x970], ecx
mov dword [edi + 0x96c], 0
mov dword [edi + 0x270], 1
xor ecx, ecx
movzx edx, word [esi + 0xc]
cmp ecx, edx
jge 0x52e4ef
mov eax, dword [edi + 0x970]
mov dword [ebp - 0x14], 0xffffffff
movzx edx, word [esi + 0xa]
movzx ecx, word [esi + 8]
push edi
lea ebx, [ebp - 0x14]
push ebx
push eax
call fcn.0052eee0
add esp, 0xc
cmp eax, 1
jne 0x52df91
mov eax, dword [edi + 0x96c]
mov ecx, dword [edi + 0x970]
mov edx, dword [esi]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x14]
lea eax, [ecx + eax*4]
mov dword [edi + 0x970], eax
mov ecx, dword [edi + 0x96c]
inc ecx
mov dword [edi + 0x96c], ecx
movzx edx, word [esi + 0xc]
cmp ecx, edx
jl 0x52e494
mov eax, dword [edi + 4]
mov dword [edi + 0x270], 0
lea ecx, [eax + 1]
mov dword [edi + 4], ecx
xor ebx, ebx
inc ebx
cmp eax, 2
jge 0x52de39
cmp ebx, 1
jne 0x52ea86
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi]
xor ebx, ebx
inc ebx
cmp eax, 0x1a
ja case.default.0x52e521
jmp dword [eax*4 + 0x6f1974]
mov eax, dword [edi + 4]
cmp eax, 3
jge 0x52e56f
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + eax*4]
mov ecx, edi
mov edx, dword [ebp - 0x28]
push eax
call fcn.004c7da0
add esp, 4
mov ebx, eax
cmp eax, 1
jne case.default.0x52e521
mov eax, dword [edi + 4]
inc dword [edi + eax*4 + 0xcc]
mov eax, dword [edi + 4]
cmp dword [edi + eax*4 + 0xcc], 1
ja 0x52e664
inc eax
mov dword [edi + 4], eax
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov dword [edi], 5
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x52e446
xor eax, eax
inc eax
mov esi, dword [ebp - 0x60]
jmp 0x52e45a
mov eax, dword [edi + 0x234]
xor edx, edx
inc edx
mov ecx, eax
shl edx, cl
add edx, 0xfffffff0
mov dword [edi + 0x38], edx
mov ecx, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
call dword [0x74e248]
push 0x3030
push esi
call ecx
add esp, 8
mov dword [edi + 0xa8], eax
mov ebx, 0xffffffe2
test eax, eax
je case.default.0x52e521
add eax, 0x1da0
mov dword [edi + 0xac], eax
mov dword [edi], 3
push edi
call fcn.004d46f0
add esp, 4
mov dword [edi], 4
mov ecx, edi
mov edx, dword [ebp - 0x28]
call fcn.004c77d0
mov ebx, eax
cmp eax, 1
jne case.default.0x52e521
mov eax, dword [edi + 0x230]
test al, 6
jne 0x52e8f4
test al, 4
jne 0x52e8e3
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0xb8], 0
je 0x52e8d5
mov ecx, edi
call fcn.004c7d30
test byte [edi + 0x230], 2
jne 0x52ec1b
mov dword [edi + 4], 0
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x314], eax
xorps xmm0, xmm0
movups xmmword [edi + 0x270], xmm0
mov dword [edi], 0x12
xor eax, eax
jmp 0x52e530
mov dword [edi], 0x13
mov ecx, dword [edi + eax*4 + 0xcc]
add ecx, 2
imul eax, eax, 0x9e0
add eax, dword [edi + 0xa8]
mov edx, ecx
push edi
push 0
push eax
call fcn.0052eee0
add esp, 0xc
mov ebx, eax
cmp eax, 1
jne case.default.0x52e521
mov dword [edi], 0x14
imul eax, dword [edi + 4], 0x630
add eax, dword [edi + 0xac]
mov ecx, 0x1a
mov edx, 0x1a
push edi
push 0
push eax
call fcn.0052eee0
add esp, 0xc
mov ebx, eax
cmp eax, 1
jne case.default.0x52e521
mov dword [edi], 0x15
mov ecx, dword [edi + 4]
mov dword [ebp - 0x24], ecx
imul eax, ecx, 0x630
add eax, dword [edi + 0xac]
mov dword [ebp - 0x18], 0xffffffff
cmp dword [edi + 0x22c], 0
jne 0x52eb37
mov dword [ebp - 0x20], eax
mov ecx, dword [edi + 0xc]
lea edx, [ecx - 0x12]
cmp edx, 0xf
jae 0x52e92f
mov esi, dword [edi + 0x14]
dec esi
mov edi, ecx
cmp esi, 0xffffffff
je 0x52ee14
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0x10]
mov edx, ecx
shr edx, 8
mov dword [eax + 8], edx
movzx edx, byte [ebx]
shld edx, ecx, 0x18
mov dword [eax + 8], edx
lea ecx, [edi - 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], esi
inc ebx
mov dword [eax + 0x10], ebx
dec esi
add edi, 0xffffffe6
cmp edi, 0xf
mov edi, ecx
jb 0x52e711
shr edx, cl
movzx esi, dl
mov eax, dword [ebp - 0x20]
lea eax, [eax + esi*4]
movzx ebx, byte [eax]
cmp ebx, 9
jae 0x52ed86
mov edi, dword [ebp - 0x1c]
movzx edx, bl
add edx, ecx
mov dword [edi + 0xc], edx
movzx edx, word [eax + 2]
movzx eax, byte [edx*4 + 0x6f47c0]
movzx ecx, word [edx*4 + 0x6f47be]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 0xc]
mov ebx, 0x20
sub ebx, ecx
cmp ebx, eax
jb 0x52ee5a
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
shr edx, cl
and edx, dword [eax*4 + 0x6f4350]
add edx, dword [ebp - 0x20]
add ecx, eax
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0xc], ecx
mov eax, dword [ebp - 0x24]
mov dword [edi + eax*4 + 0xc0], edx
mov dword [edi + 0x22c], 0
inc dword [edi + 4]
mov dword [edi], 0x12
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov ebx, 0xfffffff6
cmp dword [edi + 0xb8], 0
js case.default.0x52e521
push edi
call fcn.004d4770
add esp, 4
test byte [edi + 0x230], 1
je 0x52e8b9
mov eax, dword [edi + 0xc]
mov edx, eax
neg edx
and edx, 7
je 0x52e828
mov esi, dword [edi + 8]
mov ecx, eax
shr esi, cl
add eax, edx
mov dword [edi + 0xc], eax
mov ebx, 0xfffffff1
test dword [edx*4 + 0x6f4350], esi
jne case.default.0x52e521
cmp dword [edi + 0x30], 0
jne 0x52e86d
mov ecx, 0x20
sub ecx, eax
mov esi, ecx
shr esi, 3
and ecx, 0xfffffff8
mov edx, dword [edi + 0x14]
add edx, esi
mov dword [edi + 0x14], edx
sub dword [edi + 0x10], esi
cmp ecx, 0x20
je 0x52eb50
mov esi, dword [ebp - 0x28]
mov esi, dword [esi]
shl esi, cl
mov dword [edi + 8], esi
add ecx, eax
mov dword [edi + 0xc], ecx
mov eax, dword [ebp - 0x30]
mov dword [eax], edx
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov dword [edi], 0x1a
cmp dword [edi + 0x60], 0
je 0x52e899
mov ecx, edi
mov edx, dword [ebp - 0x3c]
push 1
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.004c76d0
add esp, 0xc
mov ebx, eax
cmp eax, 1
jne case.default.0x52e521
xor edx, edx
inc edx
mov ecx, edi
call fcn.004c76a0
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
mov eax, esi
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [edi], 3
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov eax, dword [edi + 0xb8]
test eax, eax
jg 0x52edad
mov dword [edi], 0xe
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov edi, dword [ebp - 0x1c]
mov dword [edi], 0xc
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov ecx, dword [edi + 0xc]
mov edx, ecx
neg edx
and edx, 7
je 0x52e611
mov esi, dword [edi + 8]
shr esi, cl
add ecx, edx
mov dword [edi + 0xc], ecx
mov ebx, 0xfffffff2
test dword [edx*4 + 0x6f4350], esi
je 0x52e611
jmp case.default.0x52e521
mov esi, 0x10
jmp 0x52defa
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
jmp 0x52e74d
mov eax, dword [edi + 4]
jmp 0x52e039
mov eax, dword [edi + 4]
jmp 0x52e66a
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
jmp 0x52e0bd
mov ecx, dword [edi + 0x96c]
jmp 0x52e486
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
push edi
push dword [ebp - 0x44]
call fcn.0067f900
add esp, 8
mov ebx, eax
cmp eax, 1
jne case.default.0x52e521
jmp 0x52e8d5
mov ecx, dword [edi + 0xc]
lea eax, [ecx - 0x1b]
cmp eax, 6
jae 0x52e9c3
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 0x14]
mov ebx, 2
test edx, edx
je case.default.0x52e521
mov ebx, dword [edi + 8]
mov esi, dword [edi + 0x10]
mov eax, ebx
shr eax, 8
mov dword [edi + 8], eax
movzx eax, byte [esi]
shld eax, ebx, 0x18
mov dword [edi + 8], eax
dec edx
mov dword [edi + 0x14], edx
inc esi
mov dword [edi + 0x10], esi
add ecx, 0xfffffff8
jmp 0x52e9c8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
shr eax, cl
and eax, 0x3f
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x234], eax
add ecx, 6
mov dword [edi + 0xc], ecx
lea ecx, [eax - 0x1f]
mov ebx, 0xfffffff3
cmp ecx, 0xffffffeb
jb case.default.0x52e521
mov dword [edi], 2
jmp 0x52e597
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x10]
mov edx, dword [ebp - 0x34]
mov dword [edx], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov ebx, 2
test eax, eax
je 0x52ea9e
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi]
mov al, byte [eax]
mov ecx, dword [edx + 0x30]
mov byte [edx + ecx + 0x28], al
inc dword [edx + 0x30]
inc dword [esi]
mov eax, dword [ebp - 0x30]
dec dword [eax]
jne 0x52ea1e
jmp 0x52ea9e
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0xc]
mov ecx, 0x20
sub ecx, eax
mov esi, ecx
shr esi, 3
mov edx, dword [edi + 0x14]
add edx, esi
mov dword [edi + 0x14], edx
sub dword [edi + 0x10], esi
and ecx, 0xfffffff8
xor esi, esi
cmp ecx, 0x20
je 0x52ea65
mov esi, dword [ebp - 0x28]
mov esi, dword [esi]
shl esi, cl
mov edi, dword [ebp - 0x1c]
mov dword [edi + 8], esi
add ecx, eax
mov dword [edi + 0xc], ecx
mov eax, dword [ebp - 0x30]
mov dword [eax], edx
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
jmp 0x52ea9e
mov ebx, 2
jmp 0x52ea9e
cmp ebx, 2
je 0x52eaac
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x30], 0
je 0x52ea37
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
jmp 0x52e89e
mov ebx, eax
jmp 0x52ea9e
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x60], 0
je 0x52eacf
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x3c]
push 1
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.004c76d0
add esp, 0xc
test eax, eax
js 0x52eaa8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x52e9f8
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x14], 0
je 0x52eb15
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0
je 0x52ea7f
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx]
mov cl, byte [ecx]
mov edi, dword [ebp - 0x1c]
mov byte [edi + eax + 0x28], cl
mov eax, dword [edi + 0x30]
inc eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x14], eax
inc dword [edx]
mov eax, dword [ebp - 0x30]
dec dword [eax]
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x30], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov edx, dword [edi + 0xbc]
jmp 0x52e773
xor esi, esi
jmp 0x52e8a5
xor edx, edx
jmp 0x52ddb1
xor esi, esi
jmp 0x52e858
mov dword [edi + 0x234], 0x10
jmp 0x52e430
lea ecx, [edi + 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], SafeArrayGetDim
cmp edi, 0x7ffffffb
ja 0x52ebdd
mov esi, 0x7ffffffc
sub esi, edi
xor ebx, ebx
dec ebx
mov dword [ebp - 0x2c], ebx
mov ecx, edx
shl dword [ebp - 0x2c], cl
shr esi, cl
add esi, 4
mov ecx, 0xfffffffb
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
shr esi, 1
inc ebx
add ecx, 2
cmp dword [ebp - 0x20], 3
mov dword [ebp - 0x20], esi
ja 0x52eb9d
mov esi, dword [ebp - 0x38]
bt esi, ebx
mov ebx, 0
setb bl
add ebx, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
cmp ebx, 0xffffffff
je 0x52ebdd
mov esi, ebx
mov ecx, edx
shl esi, cl
mov ecx, dword [ebp - 0x2c]
not ecx
or esi, ecx
lea ecx, [edi + esi]
add ecx, 0x11
mov dword [ebp - 0x20], ecx
mov edx, 0x3e
mov ecx, eax
shl edx, cl
add dword [ebp - 0x24], edx
jmp 0x52e33e
test eax, eax
je 0x52e45a
mov ecx, edi
mov edx, 0xffffffe1
jmp 0x52e89e
lea eax, [edi + 0x28]
mov ebx, 2
jmp 0x52ddd1
mov ecx, edi
mov edx, 0xffffffea
jmp 0x52e89e
mov dword [edi], 0xb
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov dword [edi], 1
xor ebx, ebx
inc ebx
jmp case.default.0x52e521
mov ecx, edi
mov edx, dword [ebp - 0x3c]
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.004c76d0
add esp, 0xc
mov ebx, eax
cmp eax, 1
jne case.default.0x52e521
mov ecx, edi
call fcn.0067fa60
mov cl, byte [edi + 0x234]
xor ebx, ebx
inc ebx
mov eax, ebx
shl eax, cl
cmp dword [edi + 0x40], eax
jne 0x52ec79
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x38]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, 0x10
je 0x52ec9f
cmp eax, 0xf
je 0x52ecad
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
je 0x52ece1
mov edi, dword [ebp - 0x1c]
mov dword [edi], 8
jmp case.default.0x52e521
mov edi, dword [ebp - 0x1c]
mov dword [edi], 0xa
jmp case.default.0x52e521
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x24c]
test eax, eax
je 0x52ecc6
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jne 0x52eec2
cmp dword [edi + 0xb8], 0
mov eax, 0xe
mov ecx, 7
cmove ecx, eax
mov dword [edi], ecx
jmp case.default.0x52e521
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xb8], 0
je 0x52ecfb
mov edi, dword [ebp - 0x1c]
mov dword [edi], 9
jmp case.default.0x52e521
mov edi, dword [ebp - 0x1c]
mov dword [edi], 0xe
jmp case.default.0x52e521
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
mov ecx, edi
mov edx, 0xffffffec
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004c76a0
mov ebx, esi
shr ebx, cl
lea ecx, [edx + 7]
mov dword [edi + 0xc], ecx
and ebx, 7
je 0x52ed45
cmp ebx, 1
je 0x52ed57
or ebx, 8
mov edi, dword [ebp - 0x1c]
jmp 0x52e42a
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x234], 0x11
jmp 0x52e430
mov ebx, 0xfffffff3
test byte [ebp - 0x24], 0x20
mov edi, dword [ebp - 0x1c]
je case.default.0x52e521
add edx, 8
mov dword [edi + 0xc], edx
bt esi, ecx
jb case.default.0x52e521
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x230], eax
jmp 0x52e430
add ecx, 8
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0xc], ecx
shr edx, 8
and edx, dword [ebx*4 + 0x6f4330]
and edx, 0x7f
lea edx, [eax + edx*4]
movzx eax, word [eax + 2]
lea eax, [edx + eax*4]
mov bl, byte [eax]
jmp 0x52e767
mov ecx, dword [edi + 0xc]
inc eax
lea edx, [ecx - 0x19]
cmp edx, 7
ja 0x52edf6
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx + 0x14]
test edi, edi
je 0x52ee38
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx + 8]
mov dword [ebp - 0x24], esi
mov esi, dword [edx + 0x10]
mov dword [ebp - 0x20], esi
mov ebx, dword [ebp - 0x24]
shr ebx, 8
mov dword [edx + 8], ebx
movzx ebx, byte [esi]
mov esi, dword [ebp - 0x24]
shld ebx, esi, 0x18
mov dword [edx + 8], ebx
dec edi
mov dword [edx + 0x14], edi
mov esi, dword [ebp - 0x20]
inc esi
mov dword [edx + 0x10], esi
add ecx, 0xfffffff8
add ecx, 8
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0xc], ecx
lea edx, [eax - 2]
mov dword [edi + 0xb8], edx
dec eax
cmp eax, 1
jle 0x52e8d5
jmp 0x52edb1
lea esi, [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
push esi
call fcn.004c8e60
add esp, 4
test eax, eax
je 0x52ee38
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
jmp 0x52e773
mov dword [edi + 4], eax
mov ebx, 2
jmp case.default.0x52e521
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0xbc], eax
mov dword [edi + 0x22c], 1
jmp 0x52ee38
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x14]
dec edx
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0xffffffff
je 0x52ee42
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx + 8]
mov dword [ebp - 0x50], edi
mov edi, dword [edx + 0x10]
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x50]
shr edi, 8
mov dword [edx + 8], edi
mov edx, dword [ebp - 0x38]
movzx edx, byte [edx]
mov edi, dword [ebp - 0x50]
shld edx, edi, 0x18
mov edi, dword [ebp - 0x1c]
mov dword [edi + 8], edx
add ecx, 0xfffffff8
mov esi, edi
mov dword [edi + 0xc], ecx
mov edi, dword [ebp - 0x2c]
mov dword [esi + 0x14], edi
inc dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x10], edi
dec dword [ebp - 0x2c]
add ebx, 8
cmp ebx, eax
jae 0x52e79d
jmp 0x52ee67
mov edx, dword [edi + 0x34]
mov ecx, edi
call fcn.0067fa90
add eax, dword [edi + 0x34]
mov dword [edi + 0x34], eax
cmp eax, dword [edi + 0x40]
jge case.default.0x52e521
jmp 0x52ecc6