Function at 0x405358
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov dword [0x40a938], edi
jmp case.0x40537b.68
lea eax, [ebx - 0x41]
cmp eax, 0x37
ja case.0x40537b.70
movzx eax, byte [eax + 0x405794]
jmp dword [eax*4 + 0x405710]
mov cl, 0x1d
call fcn.004050b6
mov eax, dword [0x40ab04]
mov dword [0x40a9b4], eax
jmp case.0x40537b.68
mov cl, 0x1c
call fcn.004050b6
mov eax, dword [0x40ab04]
mov dword [0x40a97c], eax
mov byte [0x40a977], 1
jmp case.0x40537b.68
mov cl, 0x1e
call fcn.004050b6
push 1
xor edx, edx
mov cl, bl
call fcn.00401cf2
pop ecx
mov byte [0x40a975], al
jmp case.0x40537b.68
mov cl, 0xe
call fcn.004050b6
mov cl, 3
call fcn.004050b6
jmp case.0x40537b.68
xor edx, edx
mov cl, bl
push closesocket
inc edx
call fcn.00401cf2
pop ecx
mov dword [0x40a864], eax
mov cl, 4
jmp 0x4053db
xor edx, edx
mov cl, bl
push 0x258
inc edx
call fcn.00401cf2
pop ecx
mov dword [0x40a860], eax
mov cl, 5
jmp 0x4053db
mov eax, dword [0x40ab04]
mov cl, 6
mov dword [0x40a9a4], eax
jmp 0x4053db
mov ecx, dword [0x40ab04]
mov dword [0x40a9b0], ecx
cmp byte [ecx], 0x2d
jne case.0x40537b.68
movzx eax, byte [ecx + 1]
test al, al
jne case.0x40537b.68
mov dword [0x40a9b0], edi
jmp case.0x40537b.68
mov edx, dword [0x40ab04]
mov ecx, 0x40a868
call fcn.00401e6c
test eax, eax
je case.0x40537b.70
mov cl, 0x13
jmp 0x4053db
mov eax, dword [0x40ab04]
mov cl, 7
mov dword [0x40a99c], eax
jmp 0x4053db
cmp ebx, 0x76
mov cl, 8
sete byte [0x40a986]
jmp 0x4053db
mov cl, 0x12
call fcn.004050b6
push 3
xor edx, edx
mov cl, bl
call fcn.00401cf2
pop ecx
mov dword [0x40a994], eax
jmp case.0x40537b.68
inc byte [0x40a9ac]
jmp 0x4053d9
mov eax, dword [0x40ab04]
mov dword [0x40a9a8], eax
jmp case.0x40537b.68
mov eax, dword [0x40ab04]
mov dword [0x40a930], eax
jmp case.0x40537b.68
cmp byte [0x40a976], 0
jne case.0x40537b.70
cmp byte [0x40a83f], 0
jne case.0x40537b.68
mov byte [0x40a9ad], 1
jmp case.0x40537b.68
cmp byte [0x40a83f], 0
jne case.0x40537b.68
mov byte [0x40a9ad], 2
jmp case.0x40537b.68
push 3
xor edx, edx
mov cl, bl
call fcn.00401cf2
pop ecx
movsx eax, al
mov cl, 0x18
mov dword [0x40a988], eax
jmp 0x4053db
mov edx, dword [0x40ab04]
mov ecx, 0x40a984
call fcn.00401e6c
test eax, eax
je case.0x40537b.70
mov cl, 0x19
jmp 0x4053db
mov edx, dword [0x40ab04]
mov ecx, 0x40a98e
call fcn.00401e6c
test eax, eax
je case.0x40537b.70
mov cl, 0x1b
jmp 0x4053db
mov edx, dword [0x40ab04]
mov ecx, 0x40a987
call fcn.00401e6c
test eax, eax
je case.0x40537b.70
mov cl, 0x1a
jmp 0x4053db
mov byte [0x40a992], 1
jmp case.0x40537b.68
push 2
xor edx, edx
mov cl, bl
call fcn.00401cf2
pop ecx
mov byte [0x40a83d], al
mov cl, 1
jmp 0x4053db
push 0x7fff
xor edx, edx
mov cl, bl
call fcn.00401cf2
pop ecx
mov word [0x40a990], ax
mov cl, 2
jmp 0x4053db
push 0xffff
xor edx, edx
mov cl, bl
call fcn.00401cf2
pop ecx
mov word [0x40a98c], ax
mov cl, 0x14
jmp 0x4053db
mov dl, bl
call fcn.004049d6
mov dword [0x40a858], eax
mov cl, 0xa
jmp 0x4053db
mov dl, bl
call fcn.004049d6
mov dword [0x40a85c], eax
mov cl, 9
jmp 0x4053db
cmp ebx, 0x64
mov cl, 0xb
sete byte [0x40a993]
jmp 0x4053db
mov edx, dword [0x40ab04]
mov ecx, 0x40a83e
call fcn.00401e6c
test eax, eax
je case.0x40537b.70
mov byte [0x40a985], 1
mov cl, 0xf
jmp 0x4053db
mov edx, dword [0x40ab04]
mov ecx, 0x40a869
call fcn.00401e6c
test eax, eax
je case.0x40537b.70
mov cl, 0x10
jmp 0x4053db
cmp byte [0x40a83f], 0
je 0x4056ad
push ecx
call fcn.00405edc
mov ebx, eax
pop ecx
test ebx, ebx
jg 0x405368
mov eax, dword [0x40a934]
cmp eax, dword [0x40ab3c]
jne case.0x40537b.70
cmp dword [0x40a9a8], edi
jne 0x4056a0
mov eax, dword [0x40a930]
cmp byte [eax], 0
je 0x4056a9
cmp byte [0x40a9ad], 1
jne case.0x40537b.70
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0x20
push str.1114_dev_39_gb646710__built_2023_08_28_23:23:37_UTC
push str.vlmcsd__s__i_bit_n
call esi
add esp, 0xc
push 0x9eb5
push edi
push 0x12
push str.Compiler:_VC__02i._02i_build__i_n
call esi
push str.little_endian
push str._Intel_x86_Windows32
push str.Intended_platform:_s__s_n
call esi
add esp, 0x1c
push str.__CRYPTO_WINDOWS
push str.Common_flags:_s_n
call esi
push str._NO_SIGHUP_THREADS1_SUPPORT_WINE_NO_FREEBIND
push str.vlmcsd_flags:_s_n
call esi
add esp, 0x10
push edi
call dword [sym.imp.msvcrt.dll_exit]
call fcn.0040498c
mov edi, edi
invalid