Function at 0x300cd395
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
add edi, eax
mov eax, dword [ebp + 0x14]
push 2
add eax, edi
cmp edi, eax
pop ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x38], eax
jae 0x300ce440
jmp 0x300cd3f8
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov eax, dword [0x30225cbc]
add ecx, 0xfffffff6
cmp esi, ecx
ja 0x300ce66f
mov dword [ebp + 0xc], edx
movzx edx, byte [edi]
inc edi
lea ecx, [edx - 1]
cmp ecx, 0x5e
mov dword [ebp + 0x10], edx
mov dword [ebp + 8], edi
ja case.0x300cd42b.35
movzx ecx, byte [ecx + 0x300ce78c]
jmp dword [ecx*4 + 0x300ce678]
mov dword [ebp - 0x2c], 1
movzx ecx, byte [edi]
inc edi
movzx eax, byte [edi]
inc edi
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0xc], ecx
je 0x300cd465
movsx eax, byte [edi]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
add edi, 3
mov dword [ebp + 8], edi
jmp case.0x300cd42b.35
add ecx, eax
mov dword [ebp - 0x20], ecx
movsx ecx, byte [edi]
sub ecx, eax
mov dword [ebp - 0x18], ecx
inc edi
jmp 0x300cd45d
mov eax, dword [ebp + 0x18]
push 0x302ae1b8
sub eax, esi
push 4
sar eax, 1
push eax
push esi
call fcn.300cac75
mov esi, eax
jmp case.0x300cd42b.35
mov ax, word [0x302ae2f2]
mov word [esi], ax
mov ax, word [edi]
add esi, ebx
mov word [esi], ax
add esi, ebx
add edi, ebx
jmp 0x300cd45d
cmp dword [0x3022b6a0], 0
je 0x300cd4bd
mov word [esi], 0x22
mov eax, dword [0x30225cbc]
add esi, ebx
cmp byte [0x30225c90], 0
je 0x300cd4ec
mov ecx, dword [0x30225c88]
or ecx, dword [0x30225c8c]
je 0x300cd4e4
cmp eax, ebx
je 0x300cd4dd
cmp eax, 1
jne 0x300cd4e4
mov eax, dword [0x302ae514]
jmp 0x300cd4e9
mov eax, 0x302ae1b8
push eax
jmp 0x300cd4f1
push 0x302ae1b8
mov eax, dword [ebp + 0x18]
sub eax, esi
push 5
sar eax, 1
push eax
push esi
call fcn.300cac75
cmp dword [0x3022b6a0], 0
mov esi, eax
je case.0x300cd42b.35
mov word [esi], 0x22
jmp 0x300ce430
movzx eax, word [edi]
add edi, ebx
cmp dword [ebp - 0x2c], 0
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], edi
je 0x300cd538
cmp dword [ebp - 0xc], 0
jne 0x300cd538
mov dword [ebp - 0x30], 1
cmp edi, dword [ebp - 0x38]
jae 0x300cd551
mov cl, byte [edi]
cmp cl, 0x1e
je 0x300ce42d
cmp cl, 0x1f
je 0x300ce42d
mov ecx, 0x302ad470
call fcn.3013e79a
cmp word [ebp + 0x10], 0x60c
jae 0x300cd569
movzx eax, word [ebp + 0x10]
jmp 0x300cd575
push eax
push dword [ebp + 0x10]
call fcn.30027428
movzx eax, ax
movzx eax, ax
push 0x302ae2d0
push eax
call fcn.300caec7
xor ecx, ecx
cmp eax, 5
jne 0x300cd597
cmp dword [ebp - 0x18], ecx
je 0x300cd597
dec dword [ebp - 0x18]
jmp 0x300cd68d
cmp dword [0x3022b6a0], ecx
jne 0x300cd682
cmp eax, 8
jg 0x300cd64f
je 0x300cd640
sub eax, ecx
je 0x300cd667
sub eax, 4
je 0x300cd63b
sub eax, ebx
jne 0x300cd682
mov eax, dword [ebp + 0xc]
sub eax, 9
je 0x300cd5dc
sub eax, ebx
je 0x300cd5dc
sub eax, 0x1b
jne 0x300cd68d
mov ecx, 0x302ad470
call fcn.3013e79a
cmp word [ebp + 0x10], 0x60c
jae 0x300cd5f4
movzx eax, word [ebp + 0x10]
jmp 0x300cd600
push eax
push dword [ebp + 0x10]
call fcn.30027428
movzx eax, ax
cmp ax, word [0x302ae2e4]
jne 0x300cd682
cmp edi, dword [ebp - 0x38]
jae 0x300cd682
mov al, byte [0x302ae14e]
test al, 0x10
jne 0x300cd620
test al, 8
je 0x300cd620
cmp byte [edi], 7
je 0x300cd68d
test byte [0x302ae188], bl
je 0x300cd682
cmp byte [edi], bl
jne 0x300cd682
mov ax, word [edi + 1]
cmp ax, word [0x302ae2da]
jne 0x300cd682
jmp 0x300cd68d
cmp dword [ebp - 0x3c], ecx
jmp 0x300cd637
mov ax, word [0x302ae2e0]
cmp ax, word [0x302ae2e6]
jmp 0x300cd637
cmp eax, 9
je 0x300cd662
jle 0x300cd682
cmp eax, 0xe
jle 0x300cd68d
cmp eax, 0xf
je 0x300cd667
jmp 0x300cd682
cmp dword [ebp - 0x40], ecx
jne 0x300cd682
push 5
push 0x302ae1b8
call fcn.3010113f
cmp word [eax], 1
jne 0x300cd68d
movzx eax, word [eax + 2]
cmp eax, dword [ebp + 0x10]
jne 0x300cd68d
mov ax, word [0x302ae2f0]
mov word [esi], ax
add esi, ebx
mov ax, word [ebp + 0x10]
jmp 0x300ce42d
movzx eax, word [edi]
mov cx, word [0x302ae30e]
add edi, ebx
mov word [esi], cx
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], edi
add esi, ebx
jmp 0x300ce42d
mov ax, word [0x302ae2e0]
jmp 0x300ce42d
mov ax, word [0x302ae2de]
jmp 0x300ce42d
mov dword [ebp + 0x14], 0x30
jmp 0x300cd6e1
mov dword [ebp + 0x14], 0x23
jmp 0x300cd6e1
mov dword [ebp + 0x14], 0x3f
mov eax, dword [ebp + 8]
movzx edi, byte [eax]
inc dword [ebp + 8]
xor eax, eax
cmp dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 1
je 0x300cd733
mov eax, dword [ebp + 0x18]
sub eax, esi
sar eax, 1
push eax
push edi
call fcn.3007f8d4
test eax, eax
mov dword [ebp + 0xc], eax
jbe 0x300cd72b
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp + 0xc]
sub dword [ebp - 0x20], eax
lea esi, [esi + eax*2]
jmp 0x300cd794
cmp dword [ebp - 0x34], eax
je 0x300cd740
mov eax, edi
push 3
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp + 0x18]
sub ecx, esi
sar ecx, 1
sub ecx, eax
inc ecx
cmp edi, ecx
jle 0x300cd753
mov edi, ecx
mov dword [ebp - 0xc], ecx
test edi, edi
je 0x300cd794
sub dword [ebp - 0x20], edi
mov ax, word [ebp + 0x14]
dec edi
mov word [esi], ax
add esi, ebx
dec dword [ebp - 0xc]
cmp dword [ebp - 0x34], 0
je 0x300cd790
cmp dword [ebp - 0xc], 0
jle 0x300cd790
mov eax, dword [ebp - 0xc]
push 3
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x300cd790
mov ax, word [0x302ae2dc]
test ax, ax
je 0x300cd790
mov word [esi], ax
add esi, ebx
test edi, edi
jne 0x300cd75a
cmp dword [ebp - 0x20], 0
jne case.0x300cd42b.35
cmp dword [ebp - 0x18], 0
jge case.0x300cd42b.35
or eax, 0xffffffff
sub eax, dword [ebp - 0x18]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
mov ecx, eax
imul ecx, ecx, 3
add dword [ebp - 0x18], ecx
mov cx, word [0x302ae2dc]
mov word [esi], cx
cmp word [0x302ae2dc], 0
je 0x300cd7d4
add esi, ebx
dec eax
jne 0x300cd7be
jmp case.0x300cd42b.35
test dword [0x3022cf84], 0x10000000
je case.0x300cd42b.35
cmp eax, 4
je 0x300ce042
mov word [esi], 0x74
jmp 0x300ce430
test dword [0x3022cf84], 0x4000000
je case.0x300cd42b.35
mov ax, word [0x302ae326]
mov word [esi], ax
add esi, ebx
mov word [esi], 0x31
jmp 0x300ce430
test dword [0x3022cf84], 0x4000000
je case.0x300cd42b.35
mov ax, word [0x302ae326]
mov word [esi], ax
add esi, ebx
mov word [esi], 0x32
jmp 0x300ce430
cmp eax, 4
jne 0x300cd86d
test dword [0x3022cf84], 0x1000000
je 0x300cd86d
mov eax, 0x401
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
jmp case.0x300cd42b.35
test dword [0x3022cf84], 0x4000000
je case.0x300cd42b.35
mov ax, word [0x302ae324]
jmp 0x300cd83a
test dword [0x3022cf84], 0x4000000
je 0x300cd8a1
cmp eax, 4
je 0x300cd8aa
mov ax, word [0x302ae324]
jmp 0x300cd815
cmp eax, 4
jne case.0x300cd42b.35
mov eax, 0x409
jmp 0x300cd85f
mov ax, word [0x302ae2d8]
mov dword [ebp - 0x30], 1
jmp 0x300ce42d
mov dword [ebp - 0x34], 1
jmp case.0x300cd42b.35
mov word [esi], 0x2f
jmp 0x300ce430
mov word [esi], 0x22
add esi, ebx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
inc dword [ebp + 8]
sub ecx, esi
sar ecx, 1
push ecx
push eax
call fcn.3007f8d4
lea edi, [eax + eax]
push edi
push esi
push dword [ebp + 8]
call fcn.3002660a
add dword [ebp + 8], edi
add esi, edi
cmp dword [ebp + 0x10], 3
jne case.0x300cd42b.35
jmp 0x300cd510
cmp byte [0x30225c90], 0
jne 0x300cd92a
cmp dword [ebp - 0x1c], 0x409
jne case.0x300cd42b.13
cmp eax, 4
jne case.0x300cd42b.13
cmp dword [ebp - 0x10], 0
jne case.0x300cd42b.13
mov dword [ebp - 0x10], 0x409
lea ecx, [edx - 0xc]
test ecx, ecx
jbe 0x300cd961
mov eax, dword [0x302ae2f8]
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
mov edx, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea eax, [edx - 0xc]
jmp 0x300cdb70
cmp eax, 4
lea ecx, [edx - 0x41]
jne 0x300cd9a4
test ecx, ecx
jbe 0x300cd993
mov eax, dword [0x302ae2f8]
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
mov edx, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [0x3020a274]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x41e
jmp 0x300cd9c6
test ecx, ecx
jbe 0x300cd9c6
mov eax, dword [0x302ae328]
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
mov edx, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea eax, [edx - 0x41]
jmp 0x300cdb70
cmp eax, 4
jne 0x300cda16
lea ecx, [edx - 0x30]
test ecx, ecx
mov dword [ebp + 0xc], ecx
jbe 0x300cd9fb
mov eax, dword [0x302ae2f8]
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x300cda11
mov al, byte [0x30225c90]
neg al
sbb eax, eax
and eax, dword [0x3020a274]
mov dword [ebp - 0x10], eax
jmp 0x300cda69
cmp eax, ebx
jne 0x300cda23
cmp dword [0x30209e20], 5
jl 0x300cda28
cmp eax, 1
jne 0x300cda41
mov eax, dword [0x302ae2f8]
mov dx, ax
mov edi, esi
push 4
pop ecx
shl edx, 0x10
mov dx, ax
mov eax, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x300cda69
lea ecx, [edx - 0x30]
test ecx, ecx
mov dword [ebp + 0xc], ecx
jbe 0x300cda69
mov eax, dword [0x302ae312]
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp + 0xc]
lea esi, [esi + ecx*2]
jmp case.0x300cd42b.35
cmp byte [0x30225c90], 0
jne 0x300cda83
cmp dword [ebp - 0x1c], 0x409
jne case.0x300cd42b.17
cmp eax, 4
jne case.0x300cd42b.17
cmp dword [ebp - 0x14], 0
jne case.0x300cd42b.17
mov dword [ebp - 0x14], 0x409
lea ecx, [edx - 0x10]
test ecx, ecx
jbe 0x300cdaba
mov eax, dword [0x302ae2f6]
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
mov edx, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea eax, [edx - 0x10]
jmp 0x300cdb70
cmp eax, 4
lea ecx, [edx - 0x45]
jne 0x300cdafd
test ecx, ecx
jbe 0x300cdaec
mov eax, dword [0x302ae2f6]
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
mov edx, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [0x3020a274]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0x41e
jmp 0x300cdb1f
test ecx, ecx
jbe 0x300cdb1f
mov eax, dword [0x302ae32a]
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
mov edx, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea eax, [edx - 0x45]
jmp 0x300cdb70
mov eax, dword [0x302ae2f6]
mov cx, ax
mov edi, esi
shl ecx, 0x10
mov cx, ax
add esi, 0xa
mov eax, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp case.0x300cd42b.35
mov ax, word [0x302ae2d8]
mov word [esi], ax
movzx eax, byte [edi]
add esi, ebx
inc edi
test eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], edi
jbe 0x300cdb70
mov ecx, eax
shr ecx, 1
mov eax, 0x300030
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0xc]
lea esi, [esi + eax*2]
jmp case.0x300cd42b.35
push 0x17
jmp 0x300cdb92
push 0x16
jmp 0x300cdb92
cmp eax, 4
jne 0x300cdb90
mov dword [ebp - 8], 0x41e
push 0x15
jmp 0x300cdb92
push 0x31
mov cx, word [0x302ae306]
mov word [esi], cx
movzx ecx, byte [edi]
add esi, ebx
inc edi
test ecx, ecx
pop eax
movzx eax, word [eax*2 + 0x302ae2d0]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], edi
jbe 0x300cdbce
mov dx, ax
mov edi, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0xc]
lea esi, [esi + ecx*2]
mov ax, word [0x302ae308]
jmp 0x300ce42d
mov ax, word [0x302ae2fa]
mov word [esi], ax
add esi, ebx
mov ax, word [0x302ae2fa]
jmp 0x300ce42d
cmp eax, 4
mov ax, word [0x302ae2fa]
je 0x300cdc03
mov ax, word [0x302ae332]
mov word [esi], ax
mov eax, dword [0x30225cbc]
add esi, ebx
cmp eax, 4
jne 0x300cdc1b
mov dword [ebp - 8], 0x41e
jmp case.0x300cd42b.21
mov ax, word [0x302ae332]
jmp 0x300ce42d
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
inc eax
movzx edx, byte [eax]
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x18]
sub eax, esi
sar eax, 1
push eax
push ecx
mov dword [ebp + 0xc], edx
call fcn.3007f8d4
lea edi, [eax + eax]
push edi
push esi
push dword [ebp + 8]
mov dword [ebp + 0x14], eax
call fcn.3002660a
mov ax, word [0x302ae302]
add dword [ebp + 8], edi
add esi, edi
mov word [esi], ax
mov eax, dword [ebp + 0x18]
add esi, ebx
sub eax, esi
sar eax, 1
push eax
push dword [ebp + 0xc]
call fcn.3007f8d4
lea edi, [eax + eax]
push edi
push esi
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
call fcn.3002660a
add dword [ebp + 8], edi
add esi, edi
xor edi, edi
inc edi
cmp dword [ebp + 0x14], ebx
jne 0x300cdd5b
cmp dword [ebp + 0xc], ebx
jne 0x300cddc1
cmp dword [0x3022b6b4], 0
jne 0x300cdcb9
movzx eax, word [esi - 0xa]
cmp ax, 0x80
jae 0x300cdcb9
and eax, 0xdf
jmp 0x300cdcc6
movzx eax, word [esi - 0xa]
push eax
call fcn.3007f807
movzx eax, ax
cmp eax, 0x41
jne 0x300cddc1
cmp dword [0x3022b6b4], 0
jne 0x300cdce9
movzx eax, word [esi - 8]
cmp ax, 0x80
jae 0x300cdce9
and eax, 0xdf
jmp 0x300cdcf6
movzx eax, word [esi - 8]
push eax
call fcn.3007f807
movzx eax, ax
cmp eax, 0x4d
jne 0x300cddc1
cmp dword [0x3022b6b4], 0
jne 0x300cdd19
movzx eax, word [esi - 4]
cmp ax, 0x80
jae 0x300cdd19
and eax, 0xdf
jmp 0x300cdd26
movzx eax, word [esi - 4]
push eax
call fcn.3007f807
movzx eax, ax
cmp eax, 0x50
jne 0x300cddc1
cmp dword [0x3022b6b4], 0
jne 0x300cdd49
movzx eax, word [esi - 2]
cmp ax, 0x80
jae 0x300cdd49
and eax, 0xdf
jmp 0x300cdd56
movzx eax, word [esi - 2]
push eax
call fcn.3007f807
movzx eax, ax
cmp eax, 0x4d
jmp 0x300cddbd
cmp dword [ebp + 0x14], 1
jne 0x300cddc1
cmp dword [ebp + 0xc], 1
jne 0x300cddc1
cmp dword [0x3022b6b4], 0
jne 0x300cdd81
movzx eax, word [esi - 6]
cmp ax, 0x80
jae 0x300cdd81
and eax, 0xdf
jmp 0x300cdd8e
movzx eax, word [esi - 6]
push eax
call fcn.3007f807
movzx eax, ax
cmp eax, 0x41
jne 0x300cddc1
cmp dword [0x3022b6b4], 0
jne 0x300cddad
movzx eax, word [esi - 2]
cmp ax, 0x80
jae 0x300cddad
and eax, 0xdf
jmp 0x300cddba
movzx eax, word [esi - 2]
push eax
call fcn.3007f807
movzx eax, ax
cmp eax, 0x50
jne 0x300cddc1
xor edi, edi
cmp dword [ebp + 0x10], 0x5f
jne 0x300cddd5
cmp dword [0x30225cbc], 4
je 0x300cdddd
jmp case.0x300cd42b.35
test edi, edi
je case.0x300cd42b.35
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
add ecx, eax
push 0xfffffffffffffffe
add ecx, ecx
pop eax
sub eax, ecx
add esi, eax
mov word [esi], 0x41
add esi, ebx
mov word [esi], 0x4d
mov ax, word [0x302ae302]
add esi, ebx
mov word [esi], ax
add esi, ebx
mov word [esi], 0x50
add esi, ebx
mov word [esi], 0x4d
jmp 0x300ce430
mov ax, word [0x302ae2fc]
mov word [esi], ax
add esi, ebx
mov ax, word [0x302ae2fc]
jmp 0x300ce42d
test dword [0x3022cf84], 0x20000000
je case.0x300cd42b.76
cmp eax, 4
mov ax, word [0x302ae2fc]
je 0x300cde4b
mov ax, word [0x302ae334]
mov word [esi], ax
mov eax, dword [0x30225cbc]
add esi, ebx
cmp eax, 4
jne 0x300cde63
mov dword [ebp - 8], 0x41e
jmp case.0x300cd42b.23
mov ax, word [0x302ae334]
jmp 0x300ce42d
mov ax, word [0x302ae2fe]
mov word [esi], ax
add esi, ebx
mov ax, word [0x302ae2fe]
jmp 0x300ce42d
cmp eax, 4
mov ax, word [0x302ae2fe]
je 0x300cde95
mov ax, word [0x302ae336]
mov word [esi], ax
mov eax, dword [0x30225cbc]
add esi, ebx
cmp eax, 4
jne 0x300cdead
mov dword [ebp - 8], 0x41e
jmp case.0x300cd42b.25
mov ax, word [0x302ae336]
jmp 0x300ce42d
cmp byte [0x30225c90], 0
je case.0x300cd42b.35
mov eax, dword [0x30225c84]
or eax, dword [0x30225c8c]
je case.0x300cd42b.35
cmp edx, 0x28
jne 0x300cdee6
mov ax, word [0x302ae310]
mov word [esi], ax
add esi, ebx
mov ax, word [0x302ae310]
jmp 0x300ce42d
xor ecx, ecx
inc ecx
cmp eax, ebx
mov dword [ebp - 0x28], ecx
jne 0x300cdf04
cmp dword [0x30209e20], 5
jl 0x300cdf08
cmp eax, ecx
jne 0x300cdf17
cmp dword [0x30225c8c], 0
je case.0x300cd42b.35
jmp 0x300cdee6
cmp edx, 0x37
jne 0x300cdf27
mov ax, word [0x302ae314]
mov word [esi], ax
add esi, ebx
mov ax, word [0x302ae314]
mov word [esi], ax
add esi, ebx
mov ax, word [0x302ae314]
jmp 0x300ce42d
xor ecx, ecx
inc ecx
cmp eax, ebx
mov dword [ebp - 0x28], ecx
jne 0x300cdf50
cmp dword [0x30209e20], 5
jl 0x300cdee6
cmp eax, ecx
jne 0x300cdf32
jmp 0x300cdee6
mov ax, word [0x302ae2f4]
mov word [esi], ax
mov ax, word [0x302ae2f4]
add esi, ebx
mov word [esi], ax
add esi, ebx
mov ax, word [0x302ae2f4]
mov edi, dword [ebp - 0x24]
mov word [esi], ax
mov ax, word [0x302ae2f4]
add esi, ebx
mov word [esi], ax
mov eax, dword [0x30225cbc]
add esi, ebx
cmp eax, 4
jne 0x300cdfb7
cmp edi, 1
je 0x300cdfa1
cmp edi, ebx
je 0x300cdfa1
test edi, edi
jne 0x300cdfb7
cmp dword [ebp - 0x28], edi
jne 0x300cdfcd
cmp dword [ebp - 4], 0
jne case.0x300cd42b.35
mov dword [ebp - 4], 0x409
jmp case.0x300cd42b.35
cmp edi, 3
je 0x300ce04e
cmp edi, 4
jne 0x300cdfcd
cmp eax, edi
je 0x300ce04e
mov ecx, dword [0x30225c84]
mov edx, dword [0x30225c8c]
or ecx, edx
mov ecx, 0x411
jne 0x300cdff0
cmp dword [ebp - 0x1c], ecx
je 0x300cdff0
cmp dword [ebp - 0x1c], 0x404
jne 0x300ce00b
cmp dword [ebp - 0x28], 0
je 0x300ce00b
test edx, edx
jne 0x300ce003
cmp dword [ebp - 0x1c], ecx
jne 0x300ce271
mov dword [ebp - 4], ecx
jmp case.0x300cd42b.35
cmp eax, 4
jne case.0x300cd42b.35
xor eax, eax
cmp dword [ebp - 8], eax
jne 0x300ce02c
cmp dword [ebp - 0x14], eax
je 0x300ce02c
cmp dword [ebp - 0x10], eax
jne 0x300ce02c
mov dword [ebp - 8], 0x409
cmp edi, 7
jne 0x300ce038
mov dword [ebp - 4], 0x41e
cmp dword [ebp - 0x44], 0xd
jne case.0x300cd42b.35
mov dword [ebp - 8], 0x41e
jmp case.0x300cd42b.35
xor eax, eax
cmp edi, 3
setne al
dec eax
and eax, 0xd
add eax, 0x404
jmp 0x300ce29d
cmp eax, 4
jne 0x300ce07a
mov ax, word [0x302ae2f4]
mov word [esi], ax
mov ax, word [0x302ae2f4]
jmp 0x300ce089
mov ax, word [0x302ae32c]
mov word [esi], ax
mov ax, word [0x302ae32c]
add esi, ebx
mov word [esi], ax
mov eax, dword [0x30225cbc]
add esi, ebx
cmp eax, 4
jne 0x300ce0be
mov ax, word [0x302ae2f4]
mov word [esi], ax
mov ax, word [0x302ae2f4]
add esi, ebx
mov word [esi], ax
mov eax, dword [0x3020a274]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
jmp 0x300ce430
mov ax, word [0x302ae32c]
mov word [esi], ax
mov ax, word [0x302ae32c]
add esi, ebx
jmp 0x300ce42d
cmp eax, 4
jne 0x300ce0ea
mov ax, word [0x302ae2f4]
mov word [esi], ax
mov ax, word [0x302ae2f4]
jmp 0x300ce0f9
mov ax, word [0x302ae330]
mov word [esi], ax
mov ax, word [0x302ae330]
add esi, ebx
mov word [esi], ax
mov eax, dword [0x30225cbc]
add esi, ebx
cmp eax, 4
jne 0x300ce12c
mov ax, word [0x302ae2f4]
mov word [esi], ax
mov ax, word [0x302ae2f4]
add esi, ebx
mov word [esi], ax
mov eax, dword [0x3020a274]
mov dword [ebp - 4], 0x409
jmp 0x300ce0b6
mov ax, word [0x302ae330]
mov word [esi], ax
mov ax, word [0x302ae330]
add esi, ebx
jmp 0x300ce42d
cmp eax, 4
jne 0x300ce158
mov ax, word [0x302ae2f4]
mov word [esi], ax
mov ax, word [0x302ae2f4]
jmp 0x300ce167
mov ax, word [0x302ae32e]
mov word [esi], ax
mov ax, word [0x302ae32e]
add esi, ebx
mov word [esi], ax
mov eax, dword [0x30225cbc]
add esi, ebx
cmp eax, 4
jne 0x300ce1a0
mov ax, word [0x302ae2f4]
mov word [esi], ax
mov ax, word [0x302ae2f4]
add esi, ebx
mov word [esi], ax
mov eax, dword [0x3020a274]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x409
jmp 0x300ce430
mov ax, word [0x302ae32e]
mov word [esi], ax
mov ax, word [0x302ae32e]
add esi, ebx
jmp 0x300ce42d
cmp eax, ebx
jne 0x300ce1c7
cmp dword [0x30209e20], 5
jl 0x300cdee6
cmp eax, 1
je case.0x300cd42b.56
cmp eax, 4
jne 0x300ce21f
mov ax, word [0x302ae2f4]
mov word [esi], ax
add esi, ebx
cmp dword [ebp - 0x24], 3
jne 0x300ce1eb
mov dword [ebp - 4], 0x411
jmp 0x300ce22a
cmp dword [ebp - 0x24], 4
jne 0x300ce1fa
mov dword [ebp - 4], 0x404
jmp 0x300ce22a
mov eax, dword [ebp - 0x1c]
cmp eax, 0x411
je 0x300ce21a
cmp eax, 0x404
je 0x300ce21a
mov al, byte [0x30225c90]
neg al
sbb eax, eax
and eax, dword [0x3020a274]
mov dword [ebp - 4], eax
jmp 0x300ce22a
mov ax, word [0x302ae316]
mov word [esi], ax
add esi, ebx
mov eax, dword [0x30225cbc]
cmp eax, ebx
jne 0x300ce240
cmp dword [0x30209e20], 5
jl 0x300cdee6
cmp eax, 1
je 0x300cdee6
cmp eax, 4
jne 0x300ce2a5
mov ax, word [0x302ae2f4]
mov word [esi], ax
add esi, ebx
cmp dword [ebp - 0x24], 3
jne 0x300ce26b
mov dword [ebp - 4], 0x411
jmp case.0x300cd42b.35
cmp dword [ebp - 0x24], 4
jne 0x300ce27d
mov dword [ebp - 4], 0x404
jmp case.0x300cd42b.35
mov eax, dword [ebp - 0x1c]
cmp eax, 0x411
je 0x300ce29d
cmp eax, 0x404
je 0x300ce29d
mov al, byte [0x30225c90]
neg al
sbb eax, eax
and eax, dword [0x3020a274]
mov dword [ebp - 4], eax
jmp case.0x300cd42b.35
mov ax, word [0x302ae316]
jmp 0x300ce42d
movzx eax, byte [edi]
mov dword [ebp - 0xc], eax
xor eax, eax
inc edi
cmp edx, 0x1e
setne al
mov dword [ebp + 8], edi
lea eax, [eax + eax + 0x2b]
jmp 0x300ce42d
mov ax, word [0x302ae306]
mov word [esi], ax
mov eax, dword [ebp + 8]
movzx edi, byte [eax]
mov eax, dword [ebp + 0x18]
push dword [0x302ae800]
add esi, ebx
inc dword [ebp + 8]
sub eax, esi
sar eax, 1
cmp edi, 8
jl 0x300ce317
push 8
push eax
push esi
call fcn.300cac75
add edi, 0xfffffff9
push edi
mov esi, eax
call fcn.3008167c
mov eax, dword [ebp + 0x18]
sub eax, esi
push 0x15
sar eax, 1
push eax
push esi
call fcn.300dcf7e
jmp 0x300ce31f
push edi
push eax
push esi
call fcn.300cac75
mov esi, eax
jmp 0x300cdbd1
mov ax, word [0x302ae306]
mov word [esi], ax
movzx eax, byte [edi]
add esi, ebx
inc edi
cmp eax, 0x3e
jg 0x300ce33f
mov word [esi], ax
jmp 0x300ce35f
cmp eax, 0x7a
jne 0x300ce352
mov word [esi], 0x3c
add esi, ebx
mov word [esi], 0x3e
jmp 0x300ce35f
add eax, 0xffffffc3
mov word [esi], ax
add esi, ebx
mov word [esi], 0x3d
push edi
add esi, ebx
call fcn.3008149e
add edi, 8
mov dword [ebp + 8], edi
call fcn.30081515
test eax, eax
jge 0x300ce305
mov word [esi], 0x2d
add esi, ebx
jmp 0x300ce305
mov ax, word [0x302ae306]
mov word [esi], ax
movzx eax, byte [edi]
push dword [0x302ae7e0]
add esi, ebx
push eax
mov eax, dword [ebp + 0x18]
inc edi
sub eax, esi
mov dword [ebp + 8], edi
sar eax, 1
jmp 0x300ce318
mov ax, word [0x302ae306]
mov word [esi], ax
mov eax, dword [ebp + 0x18]
add esi, ebx
mov word [esi], 0x24
add esi, ebx
sub eax, esi
sar eax, 1
push eax
movzx eax, word [edi]
push eax
call fcn.3007f8d4
add eax, eax
push eax
push esi
lea eax, [edi + 2]
push eax
call fcn.3002660a
movzx eax, word [edi]
add eax, eax
lea edi, [edi + eax + 2]
add esi, eax
cmp dword [edi], 0
je 0x300ce41c
mov eax, dword [ebp + 0x18]
mov word [esi], 0x2d
add esi, ebx
sub eax, esi
sar eax, 1
push eax
push esi
push dword [edi]
call fcn.300263ea
lea esi, [esi + eax*2]
lea eax, [ebp - 0x58]
push eax
push dword [edi]
call fcn.30038521
movzx eax, word [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
add edi, 4
mov dword [ebp + 8], edi
jmp 0x300cdbd1
mov ax, word [0x302ae30a]
mov word [esi], ax
add esi, ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp - 0x38]
jb 0x300cd3f5
xor ecx, ecx
cmp byte [0x30225c90], 0
mov dword [ebp + 0xc], ecx
jne 0x300ce45c
test dword [0x3022cf84], 0x1000000
je 0x300ce5a4
cmp dword [0x30225cbc], 4
jne 0x300ce5a4
xor eax, eax
cmp dword [ebp - 0x10], eax
jne 0x300ce47e
cmp dword [ebp - 0x14], eax
jne 0x300ce47e
cmp dword [ebp - 4], eax
je 0x300ce5a4
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff6
cmp esi, eax
jae 0x300ce5a4
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x300ce498
mov dword [ebp + 8], ecx
jmp 0x300ce4a5
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x300ce4a2
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
and dword [ebp + 0x10], 0
test ecx, ecx
je 0x300ce4cf
cmp dword [ebp + 8], 0x411
je 0x300ce504
cmp dword [ebp + 8], 0x404
je 0x300ce504
cmp dword [ebp + 8], 0x41e
je 0x300ce504
mov eax, 0x409
jmp 0x300ce4d9
mov eax, 0x409
cmp dword [ebp + 8], eax
je 0x300ce504
cmp ecx, eax
jne 0x300ce4e7
cmp dword [ebp - 0x14], eax
je 0x300ce504
cmp dword [ebp - 0x10], eax
je 0x300ce504
test dword [0x3022cf84], 0x1000000
je 0x300ce5a4
cmp dword [ebp + 8], 0x401
jne 0x300ce5a4
mov ebx, dword [ebp - 0x48]
mov edi, dword [ebp + 0x18]
sub edi, ebx
mov eax, esi
sub eax, ebx
sar edi, 1
push edi
sar eax, 1
push eax
call fcn.3007f8d4
add eax, eax
push eax
lea eax, [ebx + 0xa]
push eax
push ebx
call fcn.3002660a
mov eax, dword [ebp + 8]
add esi, 0xa
sub eax, 0x401
mov word [ebx], 0x5b
je 0x300ce579
sub eax, 3
je 0x300ce570
sub eax, 5
je 0x300ce567
sub eax, 8
je 0x300ce55e
sub eax, 0xd
jne 0x300ce580
mov dword [ebp + 0x10], 0x30025c2c
mov dword [ebp + 0xc], 1
jmp 0x300ce580
mov dword [ebp + 0x10], 0x30025c3c
jmp 0x300ce580
mov dword [ebp + 0x10], 0x30025c44
jmp 0x300ce580
mov dword [ebp + 0x10], 0x30025c34
jmp 0x300ce580
mov dword [ebp + 0x10], 0x30025c24
push edi
push 3
call fcn.3007f8d4
add eax, eax
push eax
lea eax, [ebx + 2]
push eax
push dword [ebp + 0x10]
call fcn.3002660a
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
mov word [ebx + 8], 0x5d
jne 0x300ce5b2
xor ecx, ecx
cmp dword [ebp - 8], ecx
je 0x300ce66f
mov ebx, dword [ebp - 0x48]
cmp dword [0x30225cbc], 4
jne 0x300ce66f
mov eax, dword [ebp - 0x10]
cmp eax, ecx
jne 0x300ce5d4
cmp dword [ebp - 0x14], ecx
jne 0x300ce5d4
cmp dword [ebp - 8], ecx
je 0x300ce66f
mov edx, dword [ebp + 0x18]
add edx, 0xfffffff0
cmp esi, edx
jae 0x300ce66f
cmp dword [ebp - 8], ecx
je 0x300ce5ec
mov eax, dword [ebp - 8]
jmp 0x300ce5f3
cmp eax, ecx
jne 0x300ce5f3
mov eax, dword [ebp - 0x14]
cmp eax, 0x41e
jne 0x300ce66f
push 6
mov eax, esi
sub eax, ebx
sar eax, 1
mov edi, 0x30025cd8
push edi
push eax
push ebx
mov dword [ebp + 8], eax
call fcn.3007dba4
test eax, eax
jne 0x300ce66f
push 6
push 0x30025ce8
push dword [ebp + 8]
push ebx
call fcn.3007dba4
test eax, eax
jne 0x300ce66f
mov eax, dword [ebp + 0x18]
sub eax, ebx
sar eax, 1
push eax
push dword [ebp + 8]
mov dword [ebp + 0x18], eax
call fcn.3007f8d4
add eax, eax
push eax
lea eax, [ebx + 0x10]
push eax
push ebx
call fcn.3002660a
push dword [ebp + 0x18]
add esi, 0x10
push 6
mov word [ebx], 0x5b
call fcn.3007f8d4
add eax, eax
push eax
lea eax, [ebx + 2]
push eax
push edi
call fcn.3002660a
mov word [ebx + 0xe], 0x5d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14