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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov ecx, dword [ebp + 0xc]
movaps xmmword [esp + 0x40], xmm0
movsd qword [esp + 0x60], xmm1
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x68], 0
mov dword [esp + 0x40], 0x24
mov eax, dword [ebx]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
mov dword [ebx], eax
mov dword [esp + 0x48], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov eax, dword [0x107c4f24]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
sub esp, 4
lea eax, [esp + 8]
push 2
push eax
push 0
call sym._jl_f__svec_ref
add esp, 0x10
mov ecx, dword [eax - 4]
mov edi, eax
mov eax, dword [0x107c4f28]
and ecx, 0xfffffff0
cmp eax, ecx
jne 0x10022d6b
cmp dword [edi + 8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0x10], edi
je 0x10022947
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov eax, dword [edi]
test eax, eax
je 0x10022d89
mov ecx, esi
shl eax, 2
sub ecx, dword [edi + 4]
cmp ecx, eax
jae 0x10022d89
mov eax, dword [esi]
test eax, eax
je 0x10022dbb
mov ecx, dword [eax - 4]
mov edi, dword [esp + 0x10]
and ecx, 0xfffffff0
cmp ecx, 0x80
jne 0x10022dca
mov esi, dword [0x107c4f30]
mov ecx, dword [sym.imp.libjulia.dll_jl_nothing]
mov edx, 1
mov dword [esp + 0x38], esi
mov esi, dword [0x107c4f3c]
mov ecx, dword [ecx]
mov dword [esp + 0xa0], esi
mov esi, dword [0x107c4f40]
mov dword [esp + 0xa4], ecx
mov ecx, 4
mov dword [esp + 0x9c], esi
mov esi, dword [0x107c4f4c]
mov dword [esp + 0x98], esi
nop dword [eax + eax]
mov esi, eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 8], eax
sub esp, 4
push 2
lea eax, [esp + 0xc]
push eax
push 0
call sym._jl_f_isdefined
add esp, 0x10
cmp byte [eax], 0
je 0x100228a0
mov eax, dword [esp + 0x38]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
sub esp, 4
push 2
lea eax, [esp + 0xc]
push eax
push 0
call sym._jl_f_getfield
add esp, 0x10
cmp eax, dword [esp + 0xa4]
je 0x100228a0
mov edi, dword [esp + 0xa0]
mov ecx, dword [edi + 4]
mov ebx, dword [edi]
mov edx, dword [edi + 8]
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x80], edx
sub ebx, eax
mov dword [esp + 0x88], eax
lea eax, [edx + 1]
shr ebx, 2
mov dword [edi + 8], eax
mov dword [esp + 0x1c], eax
lea eax, [ebx + edx + 1]
mov edx, dword [ecx]
mov dword [esp + 0x84], eax
cmp edx, eax
mov dword [esp + 0x18], edx
jge 0x10022807
mov eax, dword [esp + 0x84]
inc ebx
mov dword [esp + 0xb4], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xd4], ecx
push eax
push dword [ebp + 8]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0xe4]
push eax
call dword [esp + 0xac]
add esp, 0x10
mov eax, dword [edi + 8]
mov edx, dword [edi + 4]
mov ebx, dword [edi]
mov dword [esp + 0x7c], eax
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x7c]
jmp 0x1002281e
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x20]
mov edx, eax
lea eax, [ecx + ecx]
mov dword [esp + 0x2c], edx
lea edx, [ecx + edx - 1]
cmp edx, eax
jae 0x10022cc5
mov edx, edi
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
lea edi, [edi + eax*4 - 4]
mov eax, edi
sub eax, edx
lea edx, [ecx*4]
cmp eax, edx
jae 0x10022cc5
test ecx, ecx
je 0x10022cfe
lea eax, [ebx + 0x10]
cmp eax, dword [ebx + 4]
je 0x10022878
mov eax, dword [ebx + 8]
test eax, eax
cmove eax, ebx
mov ecx, eax
jmp 0x1002287a
mov ecx, ebx
mov dword [edi], esi
mov ebx, dword [ebp + 8]
mov eax, dword [ecx - 4]
mov edi, dword [esp + 0x10]
not eax
test al, 3
jne 0x100228a0
mov eax, dword [esi - 4]
test al, 1
je 0x10022936
nop word [eax + eax]
mov eax, dword [sym._jlplt_ijl_module_parent_3007]
sub esp, 0xc
push esi
call eax
add esp, 0x10
cmp eax, esi
jne 0x100228c1
sub esp, 8
push esi
push ebx
call dword [esp + 0xa8]
add esp, 0x10
mov edx, dword [esp + 0x14]
cmp edx, dword [edi + 8]
jae 0x10022947
mov esi, edi
mov edi, dword [edi + 4]
mov esi, dword [esi]
mov eax, dword [edi]
lea ecx, [eax + eax]
add edx, eax
cmp edx, ecx
jae 0x10022c75
mov ecx, esi
lea edx, [eax*4]
sub ecx, dword [edi + 4]
add ecx, dword [esp + 0x34]
cmp ecx, edx
jae 0x10022c75
test eax, eax
je 0x10022cab
mov edx, dword [esp + 0x14]
mov eax, dword [esi + edx*4]
test eax, eax
je 0x10022cb6
mov ecx, dword [eax - 4]
mov edi, dword [esp + 0x34]
inc edx
mov esi, eax
and ecx, 0xfffffff0
add edi, 4
cmp ecx, 0x80
mov ecx, edi
mov edi, dword [esp + 0x10]
je 0x100226b0
jmp 0x10022dcc
sub esp, 0xc
push ecx
call sym._ijl_gc_queue_root
add esp, 0x10
jmp 0x100228a0
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x107c4f5c]
mov dword [esp + 0x5c], edi
sub esp, 4
push eax
push ecx
push ebx
call dword [0x107c4f60]
add esp, 0x10
mov dword [eax + 4], esi
mov ecx, dword [eax - 4]
not ecx
test cl, 3
jne 0x1002297f
mov ecx, dword [esi - 4]
test cl, 1
je 0x10022c64
mov eax, dword [0x107c4f64]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
sub esp, 4
push 2
lea eax, [esp + 0xc]
push eax
push 0
call sym._jl_f__svec_ref
add esp, 0x10
mov ecx, dword [eax - 4]
mov edx, eax
mov eax, dword [esp + 0xac]
and ecx, 0xfffffff0
cmp eax, ecx
jne 0x10022d7a
cmp dword [edx + 8], 0
mov dword [esp + 0xc], edx
je 0x10022ada
mov ecx, dword [0x107c4f6c]
lea eax, [ebx - 0x54]
mov edx, dword [ecx]
cmp edx, eax
mov dword [esp + 0x3c], edx
jne 0x10022de0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
sub esp, 8
mov dword [esp + 0xb0], ecx
push ecx
push ebx
call dword [0x107c4f70]
add esp, 0x10
test al, 1
je 0x10022a4c
mov eax, dword [ebx + 8]
xor edx, edx
mov ecx, dword [eax + 0x1c]
sub ecx, 1
cmovb ecx, edx
mov dword [eax + 0x1c], ecx
mov eax, dword [0x107c579c]
test eax, eax
jne 0x10022a37
sub esp, 4
mov eax, dword [sym.imp.libjulia_internal.dll_jl_libjulia_internal_handle]
push eax
push str.jl_gc_have_pending_finalizers
push 3
call sym._ijl_load_and_lookup
add esp, 0x10
mov dword [0x107c579c], eax
mov eax, dword [eax]
test eax, eax
je 0x10022a4c
mov eax, dword [sym._jlplt_jl_gc_run_pending_finalizers_2816]
sub esp, 0xc
push 0
call eax
add esp, 0x10
mov dword [esp + 0x48], edi
sub esp, 0xc
mov edi, dword [esp + 0x48]
push edi
call sym._ijl_excstack_state
add esp, 8
lea esi, [esp + 0xe8]
push esi
push edi
call sym._ijl_enter_handler
add esp, 4
push esi
call sym._ijl_setjmp
add esp, 0x10
test eax, eax
mov dword [esp + 0x94], eax
je 0x10022ae1
sub esp, 8
push 1
push edi
call sym._ijl_pop_handler
add esp, 0x10
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0xa8]
cmp dword [eax], edi
je 0x10022c43
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
sub esp, 4
push edi
push eax
push ebx
mov edi, eax
call dword [0x107c4f84]
add esp, 0x10
test al, 1
jne 0x10022c46
sub esp, 8
push edi
push ebx
call dword [0x107c4f7c]
add esp, 0x10
jmp 0x10022c46
mov eax, edi
jmp 0x10022c56
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x90], eax
jle 0x10022c1e
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x10022e0d
mov ecx, esi
shl eax, 2
sub ecx, dword [edi + 4]
cmp ecx, eax
jae 0x10022e0d
mov ecx, dword [esi]
test ecx, ecx
je 0x10022e3f
mov edx, dword [0x107c4f88]
mov edi, 1
mov eax, 4
mov esi, ecx
mov dword [esp + 0x8c], edx
nop dword [eax]
mov ecx, dword [esi - 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], esi
and ecx, 0xfffffff0
cmp ecx, 0x80
je 0x10022ba0
sub esp, 0xc
push edi
call sym._ijl_box_int32
add esp, 0x10
mov dword [esp + 4], esi
mov dword [esp + 0x64], eax
mov dword [esp + 8], eax
sub esp, 4
push 2
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x98]
call sym._ijl_apply_generic
add esp, 0x10
cmp dword [esp + 0x90], edi
jne 0x10022bb7
jmp 0x10022c1e
sub esp, 4
push edi
push esi
push ebx
call dbg.julia_run_module_init_3178
add esp, 0x10
cmp dword [esp + 0x90], edi
je 0x10022c1e
mov ebx, dword [esp + 0xc]
cmp edi, dword [ebx + 8]
jae 0x10022d09
mov esi, dword [ebx + 4]
mov ebx, dword [ebx]
mov eax, dword [esi]
lea ecx, [eax + eax]
lea edx, [edi + eax]
cmp edx, ecx
jae 0x10022d26
mov ecx, ebx
lea edx, [eax*4]
sub ecx, dword [esi + 4]
add ecx, dword [esp + 0x30]
cmp ecx, edx
jae 0x10022d26
test eax, eax
je 0x10022d60
mov esi, dword [ebx + edi*4]
mov eax, dword [esp + 0x30]
mov ebx, dword [ebp + 8]
inc edi
add eax, 4
test esi, esi
jne 0x10022b40
mov eax, dword [sym.imp.libjulia.dll_jl_undefref_exception]
sub esp, 0xc
push dword [eax]
call sym._ijl_throw
sub esp, 8
push 1
mov edi, dword [esp + 0x48]
push edi
call sym._ijl_pop_handler_noexcept
add esp, 0x10
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xa8]
cmp dword [eax], edi
jne 0x10022aa6
inc dword [eax + 4]
cmp dword [esp + 0x94], 0
mov eax, esi
jne 0x10022ded
mov ecx, dword [esp + 0x44]
mov dword [ebx], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0xc
push eax
call sym._ijl_gc_queue_root
add esp, 0x10
jmp 0x1002297f
mov eax, ebx
mov ebx, dword [0x107c5704]
mov dword [esp + 0x64], edi
push ebx
push 0x10
push 0x198
push dword [eax + 8]
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov dword [eax - 4], ebx
mov dword [eax], esi
mov dword [eax + 4], edi
inc ecx
sub esp, 8
push ecx
push eax
call sym._ijl_bounds_error_int
sub esp, 8
push 1
push edi
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
mov esi, dword [0x107c4f44]
mov dword [esp + 0x64], 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 + 0x24]
mov dword [eax - 4], esi
mov dword [eax], ecx
mov dword [eax + 4], ebx
sub esp, 8
push dword [esp + 0x34]
push eax
call sym._ijl_bounds_error_int
sub esp, 8
push 1
push ebx
call sym._ijl_bounds_error_int
inc edi
mov dword [esp + 0xb0], edi
sub esp, 4
lea eax, [esp + 0xb4]
push eax
push ebx
push dword [ebp + 8]
call dword [0x107c52d8]
mov eax, dword [0x107c5704]
mov dword [esp + 0x64], esi
mov dword [esp + 0x78], eax
push eax
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 + 0x78]
inc edi
mov dword [eax - 4], ecx
mov dword [eax], ebx
mov dword [eax + 4], esi
sub esp, 8
push edi
push eax
call sym._ijl_bounds_error_int
sub esp, 8
push 1
push esi
call sym._ijl_bounds_error_int
sub esp, 4
push edi
push eax
push str.typeassert
call sym._ijl_type_error
sub esp, 4
push edx
push eax
push str.typeassert
call sym._ijl_type_error
mov eax, ebx
mov ebx, dword [0x107c5704]
mov dword [esp + 0x64], edi
push ebx
push 0x10
push 0x198
push dword [eax + 8]
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov dword [eax - 4], ebx
mov dword [eax], esi
mov dword [eax + 4], edi
sub esp, 8
push 1
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
mov esi, eax
sub esp, 4
push esi
push dword [0x107c5890]
push str.typeassert
call sym._ijl_type_error
cmp dword [ecx + 4], 0
jne 0x10022df7
mov eax, dword [0x107c4f90]
jmp 0x10022dfc
sub esp, 0xc
push ebx
call dword [0x107c5738]
mov eax, dword [0x107c4f94]
mov dword [esp + 0x64], eax
sub esp, 8
push eax
push dword [ebp + 8]
call dword [0x107c4f8c]
mov eax, ebx
mov ebx, dword [0x107c5704]
mov dword [esp + 0x64], edi
push ebx
push 0x10
push 0x198
push dword [eax + 8]
call sym._ijl_gc_pool_alloc_instrumented
add esp, 0x10
mov dword [eax - 4], ebx
mov dword [eax], esi
mov dword [eax + 4], edi
sub esp, 8
push 1
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