Function at 0x405b50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
cmp esi, 0x11
ja case.0x405b6d.2
movzx eax, byte [esi + 0x405d94]
jmp dword [eax*4 + 0x405d88]
mov ecx, dword [ebx + 0x1a0]
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 3
lea eax, [ecx + 1]
mov dword [ebx + 0x1a0], eax
nop
lea eax, [edi + ecx]
mov ecx, 3
cdq
idiv ecx
mov eax, dword [ebx + 0x1a4]
mov ecx, dword [edx*4 + 0x413f4c]
shl ecx, 4
add ecx, ebx
cmp dword [ecx + 0x10], eax
jge 0x405beb
cmp esi, 9
je 0x405be5
cmp esi, 0x11
jne 0x405be5
mov eax, dword [ecx + 8]
cmp eax, 2
je 0x405bdf
cmp eax, 5
je 0x405bdf
cmp eax, 3
je 0x405bdf
test eax, eax
jne 0x405beb
mov eax, dword [ecx + 0xc]
cmp eax, 6
je 0x405beb
cmp eax, 7
je 0x405beb
mov eax, dword [ebx + 0x1a4]
cmp dword [ecx + 0x14], 0
je 0x405bf6
inc edi
cmp edi, 3
jge 0x405c08
mov ecx, dword [ebp - 8]
jmp 0x405b90
cmp dword [ecx + 0x10], eax
jge 0x405bfe
mov dword [ecx + 0x10], eax
lea eax, [ecx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 8]
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + edi]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebx + 0x1a4]
mov edx, dword [edx*4 + 0x413f4c]
shl edx, 4
add edx, ebx
cmp dword [edx + 0x10], eax
jge 0x405c67
cmp esi, 9
je 0x405c61
cmp esi, 0x11
jne 0x405c61
mov eax, dword [edx + 8]
cmp eax, 2
je 0x405c5b
cmp eax, 5
je 0x405c5b
cmp eax, 3
je 0x405c5b
test eax, eax
jne 0x405c67
mov eax, dword [edx + 0xc]
cmp eax, 6
je 0x405c67
cmp eax, 7
je 0x405c67
mov eax, dword [ebx + 0x1a4]
cmp dword [edx + 0x14], 0
jne 0x405c94
inc ecx
cmp ecx, 3
jl 0x405c10
push 0x3a7
push 0
push str.JIT_ERROR__d__jit.c_line__d__n
call fcn.00401010
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x405c8c
int3
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp dword [edx + 0x10], eax
jge 0x405c9c
mov dword [edx + 0x10], eax
mov ecx, dword [edx + 0x14]
lea eax, [edx + 8]
mov dword [ecx + 0xc], 0
mov dword [edx + 0x14], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x1a0]
xor ecx, ecx
mov edx, dword [ebx + 0x1a4]
lea eax, [esi + 1]
mov dword [ebx + 0x1a0], eax
nop
lea eax, [esi + ecx]
and eax, 0x80000007
jns 0x405cdf
dec eax
or eax, 0xfffffff8
inc eax
shl eax, 4
add eax, 0x88
add eax, ebx
cmp dword [eax + 8], edx
jge 0x405cf4
cmp dword [eax + 0xc], 0
je 0x405d2f
inc ecx
cmp ecx, 8
jl 0x405cd0
xor ecx, ecx
nop dword [eax]
lea eax, [esi + ecx]
and eax, 0x80000007
jns 0x405d0f
dec eax
or eax, 0xfffffff8
inc eax
shl eax, 4
add eax, 0x88
add eax, ebx
cmp dword [eax + 8], edx
jge 0x405d24
cmp dword [eax + 0xc], 0
jne 0x405d42
inc ecx
cmp ecx, 8
jl 0x405d00
jmp 0x405c6d
cmp dword [eax + 8], edx
jge 0x405c01
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 8], edx
jge 0x405d4a
mov dword [eax + 8], edx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov dword [ecx + 0xc], 0
mov dword [eax + 0xc], 0
mov esp, ebp
pop ebp
ret
push 0x3a5
push esi
push str.JIT_ERROR__d__jit.c_line__d__n
call fcn.00401010
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x405d80
int3
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
je 0x405de5
inc eax
add byte [edi + 0x6200405c], dh
pop ebp
inc eax
add byte [eax], al
add dword [edx], eax
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add byte [edx], al
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add ah, cl
int3
clc
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x405df7
lea esi, [eax + 0x10]
cmp esi, edx
je 0x405e33
cmp dword [eax + 4], 0
je 0x405e33
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x405e0f
mov dword [ecx + 0xc], 0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x405e1f
mov dword [ecx + 0xc], 0
mov esi, edx
mov dword [edx + 0xc], eax
mov ecx, edi
push dword [eax + 4]
mov dword [eax + 0xc], edx
push esi
call fcn.00406190
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret