Function at 0x1003d2fc
Capabilities:
Encode data using base64
Packed with generic packer

Disassembly:
pushal
call 0x1003d2fc
imul edx, ecx, 3
add cl, ch
push es
add al, byte [eax]
add byte [ebx], dh
leave
pop esi
xchg dword [esi], ecx
jecxz 0x1003d2f7
jmp 0x1003d502
sub esi, ecx
mov ebx, esi
lodsd eax, dword [esi]
sub ebx, eax
lodsd eax, dword [esi]
add eax, ebx
push eax
xchg edi, eax
lodsd eax, dword [esi]
xchg ecx, eax
rep movsd dword es:[edi], dword [esi]
pop esi
lodsd eax, dword [esi]
push esi
xchg ecx, eax
add dword [esi], ebx
lodsd eax, dword [esi]
loop 0x1003d317
lodsd eax, dword [esi]
lea ebp, [esi + 0x10]
add dword [ebp], ebx
lea edi, [ebp + 0x1c]
mov ch, 0x1c
rep stosd dword es:[edi], eax
pop esi
lodsd eax, dword [esi]
push ebx
push eax
push ecx
xchg edi, eax
pop eax
lea edx, [ebp + eax*4 + 0x5c]
call dword [esi]
jb 0x1003d390
sub al, 3
jae 0x1003d33f
mov al, 0
cmp al, 7
jb 0x1003d345
sub al, 3
push eax
movzx ebx, byte [edi - 1]
shl ebx, 3
mov bl, 0
lea ebx, [ebx + ebx*2]
lea ebx, [ebp + ebx*4 + 0x100c]
mov al, 1
jecxz 0x1003d386
mov edx, edi
sub edx, dword [ebp + 0xc]
mov ch, byte [edx]
xor edx, edx
test cl, ch
setne dh
push edx
inc dh
mov dl, al
lea edx, [ebx + edx*4]
call dword [esi]
pop edx
lahf
adc al, al
shr cl, 1
je 0x1003d38b
sahf
sbb dh, dl
je 0x1003d366
mov ah, 0
xor ecx, ecx
mov ch, 1
call dword [esi + 8]
xor ecx, ecx
jmp dword [esi + GetProcAddress]
mov cl, 0x30
mov ebx, dword [ebp + 0xc]
add edx, ecx
call dword [esi]
jae 0x1003d3e7
add edx, ecx
call dword [esi]
jb 0x1003d3ba
add edx, ecx
call dword [esi]
jb 0x1003d3d0
cmp al, 7
mov al, 9
jb 0x1003d3af
mov al, 0xb
push eax
mov eax, edi
sub eax, dword [ebp + 0xc]
mov al, byte [eax]
jmp dword [esi + 0x18]
add edx, 0x60
call dword [esi]
xchg dword [ebp + 0x10], ebx
jae 0x1003d3d0
add edx, ecx
call dword [esi]
xchg dword [ebp + 0x14], ebx
jae 0x1003d3d0
xchg dword [ebp + 0x18], ebx
cmp al, 7
mov al, 8
jb 0x1003d3d8
mov al, 0xb
push eax
push ebx
mov edx, ebp
add edx, dword [esi + 0x38]
call dword [esi + LoadLibraryA]
pop ebx
xchg ecx, eax
jmp dword [esi + 0x30]
cmp al, 7
mov al, 7
jb 0x1003d3ef
mov al, 0xa
push eax
xchg dword [ebp + 0x10], ebx
xchg dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov edx, ebp
add edx, dword [esi + 0x3c]
call dword [esi + LoadLibraryA]
push 3
pop ecx
push eax
dec eax
cmp eax, ecx
jb 0x1003d40c
mov eax, ecx
shl eax, 6
mov cl, pe_nt_image_headers32
lea ebx, [ebp + eax*4 + 0x37c]
call dword [esi + 4]
cmp al, 4
mov ebx, eax
jb 0x1003d480
xor ebx, ebx
shr eax, 1
adc ebx, ebx
dec eax
inc ebx
xchg ecx, eax
inc ebx
shl ebx, cl
cmp cl, 5
lea edx, [ebp + ebx*4 + 0x17c]
jbe 0x1003d467
sub cl, 4
xor eax, eax
mov edx, dword [ebp]
shr dword [ebp + 8], 1
mov edx, dword [edx]
bswap edx
sub edx, dword [ebp + 4]
add eax, eax
cmp edx, dword [ebp + 8]
jb 0x1003d459
mov edx, dword [ebp + 8]
inc eax
add dword [ebp + 4], edx
call dword [esi + 0x10]
loop 0x1003d43e
mov cl, 4
shl eax, cl
add ebx, eax
lea edx, [ebp + 0x1c]
xor eax, eax
push ebx
inc eax
push ecx
shl eax, cl
mov ebx, edx
xchg ecx, eax
call dword [esi + 4]
xor edx, edx
pop ecx
shr eax, 1
adc edx, edx
loop 0x1003d477
pop ebx
add ebx, edx
inc ebx
pop ecx
mov dword [ebp + 0xc], ebx
push esi
mov esi, edi
sub esi, ebx
rep movsb byte es:[edi], byte [esi]
lodsb al, byte [esi]
pop esi
mov cl, 0x80
stosb byte es:[edi], al
cmp edi, dword [esi + 0x24]
jae 0x1003d499
jmp dword [esi + 0x20]
pop eax
mov ecx, dword [esi + 0x40]
pop edi
pop edx
push edi
jecxz 0x1003d4bd
mov al, byte [edi]
inc edi
add al, 0x18
cmp al, 2
jae 0x1003d4a2
mov eax, dword [edi]
cmp al, 5
jne 0x1003d4a2
mov al, 0
bswap eax
add eax, dword [esi + 0x14]
sub eax, edi
stosd dword es:[edi], eax
loop 0x1003d4a2
mov ebx, dword [esi + 0x28]
push esi
push edx
mov esi, dword [esi + 0x2c]
inc esi
lodsd eax, dword [esi]
test eax, eax
pop edx
je 0x1003d4ee
add eax, edx
push edx
push esi
xchg edi, eax
call dword [ebx - 4]
xchg ebp, eax
lodsb al, byte [esi]
test al, al
jne 0x1003d4d5
cmp byte [esi], al
je 0x1003d4c5
mov eax, esi
jns 0x1003d4e7
inc esi
xor eax, eax
lodsw ax, word [esi]
push eax
push ebp
call dword [ebx]
stosd dword es:[edi], eax
jmp 0x1003d4d5
pop ecx
pop edi
mov ecx, dword [ecx + 0x44]
jecxz 0x1003d502
xor eax, eax
lodsb al, byte [esi]
cmp al, 4
jb 0x1003d508
add edi, eax
add dword [edi], edx
loop 0x1003d4f5
popal
jmp 0x100020e0
sub al, 1
jb 0x1003d514
je 0x1003d518
shl eax, 8
lodsb al, byte [esi]
jmp 0x1003d4fc
lodsw ax, word [esi]
jmp 0x1003d4fc
lodsd eax, dword [esi]
jmp 0x1003d4fc