Function at 0x10001290
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10002900
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x10005004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea esi, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10001330
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x100016b6
mov dword [ebp - 0x224], 7
cmp esi, 8
jae 0x10001388
mov dword [ebp - 0x228], esi
lea eax, [ebp - 0x220]
add esi, esi
push esi
push eax
lea eax, [ebp - 0x238]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x238], ax
jmp 0x10001435
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x100013a3
mov eax, 0x7fffffff
mov edi, 0x7ffffffe
add eax, eax
jmp 0x100013c4
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x100016b1
add eax, eax
cmp eax, 0x1000
jb 0x100013ed
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x100016b1
push ecx
call fcn.10001b40
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10001683
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x100013fe
test eax, eax
je 0x100013fc
push eax
call fcn.10001b40
add esp, 4
jmp 0x100013fe
xor eax, eax
mov dword [ebp - 0x228], esi
lea ecx, [ebp - 0x220]
add esi, esi
mov dword [ebp - 0x23c], eax
push esi
push ecx
push eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x224], edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x23c]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x228]
cmovae edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
cmp eax, 1
jb 0x100014b2
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea edi, [edx + ecx*2]
mov esi, edi
sub esi, 0x10003184
cmp word [edi], 0x5c
jne 0x100014a6
mov edx, 1
mov eax, 0x10003184
mov cx, word [eax + esi]
cmp cx, word [eax]
jne 0x100014a0
add eax, 2
sub edx, 1
jne 0x10001485
sub edi, dword [ebp - 0x23c]
sar edi, 1
jmp 0x100014b5
mov edx, dword [ebp - 0x23c]
cmp edi, edx
je 0x100014b2
sub edi, 2
sub esi, 2
jmp 0x10001475
or edi, 0xffffffff
inc edi
cmp dword [ebp - 0x228], edi
jb 0x100016bb
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov dword [ebp - 0x228], edi
cmovae eax, dword [ebp - 0x238]
xor ecx, ecx
mov word [eax + edi*2], cx
mov ecx, dword [ebp - 0x224]
mov eax, ecx
mov edi, dword [ebp - 0x228]
sub eax, edi
cmp eax, 8
jb 0x1000152c
cmp ecx, 8
lea esi, [ebp - 0x238]
lea eax, [edi + 8]
cmovae esi, dword [ebp - 0x238]
push 0x10
mov dword [ebp - 0x228], eax
push 0x10003188
lea eax, [esi + edi*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x10], ax
jmp 0x10001549
push 8
push ecx
mov byte [ebp - 0x23c], 0
lea ecx, [ebp - 0x238]
push dword [ebp - 0x23c]
push 8
call fcn.100019b0
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x10001651
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000319c
push edi
call esi
push 0x100031a8
push edi
mov dword [0x10038c24], eax
call esi
push 0x100031bc
push edi
mov dword [0x10038c3c], eax
call esi
push 0x100031d8
push edi
mov dword [0x10038c30], eax
call esi
push 0x100031ec
push edi
mov dword [0x10038c2c], eax
call esi
push 0x10003200
push edi
mov dword [0x10038c0c], eax
call esi
push 0x1000321c
push edi
mov dword [0x10038c28], eax
call esi
push 0x10003230
push edi
mov dword [0x10038c40], eax
call esi
push 0x1000324c
push edi
mov dword [0x10038c18], eax
call esi
push 0x1000325c
push edi
mov dword [0x10038c1c], eax
call esi
push 0x10003274
push edi
mov dword [0x10038c14], eax
call esi
push 0x10003288
push edi
mov dword [0x10038c20], eax
call esi
push 0x1000329c
push edi
mov dword [0x10038c34], eax
call esi
push 0x100032b4
push edi
mov dword [0x10038c44], eax
call esi
push 0x100032c8
push edi
mov dword [0x10038c08], eax
call esi
push 0x100032d8
push edi
mov dword [0x10038c48], eax
call esi
push 0x100032ec
push edi
mov dword [0x10038c10], eax
call esi
mov dword [0x10038c38], eax
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x10001693
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001689
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001689
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10001b70
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10001b32
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100010d0
call fcn.10001170
call fcn.100019a0
int3