Function at 0x433010
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x48106c]
xor eax, esp
mov dword [esp + reloc.USER32.dll_PeekMessageA], eax
mov edx, dword [ebp + 0x14]
mov eax, edx
mov ecx, dword [ebp + 0x18]
or eax, ecx
push esi
push edi
jne 0x4332f4
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x40], 0xc2b2ae3d
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x85ebca87
lea ecx, [esi - 1]
mov dword [esp + 0x4c], 0x9e3779b1
shr ecx, 0xa
mov dword [esp + 0x50], 0x27d4eb4f
mov dword [esp + 0x54], 0xc2b2ae3d
mov dword [esp + 0x58], 0x9e3779f9
mov dword [esp + 0x5c], 0x165667b1
mov dword [esp + 0x60], 0xc2b2ae63
mov dword [esp + 0x64], 0x85ebca77
mov dword [esp + 0x68], 0x85ebca77
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x165667c5
mov dword [esp + 0x74], 0x27d4eb2f
mov dword [esp + 0x78], 0x9e3779b1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4331c9
movaps xmm3, xmmword [0x47b680]
lea eax, [esp + 0x40]
mov esi, 0x475fc0
mov dword [esp + 0x18], ecx
sub esi, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], esi
mov edx, 0x475fc0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x10
nop word [eax + eax]
prefetcht0 byte [eax + 0x180]
lea ecx, [esp + 0x40]
mov edi, eax
sub edi, edx
mov edx, 4
lea eax, [esi + ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [eax + edi]
movups xmm0, xmmword [eax]
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0x31
pmuludq xmm1, xmm0
pshufd xmm0, xmm2, 0x4e
paddq xmm0, xmmword [ecx - 0x10]
paddq xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
sub edx, 1
jne 0x433114
mov eax, dword [esp + 0x1c]
add esi, 8
mov edx, dword [esp + 0x10]
add eax, 0x40
add edx, 8
mov dword [esp + 0x1c], eax
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], edx
jne 0x433100
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x40]
movaps xmm1, xmm0
psrlq xmm1, 0x2f
pxor xmm1, xmm0
movups xmm0, xmmword [eax + 0x476040]
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x31
pmuludq xmm0, xmm3
pmuludq xmm1, xmm3
psllq xmm0, 0x20
paddq xmm0, xmm1
movups xmmword [esp + eax + 0x40], xmm0
add eax, 0x10
cmp eax, 0x40
jb 0x433170
sub dword [esp + 0x18], 1
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
jne 0x4330e2
mov ecx, dword [esp + 0x20]
mov esi, dword [ebp + 0x10]
shl ecx, 0xa
mov eax, esi
sub eax, ecx
dec eax
shr eax, 6
mov dword [esp + 0x10], eax
test eax, eax
je 0x433268
mov edx, 0x475fc0
lea eax, [esp + 0x40]
mov esi, edx
mov dword [esp + 0x14], edx
sub esi, eax
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x18], eax
nop word [eax + eax]
prefetcht0 byte [eax + 0x180]
lea ecx, [esp + 0x40]
mov edi, eax
sub edi, edx
mov edx, 4
lea eax, [esi + ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [eax + edi]
movups xmm0, xmmword [eax]
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0x31
pmuludq xmm1, xmm0
pshufd xmm0, xmm2, 0x4e
paddq xmm0, xmmword [ecx - 0x10]
paddq xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
sub edx, 1
jne 0x433214
mov eax, dword [esp + 0x18]
add esi, 8
mov edx, dword [esp + 0x14]
add eax, 0x40
add edx, 8
mov dword [esp + 0x18], eax
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
jne 0x433200
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 0xffffffc0
add ecx, esi
xor eax, eax
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [eax + 0x476039]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [esp + eax + 0x40]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movups xmmword [esp + eax + 0x40], xmm1
add eax, 0x10
cmp eax, 0x40
jb 0x433272
push 0x9e3779b1
push 0x85ebca87
push 0
push esi
call fcn.0043d380
push edx
push eax
mov edx, 0x475fcb
lea ecx, [esp + 0x48]
call fcn.00428f40
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
push 0xc2b2ae3d
push 0x27d4eb4f
push 0
push esi
call fcn.0043d380
not edx
push edx
mov edx, 0x476035
jmp 0x433604
movq xmm1, qword [ebp + 0x14]
neg edx
mov dword [esp + 0x20], edx
adc ecx, 0
neg ecx
xor eax, eax
mov dword [esp + 0x24], ecx
movq xmm0, qword [esp + 0x20]
punpcklqdq xmm1, xmm0
movups xmm0, xmmword [eax + 0x475fc0]
paddq xmm0, xmm1
movups xmmword [esp + eax + 0x80], xmm0
add eax, 0x10
cmp eax, 0xc0
jl 0x433314
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x40], 0xc2b2ae3d
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x85ebca87
lea edi, [esi - 1]
mov dword [esp + 0x4c], 0x9e3779b1
shr edi, 0xa
mov dword [esp + 0x50], 0x27d4eb4f
mov dword [esp + 0x54], 0xc2b2ae3d
mov dword [esp + 0x58], 0x9e3779f9
mov dword [esp + 0x5c], 0x165667b1
mov dword [esp + 0x60], 0xc2b2ae63
mov dword [esp + 0x64], 0x85ebca77
mov dword [esp + 0x68], 0x85ebca77
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x165667c5
mov dword [esp + 0x74], 0x27d4eb2f
mov dword [esp + 0x78], 0x9e3779b1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x3c], edi
test edi, edi
je 0x4334d6
movaps xmm3, xmmword [0x47b680]
lea ecx, [esp + 0x40]
lea eax, [esp + 0x80]
mov dword [esp + 0x1c], edi
sub eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
nop word [eax + eax]
lea edx, [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov esi, eax
mov dword [esp + 0x10], 0x10
nop dword [eax]
prefetcht0 byte [ecx + 0x180]
lea eax, [esp + 0x40]
mov edi, ecx
sub edi, edx
mov edx, 4
lea ecx, [esi + eax]
lea eax, [eax + 0x10]
movups xmm2, xmmword [ecx + edi]
movups xmm0, xmmword [ecx]
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0x31
pmuludq xmm1, xmm0
pshufd xmm0, xmm2, 0x4e
paddq xmm0, xmmword [eax - 0x10]
paddq xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
sub edx, 1
jne 0x433424
mov ecx, dword [esp + 0x18]
add esi, 8
mov edx, dword [esp + 0x14]
add ecx, 0x40
add edx, 8
mov dword [esp + 0x18], ecx
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
jne 0x433410
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x40]
movaps xmm1, xmm0
psrlq xmm1, 0x2f
pxor xmm1, xmm0
movups xmm0, xmmword [esp + eax + 0x100]
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x31
pmuludq xmm0, xmm3
pmuludq xmm1, xmm3
psllq xmm0, 0x20
paddq xmm0, xmm1
movups xmmword [esp + eax + 0x40], xmm0
add eax, 0x10
cmp eax, 0x40
jb 0x433480
sub dword [esp + 0x1c], 1
mov eax, dword [esp + 0x20]
jne 0x4333f0
mov edi, dword [esp + 0x3c]
mov esi, dword [ebp + 0x10]
shl edi, 0xa
mov eax, esi
sub eax, edi
dec eax
shr eax, 6
mov dword [esp + 0x10], eax
test eax, eax
je 0x433578
lea edx, [esp + 0x80]
lea eax, [esp + 0x40]
mov dword [esp + 0x14], edx
mov esi, edx
sub esi, eax
mov eax, dword [ebp + 0xc]
add eax, edi
mov dword [esp + 0x18], eax
nop dword [eax]
prefetcht0 byte [eax + 0x180]
lea ecx, [esp + 0x40]
mov edi, eax
sub edi, edx
mov edx, 4
lea eax, [esi + ecx]
lea ecx, [ecx + 0x10]
movups xmm0, xmmword [eax + edi]
movups xmm2, xmmword [eax]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [ecx - 0x10]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
sub edx, 1
jne 0x433524
mov eax, dword [esp + 0x18]
add esi, 8
mov edx, dword [esp + 0x14]
add eax, 0x40
add edx, 8
mov dword [esp + 0x18], eax
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
jne 0x433510
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 0xffffffc0
add ecx, esi
xor eax, eax
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [esp + eax + 0xf9]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [esp + eax + 0x40]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movups xmmword [esp + eax + 0x40], xmm1
add eax, 0x10
cmp eax, 0x40
jb 0x433582
push 0x9e3779b1
push 0x85ebca87
push 0
push esi
call fcn.0043d380
push edx
push eax
lea edx, [esp + 0x93]
lea ecx, [esp + 0x48]
call fcn.00428f40
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
push 0xc2b2ae3d
push 0x27d4eb4f
push 0
push esi
call fcn.0043d380
not edx
push edx
lea edx, [esp + 0xf9]
not eax
lea ecx, [esp + 0x44]
push eax
call fcn.00428f40
mov ecx, dword [esp + reloc.USER32.dll_PeekMessageA]
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], edx
movaps xmm0, xmmword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
movups xmmword [eax], xmm0
call fcn.0043c755
mov esp, ebp
pop ebp
ret