Function at 0x100035b0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012bad
mov eax, dword fs:[0]
push eax
sub esp, 0x51c
mov eax, dword [0x10085040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x504], edx
mov edx, ecx
mov dword [ebp - 0x4f8], edx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, 0x40
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4ec], esi
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, edx
mov dword [ebp - 4], 0
sub edi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x4f4], edi
nop word [eax + eax]
cmp edx, dword [ecx*8 + 0x100850a8]
je 0x10003987
inc ecx
cmp ecx, 1
jb 0x10003640
jmp 0x1000365b
mov edi, dword [ebp - 0x4f4]
mov ecx, edi
xor edx, edx
sub ecx, eax
mov dword [ebp - 0x500], edx
add ecx, dword [esi + 4]
mov esi, dword [esi]
sub esi, eax
mov dword [ebp - 0x508], ecx
add esi, edi
lea edi, [ebp - 0x4e4]
push edi
push eax
push edx
push esi
mov edx, ecx
call fcn.1000b4a0
mov edi, dword [ebp - 0x4f4]
add esp, 0x10
test eax, eax
js 0x10003758
mov edi, dword [ebp - 0x4f0]
xor ecx, ecx
mov dword [ebp - 0x4fc], ecx
nop word [eax + eax]
mov eax, dword [ebp - 0x4d8]
mov dword [ebp - 0x514], eax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x510], eax
mov al, byte [ebp - 0x4d4]
mov byte [ebp - 0x50c], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x518], esi
cmp eax, dword [ebp - 0x14]
je 0x100036f2
movups xmm0, xmmword [ebp - 0x518]
movups xmmword [eax], xmm0
add dword [ebp - 0x18], 0x10
jmp 0x10003708
lea ecx, [ebp - 0x518]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003af0
mov ecx, dword [ebp - 0x4fc]
movzx eax, byte [ebp - 0x4d4]
add ecx, eax
cdq
add esi, eax
mov dword [ebp - 0x4fc], ecx
lea eax, [ebp - 0x4e4]
adc dword [ebp - 0x500], edx
mov edx, dword [ebp - 0x508]
push eax
mov eax, edi
sub eax, ecx
push eax
push dword [ebp - 0x500]
lea edx, [edx + ecx]
push esi
call fcn.1000b4a0
mov ecx, dword [ebp - 0x4fc]
add esp, 0x10
test eax, eax
jns 0x100036b0
mov edi, dword [ebp - 0x4f4]
cmp esi, dword [ebp - 0x4f8]
jae 0x10003787
mov eax, dword [ebp - 0x4f0]
mov ecx, dword [ebp - 0x1c]
dec eax
mov esi, dword [ebp - 0x4ec]
mov dword [ebp - 0x4f0], eax
cmp ecx, dword [ebp - 0x18]
je 0x1000365b
mov dword [ebp - 0x18], ecx
jmp 0x1000365b
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], 0x264
jne 0x100037ba
mov eax, dword [ecx - 8]
cmp eax, 0x26
jne 0x100037ba
cmp dword [edi + 4], 0x29c
jne 0x100037b2
cmp dword [edi + 8], eax
jne 0x100037b2
cmp byte [edi + 0xc], 1
jbe 0x100037ba
mov eax, dword [ebp - 0x4f0]
jmp 0x10003822
mov eax, ecx
cmp eax, edi
je 0x10003814
xor esi, esi
xor ecx, ecx
lea edx, [eax - 0x10]
mov eax, edx
movups xmm0, xmmword [edx]
movups xmmword [ebp - 0x528], xmm0
test esi, esi
jne 0x100037e4
test ecx, ecx
jne 0x100037e4
cmp byte [ebp - 0x51c], 5
jae 0x1000383f
mov edx, dword [ebp - 0x524]
cmp edx, 0x29c
je 0x100037f7
cmp edx, 0x47
jne 0x10003804
test ecx, ecx
je 0x10003811
inc esi
cmp esi, ecx
je 0x100038b9
cmp edx, 0x264
jne 0x1000380d
inc ecx
cmp eax, edi
jne 0x100037c4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x4f0]
test eax, eax
je 0x10003975
mov esi, dword [ebp - 0x4ec]
dec eax
mov dword [ebp - 0x4f0], eax
cmp edi, ecx
je 0x10003655
mov dword [ebp - 0x18], edi
jmp 0x10003655
mov eax, dword [ebp - 0x4f8]
mov edx, dword [ebp - 0x4ec]
mov edi, dword [ebp - 0x528]
sub eax, edi
push eax
mov dword [ebp - 0x4f8], eax
sub edi, dword [edx]
call fcn.100119ff
push dword [ebp - 0x4f8]
mov esi, eax
push 0x90
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x4f8]
mov eax, dword [ebp - 0x504]
mov dword [0x100850a1], eax
mov ecx, dword [0x100850a0]
mov dword [esi + edx - 5], ecx
mov al, byte [0x100850a4]
mov byte [esi + edx - 1], al
mov eax, dword [ebp - 0x4ec]
push edx
push esi
mov eax, dword [eax + 4]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
push esi
call fcn.100119b7
add esp, 0x20
jmp 0x100039c6
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x4ec]
sub eax, edi
and eax, 0xfffffff0
movzx ecx, byte [eax + edi - 4]
add ecx, dword [eax + edi - 0x10]
mov eax, dword [ebp - 0x528]
sub ecx, eax
sub eax, dword [edx]
mov dword [ebp - 0x508], ecx
mov dword [ebp - 0x4fc], eax
cmp ecx, 5
jae 0x1000391b
push dword [ebp - 0x4f8]
push str.BUG:_not_enough_bytes_at_call__p_n
call fcn.10001020
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov byte [ebp - 0x4e5], 0
add esp, 0xc
mov al, byte [ebp - 0x4e5]
jmp 0x100039ce
push ecx
call fcn.100119ff
mov edi, dword [ebp - 0x508]
mov esi, eax
push edi
push 0x90
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x504]
mov dword [0x100850a1], eax
mov ecx, dword [0x100850a0]
mov dword [esi + edi - 5], ecx
mov al, byte [0x100850a4]
mov byte [esi + edi - 1], al
mov eax, dword [ebp - 0x4ec]
push edi
push esi
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x4fc]
push eax
call sub.VCRUNTIME140.dll_memcpy
push esi
call fcn.100119b7
add esp, 0x20
jmp 0x100039c6
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
xor al, al
jmp 0x100039c8
mov ecx, dword [ecx*8 + 0x100850ac]
mov eax, edi
push ecx
sub eax, ecx
add eax, dword [esi + 4]
push 0x90
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x504]
add esp, 0xc
mov dword [0x100850a1], eax
mov ecx, dword [esi + 4]
mov eax, dword [0x100850a0]
add ecx, 0xfffffffb
mov dword [ecx + edi], eax
mov al, byte [0x100850a4]
mov byte [ecx + edi + 4], al
mov al, 1
mov byte [ebp - 0x4e5], al
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10003a0d
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x100039fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100039fd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100119f1
mov al, byte [ebp - 0x4e5]
add esp, 8
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.100119a9
mov esp, ebp
pop ebp
ret