Function at 0x10017490
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 edx, dword [ebp + 8]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
movaps xmmword [esp + 0x20], xmm0
movsd qword [esp + 0x40], xmm1
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x20], 0x24
mov eax, dword [edx]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov dword [edx], eax
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov edx, dword [edi + 8]
mov eax, ecx
cmp edx, ecx
mov dword [esp + 0x10], edx
cmovg eax, edx
mov esi, eax
sub esi, edx
mov edx, dword [edi + 4]
mov dword [esp + 0xc], esi
mov esi, dword [edi]
mov ebx, dword [edx]
mov dword [esp + 0x18], edx
mov edx, ebx
sub edx, eax
jge 0x100175b4
test byte [ebp + 0xc], 1
jne 0x10017605
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x18]
js 0x1001787b
mov ecx, esi
mov edi, esi
mov esi, dword [ebp + 0x14]
sub ecx, dword [edx + 4]
mov dword [esi + 8], eax
mov esi, edx
shr ecx, 2
lea edx, [ecx + eax]
cmp ebx, edx
jge 0x100175a5
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0x14]
inc ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x68]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
lea edx, [esp + 0x8c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], esi
lea eax, [esp + 0x2c]
push ecx
push dword [ebp + 8]
push eax
push edx
call dbg.julia_#131_3367
add esp, 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
jmp 0x1001784e
test byte [ebp + 0x10], 1
je 0x1001784e
lea ecx, [ebx + 7]
test ebx, ebx
cmovns ecx, ebx
sar ecx, 3
cmp edx, ecx
jle 0x1001784e
mov ecx, dword [0x107c47b8]
test eax, eax
mov dword [esp + 0x14], esi
je 0x1001776b
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
sub esp, 8
push eax
push ecx
call sym._jl_alloc_genericmemory
add esp, 0x10
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
jmp 0x1001777e
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
cmp edi, ecx
jge 0x1001768f
cmp dword [esp + 0xc], 0
js 0x100178f7
mov ecx, dword [edx + 4]
mov edx, esi
mov edi, dword [ebp + 0x14]
sub edx, ecx
mov dword [edi + 8], eax
shr edx, 2
cmp dword [esp + 0xc], edx
jbe 0x100176f4
mov esi, dword [esp + 0xc]
mov dword [esp + 0x50], edi
mov ebx, dword [esp + 0x10]
inc edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x94]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x28]
push ecx
push dword [ebp + 8]
push eax
push edx
call dbg.julia_#129_3360
add esp, 0x10
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov edi, ebx
mov ebx, dword [edx]
mov dword [esp + 0x14], eax
jmp 0x10017697
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0xc]
lea eax, [ebx + ebx]
lea ecx, [ebx + esi]
cmp ecx, eax
jae 0x100178be
mov eax, dword [esp + 0x14]
shl ebx, 2
lea eax, [eax + esi*4]
mov ecx, eax
sub ecx, dword [edx + 4]
cmp ecx, ebx
jae 0x100178be
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], edi
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ecx - 4]
not eax
test al, 3
jne 0x1001784e
mov eax, dword [edx - 4]
mov esi, edx
test al, 1
jne 0x1001784e
sub esp, 0xc
push dword [ebp + 0x14]
call sym._ijl_gc_queue_root
add esp, 0x10
jmp 0x1001784e
mov edx, ebx
lea eax, [ebx + ebx]
sub edx, dword [esp + 0xc]
cmp edx, eax
jae 0x100179aa
mov eax, dword [esp + 0xc]
mov edx, esi
lea edi, [ebx*4]
lea eax, [eax*4]
sub edx, eax
mov eax, edx
sub eax, ecx
cmp eax, edi
jae 0x100179aa
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x18]
mov eax, dword [eax - 4]
not eax
test al, 3
jne 0x10017862
mov eax, dword [edx - 4]
mov esi, dword [esp + 0xc]
test al, 1
jne 0x10017697
sub esp, 0xc
push dword [ebp + 0x14]
call sym._ijl_gc_queue_root
mov edx, dword [esp + 0x28]
add esp, 0x10
jmp 0x10017697
mov eax, dword [ecx + 0x10]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x10017a2c
mov ecx, dword [eax + 4]
test byte [ebp + 0xc], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
je 0x100177b2
mov eax, dword [eax]
lea ecx, [eax + eax]
lea edx, [eax + esi]
cmp edx, ecx
jae 0x100179f1
cmp esi, eax
jae 0x100179f1
mov eax, dword [esp + 0x10]
lea ecx, [eax + esi*4]
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp + 0x14]
test edi, edi
je 0x10017838
mov eax, dword [eax]
mov dword [esp + 0xc], ecx
lea ecx, [eax + eax]
lea edx, [eax + edi - 1]
cmp edx, ecx
jae 0x1001793a
mov ecx, dword [esp + 0xc]
shl eax, 2
lea ecx, [ecx + edi*4 - 4]
sub ecx, dword [esp + 0x10]
cmp ecx, eax
jae 0x1001793a
lea eax, [edi - 1]
lea ecx, [ebx + ebx]
mov esi, dword [esp + 0x14]
lea edx, [ebx + eax]
cmp edx, ecx
mov ecx, dword [esp + 0x18]
jae 0x10017974
lea eax, [esi + eax*4]
shl ebx, 2
sub eax, dword [ecx + 4]
cmp eax, ebx
jae 0x10017974
mov eax, dword [sym._jlplt_jl_genericmemory_copyto_2551]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebx
sub esp, 0xc
push edi
push esi
push ecx
mov esi, dword [esp + 0x24]
push esi
push ebx
call eax
mov ecx, esi
mov eax, ebx
add esp, 0x20
mov esi, dword [ebp + 0x14]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov ecx, dword [esi - 4]
not ecx
test cl, 3
jne 0x1001784e
mov eax, dword [eax - 4]
test al, 1
je 0x1001786b
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0xc]
jmp 0x10017697
sub esp, 0xc
push dword [ebp + 0x14]
call sym._ijl_gc_queue_root
add esp, 0x10
jmp 0x1001784e
sub esp, 8
push dword [0x107c4aec]
mov ebx, dword [ebp + 8]
push ebx
call dword [0x107c54ec]
add esp, 0x10
mov edi, dword [0x107c4a18]
mov esi, eax
mov dword [esp + 0x44], eax
push edi
push 8
push 0x18c
push dword [ebx + 8]
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov dword [eax - 4], edi
mov dword [eax], esi
sub esp, 0xc
push eax
call sym._ijl_throw
mov edi, dword [0x107c47e0]
inc esi
mov dword [esp + 0x44], edx
push edi
push 0x10
push 0x198
mov eax, dword [ebp + 8]
push dword [eax + 8]
mov ebx, edx
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov dword [eax - 4], edi
mov dword [eax], ecx
mov dword [eax + 4], ebx
sub esp, 8
push esi
push eax
call sym._ijl_bounds_error_int
sub esp, 8
push dword [0x107c4aec]
mov ebx, dword [ebp + 8]
push ebx
call dword [0x107c54ec]
add esp, 0x10
mov edi, dword [0x107c4a18]
mov esi, eax
mov dword [esp + 0x44], eax
push edi
push 8
push 0x18c
push dword [ebx + 8]
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov dword [eax - 4], edi
mov dword [eax], esi
sub esp, 0xc
push eax
call sym._ijl_throw
mov esi, dword [0x107c47e0]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x44], ebx
push esi
push 0x10
push 0x198
mov eax, dword [ebp + 8]
push dword [eax + 8]
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov dword [eax - 4], esi
mov dword [eax], ecx
mov dword [eax + 4], ebx
sub esp, 8
push edi
push eax
call sym._ijl_bounds_error_int
mov ebx, dword [0x107c47e0]
mov dword [esp + 0x48], ecx
push ebx
push 0x10
push 0x198
mov eax, dword [ebp + 8]
push dword [eax + 8]
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov dword [eax - 4], ebx
mov dword [eax], esi
mov dword [eax + 4], ecx
sub esp, 8
push edi
push eax
call sym._ijl_bounds_error_int
mov edi, 1
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x18]
mov esi, dword [0x107c47e0]
sub edi, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
push esi
push 0x10
push 0x198
mov eax, dword [ebp + 8]
push dword [eax + 8]
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov dword [eax - 4], esi
mov dword [eax], ecx
mov dword [eax + 4], ebx
sub esp, 8
push edi
push eax
call sym._ijl_bounds_error_int
mov edi, dword [0x107c47e0]
mov ebx, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x44], ebx
push edi
push 0x10
push 0x198
mov eax, dword [ebp + 8]
push dword [eax + 8]
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov dword [eax - 4], edi
mov dword [eax], ecx
mov dword [eax + 4], ebx
sub esp, 8
push esi
push eax
call sym._ijl_bounds_error_int
mov eax, dword [sym.imp.libjulia.dll_jl_undefref_exception]
sub esp, 0xc
push dword [eax]
call sym._ijl_throw
nop dword [eax + eax]