Function at 0x10021dd0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d97ed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10110f74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.il2cpp_domain_get
push ebx
call esi
push str.il2cpp_thread_attach
push ebx
mov dword [ebp - 0x24], eax
call esi
push str.il2cpp_domain_get_assemblies
push ebx
mov edi, eax
call esi
push str.il2cpp_assembly_get_image
push dword [ebp + 8]
mov ebx, eax
call esi
push str.il2cpp_class_from_name
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
call esi
push str.il2cpp_class_get_method_from_name
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call esi
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x10022000
test edi, edi
je 0x10022000
cmp dword [ebp - 0x18], 0
je 0x10022000
test ebx, ebx
je 0x10022000
cmp dword [ebp - 0x10], 0
je 0x10022000
test ecx, ecx
je 0x10022000
call eax
mov esi, eax
push esi
call edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call ebx
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
jbe 0x10021fec
nop dword [eax]
push dword [eax]
call dword [ebp - 0x18]
push str.String
push 0x100e5b44
push eax
mov dword [ebp - 0x28], eax
call dword [ebp - 0x10]
add esp, 0x10
test eax, eax
je 0x10021ed9
push dword [ebp + 8]
push eax
call fcn.10021530
add esp, 8
mov eax, dword [0x10c87520]
mov ebx, dword [0x10c8751c]
mov dword [ebp - 0x30], eax
cmp ebx, eax
je 0x10021fd3
nop
mov eax, dword [ebx + 4]
xor ecx, ecx
sub eax, dword [ebx]
xor esi, esi
sar eax, 2
xor edx, edx
xor edi, edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x10021f43
push eax
lea ecx, [ebp - 0x3c]
call fcn.10020990
mov esi, dword [ebx + 4]
mov eax, dword [ebx]
sub esi, eax
push esi
push eax
push dword [ebp - 0x3c]
call fcn.100aec70
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
sar esi, 2
mov edi, ecx
mov edx, edi
mov dword [ebp - 0x1c], edx
lea eax, [ecx + esi*4]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push dword [edx + 4]
mov dword [ebp - 4], 0
push dword [ecx]
push dword [ebp - 0x28]
call dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x10021f7e
push 1
push str.set_text
push eax
call dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
je 0x10021f7e
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 4]
push dword [eax]
call fcn.10020000
add esp, 8
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10021fc7
sub esi, edi
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x10021fa8
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x10022014
mov edi, ecx
push esi
push edi
call fcn.100ac5af
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
add ebx, 0xc
cmp ebx, dword [ebp - 0x30]
jne 0x10021ef0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
inc ebx
add eax, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
cmp ebx, dword [ebp - 0x14]
jb 0x10021eb0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100b835f
int3