Function at 0x10041520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], esp
mov dword [esi + 0x98], 0xffffffff
lea eax, [esi + 0x90]
mov dword [esi + 0x94], 0x10043990
mov edx, dword fs:[0]
mov dword [esi + 0x90], edx
mov dword fs:[0], eax
cmp byte [ecx + 0x34], 0
je 0x10041da0
mov eax, dword [0x1035678c]
mov edx, dword [eax + 0x3f6c]
test edx, edx
je 0x10041da0
dec edx
mov dword [eax + 0x3f6c], edx
jne 0x10041da0
xorps xmm0, xmm0
movaps xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov eax, dword [ecx + 0x38]
cmp eax, 3
mov dword [esi + 0x1c], ecx
je 0x1004165c
cmp eax, 2
je 0x100416ef
cmp eax, 1
jne 0x10041792
mov eax, 0x254d16c7
mov ecx, 0x8ab68f10
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov ecx, 0xe1d9218f
mov eax, 0x939b52d2
mov edx, 0x939b52d2
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], ecx
mov ecx, 0x53463a5
mov edx, 0xedc5bc77
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], ecx
mov ecx, 0xe1f91abe
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ecx
lea eax, [esi + 0x50]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
lea ebx, [esi + 0x20]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edi, eax
cmp eax, 0xf
jbe 0x1004177b
mov dword [esi + 0x98], 0
sub esp, 0x10
movzx eax, byte [esi + 0x50]
mov byte [esp + 4], al
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp], edi
mov ecx, esi
call fcn.100180f0
jmp 0x1004178f
mov eax, 0x254d16c7
mov ecx, 0xdda2cf04
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov ecx, 0xe1d92186
mov eax, 0x939b52d2
mov edx, 0x939b52d2
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], ecx
mov ecx, 0x53463a5
mov edx, 0xedc5bc77
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], ecx
mov ecx, 0xe1f91abe
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ecx
lea eax, [esi + 0x50]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
lea ebx, [esi + 0x20]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edi, eax
cmp eax, 0xf
jbe 0x1004177b
mov dword [esi + 0x98], 0
sub esp, 0x10
movzx eax, byte [esi + 0x50]
mov byte [esp + 4], al
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp], edi
mov ecx, esi
call fcn.100180f0
jmp 0x1004178f
mov eax, 0x254d16c7
mov ecx, 0xd6b5cb16
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov ecx, 0xe1f91a9e
mov eax, 0x939b52d2
mov edx, 0x939b52d2
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], ecx
mov ecx, 0x53463a5
mov edx, 0xedc5bc77
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], ecx
mov ecx, 0xe1f91abe
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ecx
lea eax, [esi + 0x50]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
lea ebx, [esi + 0x20]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edi, eax
cmp eax, 0xf
jbe 0x1004177b
mov dword [esi + 0x98], 0
sub esp, 0x10
movzx eax, byte [esi + 0x50]
mov byte [esp + 4], al
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp], edi
mov ecx, esi
call fcn.100180f0
jmp 0x1004178f
mov dword [esi + 0x10], edi
mov eax, esi
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + edi], 0
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x3c]
cmp eax, 2
je 0x10041841
cmp eax, 1
jne 0x10041949
mov eax, 0x254d16c7
mov ecx, 0x99acd012
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov ecx, 0xe1d921db
mov eax, 0x939b52d2
mov edx, 0x939b52d2
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], ecx
mov ecx, 0x53463a5
mov edx, 0xedc5bc77
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], ecx
mov ecx, 0xe1f91abe
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ecx
lea eax, [esi + 0x50]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
lea ebx, [esi + 0x20]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov edi, edx
sub edi, ecx
cmp edi, eax
jae 0x10041920
mov dword [esi + 0x98], 0
sub esp, 0x10
movzx ecx, byte [esi + 0x50]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], eax
mov ecx, esi
call fcn.100180f0
jmp 0x10041946
mov eax, 0x254d16c7
mov ecx, 0x8aa4d913
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xc1c27fd2
mov ecx, 0xb3e227b0
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov eax, 0x1b631515
mov ecx, 0x1ff859f9
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov ecx, 0x4b3a4a73
mov eax, 0x6ce1aba8
mov edx, 0x6ce1aba8
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], ecx
mov ecx, 0x53463a5
mov edx, 0xedc5bc77
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], ecx
mov ecx, 0xe1f91abe
mov edx, 0x939b52d2
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], ecx
mov ecx, 0x74157067
mov edx, 0x6d9d2f95
mov dword [esi + 0x64], edx
mov dword [esi + 0x60], ecx
mov ecx, 0x4b3a6a48
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
lea eax, [esi + 0x50]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
movaps xmm0, xmmword [esi + 0x30]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x30], xmm0
lea ebx, [esi + 0x20]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov edi, edx
sub edi, ecx
cmp edi, eax
jae 0x10041920
mov dword [esi + 0x98], 0
sub esp, 0x10
movzx ecx, byte [esi + 0x50]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], eax
mov ecx, esi
call fcn.100180f0
jmp 0x10041946
mov ebx, eax
add ebx, ecx
mov dword [esi + 0x10], ebx
cmp edx, 0x10
jb 0x10041930
mov edi, dword [esi]
jmp 0x10041932
mov edi, esi
add ecx, edi
push eax
lea eax, [esi + 0x20]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x40]
test al, 2
je 0x10041a55
mov eax, 0x254d16c7
mov ecx, 0x99b6d901
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0x8c957fd6
mov ecx, 0xe6f972e9
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov eax, 0x1163501e
mov ecx, 0x4da65be6
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov eax, 0x4b3a6a48
mov ecx, 0x6ce1aba8
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
mov edx, 0x53463a5
mov edi, 0xedc5bc77
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edx
mov edx, 0xe1f91abe
mov edi, 0x939b52d2
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edx
mov edx, 0x74157067
mov edi, 0x6d9d2f95
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
lea eax, [esi + 0x50]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
movaps xmm0, xmmword [esi + 0x30]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x30], xmm0
lea ebx, [esi + 0x20]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov edi, edx
sub edi, ecx
cmp edi, eax
jae 0x10041a29
mov dword [esi + 0x98], 0
sub esp, 0x10
movzx ecx, byte [esi + 0x50]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], eax
mov ecx, esi
call fcn.100180f0
jmp 0x10041a4f
mov ebx, eax
add ebx, ecx
mov dword [esi + 0x10], ebx
cmp edx, 0x10
jb 0x10041a39
mov edi, dword [esi]
jmp 0x10041a3b
mov edi, esi
add ecx, edi
push eax
lea eax, [esi + 0x20]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x40]
test al, 4
je 0x10041b1c
mov eax, 0x254d16c7
mov ecx, 0x88b6dd03
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov ecx, 0xe1d921cc
mov eax, 0x939b52d2
mov edx, 0x939b52d2
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], ecx
mov ecx, 0x53463a5
mov edx, 0xedc5bc77
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], ecx
mov ecx, 0xe1f91abe
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ecx
lea eax, [esi + 0x50]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
lea ebx, [esi + 0x20]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov edi, edx
sub edi, ecx
cmp edi, eax
jae 0x10041af0
mov dword [esi + 0x98], 0
sub esp, 0x10
movzx ecx, byte [esi + 0x50]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], eax
mov ecx, esi
call fcn.100180f0
jmp 0x10041b16
mov ebx, eax
add ebx, ecx
mov dword [esi + 0x10], ebx
cmp edx, 0x10
jb 0x10041b00
mov edi, dword [esi]
jmp 0x10041b02
mov edi, esi
add ecx, edi
push eax
lea eax, [esi + 0x20]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x40]
test al, 1
je 0x10041c7b
mov eax, 0x254d16c7
mov ecx, 0x82a9d31a
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xda8f75ca
mov ecx, 0xeaee30f2
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov eax, 0x13701847
mov ecx, 0xcf34ae7
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov eax, 0x6b010f2c
mov ecx, 0x4c98deca
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
mov eax, 0x356e0a2a
mov ecx, 0x2edd091e
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
mov eax, 0xea864bbc
mov ecx, 0x3fb045fd
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], eax
mov eax, 0x53463a5
mov ecx, 0xedc5bc77
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], eax
mov eax, 0xe1f91abe
mov ecx, 0x939b52d2
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], eax
mov eax, 0x74157067
mov ecx, 0x6d9d2f95
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], eax
mov eax, 0x4b3a6a48
mov ecx, 0x6ce1aba8
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
mov eax, 0x5e016759
mov ecx, 0x4baf6e7b
mov dword [esi + 0x74], ecx
mov dword [esi + 0x70], eax
mov eax, 0x8fe22ad2
mov ecx, 0x3fb065c6
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], eax
lea eax, [esi + 0x50]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
movaps xmm0, xmmword [esi + 0x30]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x30], xmm0
movaps xmm0, xmmword [esi + 0x40]
xorps xmm0, xmmword [eax + 0x20]
movaps xmmword [esi + 0x40], xmm0
lea ebx, [esi + 0x20]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov edi, edx
sub edi, ecx
cmp edi, eax
jae 0x10041c4f
mov dword [esi + 0x98], 0
sub esp, 0x10
movzx ecx, byte [esi + 0x50]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], eax
mov ecx, esi
call fcn.100180f0
jmp 0x10041c75
mov ebx, eax
add ebx, ecx
mov dword [esi + 0x10], ebx
cmp edx, 0x10
jb 0x10041c5f
mov edi, dword [esi]
jmp 0x10041c61
mov edi, esi
add ecx, edi
push eax
lea eax, [esi + 0x20]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x40]
test al, 8
je 0x10041d46
mov eax, 0x254d16c7
mov ecx, 0x98a3d913
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xda8b7fcd
mov ecx, 0x939b52f2
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
mov eax, 0x53463a5
mov ecx, 0xedc5bc77
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], eax
mov eax, 0xe1f91abe
mov ecx, 0x939b52d2
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], eax
lea eax, [esi + 0x50]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x20], xmm0
lea ebx, [esi + 0x20]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov edi, edx
sub edi, ecx
cmp edi, eax
jae 0x10041d16
mov dword [esi + 0x98], 0
sub esp, 0x10
movzx ecx, byte [esi + 0x50]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], eax
mov ecx, esi
call fcn.100180f0
jmp 0x10041d3c
mov ebx, eax
add ebx, ecx
mov dword [esi + 0x10], ebx
cmp edx, 0x10
jb 0x10041d26
mov edi, dword [esi]
jmp 0x10041d28
mov edi, esi
add ecx, edi
push eax
lea eax, [esi + 0x20]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
mov dword [esi + 0x98], 0
mov ecx, dword [0x10356820]
cmp dword [esi + 0x14], 0x10
jb 0x10041d56
mov eax, dword [esi]
jmp 0x10041d58
mov eax, esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x1b0]
mov dword [esi + 0x98], 0
push eax
call edx
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x10041da0
mov ecx, dword [esi]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10041d96
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10041db4
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.100f6c02
add esp, 8
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 0x10
lea esi, [ebp - 0x9c]
mov ebp, dword [esi + 0x88]
mov ecx, esi
call fcn.10007360
add esp, 0x10
pop ebp
ret