Function at 0x568e70
Capabilities:
Create thread
Encode data using base64
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, edx
sub esi, ecx
push edi
mov dword [ebp - 4], ecx
mov eax, ecx
mov dword [ebp - 0xc], esi
mov edi, 8
mov bl, byte [esi + eax]
mov byte [eax], bl
inc eax
dec edi
jne 0x568b9d
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
lea ebx, [ecx + 0xc]
mov ecx, dword [edx + 0xc]
lea eax, [edx + 0xc]
mov dword [ebx], ecx
mov cl, byte [eax + 4]
mov byte [ebx + 4], cl
mov cl, byte [eax + 5]
mov byte [ebx + 5], cl
mov cl, byte [eax + 6]
mov byte [ebx + 6], cl
mov cl, byte [eax + 7]
mov byte [ebx + 7], cl
mov cl, byte [eax + 8]
mov byte [ebx + 8], cl
mov cl, byte [eax + 9]
mov byte [ebx + 9], cl
mov cl, byte [eax + 0xa]
mov byte [ebx + 0xa], cl
mov cl, byte [eax + 0xb]
mov byte [ebx + 0xb], cl
mov cl, byte [eax + 0xc]
mov esi, eax
sub esi, ebx
mov edi, 0xfffffff3
mov byte [ebx + 0xc], cl
lea ecx, [ebx + 0xd]
mov dword [ebp - 8], esi
sub edi, ebx
mov al, byte [esi + ecx]
mov byte [ecx], al
inc ecx
lea eax, [edi + ecx]
cmp eax, 8
jb 0x568bfe
mov ecx, dword [edx + 0x24]
lea esi, [edx + 0xc]
mov dword [ebx + 0x18], ecx
mov dl, byte [esi + 0x1c]
lea eax, [esi + 0x20]
push eax
lea ecx, [ebx + 0x20]
mov byte [ebx + 0x1c], dl
call fcn.0053fb70
add esi, 0x30
lea edi, [ebx + 0x30]
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0xc]
lea esi, [eax + 0x7c]
lea edi, [ebx + 0x7c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0xa0]
mov edi, 8
mov edx, dword [ebp - 8]
lea eax, [esi + edx]
push eax
mov ecx, esi
call fcn.0045a540
add esi, 0x44
dec edi
jne 0x568c52
mov ecx, dword [0x6264b4]
mov edx, dword [ebp + 8]
push ecx
lea esi, [edx + 0xc]
push 0
lea eax, [esi + 0x2c0]
push eax
lea ecx, [ebx + 0x2c0]
call fcn.00404650
mov ecx, dword [0x6264b4]
push ecx
push 0
lea edx, [esi + 0x2d0]
push edx
lea ecx, [ebx + 0x2d0]
call fcn.00404650
mov eax, dword [ebp + 8]
add esi, 0x2e0
lea edi, [ebx + 0x2e0]
mov ebx, dword [ebp - 4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x300]
lea edi, [ebx + 0x300]
mov ecx, 0x73
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 0x4cc]
mov byte [ebx + 0x4cc], cl
mov dl, byte [eax + 0x4d0]
lea edi, [eax + 0x4d0]
lea esi, [ebx + 0x4d0]
mov byte [esi], dl
mov al, byte [edi + 1]
mov byte [esi + 1], al
mov cl, byte [edi + 2]
mov byte [esi + 2], cl
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov cl, byte [edi + 0xc]
mov byte [esi + 0xc], cl
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [0x6264b4]
push eax
push 0
lea ecx, [edi + 0x14]
push ecx
lea ecx, [esi + 0x14]
call fcn.00404650
mov ecx, edi
mov edx, 0xffffffdc
sub ecx, esi
sub edx, esi
lea eax, [esi + 0x24]
mov dword [ebp - 8], edx
mov dl, byte [ecx + eax]
mov byte [eax], dl
mov edx, dword [ebp - 8]
inc eax
add edx, eax
cmp edx, 0xe
jb 0x568d37
lea eax, [edi + 0x34]
push eax
lea ecx, [esi + 0x34]
call fcn.004c5710
lea ecx, [edi + 0x44]
push ecx
lea ecx, [esi + 0x44]
call fcn.004c5940
lea edx, [edi + 0x54]
push edx
lea ecx, [esi + 0x54]
call fcn.004c5b10
add edi, 0x64
push edi
lea ecx, [esi + 0x64]
call fcn.0053fb70
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54c]
mov edx, dword [0x6264b4]
add eax, 0x544
mov esi, ecx
cmp edx, esi
mov dword [ebp - 8], eax
lea edi, [ebx + 0x544]
mov dword [ebp - 4], esi
jae 0x568da2
mov dword [ebp - 4], edx
mov esi, edx
cmp edi, eax
jne 0x568dbf
push edx
push esi
mov ecx, edi
call fcn.0041bd60
push 0
push 0
mov ecx, edi
call fcn.0041bd60
jmp 0x568e4a
test esi, esi
jbe 0x568e05
cmp esi, ecx
jne 0x568e05
mov eax, dword [eax + 4]
test eax, eax
jne 0x568dd3
mov eax, 0x6264b0
cmp byte [eax - 1], 0xfe
jae 0x568e05
push 1
mov ecx, edi
call fcn.00404140
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x568df1
mov eax, 0x6264b0
mov dword [edi + 4], eax
mov edx, dword [ecx + 8]
mov dword [edi + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [edi + 0xc], ecx
inc byte [eax - 1]
jmp 0x568e4a
push 1
push esi
mov ecx, edi
call fcn.00404880
test al, al
je 0x568e4a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
test eax, eax
jne 0x568e22
mov eax, 0x6264b0
mov edi, dword [edi + 4]
mov ecx, esi
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x548]
mov dword [ebx + 0x54c], eax
mov byte [ecx + eax], 0
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x554]
mov dword [ebx + 0x554], edx
mov eax, dword [edi + 0x558]
mov esi, 0xfffffaa4
mov dword [ebx + 0x558], eax
lea eax, [ebx + 0x55c]
sub esi, ebx
mov ecx, dword [ebp - 0xc]
mov dl, byte [eax + ecx]
mov byte [eax], dl
inc eax
lea ecx, [esi + eax]
cmp ecx, 8
jb 0x568e72
lea eax, [ebx + 0x564]
mov ecx, 8
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x568e8e
mov eax, dword [edi + 0x584]
pop edi
mov dword [ebx + 0x584], eax
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4