Function at 0x10050900
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x10091040]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
mov esi, ecx
mov dword [esp + 0x3c], esi
mov byte [esp + 0x20], 0x18
mov dl, 0x6c
xor dl, byte [esp + 0x20]
mov al, 0x7a
xor al, byte [esp + 0x20]
mov dh, 0x74
mov byte [esp + 0x21], al
mov ah, 0x47
mov byte [esp + 0x22], dl
xorps xmm0, xmm0
mov dl, byte [esp + 0x20]
mov byte [esp + 0x45], 0x77
xor ah, dl
mov al, byte [esp + 0x45]
xor dh, dl
xor al, dl
mov byte [esp + 0x46], 0x6b
mov byte [esp + 0x27], al
mov al, byte [esp + 0x46]
mov byte [esp + 0x47], 0x7d
xor al, dl
mov byte [esp + 0x2a], 0
mov cl, 0x76
mov byte [esp + 0x28], al
mov al, byte [esp + 0x47]
mov ch, 0x7b
xor cl, dl
mov byte [esp + 0x26], dh
xor ch, dl
mov byte [esp + 0x23], cl
mov byte [esp + 0x25], ch
xor al, dl
lea ecx, [esp + 0x21]
mov byte [esp + 0x24], ah
lea edx, [ecx + 1]
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], 0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100509b5
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.100024a0
cmp dword [esp + 0x70], 0
mov ecx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x18], ecx
je 0x10050a65
test ecx, ecx
je 0x10050a65
push 4
push ecx
call edi
test eax, eax
jne 0x10050a65
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc4]
mov dword [esp + 0x14], ecx
mov esi, dword [ecx]
cmp esi, ecx
je 0x10050a61
cmp esi, dword [eax + 0xc4]
jne 0x10050a13
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
mov dword [esp + 0x40], eax
test eax, eax
je 0x10050a43
cmp dword [eax + 0x78], 0x10
lea ecx, [eax + 0x64]
jb 0x10050a29
mov ecx, dword [ecx]
cmp dword [esp + 0x74], 0xf
lea eax, [esp + 0x60]
cmova eax, dword [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10050a98
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 0xc4]
jne 0x10050a59
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10050a05
mov esi, dword [esp + 0x3c]
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword [esi + 4], eax
cmp ecx, 0xf
jbe 0x10050aac
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050aa2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050aa2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x10050a67
push ecx
push edx
call fcn.1007d105
add esp, 8
movaps xmm0, xmmword [0x10088fe0]
xor ecx, ecx
movups xmmword [esp + 0x80], xmm0
nop dword [eax]
mov al, byte [esp + 0x80]
xor byte [esp + ecx + 0x81], al
inc ecx
cmp ecx, 0xe
jb 0x10050ac0
xorps xmm0, xmm0
mov byte [esp + 0x8f], 0
lea ecx, [esp + 0x81]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0
lea edx, [ecx + 1]
mov dword [esp + 0x74], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050b00
sub ecx, edx
lea eax, [esp + 0x81]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.100024a0
cmp dword [esp + 0x70], 0
mov eax, dword [esi]
mov dword [esp + 0x18], eax
je 0x10050bb1
test eax, eax
je 0x10050bb1
push 4
push eax
call edi
test eax, eax
jne 0x10050bb1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc4]
mov dword [esp + 0x14], ecx
mov esi, dword [ecx]
cmp esi, ecx
je 0x10050bad
cmp esi, dword [eax + 0xc4]
jne 0x10050b5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
mov dword [esp + 0x40], eax
test eax, eax
je 0x10050b8f
cmp dword [eax + 0x78], 0x10
lea ecx, [eax + 0x64]
jb 0x10050b75
mov ecx, dword [ecx]
cmp dword [esp + 0x74], 0xf
lea eax, [esp + 0x60]
cmova eax, dword [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10050be4
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 0xc4]
jne 0x10050ba5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10050b51
mov esi, dword [esp + 0x3c]
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword [esi + 8], eax
cmp ecx, 0xf
jbe 0x10050bf8
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050bee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050bee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x10050bb3
push ecx
push edx
call fcn.1007d105
add esp, 8
call fcn.1000eea0
test eax, eax
je 0x10050de4
mov dword [esi + 0xc], eax
call fcn.10014b10
mov edx, dword [0x10088b4c]
mov ecx, eax
call edx
test eax, eax
je 0x10050de4
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x18], edx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10050c61
push 4
push eax
call edi
test eax, eax
jne 0x10050c61
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10050c61
push 4
push eax
call edi
test eax, eax
jne 0x10050c61
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10050cab
push 4
push eax
call edi
test eax, eax
jne 0x10050cab
mov ecx, dword [esp + 0x14]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f340000
mov dword [esp + 8], 0x3f340000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x10088b5c]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10050ce1
push 4
push eax
call edi
test eax, eax
jne 0x10050ce1
mov eax, dword [esp + 0x14]
add eax, 0xcc
push 4
push eax
mov dword [esp + 0x1c], eax
call edi
test eax, eax
jne 0x10050ce1
mov eax, dword [esp + 0x14]
mov dword [eax], 0xb
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10050d06
push 4
push eax
call edi
test eax, eax
jne 0x10050d06
mov ecx, dword [esp + 0x14]
push pe_nt_image_headers32
call dword [0x10088b28]
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
test eax, eax
je 0x10050d66
push 4
push eax
call edi
test eax, eax
jne 0x10050d66
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0xe0]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0xe4]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0xe8]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
movaps xmm0, xmmword [esp + 0x20]
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10050d9b
push 4
push eax
call edi
test eax, eax
jne 0x10050d9b
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x80]
push eax
call dword [0x10088b58]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10050dc3
push 4
push eax
call edi
test eax, eax
jne 0x10050dc3
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x80]
push eax
call dword [0x10088b08]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10050de4
push 4
push eax
call edi
test eax, eax
jne 0x10050de4
mov ecx, dword [esp + 0x14]
push eax
call dword [0x10088b1c]
mov cl, 0x2d
mov dword [esp + 0x20], 0x5e4c4f2d
mov dword [esp + 0x24], 0x55487248
xor eax, eax
mov dword [esp + 0x28], 0x434c454e
mov word [esp + 0x2c], 0x484a
mov byte [esp + 0x2e], 0
nop dword [eax]
xor byte [esp + eax + 0x21], cl
inc eax
cmp eax, 0xd
jae 0x10050e20
mov cl, byte [esp + 0x20]
jmp 0x10050e10
xorps xmm0, xmm0
mov byte [esp + 0x2e], 0
lea ecx, [esp + 0x21]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0
lea edx, [ecx + 1]
mov dword [esp + 0x74], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050e44
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.100024a0
cmp dword [esp + 0x70], 0
mov eax, dword [esi]
mov dword [esp + 0x18], eax
je 0x10050ef2
test eax, eax
je 0x10050ef2
push 4
push eax
call edi
test eax, eax
jne 0x10050ef2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc4]
mov dword [esp + 0x14], ecx
mov esi, dword [ecx]
cmp esi, ecx
je 0x10050eee
cmp esi, dword [eax + 0xc4]
jne 0x10050ea0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
mov dword [esp + 0x40], eax
test eax, eax
je 0x10050ed0
cmp dword [eax + 0x78], 0x10
lea ecx, [eax + 0x64]
jb 0x10050eb6
mov ecx, dword [ecx]
cmp dword [esp + 0x74], 0xf
lea eax, [esp + 0x60]
cmova eax, dword [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10050f25
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 0xc4]
jne 0x10050ee6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10050e92
mov esi, dword [esp + 0x3c]
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x20], eax
cmp ecx, 0xf
jbe 0x10050f39
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050f2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050f2f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x10050ef4
push ecx
push edx
call fcn.1007d105
add esp, 8
xor eax, eax
mov dword [esp + 0x14], eax
nop
push eax
mov dl, 0xc
mov byte [esp + 0x1f], 0
mov al, 0x29
mov byte [esp + 0x1c], dl
mov cl, 0x68
mov dword [esp + 0x28], 0
xor al, dl
mov byte [esp + 0x1f], 0
xor cl, dl
mov byte [esp + 0x1d], al
sub esp, 0x18
mov byte [esp + 0x36], cl
mov edx, esp
lea ecx, [esp + 0x35]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [esp + 0x5c], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050f90
sub ecx, dword [esp + 0x5c]
lea eax, [esp + 0x35]
push ecx
push eax
mov ecx, edx
call fcn.100024a0
lea eax, [esp + 0x64]
push eax
call fcn.10006910
mov ecx, dword [esi + 0x20]
add esp, 0x20
mov edx, eax
call fcn.100147f0
mov ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xf
jbe 0x10050ffb
mov edx, dword [esp + 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050ff1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050a92
push ecx
push edx
call fcn.1007d105
add esp, 8
call fcn.1000eea0
mov esi, eax
test esi, esi
je 0x1005120e
mov dword [esp + 0x24], esi
call fcn.10014b10
mov edx, dword [0x10088b4c]
mov ecx, eax
call edx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1005120e
mov edx, dword [esp + 0x3c]
push 4
mov dword [esi], eax
push eax
mov edx, dword [edx]
mov dword [esp + 0x48], edx
call edi
test eax, eax
jne 0x1005105f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1005105f
push 4
push eax
call edi
test eax, eax
jne 0x1005105f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100510a6
push 4
push eax
call edi
test eax, eax
jne 0x100510a6
mov ecx, dword [esp + 0x1c]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f340000
mov dword [esp + 8], 0x3f340000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x10088b5c]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100510d9
push 4
push eax
call edi
test eax, eax
jne 0x100510d9
mov eax, dword [esp + 0x1c]
add eax, 0xcc
push 4
push eax
mov dword [esp + 0x24], eax
call edi
test eax, eax
jne 0x100510d9
mov eax, dword [esp + 0x1c]
mov dword [eax], 0xb
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100510fb
push 4
push eax
call edi
test eax, eax
jne 0x100510fb
mov ecx, dword [esp + 0x1c]
push pe_nt_image_headers32
call dword [0x10088b28]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
test ecx, ecx
je 0x10051170
push 4
push ecx
call edi
test eax, eax
jne 0x10051170
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0xe0]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 0xe4]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 0xe8]
mov dword [esp + 0x8c], eax
movaps xmm0, xmmword [esp + 0x80]
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1005119f
push 4
push eax
call edi
test eax, eax
jne 0x1005119f
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x60]
push eax
call dword [0x10088b58]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100511c1
push 4
push eax
call edi
test eax, eax
jne 0x100511c1
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x60]
push eax
call dword [0x10088b08]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100511df
push 4
push eax
call edi
test eax, eax
jne 0x100511df
mov ecx, dword [esp + 0x1c]
push eax
call dword [0x10088b1c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x28]
lea edx, [ecx + 0x24]
cmp eax, dword [ecx + 0x2c]
je 0x10051201
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov esi, dword [esp + 0x3c]
add dword [esi + 0x28], 8
jmp 0x10051212
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, edx
call fcn.10053280
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x18
jl 0x10050f40
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.1007d0a4
mov esp, ebp
pop ebp
ret