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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x98]
push esi
mov esi, dword [ebx + 0x60]
push edi
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0xdc], eax
mov eax, dword [ebx + 0x68]
and esi, 0x18
inc edi
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xd4], ecx
cmp edx, ecx
je 0x100194f2
push ebx
call fcn.100168fb
pop ecx
mov dword [ebp - 0xd0], eax
xor ecx, ecx
jmp 0x100194f8
mov dword [ebp - 0xd0], ecx
test byte [ebx + 0x14], 4
jne 0x10019b65
cmp edx, ecx
je 0x1001951b
mov edx, dword [edx]
mov eax, dword [edx + 0x30]
test byte [eax + 0x10], 4
je 0x1001951b
test byte [edx + 0x14], 0x80
je 0x10019b65
cmp dword [ebp - 0xd0], ecx
je 0x1001955f
push dword [ebp - 0xd0]
call fcn.10019483
mov eax, dword [ebp - 0xd0]
cmp byte [eax + 0x20], 0
pop ecx
je 0x10019542
push 0
jmp 0x10019b5a
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [eax + 0x64]
mov dword [ebx + 0x64], ecx
mov eax, dword [eax + 0x68]
mov dword [ebx + 0x68], eax
xor ecx, ecx
cmp byte [ebx + 0xe], 0
mov dword [ebx + 0x10], ecx
jne 0x1001956b
mov dword [ebx + 0x5c], ecx
mov eax, dword [ebx + 0x24]
cmp eax, ecx
je 0x100195c4
push eax
call sym.mono.dll_mono_class_init
mov eax, dword [ebx + 0x24]
test byte [eax + 0x14], 4
pop ecx
jne 0x10019592
push eax
call fcn.10019483
mov eax, dword [ebx + 0x24]
cmp byte [eax + 0x20], 0
pop ecx
jne 0x1001953b
mov ecx, dword [eax + 0x10]
add dword [ebx + 0x10], ecx
mov cl, byte [eax + 0x18]
mov byte [ebx + 0x18], cl
mov ecx, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1c]
or edx, ecx
xor edx, ecx
and edx, 0x800
xor edx, ecx
mov dword [ebx + 0x1c], edx
mov edi, dword [eax + 0x14]
shr edi, 5
and edi, 1
mov dword [ebp - 0xc8], edi
jmp 0x100195cf
mov dword [ebx + 0x10], 8
mov byte [ebx + 0x18], 1
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xf4]
push eax
push dword [ebx + 0x3c]
push dword [ebx + 0x30]
call sym.mono.dll_mono_metadata_packing_from_typedef
add esp, 0x10
mov dword [ebp - 0xf8], eax
test eax, eax
je 0x10019623
push dword [ebp - 0xf4]
push ebx
call fcn.10016839
pop ecx
pop ecx
test eax, eax
je 0x10019b65
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebp - 0xf4]
and eax, 0xf
xor dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x10]
add dword [ebp - 0xcc], eax
xor eax, eax
cmp dword [ebp - 0xe4], eax
jne 0x10019668
cmp dword [ebp - 0xf8], eax
je 0x10019651
cmp dword [ebp - 0xcc], eax
je 0x10019651
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0xcc], eax
jbe 0x1001964e
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 0x10], eax
shl edi, 5
xor edi, dword [ebx + 0x14]
and edi, 0x20
xor edi, dword [ebx + 0x14]
or edi, 4
mov dword [ebx + 0x14], edi
jmp 0x10019b65
cmp esi, eax
jne 0x10019674
xor edi, edi
mov dword [ebp - 0xc8], edi
mov eax, dword [ebp - 0xe4]
or dword [ebx + 0x14], 4
shl eax, 4
push eax
mov eax, ebx
call fcn.10015088
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x9c]
xor esi, esi
pop ecx
cmp eax, esi
je 0x100196a1
mov dword [ebp - 0xd4], eax
jmp 0x100196da
mov eax, dword [ebp - 0xd0]
cmp eax, esi
je 0x100196da
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0xd4], eax
cmp eax, esi
jne 0x100196da
push str.container
push 0x563
push str...monometadataclass.c
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push esi
call fcn.100010d9
add esp, 0x18
mov dword [ebp - 0xd8], esi
cmp dword [ebp - 0xe4], esi
jle 0x10019af0
mov dword [ebp - 0xec], esi
mov edi, dword [ebx + 0x64]
mov esi, dword [ebx + 0x78]
add esi, dword [ebp - 0xec]
add edi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe8], esi
mov dword [esi + 8], ebx
test eax, eax
je 0x100197e5
mov edi, dword [eax + 0x78]
add edi, dword [ebp - 0xec]
push edi
mov dword [ebp - 0xe0], edi
call sym.mono.dll_mono_event_get_name
mov dword [esi + 4], eax
add esp, 4
lea eax, [ebp - 0xc4]
push eax
push ebx
call fcn.10014ced
add esp, 4
push eax
push dword [edi]
push dword [ebx + 0x30]
call fcn.10014df2
mov dword [esi], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.100089eb
add esp, 0x14
test eax, eax
je 0x100199ff
mov eax, dword [edi]
mov ecx, dword [esi]
mov eax, dword [eax + 4]
xor eax, dword [ecx + 4]
test eax, 0xffff
je 0x100197a1
push str.field__type__attrs__gfield__type__attrs
push 0x57c
push str...monometadataclass.c
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push 0
call fcn.100010d9
add esp, 0x18
mov eax, dword [esi]
test dword [eax + 4], 0x600
je 0x100197ce
push dword [ebp - 0xe8]
mov edi, str._Deleted
call sym.mono.dll_mono_event_get_name
add esp, 4
mov esi, eax
push 9
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100199db
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp - 0xe8]
mov dword [esi + 0xc], eax
jmp 0x10019920
push 3
lea eax, [ebp - 0x10]
push eax
push edi
push 4
push dword [ebp - 0xdc]
call sym.mono.dll_mono_metadata_decode_table_row
push dword [ebp - 0xc]
push dword [ebp - 0xdc]
call sym.mono.dll_mono_metadata_string_heap
push 0
push dword [ebp - 8]
mov dword [esi + 4], eax
push dword [ebx + 0x30]
call fcn.10051d99
add esp, 0x28
test eax, eax
je 0x10019a41
push dword [ebp - 8]
push dword [ebp - 0xdc]
call sym.mono.dll_mono_metadata_blob_heap
lea ecx, [ebp - 0xf0]
push ecx
push eax
mov dword [ebp - 0xf0], eax
call sym.mono.dll_mono_metadata_decode_value
mov eax, dword [ebp - 0xf0]
add esp, 0x10
cmp byte [eax], 6
je 0x10019871
push str.sig__0x06
push 0x58f
push str...monometadataclass.c
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push 0
call fcn.100010d9
add esp, 0x18
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0xf0]
inc eax
push eax
push dword [ebp - 0x10]
push 5
push dword [ebp - 0xd4]
push dword [ebp - 0xdc]
call sym.mono.dll_mono_metadata_parse_type_full
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x10019a41
test dword [eax + 4], 0x600
je 0x100198da
push dword [ebp - 0xe8]
mov edi, str._Deleted
call sym.mono.dll_mono_event_get_name
add esp, 4
mov esi, eax
push 9
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100199db
mov edi, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xe8]
cmp dword [ebp - 0x100], 0x10
jne 0x10019920
push 0
push 0
lea eax, [ebp - 0xfc]
push eax
push edi
push dword [ebp - 0xdc]
call sym.mono.dll_mono_metadata_field_info
mov eax, dword [ebp - 0xfc]
add esp, 0x14
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
jne 0x10019917
mov ecx, dword [esi]
test byte [ecx + 4], 0x10
je 0x10019a53
cmp eax, 0xffffffff
jl 0x10019a6e
mov edi, dword [ebp - 0xc8]
test edi, edi
je 0x100199a3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test cl, 0x10
jne 0x100199a3
test ecx, 0x40000000
jne 0x1001999c
test eax, eax
je 0x1001996d
mov cl, byte [eax + 6]
cmp cl, 0xe
je 0x1001999c
cmp cl, 0x1d
je 0x1001999c
cmp cl, 0x12
je 0x1001999c
cmp cl, 0x1c
je 0x1001999c
cmp cl, 0x14
je 0x1001999c
cmp cl, 0x15
jne 0x1001996d
push dword [eax]
call sym.mono.dll_mono_metadata_generic_class_is_valuetype
pop ecx
test eax, eax
je 0x1001999c
push dword [esi]
call sym.mono.dll_mono_class_from_mono_type
pop ecx
mov dword [ebp - 0xe0], eax
test eax, eax
je 0x1001999c
push eax
call fcn.10019483
mov eax, dword [ebp - 0xe0]
cmp byte [eax + 0x20], 0
pop ecx
jne 0x10019a8a
test byte [eax + 0x14], 0x20
jne 0x100199a3
and dword [ebp - 0xc8], 0
test byte [ebx + 0x14], 0x10
je 0x100199cc
mov eax, dword [esi]
test byte [eax + 4], 0x10
jne 0x100199cc
push eax
call sym.mono.dll_mono_class_from_mono_type
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, dword [eax + 0x14]
shr eax, 5
and eax, 1
pop ecx
mov dword [ebp - 0xc8], eax
mov ecx, dword [esi]
call fcn.100189b0
test eax, eax
jne 0x10019a99
inc dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd8]
add dword [ebp - 0xec], 0x10
cmp eax, dword [ebp - 0xe4]
jl 0x100196f2
jmp 0x10019aea
lea eax, [ebp - 0xc4]
push eax
call fcn.100089fb
push eax
push dword [ebp - 0xd8]
push str.Could_not_load_field__d_type_due_to:__s
call fcn.100024b0
mov esi, eax
push esi
push 7
push ebx
call fcn.100167fb
push esi
call sym.mono.dll_g_free
lea eax, [ebp - 0xc4]
push eax
call fcn.100089a1
add esp, 0x24
jmp 0x10019b65
push 0
push 7
push ebx
call fcn.100167fb
add esp, 0xc
jmp 0x10019aea
push dword [esi + 4]
push str.Missing_field_layout_info_for__s
call fcn.100024b0
push eax
push 7
push ebx
call fcn.100167fb
add esp, 0x14
jmp 0x10019aea
push dword [esi + 4]
push eax
push str.Invalid_negative_field_offset__d_for__s
call fcn.100024b0
push eax
push 7
push ebx
call fcn.100167fb
add esp, 0x18
jmp 0x10019aea
push 0
push 7
push ebx
call fcn.100167fb
add esp, 0xc
jmp 0x10019af0
push ebx
call fcn.10016e09
mov esi, dword [ebp - 0xe8]
push dword [esi]
mov edi, eax
call sym.mono.dll_mono_type_full_name
push 0
push 7
push ebx
mov dword [ebp - 0xd4], eax
call fcn.100167fb
push dword [esi + 4]
push edi
push dword [ebp - 0xd4]
push str.Invalid_type__s_for_instance_field__s:_s
push 0x10
push 0
call fcn.100010d9
push edi
call sym.mono.dll_g_free
push dword [ebp - 0xd4]
call sym.mono.dll_g_free
add esp, 0x34
mov edi, dword [ebp - 0xc8]
cmp ebx, dword [0x101f9c04]
jne 0x10019afa
xor edi, edi
shl edi, 5
xor edi, dword [ebx + 0x14]
and edi, 0x20
xor dword [ebx + 0x14], edi
test byte [ebx + 0x14], 0x10
je 0x10019b1b
push ebx
call sym.mono.dll_mono_class_enum_basetype
pop ecx
test eax, eax
je 0x1001953b
xor esi, esi
cmp dword [ebp - 0xf8], esi
je 0x10019b41
cmp dword [ebp - 0xcc], esi
je 0x10019b41
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0xcc], eax
jbe 0x10019b3e
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 0x10], eax
cmp byte [ebx + 0x20], 0
jne 0x10019b65
push ebx
call fcn.100189e7
pop ecx
mov eax, ebx
call fcn.10014fb2
test eax, eax
je 0x10019b65
push esi
push 7
push ebx
call fcn.100167fb
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011389e
leave
ret