Function at 0x22126a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
xor edx, edx
mov ecx, edi
mov ebx, dword [edi + 0x3c]
add ebx, edi
sub eax, dword [0x22101c]
mov dword [ebp - 0xc], eax
sbb edx, edx
neg eax
mov dword [ebp - 8], edx
movzx esi, word [ebx + 0x14]
adc edx, 0
neg edx
mov dword [ebp - 0x10], esi
push edx
mov edx, dword [ebx + 0xa0]
push eax
mov eax, dword [esi + ebx + 0x24]
add eax, dword [0x221028]
push eax
push dword [ebx + 0xa4]
call fcn.00221048
mov edx, dword [esi + ebx + 0x28]
add esp, 0x10
mov eax, dword [0x221028]
sub edx, eax
cmp edx, 1
jbe 0x2212e0
mov ecx, dword [esi + ebx + 0x24]
add ecx, eax
add ecx, edi
call fcn.002211d2
mov eax, dword [0x221020]
add esi, 0x40
add esi, ebx
cmp eax, 1
jbe 0x221315
mov edx, dword [esi + 0x10]
sub edx, dword [0x22102c]
cmp edx, 1
jbe 0x221312
mov ecx, dword [esi + 0xc]
add ecx, dword [0x22102c]
add ecx, edi
call fcn.002211d2
mov eax, dword [0x221020]
add esi, 0x28
cmp eax, 2
jbe 0x221340
mov edx, dword [esi + 0x10]
sub edx, dword [0x221030]
cmp edx, 1
jbe 0x22133d
mov ecx, dword [esi + 0xc]
add ecx, dword [0x221030]
add ecx, edi
call fcn.002211d2
mov eax, dword [0x221020]
add esi, 0x28
cmp eax, 3
jbe 0x22136b
mov edx, dword [esi + 0x10]
sub edx, dword [0x221034]
cmp edx, 1
jbe 0x221368
mov ecx, dword [esi + 0xc]
add ecx, dword [0x221034]
add ecx, edi
call fcn.002211d2
mov eax, dword [0x221020]
add esi, 0x28
cmp eax, 4
jbe 0x221396
mov edx, dword [esi + 0x10]
sub edx, dword [0x221038]
cmp edx, 1
jbe 0x221393
mov ecx, dword [esi + 0xc]
add ecx, dword [0x221038]
add ecx, edi
call fcn.002211d2
mov eax, dword [0x221020]
add esi, 0x28
cmp eax, 5
jbe 0x2213c1
mov edx, dword [esi + 0x10]
sub edx, dword [0x22103c]
cmp edx, 1
jbe 0x2213be
mov ecx, dword [esi + 0xc]
add ecx, dword [0x22103c]
add ecx, edi
call fcn.002211d2
mov eax, dword [0x221020]
add esi, 0x28
cmp eax, 6
jbe 0x2213ec
mov edx, dword [esi + 0x10]
sub edx, dword [0x221040]
cmp edx, 1
jbe 0x2213e9
mov ecx, dword [esi + 0xc]
add ecx, dword [0x221040]
add ecx, edi
call fcn.002211d2
mov eax, dword [0x221020]
add esi, 0x28
cmp eax, 7
jbe 0x22140c
mov edx, dword [esi + 0x10]
mov eax, dword [0x221044]
sub edx, eax
cmp edx, 1
jbe 0x22140c
mov ecx, dword [esi + 0xc]
add ecx, eax
add ecx, edi
call fcn.002211d2
cmp dword [0x221014], 0
je 0x221455
lea eax, [ebx + 0x88]
cmp dword [eax], 0
je 0x221455
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 4
push 8
push eax
call esi
mov eax, dword [0x221014]
lea ecx, [ebx + 0x88]
mov dword [ecx], eax
mov eax, dword [0x221018]
mov dword [ebx + 0x8c], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 8
push ecx
call esi
mov eax, dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 8]
mov edx, dword [ebx + 0xa0]
push dword [ebp - 0xc]
mov eax, dword [eax + ebx + 0x24]
add eax, dword [0x221028]
push eax
push dword [ebx + 0xa4]
call fcn.00221048
mov edx, dword [0x221004]
add esp, 0x10
push dword [0x221010]
push dword [0x22100c]
push ecx
mov ecx, edi
call fcn.0022110c
mov eax, dword [section..text]
add esp, 0xc
add eax, edi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]