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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f8d4
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 0x40b810
sub eax, edx
mov edi, eax
mov eax, ebx
lea esi, [esp + 0x20]
call fcn.004013c0
lea eax, [esp + 0x14]
push eax
mov edi, esi
mov eax, 0x47934c
mov dword [esp + 0x274], 0
call fcn.0040c4c0
mov dword [esp + 0x270], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x40b862
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 0x40be49
mov esi, dword [esp + 0x14]
cmp esi, dword [0x479350]
jne 0x40b88e
cmp dword [0x479b58], 0
setne al
jmp 0x40be71
cmp word [esi + 0x3c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jbe 0x40b8e0
cmp word [esi + 0x58], ax
je 0x40b8b2
call edi
sub eax, dword [esi + 0x40]
cmp eax, dword [0x479b5c]
jbe 0x40b987
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.0040d0c0
add esp, 0xc
push ebx
push str._m_kha_IP:__s
push 1
call fcn.00417090
add esp, 0xc
cmp word [esi + 0x58], 0
jne 0x40b98e
cmp dword [esi + 0x54], 0
je 0x40b98e
call edi
sub eax, dword [esi + 0x54]
cmp eax, 0x3e8
jae 0x40b98e
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.0040d0c0
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.0040d0c0
add esp, 0xc
push ebx
push str.Pht_hin_du_hiu_yu_cu_lin_tc_t_IP:__s
push 1
call fcn.00417090
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.00417090
add esp, 0xc
xor al, al
jmp 0x40be71
call edi
mov dword [esi + 0x54], eax
movzx ecx, word [esi + 0x38]
mov eax, dword [0x479b58]
cmp ecx, eax
jl 0x40ba1f
cmp word [esi + 0x58], 0
jne 0x40b987
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.0040d0c0
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.0040d0c0
add esp, 0xc
push ebx
push str.Pht_hin_du_hiu_yu_cu_lin_tc_t_IP:__s
push 1
call fcn.00417090
mov eax, 0x10624dd3
imul dword [0x479b5c]
sar edx, 6
mov ecx, edx
add esp, 0xc
shr ecx, 0x1f
add ecx, edx
push ecx
jmp 0x40b978
cmp esi, dword [0x479350]
jne 0x40ba33
xor edx, edx
test eax, eax
setne al
jmp 0x40be71
mov eax, dword [esi + 0x44]
test eax, eax
je 0x40ba42
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 0x40bd81
movzx edx, word [esi + 0x38]
cmp edx, dword [0x479b58]
jle 0x40bd7a
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.0040d0c0
add esp, 0xc
push ebx
push str.FLOOD_ATTEMPT_DETECTED___BAN_IP:__s
push 1
call fcn.00417090
movzx eax, word [esi + 0x3a]
add esp, 0xc
cmp eax, 0x3c
ja 0x40bac7
push ebx
push eax
push str._WARNING_FLOOD_ATTEMPT___02d__DETECTED___TEMPORAL_BANNED_IP:__s
push 1
call fcn.00417090
add esp, 0x10
xor al, al
jmp 0x40be71
push 0
push str.LOGFLOOD_ATTEMPS_LOG
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40baf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40baf3
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 0x46f378
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x40bd63
push ebx
push 0x46f37c
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.0040c7f0
push eax
mov eax, str.__BLOCKED_IN
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 4
call fcn.0040c8c0
add esp, 0xc
mov ecx, eax
lea eax, [esp + 0xac]
lea ebx, [esp + 0x58]
mov byte [esp + 0x270], 5
call fcn.0040c910
lea esi, [esp + 0x20]
call fcn.00401080
lea esi, [esp + 0x74]
mov byte [esp + 0x270], 8
call fcn.00401080
lea edx, [esp + 0x138]
push str.netsh_advfirewall_firewall_delete_rule_name_
push edx
call fcn.0040c7f0
push eax
mov eax, 0x46f3ac
lea ecx, [esp + 0xd4]
mov byte [esp + 0x27c], 9
call fcn.0040c8c0
add esp, 0xc
lea esi, [esp + 0x138]
mov byte [esp + 0x270], 0xb
call fcn.00401080
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x104]
push ecx
call fcn.0040c950
mov ecx, eax
mov eax, ebx
lea ebx, [esp + 0xec]
mov byte [esp + 0x278], 0xc
call fcn.0040c910
push eax
mov eax, str.__dirin_interfaceany_actionblock_remoteip
lea ecx, [esp + 0x80]
mov byte [esp + 0x27c], 0xd
call fcn.0040c8c0
add esp, 0xc
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov byte [esp + 0x274], 0xe
call fcn.0040c8c0
add esp, 4
lea esi, [esp + 0x74]
call fcn.00401080
mov esi, ebx
call fcn.00401080
lea esi, [esp + 0x100]
call fcn.00401080
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x40bd09
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.00401080
lea esi, [esp + 0xc8]
call fcn.00401080
lea esi, [esp + 0x58]
call fcn.00401080
lea esi, [esp + 0x90]
call fcn.00401080
lea esi, [esp + 0xac]
call fcn.00401080
lea esi, [esp + 0x11c]
call fcn.00401080
mov ebx, dword [esp + 0x10]
push ebx
push str._BLOCKED__FLOOD_ATTEMPTS_MAX_EXCEEDED___FIREWALL_IP_BANNED:__s
push 1
call fcn.00417090
add esp, 0xc
xor al, al
jmp 0x40be71
mov al, 1
jmp 0x40be71
cmp dword [esi + 0x40], 0
je 0x40bddc
call edi
sub eax, dword [esi + 0x40]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xea60
jle 0x40bddc
push ebx
push str.IP_IS_UNBAN:__s
push 2
mov ecx, 0x479360
call fcn.0040d0c0
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 0x46f490
push 1
call fcn.00417090
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 0x40be30
call edi
sub eax, dword [esi + 0x50]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x2710
jge 0x40be30
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.0040d0c0
add esp, 0xc
push ebx
push str._BLOCKED__FLOOD_ATTEMPTS_MAX_EXCEEDED___FIREWALL_IP_BANNED:__s
push 1
call fcn.00417090
add esp, 0xc
xor al, al
jmp 0x40be71
movzx ecx, word [esi + 0x38]
cmp ecx, dword [0x479b58]
jl 0x40bd7a
call edi
mov dword [esi + 0x4c], eax
xor al, al
jmp 0x40be71
mov eax, dword [esp + 0x14]
cmp eax, dword [0x479350]
jne 0x40be62
xor eax, eax
cmp dword [0x479b58], eax
setne al
jmp 0x40be71
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.004183ef
mov esp, ebp
pop ebp
ret