Function at 0x4ec19d
Capabilities:
Check for time delay via gettickcount
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x60
lea ebp, [esp - 4]
mov eax, dword [0x70b744]
xor eax, ebp
mov dword [ebp + 0x60], eax
push 0x1c4
mov eax, 0x5da105
call fcn.005234e3
mov esi, ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp + 0x74]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x19], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x7530
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x7c], ebx
jbe 0x4ec1f6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 0x7c]
mov dword [ebp - 0x24], eax
cmp edi, ebx
je 0x4ec1ff
mov dword [ebp - 0x34], edi
jmp 0x4ec222
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], eax
jmp 0x4ec222
cmp byte [esi + 0x248], bl
jne 0x4ec232
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x24]
jae 0x4ec22a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x294], bl
je 0x4ec207
cmp byte [esi + 0x248], bl
je 0x4ec23a
or eax, 0xffffffff
jmp 0x4ec98d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x24]
jb 0x4ec273
push esi
push ebx
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x30], esp
push ebx
push 0x67cff4
call fcn.004ac9bc
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, 0x721f18
call fcn.004bc4ff
xor eax, eax
inc eax
jmp 0x4ec98d
mov dword [ebp - 0x20], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0x70]
jae 0x4ec8ea
cmp byte [esi + 0x248], bl
jne 0x4ec8ea
cmp dword [ebp - 0x14], ebx
je 0x4ec2a2
cmp dword [ebp - 0x14], edi
jne 0x4ec8ea
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x24]
jae 0x4ec8ea
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x368], ebx
jne 0x4ec6dc
cmp byte [ebp - 0x19], bl
jne 0x4ec425
mov dword [ebp - 0x40], 0x67cff0
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp + 0x38]
call fcn.0041214e
mov byte [ebp - 4], 2
push str._dout.aspx_s
lea ecx, [ebp + 0x38]
call fcn.0041c0b8
lea eax, [esi + 0x178]
push eax
lea ecx, [ebp + 0x38]
call fcn.0041c0b8
lea eax, [esi + 0x198]
inc dword [eax]
mov eax, dword [eax]
push 0xa
lea ecx, [ebp + 0x54]
push ecx
push eax
call fcn.00542e74
add esp, 0xc
push 0x67c904
lea ecx, [ebp + 0x38]
call fcn.0041c0b8
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x38]
call fcn.0041c0b8
push str.clientDynGate
lea ecx, [ebp + 0x38]
call fcn.0041c0b8
mov eax, dword [esi + 0x36c]
cmp eax, ebx
je 0x4ec354
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0x36c], ebx
lea ecx, [ebp + 0x1c]
call fcn.0041214e
mov byte [ebp - 4], 3
cmp dword [esi + 0x158], 4
je 0x4ec3c4
mov eax, dword [ebp + 0x70]
cmp eax, dword [0x7223f8]
jae 0x4ec3c4
push eax
push dword [ebp - 0x2c]
lea eax, [ebp]
push eax
call fcn.004c24f9
add esp, 0xc
mov byte [ebp - 4], 4
push str.data
lea ecx, [ebp + 0x38]
call fcn.0041c0b8
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x38]
call fcn.0040f8d7
push 0x67cfe4
lea ecx, [ebp + 0x1c]
call fcn.00410b21
mov dword [ebp + 0x70], ebx
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp]
call fcn.004108b7
jmp 0x4ec3d1
push 0x67cfdc
lea ecx, [ebp + 0x1c]
call fcn.00410b21
cmp dword [ebp + 0x50], 0x10
mov ecx, dword [ebp + 0x3c]
jae 0x4ec3dd
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x4ec3e9
lea eax, [ebp + 0x20]
push ebx
push 0x84400000
lea edx, [ebp - 0x40]
push edx
push ebx
push ebx
push ecx
push eax
push dword [esi + 0x360]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0x36c], eax
mov byte [ebp - 4], 2
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004108b7
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.004108b7
mov edi, dword [esi + 0x36c]
cmp edi, ebx
jne 0x4ec518
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
push str.writeDatahttp.OpenRequest
lea ecx, [ebp - 0x11c]
call fcn.004ac9bc
mov byte [ebp - 4], 5
push ebx
push edi
lea ecx, [ebp - 0x1d0]
call fcn.004ac6f7
mov byte [ebp - 4], 6
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
lea eax, [ebp - 0x11c]
push eax
push ecx
call fcn.004adc57
add esp, 0xc
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.004ea560
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1d0]
call fcn.004ac66a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004ac66a
push ebx
push str._NC.WriteHttp.Failed1_EC
lea ecx, [ebp - 0xf8]
call fcn.004ac9bc
mov byte [ebp - 4], 8
push esi
push ebx
push ebx
push edi
lea ecx, [ebp - 0x140]
call fcn.004ac6f7
mov byte [ebp - 4], 9
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
lea eax, [ebp - 0xf8]
push eax
push ecx
call fcn.004adc57
add esp, 0xc
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, 0x721f18
call fcn.004bc4ff
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x140]
call fcn.004ac66a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
jmp 0x4ec795
mov eax, dword [esi + 0x158]
cmp eax, 3
je 0x4ec530
cmp byte [ebp + 0x78], bl
jne 0x4ec530
mov ecx, dword [esi + 0x290]
jmp 0x4ec533
mov ecx, dword [ebp + 0x70]
mov dword [esi + 0x368], ecx
mov dword [ebp - 0x68], 0x28
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
cmp eax, 3
jne 0x4ec566
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], 4
jmp 0x4ec573
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x18], 0xc
mov eax, dword [esi + 0x368]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push 0xa0000000
push 0xffffffffffffffff
cmp byte [ebp + 0x78], bl
je 0x4ec595
push str.Content_Type:_application_octet_stream_r_nContent_Transfer_Encoding:_binary_r_nX_Connection:_close_r_n
jmp 0x4ec59a
push str.Content_Type:_application_octet_stream_r_nContent_Transfer_Encoding:_binary_r_n
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
cmp dword [esi + 0x158], 3
jne 0x4ec5c5
cmp dword [ebp + 0x70], 0x1e
ja 0x4ec5c5
cmp dword [esi + 0x198], 0x989685
jle 0x4ec5c5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
push ebx
push dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x68]
push eax
push dword [esi + 0x36c]
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x4ec6c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
push str.writeDataHttp.SendRequestEx.
lea ecx, [ebp - 0x8c]
call fcn.004ac9bc
mov byte [ebp - 4], 0xb
push ebx
push edi
lea ecx, [ebp - 0x1ac]
call fcn.004ac6f7
mov byte [ebp - 4], 0xc
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
lea eax, [ebp - 0x8c]
push eax
push ecx
call fcn.004adc57
add esp, 0xc
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.004ea560
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1ac]
call fcn.004ac66a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.004ac66a
push ebx
push str._NC.WriteHttp.Failed2_EC
lea ecx, [ebp - 0xb0]
call fcn.004ac9bc
mov byte [ebp - 4], 0xe
push esi
push ebx
push ebx
push edi
lea ecx, [ebp - 0x164]
call fcn.004ac6f7
mov byte [ebp - 4], 0xf
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
lea eax, [ebp - 0xb0]
push eax
push ecx
call fcn.004adc57
add esp, 0xc
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xf
mov ecx, 0x721f18
call fcn.004bc4ff
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x164]
call fcn.004ac66a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
jmp 0x4ec795
cmp dword [esi + 0x158], 3
jne 0x4ec6dc
mov eax, dword [ebp + 0x70]
add dword [ebp - 0x20], eax
sub dword [esi + 0x368], eax
mov edi, dword [ebp + 0x70]
cmp dword [ebp - 0x20], edi
jae 0x4ec79e
mov ecx, dword [ebp - 0x20]
sub edi, ecx
mov eax, dword [esi + 0x368]
cmp edi, eax
jbe 0x4ec6f9
mov edi, eax
push dword [ebp - 0x34]
push edi
mov eax, dword [ebp - 0x2c]
add eax, ecx
push eax
push dword [esi + 0x36c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4ec721
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x20], edi
sub dword [esi + 0x368], edi
jmp 0x4ec79e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
push str._NC.WriteHttp.Failed3_EC
lea ecx, [ebp - 0xd4]
call fcn.004ac9bc
mov byte [ebp - 4], 0x11
push esi
push ebx
push ebx
push edi
lea ecx, [ebp - 0x188]
call fcn.004ac6f7
mov byte [ebp - 4], 0x12
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
lea eax, [ebp - 0xd4]
push eax
push ecx
call fcn.004adc57
add esp, 0xc
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x12
mov ecx, 0x721f18
call fcn.004bc4ff
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x188]
call fcn.004ac66a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.004ac66a
or dword [ebp - 0x14], 0xffffffff
cmp dword [esi + 0x368], ebx
jne 0x4ec8e2
cmp dword [ebp - 0x14], ebx
jne 0x4ec88a
cmp dword [esi + 0x158], 3
jne 0x4ec7d4
cmp byte [ebp + 0x78], bl
jne 0x4ec7d4
cmp dword [esi + 0x198], 0x98968a
jle 0x4ec7d4
push 0x1388
jmp 0x4ec7d7
push dword [ebp + 0x7c]
push dword [esi + 0x36c]
mov ecx, dword [0x752bb0]
call fcn.004f60b6
push ebx
push ebx
push ebx
push dword [esi + 0x36c]
call dword [sym.imp.WININET.dll_HttpEndRequestA]
push dword [esi + 0x36c]
mov ecx, dword [0x752bb0]
call fcn.004f6110
test al, al
jne 0x4ec84f
mov dword [ebp - 0x14], 1
mov dword [esi + 0x36c], ebx
mov dword [ebp - 0x20], ebx
mov dword [esi + 0x368], ebx
push esi
push ebx
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
push str._NC.WriteHttp.PostBlockTimeout
call fcn.004ac9bc
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 1
mov ecx, 0x721f18
call fcn.004bc4ff
dec dword [esi + 0x198]
cmp dword [ebp - 0x28], ebx
jle 0x4ec88a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
lea ecx, [esi + 0x2bc]
mov edi, dword [esi + 0x2b8]
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
imul eax, edi
add eax, edx
xor edx, edx
mov edi, dword [ebp - 0x18]
div edi
mov dword [ecx], eax
mov dword [esi + 0x2b8], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], ebx
jne 0x4ec8d2
cmp eax, 0x2f00
jne 0x4ec8d2
mov byte [ebp - 0x19], 1
push esi
push ebx
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
push str._NC.WriteHttp.Resend
call fcn.004ac9bc
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 1
mov ecx, 0x721f30
call fcn.004cc5c3
mov dword [ebp - 0x20], ebx
mov dword [esi + 0x368], ebx
jmp 0x4ec8e2
lea edi, [esi + 0x36c]
push dword [edi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi], ebx
xor edi, edi
inc edi
jmp 0x4ec27c
or dword [ebp - 4], 0xffffffff
jmp 0x4ec92e
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4ec951
mov dword [esi + 0x368], ebx
lea edi, [esi + 0x36c]
mov eax, dword [edi]
cmp eax, ebx
je 0x4ec94d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi], ebx
jmp 0x4ec970
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
cmp eax, dword [ebp + 0x70]
jae 0x4ec970
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x24]
sbb eax, eax
and eax, 0xfffffffe
inc eax
mov dword [ebp - 0x14], eax
cmp byte [ebp + 0x78], bl
je 0x4ec98a
add esi, 0x364
mov eax, dword [esi]
cmp eax, ebx
je 0x4ec98a
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x60]
xor ecx, ebp
call fcn.0051d721
add ebp, 0x64
leave
ret 0x14