Function at 0x42bf00
Capabilities:
Check for time delay via gettickcount
Check http status code
Check if file exists
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a37a9
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x280], ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x258], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x26c], eax
call fcn.0042a5d0
mov dword [ebp - 4], 0
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bf80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xf0]
call fcn.004077e0
mov eax, dword [ebx + 0xec]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 1
push 0xa001
mov dword [ebp - 0xf4], 1
call fcn.00439e37
mov edi, eax
add esp, 4
mov dword [ebp - 0x254], edi
test edi, edi
jne 0x42bffe
mov dword [ebp - 0xf8], 0xa
jmp 0x42cbd0
push 0xa001
push 0
push edi
call fcn.004693b0
add esp, 0xc
test esi, esi
je 0x42cbc6
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c020
sub ecx, edx
sar ecx, 1
je 0x42cbc6
push dword [ebx + 0xe0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c060
mov eax, dword [ebx + 0xe0]
cmp dword [eax - 0xc], 0
je 0x42c060
mov dword [ebp - 0xf8], 2
jmp 0x42cbd0
push 0
push dword [ebx + 0xe0]
lea eax, [ebp - 0x88]
push eax
call fcn.004452b0
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov ecx, dword [ebx + 0x10]
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
test ecx, ecx
je 0x42c0ae
push ecx
call eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx + 0x10], 0
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x42c0bf
push ecx
call eax
mov dword [ebx + 0xc], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x42c0d4
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx + 8], 0
push 0
push 0
push 0
push 0
push dword [0x4d60d8]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42c10d
mov dword [ebp - 0xf8], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004041a0
jmp 0x42cbd0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x250], 0x50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.0042ba50
add esp, 0x10
test eax, eax
jne 0x42c1a7
mov dword [ebp - 0xf8], 6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00404220
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004041a0
jmp 0x42cbd0
mov ecx, dword [ebp - 0x250]
mov eax, 0x1bb
cmp cx, ax
jne 0x42c1bb
mov byte [ebx + 4], 1
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 3
push 0
push 0
push ecx
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x42c1ee
mov dword [ebp - 0xf8], 3
jmp 0x42c17b
cmp byte [ebx + 4], 0
mov eax, 0x80a02000
mov esi, dword [str.HTTP_1.1]
mov ecx, 0x80200000
cmove eax, ecx
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x248], eax
test esi, esi
jne 0x42c29f
mov dword [ebp - 0x248], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [str.POST]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x25c], 0
push 0
push dword [ebp - 0x264]
cmove eax, dword [0x4d60dc]
push 0
push 0
push dword [ebp - 0x248]
push ecx
push eax
push dword [ebx + 0xc]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 0x248]
cmp eax, ecx
je 0x42c286
push eax
call fcn.0046c8ed
add esp, 4
cmp dword [ebx + 0x10], 0
jne 0x42c373
mov dword [ebp - 0xf8], 1
jmp 0x42c17b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c2a4
sub ecx, edx
push 0x80
lea eax, [ecx + 1]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x250], eax
push ecx
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0042a430
mov eax, dword [ebp - 0x250]
add esp, 0x10
push eax
push dword [ebp - 0x248]
push eax
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x278], ecx
test eax, eax
jne 0x42c366
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42c360
push 0
push 0
push dword [ebp - 0x250]
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea eax, [ebp - 0x244]
push 0x80
push eax
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.0042a430
add esp, 0x10
push esi
push dword [ebp - 0x248]
push dword [ebp - 0x250]
push dword [ebp - 0x274]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x42c366
mov ecx, dword [ebp - 0x278]
test ecx, ecx
jne 0x42ccb9
jmp 0x42c227
mov eax, dword [ebp - 0x258]
test eax, eax
jne 0x42c381
xor esi, esi
jmp 0x42c395
mov esi, eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42c386
sub esi, ecx
sar esi, 1
mov eax, dword [ebp - 0x260]
test eax, eax
jne 0x42c3a3
xor edi, edi
jmp 0x42c3b1
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x42c3a8
sub edi, ecx
lea eax, [ebp - 0xa0]
lea ecx, [ebx + 0x14]
push eax
call fcn.00429fe0
mov byte [ebp - 4], 6
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0x10
push 0xa0000000
push dword [ebp - 0x90]
cmovae eax, dword [ebp - 0xa0]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push edi
push dword [ebp - 0x260]
mov edi, dword [ebp - 0x258]
push esi
push edi
push dword [ebx + 0x10]
lea esi, [ebx + 0x10]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x42c457
mov dword [ebp - 0xf8], 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.004041a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00404220
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004041a0
mov edi, dword [ebp - 0x254]
jmp 0x42cbd0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
push eax
push esi
mov ecx, ebx
call fcn.0042ad70
test al, al
je 0x42c5cb
push edi
push dword [ebp - 0x260]
lea eax, [ebp - 0x114]
mov ecx, ebx
push dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042cd00
test al, al
jne 0x42c5cb
call fcn.00438dc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42c5ba
push 0x63
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], eax
push str.d:jenkins.jenkinsworkspacemaster_luhome_installerhome_installer_srcutils_netwininet_tttp.cc
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], al
call fcn.004076f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x12c]
push 3
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push 0x4a9c6c
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.004076f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x144]
push 0x6c
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x318]
call fcn.00409020
mov esi, eax
mov byte [ebp - 4], 0xa
push str.send_redirect_url_fail
push esi
call fcn.00404940
add esp, 8
call fcn.00438dc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x318]
call fcn.00404eb0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x12c]
call fcn.004041a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x144]
call fcn.004041a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00404220
jmp 0x42c416
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0xd8]
push eax
call fcn.004077e0
mov edi, dword [ebp - 0x254]
push 0xa001
push 0
push edi
call fcn.004693b0
add esp, 0xc
mov dword [ebp - 0x24c], 0xa000
lea eax, [ebp - 0x24c]
push 0
push eax
push edi
push 5
push dword [esi]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
call esi
test eax, eax
je 0x42c62e
push edi
call fcn.00471a90
add esp, 4
mov dword [ebp - 0xc0], eax
push 0
lea eax, [ebp - 0x270]
mov dword [ebp - 0x268], 0
push eax
lea eax, [ebp - 0x268]
mov dword [ebp - 0x270], 4
push eax
push 0x20000013
push dword [ebx + 0x10]
call esi
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0xa8], ecx
test eax, eax
jne 0x42c696
mov dword [ebp - 0xf8], 5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00404220
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.004041a0
jmp 0x42c17b
cmp ecx, 0x190
jb 0x42c6aa
mov dword [ebp - 0xf8], 0xb
jmp 0x42c676
mov eax, dword [ebx + 0xe0]
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x258], esi
test esi, esi
je 0x42c70a
push 0x180
push 0x40
push 0x8109
push eax
lea esi, [ebx + 0xf0]
push esi
call fcn.00472534
add esp, 0x14
test eax, eax
jne 0x42c6f5
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42c6f5
push 2
push 0
push eax
call fcn.00472a44
add esp, 0xc
test eax, eax
jns 0x42c704
mov dword [ebp - 0xf8], 7
jmp 0x42c676
mov esi, dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa001
push 0
push edi
mov dword [ebp - 0x25c], eax
call fcn.004693b0
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push 0xa000
push edi
push dword [ebx + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42ca1b
movsd xmm0, qword [0x4ac988]
movsd qword [ebp - 0x27c], xmm0
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x24c], 0
je 0x42ca0f
mov al, byte [ebx + 0xe8]
test al, al
jne 0x42ca03
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x26c]
cmp eax, dword [ebp + 0x10]
ja 0x42c9f7
mov eax, dword [ebp - 0x24c]
mov byte [eax + edi], 0
test esi, esi
je 0x42c7c6
mov eax, dword [ebx + 0xf0]
cmp eax, 0xffffffff
je 0x42c9eb
push dword [ebp - 0x24c]
push edi
push eax
call fcn.0047320a
add esp, 0xc
cmp eax, 0xffffffff
je 0x42c9eb
mov ecx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x24c]
mov dword [ebp - 0x264], ecx
cmp ebx, ecx
ja 0x42c803
cmp ecx, 0x10
mov dword [ebp - 0x60], ebx
push ebx
lea esi, [ebp - 0x70]
cmovae esi, dword [ebp - 0x70]
push edi
push esi
call fcn.00468e30
mov byte [esi + ebx], 0
add esp, 0xc
mov edi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x70]
jmp 0x42c8de
cmp ebx, 0x7fffffff
ja 0x42ccd8
mov edi, ebx
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x42c823
mov edi, SysReAllocString
jmp 0x42c841
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x42c839
mov edi, SysReAllocString
jmp 0x42c841
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x42c875
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00439df9
add esp, 4
test eax, eax
je 0x42ccdd
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x42c888
test ecx, ecx
je 0x42c886
push ecx
call fcn.00439df9
add esp, 4
mov esi, eax
jmp 0x42c888
xor esi, esi
push ebx
push dword [ebp - 0x254]
mov dword [ebp - 0x60], ebx
push esi
mov dword [ebp - 0x5c], edi
call fcn.004688b0
mov eax, dword [ebp - 0x264]
add esp, 0xc
mov byte [esi + ebx], 0
cmp eax, 0x10
jb 0x42c8db
mov ecx, dword [ebp - 0x70]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c8d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ccdd
push edx
push ecx
call fcn.00439e29
add esp, 8
mov dword [ebp - 0x70], esi
cmp edi, 0x10
lea eax, [ebp - 0x70]
push ebx
cmovae eax, esi
lea ecx, [ebp - 0x110]
push eax
call fcn.004076f0
mov eax, dword [ebp - 0x24c]
add dword [ebp - 0xbc], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf4], 1
call esi
mov ecx, eax
sub ecx, dword [ebp - 0x25c]
je 0x42c933
imul eax, dword [ebp - 0x24c], 0x3e8
xor edx, edx
shl ecx, 0xa
div ecx
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xc0]
test ecx, ecx
je 0x42c994
mov eax, dword [ebp - 0xbc]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, eax
shr eax, 0x1f
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4ac990]
addsd xmm1, qword [eax*8 + 0x4ac990]
mulsd xmm1, qword [ebp - 0x27c]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movsd xmm1, qword [ebp - 0x27c]
cvtps2pd xmm0, xmm0
minsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0xb8], xmm0
mov ebx, dword [ebp - 0x280]
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.0042b900
call esi
mov edi, dword [ebp - 0x254]
push 0xa001
push 0
push edi
mov dword [ebp - 0x25c], eax
call fcn.004693b0
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push 0xa000
push edi
push dword [ebx + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42ca1b
mov esi, dword [ebp - 0x258]
jmp 0x42c760
mov dword [ebp - 0xf8], 9
jmp 0x42ca25
mov dword [ebp - 0xf8], 0xc
jmp 0x42ca25
mov dword [ebp - 0xf8], 0xe
jmp 0x42ca25
mov dword [ebp - 0xf8], 0
jmp 0x42ca25
mov dword [ebp - 0xf8], 0xd
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x42ca63
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ca59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ccdd
push edx
push ecx
call fcn.00439e29
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x42cab5
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42caab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cce2
push edx
push ecx
call fcn.00439e29
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42cb0e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cb04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cce7
push edx
push ecx
call fcn.00439e29
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42cb60
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cb56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ccec
push edx
push ecx
call fcn.00439e29
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x42cbaf
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42cba5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ccf1
push edx
push ecx
call fcn.00439e29
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
jmp 0x42cbd0
mov dword [ebp - 0xf8], 8
mov eax, dword [ebx + 0xf0]
cmp eax, 0xffffffff
je 0x42cbee
push eax
call fcn.004725d6
add esp, 4
mov dword [ebx + 0xf0], 0xffffffff
push edi
call fcn.00439e40
add esp, 4
mov dword [ebp - 0xb4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x26c]
mov dword [ebp - 0xb0], ecx
je 0x42cc2e
imul eax, dword [ebp - 0xbc], 0x3e8
xor edx, edx
shl ecx, 0xa
div ecx
mov dword [ebp - 0xac], eax
xor eax, eax
cmp dword [ebp - 0xf8], eax
setne al
add eax, 2
mov dword [ebp - 0xf4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa4], eax
mov ecx, ebx
lea eax, [ebp - 0x114]
push eax
call fcn.0042b900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004041a0
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0xd8]
call fcn.00404220
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf0]
call fcn.00404220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.004041a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret 0x14
push 0x80
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x248]
call fcn.0042a4b0
add esp, 0xc
call fcn.0042ad50
call fcn.00407170
call fcn.0046c89c
call fcn.0046c89c
call fcn.0046c89c
call fcn.0046c89c
call fcn.0046c89c
int3