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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a73b8
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10216040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x114], edi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x104], esi
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x120], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x11c], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
cmp byte [edi + 0x18], 0
je 0x10024dc3
mov ecx, dword [edi + 0x130]
test ecx, ecx
jne 0x100243fe
push str.output_is_null
jmp 0x10024dd4
lea eax, [edi + 0x28]
test eax, eax
je 0x10024d89
cmp dword [eax + 0x24], 0x57
jne 0x10024d89
cmp dword [eax + 0xc], 0
je 0x1002442d
cmp dword [eax + 0x10], 0
jle 0x10024d89
cmp dword [eax + 0x14], 0
jle 0x10024d89
cmp dword [eax + 0x40], 0
jle 0x10024d89
cmp dword [eax + 0x44], 0
jle 0x10024d89
cmp dword [eax + 0x30], 0
jle 0x10024d89
cmp dword [eax + 0x34], 0
jle 0x10024d89
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x44], 0
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 4
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xd8]
push edx
push 0x3e8
push ecx
call dword [eax + 0x20]
cmp eax, 0x887a0027
jne 0x100244c5
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [esi + 8], 0
jmp 0x10024cdf
test eax, eax
jns 0x100244d3
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], eax
jmp 0x10024497
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push 0x101f18d8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xec], edx
test eax, eax
je 0x1002450d
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x1002450d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xec]
test edx, edx
jns 0x1002455f
mov ecx, dword [ebp - 0xe0]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ecx], edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test ecx, ecx
je 0x10024556
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
jmp 0x10024cf7
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10024583
mov eax, dword [edi + 0x130]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], 0x8007000e
jmp 0x10024497
mov edx, dword [edi + 0x12c]
push eax
push dword [edi + 0x134]
mov ecx, dword [edx]
push edx
call dword [ecx + 0xbc]
cmp dword [edi + 0x2c], 0
je 0x1002496b
push dword [edi + 0x10c]
lea ecx, [ebp - 0xd8]
push dword [edi + 0x108]
lea edx, [edi + 0x70]
push dword [edi + 0x28]
push ecx
mov ecx, dword [edi + 0x130]
call fcn.10023620
add esp, 0x10
mov dword [ebp - 0xdc], eax
mov ecx, eax
test eax, eax
js 0x10024948
cmp byte [edi + 0x98], 0
je 0x1002496b
mov ecx, dword [edi + 0x134]
lea edx, [edi + 0x70]
mov dword [ebp - 0xec], ecx
lea eax, [edi + 0xa8]
test edx, edx
jne 0x1002460a
mov eax, 0x80070057
jmp 0x10024940
lea edx, [edi + 0xc8]
test edx, edx
jne 0x1002461e
mov eax, 0x80070057
jmp 0x10024940
test eax, eax
jne 0x1002462c
mov eax, 0x80070057
jmp 0x10024940
test ecx, ecx
jne 0x1002463a
mov eax, 0x80070057
jmp 0x10024940
push 0x2c
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.1017cab0
mov ecx, dword [ebp - 0xec]
lea edx, [ebp - 0xa8]
add esp, 0xc
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x28]
mov eax, dword [ebp - 0xa8]
lea edx, [edi + 0xc8]
mov dword [ebp - 0xe4], eax
lea ecx, [edi + 0x70]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x10c], eax
lea eax, [edi + 0xa8]
push eax
call fcn.10023770
add esp, 4
mov dword [ebp - 0xdc], eax
test eax, eax
js 0x10024946
mov ecx, dword [edi + 0xac]
xor eax, eax
mov edx, dword [edi + 0xb4]
mov dword [ebp - 0x104], ecx
mov ecx, dword [edi + 0xbc]
mov dword [ebp - 0xf8], ecx
mov ecx, dword [edi + 0xc0]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf0], edx
mov edx, dword [edi + 0xb8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xf4], edx
test eax, eax
jns 0x10024712
neg eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x108], eax
jmp 0x1002473e
add eax, dword [ebp - 0xf8]
mov esi, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0xe4]
jle 0x1002473e
mov edx, dword [ebp - 0xe4]
sub edx, dword [ebp - 0xf0]
mov dword [ebp - 0x100], edx
mov edx, dword [ebp - 0xf4]
test edx, edx
jns 0x10024758
mov eax, edx
mov dword [ebp - 0xf4], 0
neg eax
mov dword [ebp - 0xe8], eax
jmp 0x1002476d
lea eax, [edx + ecx]
mov ecx, dword [ebp - 0x10c]
cmp eax, ecx
jle 0x1002476d
sub ecx, edx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0xec]
push edx
push 0x101f18e8
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x1002492d
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x2c]
push 3
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x10024924
mov ecx, dword [ebp - 0xf4]
imul ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x28]
add ecx, dword [ebp - 0xf0]
lea edx, [eax + ecx*4]
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf4], edx
cmp eax, ecx
jge 0x10024924
mov edi, dword [ebp - 0xf8]
imul eax, edi
lea esi, [edi*4]
mov edi, dword [ebp - 0x108]
mov dword [ebp - 0xf0], esi
mov esi, dword [ebp - 0xe4]
add eax, edi
shl esi, 2
sub ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x10c], esi
mov esi, dword [ebp - 0x104]
mov dword [ebp - 0xdc], ecx
lea esi, [esi + eax*4]
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xe4], esi
nop dword [eax]
cmp edi, eax
jge 0x100248f1
mov eax, edx
mov ecx, esi
mov edx, dword [ebp - 0x100]
sub edx, edi
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xf8], edx
mov ecx, dword [ecx]
mov esi, 0xff
mov edi, dword [eax]
mov edx, ecx
mov eax, ecx
shr edx, 0x18
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
sub esi, edx
and edi, 0xff00ff
imul edi, esi
add edi, eax
movzx eax, cl
or eax, 0x1000000
shr edi, 8
imul eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, dword [edx]
shr ecx, 8
and ecx, 0xff00ff
imul ecx, esi
add eax, ecx
mov ecx, eax
xor ecx, edi
and ecx, 0xff00ff
xor ecx, eax
mov eax, edx
mov dword [eax], ecx
add eax, 4
mov ecx, dword [ebp - 0xec]
add ecx, 4
mov dword [ebp - 0xe8], eax
sub dword [ebp - 0xf8], 1
mov dword [ebp - 0xec], ecx
jne 0x10024856
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xe4]
mov edi, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
add edx, dword [ebp - 0x10c]
add esi, dword [ebp - 0xf0]
sub ecx, 1
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xdc], ecx
jne 0x10024830
mov esi, dword [ebp - 0xfc]
mov edi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x1002493e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0xdc], eax
mov ecx, eax
test ecx, ecx
jns 0x1002496b
mov eax, dword [edi + 0x130]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xdc]
mov dword [ecx], eax
jmp 0x10024497
mov eax, dword [edi + 0x130]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
jns 0x10024988
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], eax
jmp 0x10024497
mov edx, dword [edi + 0x134]
mov ecx, dword [edi + 0x148]
call fcn.10023140
mov ecx, eax
mov dword [ebp - 0xdc], ecx
test ecx, ecx
je 0x10024d30
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0xdc]
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x58]
add eax, ecx
movd xmm3, ecx
mov ecx, dword [edi + 0x60]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mov eax, dword [edi + 0x5c]
add eax, edx
movss dword [ebp - 0x30], xmm2
mov edx, dword [edi + 0x64]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [edi + 0x68]
cvtdq2ps xmm0, xmm0
add eax, ecx
movss dword [ebp - 0x2c], xmm1
cvtdq2ps xmm3, xmm3
movd xmm2, edx
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mov eax, dword [edi + 0x6c]
movss dword [ebp - 0x28], xmm0
add eax, edx
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x34], xmm3
movups xmm0, xmmword [ebp - 0x34]
movss dword [ebp - 0x30], xmm2
movd xmm2, dword [edi + 0x3c]
movss dword [ebp - 0x2c], xmm1
movd xmm1, dword [edi + 0x38]
cvtdq2ps xmm2, xmm2
movups xmmword [ebp - 0x6c], xmm0
mulss xmm2, dword [0x101f19a0]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x5c]
mulss xmm1, dword [0x101f19a0]
push eax
movd xmm3, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
movss dword [ebp - 0x10c], xmm2
push dword [ebp - 0x10c]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x34], xmm3
movups xmm0, xmmword [ebp - 0x34]
movss dword [ebp - 0x110], xmm1
push dword [ebp - 0x110]
movups xmmword [ebp - 0x7c], xmm0
push ecx
movss xmm0, dword [edi + 0x40]
movss dword [ebp - 0x114], xmm1
movss dword [ebp - 0x104], xmm2
movss dword [esp], xmm0
call dword [sym.imp.d2d1.dll_Ordinal_2]
movss xmm5, dword [edi + 0x44]
xorps xmm4, xmm4
movss xmm3, dword [ebp - 0x5c]
movaps xmm2, xmm5
movss xmm0, dword [ebp - 0x58]
movss xmm6, dword [edi + 0x48]
mulss xmm2, xmm3
mulss xmm0, xmm4
mulss xmm3, xmm4
addss xmm2, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x58]
addss xmm0, xmm3
movss dword [ebp - 0x3c], xmm2
movss xmm3, dword [ebp - 0x54]
movaps xmm2, xmm5
mulss xmm2, xmm3
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x50]
lea edx, [ebp - 0x3c]
mulss xmm0, xmm4
mov eax, dword [edi + 0x148]
mulss xmm3, xmm4
push edx
addss xmm2, xmm0
movss xmm1, dword [ebp - 0x104]
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x50]
push eax
movss dword [ebp - 0x34], xmm2
movaps xmm2, xmm5
addss xmm0, xmm3
movss xmm3, dword [ebp - 0x4c]
mulss xmm2, xmm3
mulss xmm3, xmm4
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x48]
mulss xmm0, xmm4
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x114]
mulss xmm5, xmm0
subss xmm0, xmm5
addss xmm2, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x48]
mulss xmm6, xmm1
addss xmm0, xmm3
movss dword [ebp - 0x2c], xmm2
subss xmm1, xmm6
addss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [edi + 0x148]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [edi + 0x148]
lea edx, [ebp - 0x34]
movaps xmm0, xmmword [0x101f19c0]
movups xmmword [ebp - 0x34], xmm0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
mov eax, dword [edi + 0x148]
lea edx, [ebp - 0x6c]
push edx
push 1
lea edx, [ebp - 0x7c]
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push edx
push dword [ebp - 0xdc]
push eax
call dword [ecx + 0x68]
mov eax, dword [edi + 0x148]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [ebp - 0xfc], eax
test eax, eax
jns 0x10024c2b
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ecx], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x10024ccf
mov edx, dword [edi + 0x140]
lea eax, [ebp - 0xfc]
push eax
push ecx
push dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push dword [edi + 0x144]
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.100232a0
mov eax, dword [ebp - 0xfc]
add esp, 0x10
test eax, eax
jns 0x10024d0a
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test ecx, ecx
je 0x10024ccf
mov edx, dword [ebp - 0x28]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10024cc5
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024dea
push edx
push ecx
call fcn.10178716
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xdc]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10024cf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10024d9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10024d9d
mov ecx, dword [ebp - 0xdc]
push ecx
mov dword [ebp - 0x44], 0
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 8], eax
jmp 0x10024cdf
mov ecx, dword [ebp - 0xe0]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ecx], 0x88990021
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test eax, eax
je 0x10024d76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10024d9d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
jmp 0x10024d9d
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
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.101786e5
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xe0]
push str.Not_Initialized
mov dword [ecx], 0x88990002
lea ecx, [ebp - 0x30]
call fcn.10003be0
push 0x10210820
lea eax, [ebp - 0x30]
push eax
call fcn.1017e739
call fcn.1018001f
int3