Function at 0x10037670
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100afb6d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100cb040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edx, dword [ebp + 8]
mov dword [esi + 0x42c], edx
mov eax, dword [edx + 8]
mov dword [esi + 0x430], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0x440], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x444], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x448], eax
mov eax, dword [edx + 0x30]
mov dword [esi + 0x438], eax
mov ecx, dword [0x100f8a70]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100f8a74]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [esi], eax
test eax, eax
je 0x10037cfb
test dword [esi + 0x438], 0x79a
setne cl
mov byte [esi + 0xc], cl
mov ecx, dword [0x100f8cc0]
add ecx, 0xffffffc9
xor ecx, 0x7967ef21
mov eax, dword [ecx + eax]
mov ecx, dword [0x100fe1e0]
and eax, 1
add eax, 0xf
mov dword [esi + 0x3f0], eax
mov eax, dword [0x100f8ae8]
mov eax, dword [eax + 0x4cb0]
mov dword [esi + 0x3f4], eax
test cl, 1
jne 0x10037759
or ecx, 1
mov dword [0x100fe1e0], ecx
mov eax, dword [0x100f8b40]
mov dword [0x100fe1c8], eax
jmp 0x1003775e
mov eax, dword [0x100fe1c8]
mov dword [ebp - 0x2c], eax
test cl, 2
jne 0x100377d7
or ecx, 2
mov dword [0x100fe1e0], ecx
mov eax, dword [0x100f8a6c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100377d0
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10037790
xor edx, edx
test ecx, ecx
je 0x100377c0
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100377a0
mov eax, dword [ebp - 0x14]
cmp esi, 0x2f82ccee
je 0x10037a9f
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10037780
mov ecx, dword [0x100fe1e0]
xor eax, eax
mov dword [0x100fe1bc], eax
test cl, 4
jne 0x10037847
or ecx, 4
mov dword [0x100fe1e0], ecx
mov eax, dword [0x100f8a6c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10037840
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10037800
xor edx, edx
test ecx, ecx
je 0x10037830
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10037810
mov eax, dword [ebp - 0x14]
cmp esi, 0xe3d20ca0
je 0x10037aaa
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100377f4
mov ecx, dword [0x100fe1e0]
xor eax, eax
mov dword [0x100fe1b8], eax
test cl, 8
jne 0x1003785f
or ecx, 8
mov dword [0x100fe1e0], ecx
mov eax, dword [0x100f8b44]
mov dword [0x100fe1b4], eax
test cl, 0x10
jne 0x100378d7
or ecx, 0x10
mov dword [0x100fe1e0], ecx
mov eax, dword [0x100f8a6c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100378d0
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10037890
xor edx, edx
test ecx, ecx
je 0x100378c0
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100378a0
mov eax, dword [ebp - 0x14]
cmp esi, 0xb488961c
je 0x10037ab5
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10037880
mov ecx, dword [0x100fe1e0]
xor eax, eax
mov dword [0x100fe1d4], eax
test cl, 0x20
jne 0x10037947
or ecx, 0x20
mov dword [0x100fe1e0], ecx
mov eax, dword [0x100f8a6c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10037940
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10037900
xor edx, edx
test ecx, ecx
je 0x10037930
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10037910
mov eax, dword [ebp - 0x14]
cmp esi, 0x1da69e46
je 0x10037ac0
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100378f4
mov ecx, dword [0x100fe1e0]
xor eax, eax
mov dword [0x100fe1dc], eax
test cl, 0x40
jne 0x1003795f
or ecx, 0x40
mov dword [0x100fe1e0], ecx
mov eax, dword [0x100f8b48]
mov dword [0x100fe1e4], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
mov ecx, dword [0x100fe1bc]
fstp dword [ebp - 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
mov ecx, dword [0x100fe1b4]
fstp dword [ebp - 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
mov ecx, dword [0x100fe1d4]
fstp dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x2c]
movss dword [ebp - 0x34], xmm1
mov eax, dword [ecx]
movss dword [ebp - 0x20], xmm1
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
mov ecx, dword [0x100fe1dc]
fstp dword [ebp - 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
mov ecx, dword [0x100fe1e4]
fstp dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x100fe1bc]
mov edi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
call edx
mov ecx, dword [0x100fe1b8]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
call edx
test esi, esi
je 0x10037a07
test eax, eax
je 0x10037a07
cvttss2si edi, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x2c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037a2c
movss xmm0, dword [0x100c0558]
mov dword [ebp - 0x20], 0x3f800000
movss dword [ebp - 0x34], xmm0
mov ecx, dword [0x100fe1d4]
movaps xmm1, xmm0
test ecx, ecx
je 0x10037ad0
cmp dword [0x100fe1dc], 0
je 0x10037ad0
mov eax, dword [ecx]
movss dword [ebp - 0x2c], xmm0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
ucomiss xmm0, dword [0x100c0558]
lahf
test ah, 0x44
jnp 0x10037acb
movss xmm1, dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
movss xmm0, dword [ebp - 0x1c]
lea edx, [ebp - 0x1c]
comiss xmm0, xmm1
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x18]
comiss xmm1, dword [ebp - 0x18]
seta al
test al, al
cmove ecx, edx
movss xmm1, dword [ecx]
jmp 0x10037ad0
mov ecx, dword [0x100fe1e0]
jmp 0x100377d2
mov ecx, dword [0x100fe1e0]
jmp 0x10037842
mov ecx, dword [0x100fe1e0]
jmp 0x100378d2
mov ecx, dword [0x100fe1e0]
jmp 0x10037942
movss xmm1, dword [ebp - 0x2c]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x24]
comiss xmm1, xmm0
ja 0x10037aeb
movss xmm0, xmm0
jmp 0x10037aef
movss xmm0, xmm1
mov edi, dword [ebp - 0x28]
push 0
movss dword [edi + 0x408], xmm0
mov ecx, dword [0x100f8ae0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x28], eax
call dword [ebp - 0x28]
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
lea edx, [edi + 0x40c]
comiss xmm0, dword [0x100c0558]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0x3f800000
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
movss dword [edx], xmm0
xorps xmm1, xmm1
cmovbe ecx, edx
movss xmm0, dword [ecx]
comiss xmm0, xmm1
cmova eax, ecx
movss xmm0, dword [eax]
movss dword [edx], xmm0
mov eax, dword [0x100f8acc]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100c0524]
cvttss2si ecx, xmm0
mov dword [edi + 0x410], ecx
mov eax, dword [0x100f8ae8]
mov eax, dword [eax + 0x16c]
mov dword [edi + 0x414], eax
add eax, ecx
mov ecx, dword [edi]
mov dword [edi + 0x418], eax
test ecx, ecx
je 0x10037cf7
mov eax, dword [0x100f8cbc]
add eax, 0xffffffca
xor eax, 0x7967ef20
cmp dword [eax + ecx], 0
jne 0x10037cf7
mov byte [edi + 4], 1
mov esi, dword [0x100f8ae8]
cmp dword [esi + 0x174], 0
setg byte [ebp - 0x28]
cmp dword [0x100cb69c], 4
jne 0x10037bef
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x100f8a88]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x28]
push dword [esi + 0x174]
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x100fe22c], 0
jne 0x10037ccf
push 0x22
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
call fcn.1002d360
mov dword [ebp - 4], 0
mov eax, dword [0x100f8a40]
test eax, eax
je 0x10037c35
mov edx, dword [eax + 0x50]
jmp 0x10037c37
xor edx, edx
mov eax, dword [0x100f8a38]
test eax, eax
je 0x10037c45
mov eax, dword [eax + 0x18]
jmp 0x10037c47
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10051ed0
mov esi, dword [ebp - 0x28]
add esp, 8
inc esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], esi
cmp ecx, 0xf
jbe 0x10037c9b
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037c91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10037c91
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100adfa1
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x40
push 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push ecx
mov dword [eax], 0x3e
push dword [ebp - 0x14]
push 4
push eax
call esi
mov byte [0x100fe22c], 1
mov ecx, dword [0x100f8cc0]
mov eax, dword [edi]
add ecx, 0xffffffc9
push dword [edi + 0x42c]
xor ecx, 0x7967ef21
mov eax, dword [ecx + eax]
mov dword [edi + 8], eax
call fcn.10036df0
mov byte [edi + 0x1d], 0
jmp 0x10037cfb
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100adb26
mov esp, ebp
pop ebp
ret 4