Function at 0x40a57d
Capabilities:
Get hostname
Terminate process

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [0x97697c], eax
mov dword [esp + 0x10], 0x2eea
mov dword [esp], 0x2fa9
mov dword [esp + 8], 0x36f2
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 0x270f
push ebx
mov dword [esp + 8], 0x20d0
mov eax, dword [esp + 0x10]
push ebp
add eax, 0x353e
mov ebp, 0x976898
push esi
push edi
cmp dword [esp + 0x20], eax
jge 0x40a636
add dword [esp + 0x18], 0xffffef35
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
add ebx, 0x395
mov esi, dword [esp + 0x20]
sub edi, 0x63f
mov edx, dword [esp + 0x30]
add esi, 0x573
mov ecx, dword [esp + 0x14]
add edx, 0xfe3
mov eax, dword [esp + 0x14]
sub ecx, 0x492
add eax, 0x9bc
push eax
push ecx
push edx
push esi
push edi
push ebp
push ebx
call fcn.0040b654
mov dword [esp + 0x2c], eax
add esp, 0x1c
xor dword [esp + 0x10], 0xa7f
xor dword [esp + 0x20], 0xe3a
mov eax, dword [esp + 0x14]
add eax, 0x1622
cmp dword [esp + 0x10], eax
je 0x40a79d
xor dword [esp + 0x14], 0xa5c
dec dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
add dword [esp + 0x30], 0xd4e
add dword [esp + 0x10], 0x286
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
sub ebx, 0x3f7
mov esi, dword [esp + 0x14]
add edi, 0x3034
mov edx, dword [esp + 0x30]
xor esi, 0x1fb2
mov ecx, dword [esp + 0x1c]
xor edx, 0x1bf5
mov eax, dword [esp + 0x30]
add ecx, 0x1c3e
sub eax, 0x181f
push eax
push ecx
push ebp
push edx
push esi
push edi
push ebx
call fcn.004091f6
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x4c]
add ebp, 0xe1
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
sub edi, 0x626
mov ecx, dword [esp + 0x3c]
sub esi, 0x827
mov eax, dword [esp + 0x2c]
add ecx, 0x330
mov edx, dword [0x93113c]
xor eax, 0x19d9
push eax
push ecx
push edx
push esi
push edi
push ebx
push ebp
call fcn.00409419
mov dword [esp + 0x48], eax
mov ebp, 0x976898
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x50]
xor esi, 0x1a6a
mov ecx, dword [esp + 0x4c]
xor edx, 0x36a
mov eax, dword [esp + 0x4c]
add ecx, 0x460
xor eax, 0x1ab8
push eax
push ecx
push ebp
push edx
push esi
call fcn.0040765b
mov dword [esp + 0x64], eax
add esp, 0x4c
xor dword [esp + 0x1c], 0x2bf7
xor dword [esp + 0x30], 0x16a
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x30]
xor ebx, 0x1310
mov esi, dword [esp + 0x20]
sub edi, 0x503
mov edx, dword [esp + 0x1c]
add esi, 0xed9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
sub ecx, 0x15f0
push ebp
sub eax, 0x5d0
push eax
push ecx
push edx
push esi
push edi
push ebx
call fcn.00409af4
add esp, 0x1c
mov dword [esp + 0x30], eax
jmp 0x40a86f
mov eax, dword [0x93113c]
mov ecx, dword [esp + 0x30]
and ecx, dword [eax + 0x60]
cmp dword [esp + 0x20], ecx
jne 0x40a7e8
mov eax, dword [0x93113c]
mov ecx, dword [eax + 0xac]
and ecx, dword [eax + 0x80]
imul eax, dword [esp + 0x14], 0x3034
xor dword [0x97693c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
mov eax, 0xffffdc00
or ecx, dword [esp + 0x10]
sub eax, ecx
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov ecx, dword [0x976974]
mov edi, dword [0x93113c]
sub ecx, eax
mov eax, dword [esp + 0x1c]
add ebp, ecx
mov edx, dword [esp + 0x14]
add eax, 0xffffd057
imul ecx, dword [0x976960], 0x2bf7
or edx, eax
mov eax, dword [esp + 0x30]
add eax, dword [0x976914]
mov esi, dword [0x9768c4]
or eax, 0x3034
mov ebx, dword [0x9768b8]
xor esi, 0x2eea
sub ebx, dword [edi + 0x58]
push eax
push ecx
push edx
push esi
push edi
push ebx
push ebp
call fcn.0040938e
mov ecx, dword [0x93113c]
add esp, 0x1c
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 0x2c]
sub ecx, eax
mov eax, dword [esp + 0x10]
xor eax, ecx
xor eax, dword [0x976904]
mov dword [esp + 0x10], eax
mov eax, dword [0x93113c]
push dword [eax + 0xc0]
call dword [sym.imp.KERNEL32.dll_ExitProcess]