Function at 0x404a90
Capabilities:
Check for time delay via gettickcount
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x423719
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x42d518]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x42d518]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x30], 0xf
cmp byte [edi], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
jne 0x404af1
xor eax, eax
jmp 0x404aff
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404af6
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.00401530
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, 0x432a80
call fcn.00405430
cmp dword [esp + 0x30], 0x10
jb 0x404b31
push dword [esp + 0x1c]
call fcn.0040dfec
add esp, 4
mov esi, dword [esp + 0x14]
cmp esi, dword [0x432a80]
jne 0x404b4d
xor eax, eax
cmp dword [0x432f48], eax
setne al
jmp 0x404ee7
mov eax, dword [esi + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x404b62
mov dword [esi + 0x48], eax
call ebx
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x44]
sub ecx, dword [esi + 0x48]
xor eax, eax
cmp ecx, 0x3e8
setl al
cdq
xor eax, edx
sub eax, edx
je 0x404e5d
movzx eax, word [esi + 0x38]
cmp eax, dword [0x432f48]
jle 0x404ee5
mov eax, 1
mov word [esi + 0x3c], ax
call ebx
mov dword [esi + 0x40], eax
inc word [esi + 0x3a]
mov ax, word [esi + 0x3a]
cmp ax, 0x3c
ja 0x404bc5
movzx eax, ax
push edi
push eax
push str._WARNING_FLOOD_ATTEMPT___02d__DETECTED___TEMPORAL_BANNED_IP:__s
push 1
call fcn.0040c860
add esp, 0x10
xor al, al
jmp 0x404ee7
push 0
push str..FLOOD_ATTEMPS_LOG
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x404bf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x404bf0
push str..FLOOD_ATTEMPS_LOG
call fcn.0040ee60
add esp, 4
lea eax, [esp + 0x14]
push eax
call fcn.0040eea0
lea eax, [esp + 0x18]
push eax
call fcn.0040eeef
push 0x103
mov esi, eax
lea eax, [esp + 0x131]
push 0
push eax
mov byte [esp + 0x138], 0
call fcn.00411d60
push dword [esi + 0xc]
mov eax, dword [esi + 0x10]
inc eax
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [esp + 0x144]
push str..FLOOD_ATTEMPS_LOG_04d__02d__02d.txt
push eax
call fcn.0040cfb7
lea eax, [esp + 0x14c]
push 0x428d9c
push eax
call fcn.0040dcf4
mov esi, eax
add esp, 0x30
test esi, esi
je 0x404e46
push edi
push 0x428da0
push esi
call fcn.0040f18c
add esp, 0xc
lea ecx, [esp + 0xf4]
push 0x4286b7
call fcn.00401270
push str.MHP_Server
lea ecx, [esp + 0x80]
mov dword [esp + 0x244], 0
call fcn.00401270
push edi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x244], 1
call fcn.00401270
lea eax, [esp + 0xac]
push eax
mov edx, str.IP__
lea ecx, [esp + 0x68]
mov byte [esp + 0x244], 2
call fcn.00405820
push str.__BLOCKED_IN
mov edx, eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x248], 3
call fcn.00405910
lea ecx, [esp + 0x84]
push ecx
mov edx, eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x24c], 4
call fcn.004059b0
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.004012d0
lea ecx, [esp + 0x64]
mov byte [esp + 0x240], 7
call fcn.004012d0
lea eax, [esp + 0x4c]
push eax
mov edx, str.netsh_advfirewall_firewall_delete_rule_name_
lea ecx, [esp + 0x110]
call fcn.00405820
push 0x428dc8
mov edx, eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x248], 8
call fcn.00405910
add esp, 8
lea ecx, [esp + 0x10c]
mov byte [esp + 0x240], 0xa
call fcn.004012d0
push ecx
lea edx, [esp + 0x98]
lea ecx, [esp + 0xe0]
call fcn.00405a30
lea ecx, [esp + 0x50]
push ecx
mov edx, eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x248], 0xb
call fcn.004059b0
push str.__dirin_interfaceany_actionblock_remoteip
mov edx, eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x24c], 0xc
call fcn.00405910
push edi
mov edx, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x250], 0xd
call fcn.00405910
add esp, 0x10
lea ecx, [esp + 0x64]
call fcn.004012d0
lea ecx, [esp + 0xc4]
call fcn.004012d0
lea ecx, [esp + 0xdc]
call fcn.004012d0
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
call fcn.0040f2a7
push esi
call fcn.0040e27d
add esp, 8
lea ecx, [esp + 0x34]
call fcn.004012d0
lea ecx, [esp + 0x94]
call fcn.004012d0
lea ecx, [esp + 0x4c]
call fcn.004012d0
lea ecx, [esp + 0xac]
call fcn.004012d0
lea ecx, [esp + 0x7c]
call fcn.004012d0
lea ecx, [esp + 0xf4]
call fcn.004012d0
push edi
push str._BLOCKED__FLOOD_ATTEMPTS_MAX_EXCEEDED___FIREWALL_IP_BANNED:__s
push 1
call fcn.0040c860
add esp, 0xc
xor al, al
jmp 0x404ee7
cmp dword [esi + 0x40], 0
je 0x404e8d
call ebx
sub eax, dword [esi + 0x40]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xea60
jle 0x404e8d
push edi
push str._WARNING__FLOOD_ATTEMPT___TEMPORAL_IP_BANNED_IS_UNBANNED:__s
push 1
call fcn.0040c860
add esp, 0xc
xor eax, eax
mov word [esi + 0x3c], ax
mov dword [esi + 0x40], eax
movzx eax, word [esi + 0x3a]
mov ecx, dword [0x432f48]
cmp eax, ecx
jle 0x404ed4
call ebx
sub eax, dword [esi + 0x50]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x2710
jge 0x404ece
mov eax, 1
mov word [esi + 0x3c], ax
call ebx
push edi
push str._BLOCKED__FLOOD_ATTEMPTS_MAX_EXCEEDED___FIREWALL_IP_BANNED:__s
push 1
mov dword [esi + 0x40], eax
call fcn.0040c860
add esp, 0xc
xor al, al
jmp 0x404ee7
mov ecx, dword [0x432f48]
movzx eax, word [esi + 0x38]
cmp eax, ecx
jl 0x404ee5
call ebx
mov dword [esi + 0x4c], eax
xor al, al
jmp 0x404ee7
mov al, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0040cf20
mov esp, ebp
pop ebp
ret 4