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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x48106c]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
mov eax, dword [esi + reloc.USER32.dll_PeekMessageA]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x42f767
lea eax, [esi + 0x40]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + reloc.USER32.dll_PeekMessageA]
lea edi, reloc.USER32.dll_PeekMessageA
mov eax, dword [esi + reloc.USER32.dll_PeekMessageA]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x30], edi
test ecx, ecx
jne 0x42f7ee
cmp eax, 0xf0
ja 0x42f7ee
mov ecx, dword [esp + 0x2c]
mov esi, dword [esi + reloc.USER32.dll_PeekMessageA]
mov eax, esi
mov edx, dword [ecx + reloc.USER32.dll_PeekMessageA]
or eax, edx
je 0x42f7c3
push edx
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x44]
push esi
push eax
mov ecx, edi
call fcn.0042e960
add esp, 0xc
movups xmm0, xmmword [eax]
jmp 0x42fbc7
mov eax, dword [ecx + reloc.USER32.dll_PeekMessageA]
mov edx, dword [ecx + reloc.USER32.dll_PeekMessageA]
add eax, 0x40
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.0042d780
add esp, 0xc
movups xmm0, xmmword [eax]
jmp 0x42fbc7
push 0x40
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.0043ea90
mov edx, dword [esi + reloc.USER32.dll_PeekMessageA]
add esp, 0xc
mov dword [esp + 0x38], edx
cmp edx, 0x40
jb 0x42fa89
mov eax, dword [esi + reloc.USER32.dll_PeekMessageA]
lea edi, [edx - 1]
mov edx, dword [esi + reloc.USER32.dll_PeekMessageA]
mov ecx, dword [esi + reloc.USER32.dll_PeekMessageA]
mov esi, dword [esi + reloc.USER32.dll_PeekMessageA]
mov dword [esp + 0x38], edx
sub esi, eax
mov edx, dword [esp + 0x20]
shr edi, 6
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], esi
lea edx, [edx + eax*8]
mov dword [esp + 0x28], edx
cmp edi, esi
jb 0x42f9bb
mov eax, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
nop
test esi, esi
je 0x42f923
mov eax, ecx
mov dword [esp + 0x14], esi
lea edi, [esp + 0x78]
sub eax, edi
add ecx, 0x180
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], ecx
prefetcht0 byte [ecx]
xor ecx, ecx
mov dword [esp + 0x60], edx
nop dword [eax + eax]
lea eax, [eax + ecx*8]
movq xmm0, qword [esp + eax + 0x78]
movq qword [esp + 0x40], xmm0
movq xmm0, qword [edx]
mov edx, ecx
mov edi, dword [esp + 0x40]
xor edx, 1
mov esi, dword [esp + 0x44]
movq qword [esp + 0x68], xmm0
mov eax, dword [esp + 0x68]
xor eax, edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
xor eax, esi
add dword [esp + edx*8 + 0x78], edi
mov dword [esp + 0x68], eax
adc dword [esp + edx*8 + 0x7c], esi
mov eax, dword [esp + 0x70]
mul dword [esp + 0x68]
add dword [esp + ecx*8 + 0x78], eax
mov eax, dword [esp + 0x24]
adc dword [esp + ecx*8 + 0x7c], edx
inc ecx
mov edx, dword [esp + 0x60]
add edx, 8
mov dword [esp + 0x60], edx
cmp ecx, 8
jb 0x42f890
mov ecx, dword [esp + 0x64]
add eax, 0x40
mov edx, dword [esp + 0x28]
add ecx, 0x40
add edx, 8
mov dword [esp + 0x64], ecx
sub dword [esp + 0x14], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
jne 0x42f882
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x14], eax
nop dword [eax]
movq xmm0, qword [eax]
xor eax, eax
mov ecx, dword [esp + edi*8 + 0x7c]
mov esi, ecx
movq qword [esp + 0x40], xmm0
xor eax, dword [esp + 0x44]
xor eax, ecx
shr esi, 0xf
xor esi, dword [esp + 0x40]
mov ecx, 0x9e3779b1
xor esi, dword [esp + edi*8 + 0x78]
mul ecx
mov edx, 0x9e3779b1
mov ecx, eax
mov eax, esi
mul edx
add ecx, edx
mov dword [esp + edi*8 + 0x78], eax
mov eax, dword [esp + 0x14]
mov dword [esp + edi*8 + 0x7c], ecx
add eax, 8
inc edi
mov dword [esp + 0x14], eax
cmp edi, 8
jb 0x42f930
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub edi, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
shl eax, 6
add ecx, eax
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], edx
cmp edi, esi
jae 0x42f860
jmp 0x42f9bf
mov ecx, dword [esp + 0x30]
test edi, edi
je 0x42fa77
mov eax, ecx
lea esi, [esp + 0x78]
sub eax, esi
add ecx, 0x180
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
nop dword [eax]
prefetcht0 byte [ecx]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
nop dword [eax]
lea eax, [eax + ecx*8]
xor ecx, 1
movq xmm0, qword [esp + eax + 0x78]
movq qword [esp + 0x38], xmm0
movq xmm0, qword [edx]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
movq qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
xor eax, esi
xor edi, edx
add dword [esp + ecx*8 + 0x78], esi
adc dword [esp + ecx*8 + 0x7c], edx
mov ecx, dword [esp + 0x1c]
mul edi
add dword [esp + ecx*8 + 0x78], eax
mov eax, dword [esp + 0x24]
adc dword [esp + ecx*8 + 0x7c], edx
inc ecx
mov edx, dword [esp + 0x18]
add edx, 8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
cmp ecx, 8
jb 0x42f9f0
mov ecx, dword [esp + 0x14]
add eax, 0x40
mov edx, dword [esp + 0x28]
add ecx, 0x40
add edx, 8
mov dword [esp + 0x14], ecx
sub dword [esp + 0x34], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
jne 0x42f9e0
mov eax, dword [esp + 0x2c]
lea edx, [eax + 0xc0]
add edx, dword [eax + reloc.USER32.dll_PeekMessageA]
jmp 0x42fad0
mov eax, dword [esp + 0x2c]
mov esi, 0x40
sub esi, edx
sub eax, esi
add eax, 0x200
push esi
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.0043ea90
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xc4]
add esp, 0xc
add eax, esi
push ecx
push edi
push eax
call fcn.0043ea90
mov eax, dword [esp + 0x38]
lea edx, [esp + 0xc4]
add esp, 0xc
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + reloc.USER32.dll_PeekMessageA]
add esi, 0xfffffff9
add eax, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
nop dword [eax]
movq xmm0, qword [edx + ecx*8]
xor ecx, 1
movq qword [esp + 0x38], xmm0
movq xmm0, qword [eax]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
movq qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
xor eax, esi
xor edi, edx
add dword [esp + ecx*8 + 0x78], esi
adc dword [esp + ecx*8 + 0x7c], edx
mov ecx, dword [esp + 0x1c]
mul edi
add dword [esp + ecx*8 + 0x78], eax
mov eax, dword [esp + 0x18]
adc dword [esp + ecx*8 + 0x7c], edx
inc ecx
mov edx, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
cmp ecx, 8
jb 0x42faf0
mov eax, dword [esp + 0x2c]
push 0x9e3779b1
push 0x85ebca87
push dword [eax + 0x214]
mov esi, dword [eax + reloc.USER32.dll_PeekMessageA]
mov eax, dword [esp + 0x68]
push eax
call fcn.0043d380
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x78]
push edx
push eax
lea edx, [edi + 0xb]
call fcn.00428f40
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esp + 0x7c]
push dword [esp + 0x68]
call fcn.0043d380
not edx
lea ecx, [esp + 0x78]
push edx
not eax
lea edx, [edi - 0xb]
push eax
add edx, esi
call fcn.00428f40
mov dword [esp + 0x50], eax
add esp, 8
mov dword [esp + 0x4c], edx
movups xmm0, xmmword [esp + 0x40]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
movups xmmword [eax], xmm0
call fcn.0043c755
mov esp, ebp
pop ebp
ret