Function at 0x401330
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x28
cmp al, 1
push ebx
push ebp
push edi
jne 0x401358
push 0x404358
lea eax, [esi + 0xac]
push eax
push esi
mov eax, 0x404358
call fcn.00402640
mov bl, al
jmp 0x4015d2
cmp al, 2
jne 0x4013fe
mov al, byte [esi + 0xa6]
test al, al
je 0x40137e
cmp al, 1
jne 0x401375
mov eax, str.tlad
jmp 0x401383
cmp al, 2
mov eax, str.tbogt
je 0x401383
mov eax, str.original
push eax
push 0x40427c
mov eax, esi
call fcn.00402d40
push eax
push 0x40427c
push 0x40427c
call fcn.00401780
mov edi, eax
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4013a5
sub eax, edx
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov ebp, eax
mov eax, edi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4013d3
sub eax, edx
add eax, 1
push eax
push edi
push ebp
call dword [sym.imp.MSVCR80.dll_mbstowcs]
add esp, 0xc
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
lea eax, [esi + 0x1ac]
jmp 0x4015b6
cmp al, 3
jne 0x40149d
mov eax, dword [esi + 0xa8]
push 0x40427c
push eax
mov eax, esi
call fcn.00402d40
push eax
lea ecx, [esi + 0x64]
push ecx
lea edx, [esi + 0x24]
push edx
call fcn.00401780
mov ebp, eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401430
sub eax, edx
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov edi, eax
mov eax, ebp
add esp, 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401460
sub eax, edx
add eax, 1
push eax
push ebp
push edi
call dword [sym.imp.MSVCR80.dll_mbstowcs]
add esp, 0xc
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push str.Content_Type:_application_x_www_form_urlencoded__charsetutf_8_
lea eax, [esi + 0x2ac]
push eax
push esi
mov eax, edi
call fcn.00402640
push edi
jmp 0x4015c8
cmp al, 4
jne 0x40152b
mov eax, dword [esi + 0xa8]
push 0x40427c
push eax
mov eax, esi
call fcn.00402d40
push eax
push 0x40427c
lea ecx, [esi + 0x24]
push ecx
call fcn.00401780
mov edi, eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4014d0
sub eax, edx
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov ebp, eax
mov eax, edi
add esp, 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401500
sub eax, edx
add eax, 1
push eax
push edi
push ebp
call dword [sym.imp.MSVCR80.dll_mbstowcs]
add esp, 0xc
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
lea eax, [esi + 0x3ac]
jmp 0x4015b6
cmp al, 5
jne 0x4016b7
mov eax, dword [esi + 0xa8]
push 0x40427c
push eax
mov eax, esi
call fcn.00402d40
push eax
push 0x40427c
lea ecx, [esi + 0x24]
push ecx
call fcn.00401780
mov edi, eax
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401560
sub eax, edx
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov ebp, eax
mov eax, edi
add esp, 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401590
sub eax, edx
add eax, 1
push eax
push edi
push ebp
call dword [sym.imp.MSVCR80.dll_mbstowcs]
add esp, 0xc
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
lea eax, [esi + 0x4ac]
add esp, 4
push str.Content_Type:_application_x_www_form_urlencoded__charsetutf_8_
push eax
push esi
mov eax, ebp
call fcn.00402640
push ebp
mov bl, al
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
test bl, bl
je 0x4016b7
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov edi, eax
mov byte [esp + 0xf], 0
lea esp, [esp]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0xe0]
call eax
mov ebx, 4
cmp dword [esp + 0x10], ebx
jge 0x401619
call ebp
sub eax, edi
cmp eax, 0x3a98
jb 0x401631
cmp byte [esp + 0xf], 0
je 0x4016b7
call ebp
sub eax, edi
cmp eax, 1
jae 0x4016b7
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x401681
mov eax, dword [esp + 0x1c]
cmp eax, 0x12
je 0x40167a
cmp eax, 2
je 0x40167a
cmp eax, 0x82
je 0x40167a
cmp eax, 0x10
je 0x40167a
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x401681
mov byte [esi + 0xa4], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0xe0]
call eax
cmp dword [esp + 0x14], ebx
jl 0x4016aa
cmp byte [esp + 0xf], 0
jne 0x4016aa
call ebp
mov edi, eax
mov byte [esp + 0xf], 1
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4015f0
pop edi
pop ebp
pop ebx
add esp, 0x28
ret