Function at 0x421a90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov dword [ebp - 8], ebx
mov edx, dword [ebx + 8]
cmp edx, 3
je 0x421aec
cmp edx, 4
je 0x421aec
mov eax, dword [ebx + 0x14]
cmp edx, 2
jne 0x421afc
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xffffffff
je 0x421afc
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x421acf
mov eax, dword [0x4fc0fc]
mov eax, dword [eax + 0x1f0]
test eax, eax
je 0x421aec
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x421aec
nop dword [eax]
cmp dword [eax + 8], ecx
je 0x421af1
mov eax, dword [eax + 4]
test eax, eax
jne 0x421ae0
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x13c]
jmp 0x421c21
test eax, eax
je 0x421b58
cmp eax, 1
je 0x421b58
cmp eax, 2
je 0x421b58
cmp eax, 4
je 0x421b58
cmp eax, 5
je 0x421b58
cmp eax, 6
je 0x421b58
cmp eax, 7
jne 0x421b2e
mov eax, dword [0x4fc0fc]
mov ecx, dword [eax + 0x438]
jmp 0x421c21
cmp eax, 9
jne 0x421b43
mov eax, dword [0x4fc0fc]
mov ecx, dword [eax + 0xa8]
jmp 0x421c21
cmp eax, 0xb
jne 0x421aec
mov eax, dword [0x4fc0fc]
mov ecx, dword [eax + 0xb0]
jmp 0x421c21
xor ecx, ecx
cmp edx, 6
jne 0x421bd3
test eax, eax
jne 0x421b73
mov eax, dword [0x4fc0fc]
mov ecx, dword [eax + 0x734]
jmp 0x421c21
cmp eax, 1
jne 0x421b88
mov eax, dword [0x4fc0fc]
mov ecx, dword [eax + 0x738]
jmp 0x421c21
cmp eax, 2
jne 0x421b9d
mov eax, dword [0x4fc0fc]
mov ecx, dword [eax + 0x73c]
jmp 0x421c21
cmp eax, 4
jne 0x421baf
mov eax, dword [0x4fc0fc]
mov ecx, dword [eax + 0x740]
jmp 0x421c21
cmp eax, 5
jne 0x421bc1
mov eax, dword [0x4fc0fc]
mov ecx, dword [eax + 0x744]
jmp 0x421c21
cmp eax, 6
jne 0x421c21
mov eax, dword [0x4fc0fc]
mov ecx, dword [eax + 0x748]
jmp 0x421c21
mov edx, dword [ebx + 0x30]
test eax, eax
jne 0x421be2
mov ecx, dword [edx + 0x238]
jmp 0x421c21
cmp eax, 1
jne 0x421bef
mov ecx, dword [edx + 0x23c]
jmp 0x421c21
cmp eax, 2
jne 0x421bfc
mov ecx, dword [edx + 0x240]
jmp 0x421c21
cmp eax, 4
jne 0x421c09
mov ecx, dword [edx + 0x244]
jmp 0x421c21
cmp eax, 5
jne 0x421c16
mov ecx, dword [edx + 0x248]
jmp 0x421c21
cmp eax, 6
jne 0x421c21
mov ecx, dword [edx + 0x24c]
test ecx, ecx
je 0x421aec
mov eax, dword [ecx + 4]
push edi
mov edi, dword [eax + 4]
test edi, edi
je 0x421c43
mov eax, dword [ebx + 0xc]
cmp dword [edi + 8], eax
je 0x421c55
mov edi, dword [edi + 4]
test edi, edi
jne 0x421c37
push str.Fatal_Error_:_Event_not_found.
call fcn.00420200
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebx, dword [ebx + 0x10]
mov eax, dword [edi + 0x4c]
dec ebx
test eax, eax
je 0x421c94
mov eax, dword [eax + 4]
xor edx, edx
mov eax, dword [eax + 4]
mov ecx, eax
test ecx, ecx
je 0x421c78
nop
mov ecx, dword [ecx + 4]
inc edx
test ecx, ecx
jne 0x421c70
cmp ebx, edx
jge 0x421c94
test ebx, ebx
js 0x421c94
jle 0x421c8c
mov ecx, ebx
mov eax, dword [eax + 4]
sub ecx, 1
jne 0x421c84
test eax, eax
jne 0x421d2f
push esi
test ebx, ebx
jle 0x421cd7
nop dword [eax]
mov esi, dword [edi + 0x4c]
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00491510
movsx ecx, ax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov edx, dword [esi + 4]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x421ccf
mov edx, ecx
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x421cc6
mov dword [edx + 4], eax
sub ebx, 1
jne 0x421ca0
mov esi, dword [edi + 0x4c]
xor edx, edx
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov ecx, eax
test ecx, ecx
je 0x421cf0
mov ecx, dword [ecx + 4]
inc edx
test ecx, ecx
jne 0x421ce8
dec edx
test esi, esi
je 0x421d10
mov ecx, eax
xor esi, esi
test ecx, ecx
je 0x421d08
nop dword [eax]
mov ecx, dword [ecx + 4]
inc esi
test ecx, ecx
jne 0x421d00
cmp edx, esi
jge 0x421d10
test edx, edx
jns 0x421d24
mov ecx, dword [ebp - 8]
xor eax, eax
pop esi
push dword [eax + 0xc]
call fcn.00421d40
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
jle 0x421d2e
mov eax, dword [eax + 4]
sub edx, 1
jne 0x421d26
pop esi
push dword [eax + 0xc]
mov ecx, dword [ebp - 8]
call fcn.00421d40
pop edi
pop ebx
mov esp, ebp
pop ebp
ret