Function at 0x403350
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41998d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004021b0
test al, al
jne 0x40358f
call fcn.00401f50
test al, al
jne 0x40358f
push 0xa
push 7
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [0x428ac8]
mov edi, eax
mov eax, dword [0x428acc]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0x30], eax
cmp edi, ecx
jae 0x4033ee
lea ecx, [edx + edi]
mov dword [0x428acc], ecx
jmp 0x403420
jbe 0x403420
mov eax, dword [0x428ad0]
sub eax, edx
cmp edi, eax
jbe 0x403404
push ecx
push edi
call fcn.00403610
jmp 0x403420
mov esi, edi
sub esi, ecx
push esi
push 0
push dword [ebp - 0x30]
call fcn.00407760
mov eax, dword [ebp - 0x30]
add esp, 0xc
add eax, esi
mov dword [0x428acc], eax
push edi
push dword [ebp - 0x34]
push dword [0x428ac8]
call fcn.00407900
add esp, 0xc
call fcn.004021b0
test al, al
jne 0x40358f
call fcn.00401f50
test al, al
jne 0x40358f
lea ecx, [ebp - 0x50]
call fcn.00403190
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00401cc0
call fcn.004024c0
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
add esp, 0x18
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403490
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401820
mov eax, dword [0x428acc]
xor edi, edi
mov ecx, dword [0x428ac8]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
sub eax, ecx
je 0x4034ef
nop word [eax + eax]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, edi
cmovae ecx, esi
xor edx, edx
div dword [ebp - 0x1c]
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x30]
xor byte [edi + ecx], al
inc edi
mov eax, dword [0x428acc]
mov ecx, dword [0x428ac8]
sub eax, ecx
mov dword [ebp - 0x30], ecx
cmp edi, eax
jne 0x4034c0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x403522
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x403518
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035af
push ecx
push esi
call fcn.00405f2a
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x403559
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40354f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035af
push ecx
push edx
call fcn.00405f2a
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.004021b0
test al, al
jne 0x40358f
call fcn.00401f50
test al, al
jne 0x40358f
mov eax, dword [0x428acc]
sub eax, dword [0x428ac8]
je 0x40358f
call fcn.00402b70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00405a9e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00409777
int3