Function at 0x40c290
Capabilities:
Check for time delay via gettickcount
Create directory
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ff64
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x476018]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x476018]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c2f0
sub eax, edx
mov edi, eax
mov eax, ebx
lea esi, [esp + 0x20]
call fcn.00401390
lea eax, [esp + 0x14]
push eax
mov edi, esi
mov eax, 0x47934c
mov dword [esp + 0x274], 0
call fcn.0040cfd0
mov dword [esp + 0x270], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x40c342
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 1
cmp dword [0x479b78], eax
jne 0x40c929
mov esi, dword [esp + 0x14]
cmp esi, dword [0x479350]
jne 0x40c36e
cmp dword [0x479b58], 0
setne al
jmp 0x40c951
cmp word [esi + 0x3c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jbe 0x40c3c0
cmp word [esi + 0x58], ax
je 0x40c392
call edi
sub eax, dword [esi + 0x40]
cmp eax, dword [0x479b5c]
jbe 0x40c467
push ebx
xor edx, edx
push str._m_kha_IP:__s
mov word [esi + 0x3c], dx
push 2
mov ecx, 0x479360
mov dword [esi + 0x40], edx
call fcn.0040dbd0
add esp, 0xc
push ebx
push str._m_kha_IP:__s
push 1
call fcn.00417be0
add esp, 0xc
cmp word [esi + 0x58], 0
jne 0x40c46e
cmp dword [esi + 0x54], 0
je 0x40c46e
call edi
sub eax, dword [esi + 0x54]
cmp eax, 0x3e8
jae 0x40c46e
mov eax, 1
mov word [esi + 0x3c], ax
call edi
push ebx
push str.Pht_hin_du_hiu_yu_cu_lin_tc_t_IP:__s
push 2
mov ecx, 0x479360
mov dword [esi + 0x40], eax
call fcn.0040dbd0
mov eax, 0x10624dd3
imul dword [0x479b5c]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add esp, 0xc
add ecx, edx
push ecx
push str.Tm_kha__d_giy_s_t_m_li_
push 2
mov ecx, 0x479360
call fcn.0040dbd0
add esp, 0xc
push ebx
push str.Pht_hin_du_hiu_yu_cu_lin_tc_t_IP:__s
push 1
call fcn.00417be0
mov eax, 0x10624dd3
imul dword [0x479b5c]
sar edx, 6
mov eax, edx
add esp, 0xc
shr eax, 0x1f
add eax, edx
push eax
push str.Tm_kha__d_giy_s_t_m_li_
push 1
call fcn.00417be0
add esp, 0xc
xor al, al
jmp 0x40c951
call edi
mov dword [esi + 0x54], eax
movzx ecx, word [esi + 0x38]
mov eax, dword [0x479b58]
cmp ecx, eax
jl 0x40c4ff
cmp word [esi + 0x58], 0
jne 0x40c467
mov edx, 1
mov word [esi + 0x3c], dx
call edi
push ebx
push str.Pht_hin_du_hiu_yu_cu_lin_tc_t_IP:__s
push 2
mov ecx, 0x479360
mov dword [esi + 0x40], eax
call fcn.0040dbd0
mov eax, 0x10624dd3
imul dword [0x479b5c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add esp, 0xc
add eax, edx
push eax
push str.Tm_kha__d_giy_s_t_m_li_
push 2
mov ecx, 0x479360
call fcn.0040dbd0
add esp, 0xc
push ebx
push str.Pht_hin_du_hiu_yu_cu_lin_tc_t_IP:__s
push 1
call fcn.00417be0
mov eax, 0x10624dd3
imul dword [0x479b5c]
sar edx, 6
mov ecx, edx
add esp, 0xc
shr ecx, 0x1f
add ecx, edx
push ecx
jmp 0x40c458
cmp esi, dword [0x479350]
jne 0x40c513
xor edx, edx
test eax, eax
setne al
jmp 0x40c951
mov eax, dword [esi + 0x44]
test eax, eax
je 0x40c522
mov dword [esi + 0x48], eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x48]
xor ecx, ecx
cmp eax, 0x1388
setl cl
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
je 0x40c861
movzx edx, word [esi + 0x38]
cmp edx, dword [0x479b58]
jle 0x40c85a
mov eax, 1
mov word [esi + 0x3c], ax
call edi
push ebx
push str.FLOOD_ATTEMPT_DETECTED___BAN_IP:__s
mov dword [esi + 0x40], eax
inc word [esi + 0x3a]
push 2
mov ecx, 0x479360
call fcn.0040dbd0
add esp, 0xc
push ebx
push str.FLOOD_ATTEMPT_DETECTED___BAN_IP:__s
push 1
call fcn.00417be0
movzx eax, word [esi + 0x3a]
add esp, 0xc
cmp eax, 0x3c
ja 0x40c5a7
push ebx
push eax
push str._WARNING_FLOOD_ATTEMPT___02d__DETECTED___TEMPORAL_BANNED_IP:__s
push 1
call fcn.00417be0
add esp, 0x10
xor al, al
jmp 0x40c951
push 0
push str.LOGFLOOD_ATTEMPS_LOG
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40c5d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40c5d3
push str.LOGFLOOD_ATTEMPS_LOG
call dword [sym.imp.MSVCR100.dll__mkdir]
add esp, 4
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.MSVCR100.dll__time64]
lea eax, [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__localtime64]
add esp, 4
push 0x103
lea ecx, [esp + 0x159]
push 0
push ecx
mov esi, eax
mov byte [esp + 0x160], 0
call sub.MSVCR100.dll_memset
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
add esp, 0xc
push edx
inc eax
push eax
add ecx, 0x76c
push ecx
lea edx, [esp + 0x160]
push str..FLOOD_ATTEMPS_LOG_04d__02d__02d.txt
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
lea eax, [esp + 0x154]
push 0x46f3d0
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x40c843
push ebx
push 0x46f3d4
push edi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
mov eax, 0x46d773
lea ecx, [esp + 0x11c]
call fcn.00401040
mov eax, str.GameGuard_Server
lea ecx, [esp + 0xac]
mov dword [esp + 0x270], 1
call fcn.00401040
mov eax, ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0x270], 2
call fcn.00401040
lea ecx, [esp + 0x74]
push str.IP__
push ecx
lea ebx, [esp + 0x98]
mov byte [esp + 0x278], 3
call fcn.0040d300
push eax
mov eax, str.__BLOCKED_IN
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 4
call fcn.0040d3d0
add esp, 0xc
mov ecx, eax
lea eax, [esp + 0xac]
lea ebx, [esp + 0x58]
mov byte [esp + 0x270], 5
call fcn.0040d420
lea esi, [esp + 0x20]
call fcn.0040cb60
lea esi, [esp + 0x74]
mov byte [esp + 0x270], 8
call fcn.0040cb60
lea edx, [esp + 0x138]
push str.netsh_advfirewall_firewall_delete_rule_name_
push edx
call fcn.0040d300
push eax
mov eax, 0x46f404
lea ecx, [esp + 0xd4]
mov byte [esp + 0x27c], 9
call fcn.0040d3d0
add esp, 0xc
lea esi, [esp + 0x138]
mov byte [esp + 0x270], 0xb
call fcn.0040cb60
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x104]
push ecx
call fcn.0040d460
mov ecx, eax
mov eax, ebx
lea ebx, [esp + 0xec]
mov byte [esp + 0x278], 0xc
call fcn.0040d420
push eax
mov eax, str.__dirin_interfaceany_actionblock_remoteip
lea ecx, [esp + 0x80]
mov byte [esp + 0x27c], 0xd
call fcn.0040d3d0
add esp, 0xc
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov byte [esp + 0x274], 0xe
call fcn.0040d3d0
add esp, 4
lea esi, [esp + 0x74]
call fcn.0040cb60
mov esi, ebx
call fcn.0040cb60
lea esi, [esp + 0x100]
call fcn.0040cb60
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x40c7e9
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
lea esi, [esp + 0x3c]
call fcn.0040cb60
lea esi, [esp + 0xc8]
call fcn.0040cb60
lea esi, [esp + 0x58]
call fcn.0040cb60
lea esi, [esp + 0x90]
call fcn.0040cb60
lea esi, [esp + 0xac]
call fcn.0040cb60
lea esi, [esp + 0x11c]
call fcn.0040cb60
mov ebx, dword [esp + 0x10]
push ebx
push str._BLOCKED__FLOOD_ATTEMPTS_MAX_EXCEEDED___FIREWALL_IP_BANNED:__s
push 1
call fcn.00417be0
add esp, 0xc
xor al, al
jmp 0x40c951
mov al, 1
jmp 0x40c951
cmp dword [esi + 0x40], 0
je 0x40c8bc
call edi
sub eax, dword [esi + 0x40]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xea60
jle 0x40c8bc
push ebx
push str.IP_IS_UNBAN:__s
push 2
mov ecx, 0x479360
call fcn.0040dbd0
mov eax, 0x10624dd3
imul dword [0x479b5c]
sar edx, 6
mov eax, edx
add esp, 0xc
shr eax, 0x1f
add eax, edx
push eax
push ebx
push 0x46f4e8
push 1
call fcn.00417be0
add esp, 0x10
xor ecx, ecx
mov word [esi + 0x3c], cx
mov dword [esi + 0x40], ecx
movzx edx, word [esi + 0x3a]
cmp edx, dword [0x479b58]
jle 0x40c910
call edi
sub eax, dword [esi + 0x50]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x2710
jge 0x40c910
mov eax, 1
mov word [esi + 0x3c], ax
call edi
push ebx
push str.FLOOD_ATTEMPT_DETECTED___BAN_IP:__s
push 2
mov ecx, 0x479360
mov dword [esi + 0x40], eax
call fcn.0040dbd0
add esp, 0xc
push ebx
push str._BLOCKED__FLOOD_ATTEMPTS_MAX_EXCEEDED___FIREWALL_IP_BANNED:__s
push 1
call fcn.00417be0
add esp, 0xc
xor al, al
jmp 0x40c951
movzx ecx, word [esi + 0x38]
cmp ecx, dword [0x479b58]
jl 0x40c85a
call edi
mov dword [esi + 0x4c], eax
xor al, al
jmp 0x40c951
mov eax, dword [esp + 0x14]
cmp eax, dword [0x479350]
jne 0x40c942
xor eax, eax
cmp dword [0x479b58], eax
setne al
jmp 0x40c951
movzx edx, word [eax + 0x38]
xor eax, eax
cmp edx, dword [0x479b58]
setl al
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00418a8f
mov esp, ebp
pop ebp
ret