Function at 0x303f20
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebx
mov ebx, dword [edx]
push ebp
mov ebp, dword [esp + 0x3c]
mov edx, dword [ebp + 0x38]
xor eax, eax
push esi
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x48]
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp]
lea edi, [esp + 0x18]
lea esi, [esp + 0x28]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0xffffffff
call fcn.003307f0
cmp dword [esp + 0x4c], 0x25
mov dword [esp + 0x10], eax
je 0x3044ce
cmp dword [esp + 0x4c], 0x27
je 0x3044ce
mov eax, dword [esp + 0x4c]
cmp eax, 0x26
jne 0x304494
mov eax, dword [ebp + 0xe0]
sub eax, 1
mov edi, 0x119
je 0x3043fd
sub eax, 1
je 0x304262
sub eax, 1
jne 0x304312
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0xc]
or edx, 0xffffffff
test eax, 0x8000000
mov esi, 0x3c00
je 0x304093
mov eax, dword [ecx + 4]
and eax, 0x1f000000
cmp eax, 0x7000000
jne 0x30406f
cmp dword [ebp + 0x138], 0
je 0x304046
mov ecx, dword [ebp + 0x13c]
test ecx, ecx
mov ebx, dword [esp + 0x5c]
mov eax, 0x63
je 0x30401b
mov edx, dword [ebx]
sar edx, 8
jmp 0x30401e
mov edx, dword [ebx + 8]
test ecx, ecx
je 0x304036
mov ecx, dword [ebx + 8]
mov ebx, dword [esp + 0x10]
shl ecx, 4
mov dword [ebx + 0x70], ecx
mov ebx, edx
jmp 0x3041d4
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov dword [ebx + 0x70], ecx
mov ebx, edx
jmp 0x3041d4
cmp dword [ebp + 0x13c], 0
je 0x304062
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
sar eax, 8
lea eax, [eax + ecx + 0x52]
mov ebx, edx
jmp 0x3041d4
mov eax, dword [ecx + 8]
add eax, 0x52
mov ebx, edx
jmp 0x3041d4
cmp dword [ebp + 0x13c], 0
mov eax, 0x62
je 0x304089
mov edx, dword [ecx]
sar edx, 8
mov ebx, edx
jmp 0x3041d4
mov edx, dword [ecx + 8]
mov ebx, edx
jmp 0x3041d4
test eax, 0x10000000
je 0x30413b
mov eax, dword [esp + 0x48]
test dword [eax + 0x3c], esi
jne 0x30413b
mov eax, ebx
sar eax, 8
cmp eax, 4
jl 0x30413b
cmp eax, 0xd
jg 0x30413b
add eax, 0xfffffffc
or ebx, 0xffffffff
cmp eax, 9
ja case.default.0x3040c9
jmp dword [eax*4 + 0x3048bc]
mov eax, 0x48
jmp 0x3041eb
mov eax, 0x49
jmp 0x3041eb
mov eax, 0x4a
jmp 0x3041eb
mov eax, 0x4b
jmp 0x3041eb
mov eax, 0x4c
jmp 0x3041eb
mov eax, 0x4d
jmp 0x3041eb
mov eax, 0x4e
jmp 0x3041eb
mov eax, 0x4f
jmp 0x3041eb
mov eax, 0x50
jmp 0x3041eb
mov eax, 0x51
jmp 0x3041eb
xor eax, eax
jmp 0x3041eb
sar ebx, 8
cmp dword [ebp + 0x138], 0
je 0x304153
mov edx, ebx
mov eax, 0x37
jmp 0x3041d4
cmp ebx, 0xf
ja case.default.0x304158
jmp dword [ebx*4 + 0x3048e4]
mov eax, 0x38
jmp 0x3041d1
mov eax, 0x39
jmp 0x3041d1
mov eax, 0x3a
jmp 0x3041d1
mov eax, 0x3b
jmp 0x3041d1
mov eax, 0x3c
jmp 0x3041d1
mov eax, 0x3d
jmp 0x3041d1
mov eax, 0x3e
jmp 0x3041d1
mov eax, 0x3f
jmp 0x3041d1
mov eax, 0x40
jmp 0x3041d1
mov eax, 0x41
jmp 0x3041d1
mov eax, 0x42
jmp 0x3041d1
mov eax, 0x43
jmp 0x3041d1
mov eax, 0x44
jmp 0x3041d1
mov eax, 0x45
jmp 0x3041d1
mov eax, 0x46
jmp 0x3041d1
mov eax, 0x47
jmp 0x3041d1
xor eax, eax
lea ebx, [eax - 0x38]
test ebx, ebx
jl 0x3041eb
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 0x1c]
test byte [ecx + ebx*4 + 2], 4
je 0x3041eb
mov edi, 0x919
mov ecx, dword [esp + 0x48]
test dword [ecx + 0x3c], esi
je 0x30421e
mov ecx, dword [ecx + 0x1c]
mov bx, word [ecx + ebx*4 + 2]
test bl, 8
je 0x304207
or edi, 0x4000
mov ecx, dword [esp + 0x5c]
test byte [ecx + 0xf], 0x10
jne 0x304216
test bl, 2
je 0x304242
or edi, 0x20000
jmp 0x304242
cmp eax, 0x3c
jl 0x304242
cmp eax, 0x45
jg 0x304242
mov esi, dword [esp + 0x5c]
test byte [esi + 0xf], 0x10
jne 0x304242
mov ecx, dword [ecx + 0x1c]
test byte [ecx + ebx*4 + 2], 8
je 0x304242
or edi, 0x4000
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push ecx
push eax
push edi
push edx
push ecx
mov eax, ebp
call fcn.00303b10
mov esi, eax
jmp 0x304316
mov eax, dword [esp + 0x5c]
test byte [eax + 0xf], 8
je 0x3042c3
mov eax, dword [esp + 0x64]
cmp word [eax + 4], 0x74
je 0x30428d
mov ecx, ebx
sar ecx, 0x10
push ecx
mov ecx, dword [esp + 0x4c]
mov esi, ebp
call fcn.00303e60
sar ebx, 8
jmp 0x3042a1
mov ebx, dword [eax + 0x28]
mov edx, dword [eax + 0x30]
or ebx, 0xff800000
shl ebx, 8
sar edx, 8
or ebx, edx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x58]
push eax
push 0x31
push 0x119
push ecx
push eax
mov eax, ebp
call fcn.00303b10
mov esi, eax
jmp 0x304316
mov edx, ebx
and edx, 0xffff0000
cmp edx, 0xf0000
jne 0x304381
mov edx, ebx
sar edx, 8
lea esi, [esp + 0x5c]
lea edi, [esp + 0x64]
call fcn.00302630
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
push 0x119
push edx
push eax
mov eax, ebp
call fcn.00303b10
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x44]
mov ecx, dword [ebp]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 4]
push 8
push edx
xor edi, edi
call dword [eax]
mov dword [eax + 4], esi
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x44]
mov dword [eax], edx
mov ecx, dword [ebp]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
push 0x3c
push ecx
call dword [eax]
cmp eax, edi
je 0x3047af
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax], 0x418c08
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], edi
mov ebx, eax
jmp 0x3047b1
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x1c]
sar ebx, 8
mov eax, ebx
and eax, 0xff
test byte [edx + eax*4 + 2], 1
mov dword [esp + 0x60], 0x600
jne 0x3043a5
mov dword [esp + 0x60], ebx
mov edx, dword [esp + 0x60]
lea esi, [esp + 0x5c]
lea edi, [esp + 0x64]
call fcn.00302630
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp + 0xd8]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push 0x119
push eax
push ecx
mov eax, ebp
call fcn.00303b10
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
sar eax, 8
push eax
mov esi, ebp
call fcn.00303e60
jmp 0x304312
mov eax, dword [esp + 0x5c]
test byte [eax + 0xf], 8
je 0x304452
cmp dword [ebp + 0x13c], 0
je 0x304417
mov eax, dword [eax]
sar eax, 8
jmp 0x304419
xor eax, eax
mov edx, dword [ebp + 0xd8]
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [ebp + 0x138]
mov ebx, dword [esp + 0x58]
neg eax
sbb eax, eax
and al, 0xf7
push edx
mov edx, dword [esp + 0x60]
add eax, 0x10
push eax
push 0x119
push ecx
push edx
mov eax, ebp
call fcn.00303b10
mov esi, eax
jmp 0x304316
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
sar ecx, 8
mov eax, ebp
call fcn.00302200
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push 0x119
push edx
push eax
mov eax, ebp
call fcn.00303b10
mov esi, eax
jmp 0x304316
cmp eax, 0x23
jne 0x304312
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
sar ecx, 8
js 0x3044b1
test byte [eax + 0xf], 8
je 0x3044b1
add ecx, dword [eax + 8]
mov eax, ebp
call fcn.00303e30
mov esi, eax
cmp dword [esi + 8], 5
jne 0x304316
mov eax, dword [esi + 0x38]
mov esi, dword [eax]
jmp 0x304316
mov eax, dword [esp + 0x50]
cmp eax, 2
je 0x304591
cmp eax, 7
je 0x304591
cmp eax, 8
je 0x304591
cmp eax, 0xe
je 0x304591
cmp eax, 0x13
jne 0x304515
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
push ecx
push 0x115
mov eax, ebp
call fcn.00303b90
jmp 0x30430e
cmp eax, 0x12
jne 0x304312
mov eax, dword [esp + 0x64]
movsx edx, byte [eax + 7]
mov ecx, dword [esp + 0x48]
movsx eax, byte [eax + 9]
push edx
push ecx
push ebp
call fcn.00300d50
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
push eax
push edx
push 0x115
mov eax, ebp
call fcn.00303c30
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
and ecx, 3
add ecx, ecx
add ecx, ecx
and edx, 7
add ecx, ecx
or ecx, edx
mov edx, dword [esp + 0x6c]
and edx, 1
add ecx, ecx
or ecx, edx
mov edx, dword [eax + 0x40]
and edx, 0xffffff80
add ecx, ecx
or ecx, edx
mov edx, dword [esp + 0x68]
and edx, 1
or ecx, edx
mov dword [eax + 0x40], ecx
mov cx, word [esp + 0x78]
mov word [eax + 0x44], cx
jmp 0x30430e
cmp bl, 5
jne 0x304717
mov edx, dword [ebp]
sar ebx, 8
test byte [edx + 0xb5], 4
push ebx
mov ebx, dword [esp + 0x58]
je 0x3045bf
push 0
push 0
push 0x115
push eax
mov eax, dword [esp + 0x6c]
push eax
jmp 0x3045d3
mov ecx, dword [ebp + 0xd4]
mov edx, dword [esp + 0x5c]
push ecx
push 0
push 0x115
push eax
push edx
mov eax, ebp
call fcn.00303b10
mov esi, eax
mov eax, dword [esp + 0x64]
add eax, 0x58
lea edx, [esi + 0x48]
mov dword [esp + 0x54], 4
mov edi, edi
movsx ecx, word [eax - 8]
mov dword [edx], ecx
mov cl, byte [eax - 6]
and ecx, 1
mov dword [edx + 4], ecx
mov ecx, dword [eax - 8]
shr ecx, 0x13
cmp dword [edx], 0
mov dword [edx + 8], ecx
jne 0x304640
cmp dword [eax - 4], 0
jne 0x304640
mov edi, dword [eax]
mov ecx, edi
shl ecx, 5
sar ecx, 5
cmp ecx, 0x20
jge 0x304640
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp + 0x7c]
test ecx, ebx
je 0x304640
test edi, 0xc0000000
jne 0x304640
mov dword [edx + 4], 1
mov ecx, dword [eax - 4]
mov dword [edx + 0x10], ecx
cmp dword [eax - 4], 0
je 0x304653
fld dword [eax]
fstp qword [edx + 0x20]
jmp 0x30467d
mov ecx, dword [eax]
shl ecx, 5
sar ecx, 5
mov dword [edx + 0x14], ecx
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
sar ecx, 0x1d
mov dword [edx + 0x18], ecx
mov ecx, dword [eax]
shr ecx, 0x1e
and ecx, 1
mov dword [edx + 0x28], ecx
mov ecx, dword [eax]
shr ecx, 0x1f
mov dword [edx + 0x2c], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 0x30], ecx
cmp dword [eax + 4], 0
je 0x304691
fld dword [eax + 8]
fstp qword [edx + 0x40]
jmp 0x3046bf
mov ecx, dword [eax + 8]
shl ecx, 5
sar ecx, 5
mov dword [edx + 0x34], ecx
mov ecx, dword [eax + 8]
add ecx, ecx
add ecx, ecx
sar ecx, 0x1d
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 8]
shr ecx, 0x1e
and ecx, 1
mov dword [edx + 0x48], ecx
mov ecx, dword [eax + 8]
shr ecx, 0x1f
mov dword [edx + 0x4c], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x50], ecx
cmp dword [eax + 0xc], 0
je 0x3046d3
fld dword [eax + 0x10]
fstp qword [edx + 0x60]
jmp 0x304701
mov ecx, dword [eax + 0x10]
shl ecx, 5
sar ecx, 5
mov dword [edx + 0x54], ecx
mov ecx, dword [eax + 0x10]
add ecx, ecx
add ecx, ecx
sar ecx, 0x1d
mov dword [edx + 0x58], ecx
mov ecx, dword [eax + 0x10]
shr ecx, 0x1e
and ecx, 1
mov dword [edx + 0x68], ecx
mov ecx, dword [eax + 0x10]
shr ecx, 0x1f
mov dword [edx + 0x6c], ecx
add eax, 0x1c
add edx, 0x70
sub dword [esp + 0x54], 1
jne 0x3045f0
jmp 0x304316
mov edx, dword [esp + 0x48]
sar ebx, 8
test byte [edx + 0x3d], 0x3c
je 0x304784
mov esi, dword [esp + 0x54]
movzx eax, byte [esp + 0x17]
and ebx, 0xff00ffff
imul ebx, esi
add ebx, ebx
push eax
add ebx, ebx
push 0x303f10
lea edi, [esp + 0x20]
mov dword [esp + 0x64], ebx
call fcn.000b2370
mov eax, dword [ebp]
mov eax, dword [eax + 0x28]
add esp, 8
mov ebx, edi
call fcn.002be4b0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
push ecx
push eax
movzx eax, byte [esp + 0x1f]
add eax, 0x130
push eax
mov eax, dword [esp + 0x64]
push 0x115
push edx
push eax
mov ebx, esi
jmp 0x304307
mov ecx, dword [ebp + 0xd4]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x58]
push ecx
push 0
push 0x115
push edx
push eax
mov eax, ebp
call fcn.00303b10
mov esi, eax
jmp 0x304316
xor ebx, ebx
cmp dword [esp + 0x4c], 0x27
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x10], esi
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x4c]
mov dword [ebx + 0x18], edx
mov eax, dword [ebp]
mov dword [eax + 0x4c], ebx
jne 0x304838
mov ecx, dword [ebp]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
push 0x24
push edx
call dword [eax]
cmp eax, edi
je 0x30480a
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax], 0x418adc
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
jmp 0x30480c
xor eax, eax
mov ecx, ebx
mov dword [eax + 0x18], ebx
cmp dword [ecx + 4], eax
je 0x304820
mov dword [ecx + 4], eax
mov ecx, dword [ecx + 8]
cmp ecx, edi
jne 0x304811
mov edx, dword [esp + 0x10]
mov dword [eax + 0x1c], ebx
mov ecx, dword [ebp + 0xe4]
mov dword [eax + 0x20], ecx
mov dword [edx + 0x6c], eax
mov dword [eax + 0x10], esi
jmp 0x30483f
mov eax, dword [esp + 0x10]
mov dword [eax + 0x6c], ebx
mov ecx, dword [ebp]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
push 0x38
push edx
call dword [eax]
cmp eax, edi
je 0x304887
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], 0xffffffff
mov byte [eax + 0x2c], 0
mov byte [eax + 0x2d], 0
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], edi
mov ecx, eax
jmp 0x304889
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [ecx + 8], ebx
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
cmp edx, edi
je 0x3048a9
pop edi
pop esi
mov dword [edx], ecx
mov dword [ebp + 8], ecx
pop ebp
pop ebx
add esp, 0x30
ret 0x3c
mov edx, dword [ebp + 4]
pop edi
pop esi
mov dword [edx + 0x34], ecx
mov dword [ebp + 8], ecx
pop ebp
pop ebx
add esp, 0x30
ret 0x3c