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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ecce6
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101258d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov esi, dword [ebp + 8]
mov eax, 0x66666667
mov edi, dword [esi + 0xd0]
lea ebx, [esi + 0xcc]
mov edx, edi
mov dword [ebp - 0x84], esi
sub edx, dword [ebx]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100414c5
xorps xmm0, xmm0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], al
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], al
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x78]
push eax
cmp edi, dword [ebx + 8]
je 0x100414ae
mov ecx, edi
mov dword [ebp - 0x80], edi
call fcn.100bc4c0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x18]
call fcn.100bc4c0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x30], eax
lea eax, [ebp - 0x40]
mov dword [edi + 0x34], ecx
lea ecx, [edi + 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.100bc4c0
add dword [ebx + 4], 0x50
jmp 0x100414b6
push edi
mov ecx, ebx
call fcn.100bc4c0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.10041280
call fcn.10059ef0
mov ecx, eax
call fcn.100bc4c0
push 3
push 0x100f9684
mov ecx, esi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
call fcn.100bc4c0
cmp dword [esi + 0x114], 0
jne 0x1004150e
lea eax, [esi + 0x18]
lea ecx, [esi + 0x104]
cmp ecx, eax
je 0x1004150e
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x10041505
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.100bc4c0
mov esi, dword [ebp - 0x7c]
add dword [esi + 0x38], 1
mov ecx, dword [esi + 0x38]
adc dword [esi + 0x3c], 0
mov eax, dword [ebx]
mov edx, dword [esi + 0x3c]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
lea edx, [esi + 0x20]
mov ecx, dword [ebx]
add ecx, 0x18
cmp ecx, edx
je 0x10041546
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x1004153d
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.100bc4c0
call fcn.10059ef0
mov ecx, eax
call fcn.100bc4c0
mov ecx, dword [ebx]
cmp ecx, eax
je 0x1004156b
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x10041562
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.100bc4c0
mov edi, dword [esi + 4]
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov ecx, esi
call dword [0x100f3464]
lea ecx, [edi + 4]
call esi
test eax, eax
je 0x100415d0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100bc4c0
mov ecx, dword [ebx]
push eax
add ecx, 0x38
call fcn.100bc4c0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100415d0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100415c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100415c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100bc4c0
add esp, 8
mov ebx, dword [ebp - 0x7c]
mov edi, dword [ebx + 4]
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f3464]
lea ecx, [edi + 4]
call esi
test eax, eax
je 0x100417c7
mov edi, dword [ebx + 4]
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f3464]
lea ecx, [edi + 4]
call esi
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x100f3464]
mov ecx, edi
call esi
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100417c7
mov edi, dword [ebx + 4]
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f3464]
lea ecx, [edi + 4]
call esi
mov ebx, dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
mov esi, dword [ebx + 0x7c]
mov ecx, esi
sub ecx, dword [ebx + 0x78]
cmp ecx, 0x40
jae 0x1004170e
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 3
cmp esi, dword [ebx + 0x80]
je 0x100416f2
mov dword [ebp - 0x80], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x10]
call fcn.100bc4c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x28]
call fcn.100bc4c0
add dword [ebx + 0x7c], 0x40
jmp 0x100416ff
lea eax, [ebp - 0x68]
push eax
push esi
lea ecx, [ebx + 0x78]
call fcn.100bc4c0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.10012970
mov edi, dword [ebx + 0x78]
mov eax, 0x2aaaaaab
mov esi, dword [edi + 8]
mov ecx, esi
sub ecx, dword [edi + 4]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10041775
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 7
cmp esi, dword [edi + 0xc]
je 0x10041759
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
add dword [edi + 8], 0xc
jmp 0x10041766
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [edi + 4]
call fcn.100bc4c0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.100073b0
mov edi, dword [ebp - 0x7c]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x100f3464]
mov ecx, edi
call esi
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x84], ecx
cmp edi, ecx
je 0x100417c7
mov eax, dword [ebx + 0x78]
push edi
mov esi, dword [eax + 4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x100417b4
mov ecx, eax
call fcn.100bc4c0
add dword [esi + 4], 0x18
jmp 0x100417bc
push eax
mov ecx, esi
call fcn.100bc4c0
add edi, 0x18
cmp edi, dword [ebp - 0x84]
jne 0x10041798
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e5f10
mov esp, ebp
pop ebp
ret 4