Function at 0x438870
Capabilities:
Check http status code
Get http content length
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5067a5
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x38]
push 0
push 3
push dword [ebp + 0x24]
mov dword [eax], 0
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [eax]
push dword [ebp + 8]
call fcn.00439610
test eax, eax
jne 0x4394f4
mov eax, dword [edi + 4]
mov dword [ebp - 0x60], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x68], 0x535bac
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0x30]
shl eax, 0x17
add eax, 0x8440c000
mov dword [ebp - 0x8c], 0x535ae8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x88], 0
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00402800
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x438931
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00402660
mov eax, dword [edi + 8]
push dword [edi + 0x68]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov dword [edi + 0x34], 6
mov byte [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push dword [ebp - 0x44]
lea eax, [ebp - 0x8c]
push eax
push 0x530654
push str.HTTP_1.0
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
test eax, eax
jne 0x4389c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0x3e5
jne 0x4389bb
cmp byte [edi + 0x38], 0
jne 0x4389d0
nop word [eax + eax]
lea ecx, [edi + 0xc]
call fcn.0043acb0
test al, al
jne 0x4389af
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x438990
jmp 0x4389d0
mov dword [ebp - 0x10], 0xe0000008
jmp 0x43949e
test eax, eax
je 0x4389d0
jmp 0x43949e
push dword [edi + 0x68]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 4], 0
jne 0x4389e4
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x43949e
mov ecx, dword [edi + 0x70]
mov edx, dword [edi + 0x68]
mov eax, dword [edi + 4]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x78], 0x535ba4
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x78], 0x535c20
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 4
cmp byte [ebp + 0x30], 0
je 0x438a5a
cmp byte [edi + 0xa4], 0
je 0x438a5a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x28]
push eax
push 0x1f
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
push dword [ebp - 0x18]
or dword [ebp - 0x28], 0x13380
lea eax, [ebp - 0x28]
push eax
push 0x1f
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
call fcn.004047f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439507
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x34]
cmp dword [eax], 0
jbe 0x438b0b
call fcn.004047f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439507
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x34]
push dword [eax]
lea eax, [ebp - 0x18]
push str.Range:_bytes_u__r_n
push eax
call fcn.00408fe0
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00402660
mov byte [ebp - 4], 6
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x438b0b
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
cmp word [edi + 0x42], 0
lea edx, [edi + 0x42]
jbe 0x438bcf
lea ecx, [ebp - 0x34]
call fcn.0040e740
mov byte [ebp - 4], 0xa
call fcn.004047f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439507
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x18]
push dword [ebp - 0x34]
push str.If_Modified_Since:__s_r_n
push eax
call fcn.00408fe0
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00402660
mov byte [ebp - 4], 0xa
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x438ba0
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x438bcf
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x58], 0
call fcn.004047f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439507
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x10
mov eax, dword [edi + 0x90]
cmp dword [eax - 0xc], 0
je 0x438c60
mov eax, dword [edi + 0x94]
lea ecx, [ebp - 0x24]
push dword [eax - 0xc]
push eax
call fcn.00402660
mov ecx, dword [edi + 0x90]
lea edx, [ebp - 0x38]
push 0xfde9
call fcn.0040e0e0
mov eax, dword [ebp - 0x38]
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [eax - 4], 1
jle 0x438c5a
push dword [eax - 0xc]
lea ecx, [ebp - 0x38]
call fcn.00404f50
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x80]
cmp dword [eax - 0xc], 0
je 0x438cea
call fcn.004047f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439507
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x18]
push dword [edi + 0x80]
push str.Accept_Encoding:__s_r_n
push eax
call fcn.00408fe0
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00402660
mov byte [ebp - 4], 0x10
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x438cea
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
mov eax, dword [edi + 0x98]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x438d01
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00402660
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x438d20
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x14]
call esi
nop dword [eax]
mov ecx, dword [ebp - 0x24]
xor edx, edx
push dword [edi + 0x68]
mov esi, dword [edi + 4]
mov eax, dword [ecx - 0xc]
test eax, eax
mov dword [ebp - 0x10], eax
cmove ecx, edx
mov dword [edi + 0x34], 7
mov dword [ebp - 0x20], ecx
mov byte [edi + 0x38], dl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp - 0x58]
push dword [ebp - 0x48]
push dword [ebp - 0x10]
push dword [ebp - 0x20]
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x438da4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0x3e5
jne 0x438d9e
cmp byte [edi + 0x38], 0
jne 0x438dad
lea ecx, [edi + 0xc]
call fcn.0043acb0
test al, al
jne 0x438d95
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x438d76
jmp 0x438dad
mov dword [ebp - 0x10], 0xe0000008
jmp 0x438dc2
test eax, eax
je 0x438dad
jmp 0x438dc2
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 0x30], 0
je 0x438dbc
mov dword [ebp - 0x10], 0
jmp 0x438dc2
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x5c]
mov dword [edi + 0xa8], 0
push eax
lea esi, [edi + 0xa8]
mov dword [ebp - 0x5c], 4
push esi
push 0x20000013
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4393df
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x20000005
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x438e20
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
jmp 0x438e23
mov ecx, dword [ebp - 0x2c]
cmp byte [edi + 0x62], 0
je 0x438e63
cmp dword [esi], 0x130
je 0x438e63
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x10
push eax
lea esi, [edi + 0x52]
push esi
push 0x4000000b
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x2c]
test eax, eax
jne 0x438e5d
xorps xmm0, xmm0
movups xmmword [esi], xmm0
lea esi, [edi + 0xa8]
mov eax, dword [edi + 0x90]
cmp dword [eax - 0xc], 0
je 0x438f2b
cmp dword [esi], 0xc8
jne 0x438f2b
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x30]
push 0x410
call fcn.00408a70
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push 0
push eax
push esi
push 1
push dword [edi + 4]
mov dword [ebp - 0x3c], 0x410
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x438efe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4392b8
push esi
call fcn.004d4092
add esp, 4
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0x3c]
call fcn.00408a70
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push 0
push eax
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4392b2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x438f14
shr eax, 1
lea ecx, [edi + 0x9c]
push eax
push esi
call fcn.00402660
mov byte [ebp - 4], 0x10
push esi
call fcn.004d4092
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x30], 0
cmp byte [edi + 0x63], 0
je 0x438f9e
cmp dword [edi + 0xa8], 0xc8
jne 0x438f9e
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x4c]
push 0x410
mov dword [ebp - 0x14], 0x410
call fcn.00408a70
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
push 0
push eax
push esi
push 0x2f
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x438f87
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 0xa0]
shr eax, 1
push eax
push esi
call fcn.00402660
mov byte [ebp - 4], 0x10
push esi
call fcn.004d4092
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [edi + 0xa8]
add eax, 0xffffff38
cmp eax, 0xd2
ja case.0x438fb7.201
movzx eax, byte [eax + 0x439530]
jmp dword [eax*4 + 0x439514]
mov eax, dword [ebp + 0x34]
test ecx, ecx
jne 0x438fd3
mov esi, dword [ebp - 0x10]
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x439014
mov eax, dword [eax]
mov esi, dword [ebp - 0x10]
add eax, ecx
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x439014
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
mov eax, dword [ebp + 0x34]
test ecx, ecx
je 0x438ff5
cmp dword [eax], ecx
jae 0x4392d4
mov esi, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x439014
mov dword [ebp - 0x10], 0xe0000012
jmp 0x439050
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x4393be
cmp esi, 0x2f0d
je 0x439226
cmp esi, 0x2f0c
je 0x439226
cmp esi, 0x2f06
je 0x439226
cmp esi, 0x2f05
je 0x439226
cmp esi, 0xe0000012
jne 0x4393b8
call fcn.004047f0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x439507
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x20]
call esi
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0xa8]
push dword [edi + 4]
call fcn.00439ef0
mov eax, dword [edi + 0xa8]
cmp eax, 0x197
mov dword [ebp - 0x1c], eax
sete byte [ebp - 0x7c]
call fcn.004047f0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x439507
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x20]
call esi
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x23
cmp dword [ebp - 0x1c], 0x197
jne 0x4390e1
lea eax, [ebp - 0x40]
push eax
push dword [edi + 4]
call fcn.0043a270
call fcn.004047f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x439507
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x25
call fcn.004047f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x439507
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
push dword [edi + 4]
call fcn.0043a0c0
test al, al
je 0x439304
mov byte [ebp - 4], 0x25
or eax, 0xffffffff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x439190
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], 0x23
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4391bf
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], 0x21
or eax, 0xffffffff
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4391ee
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x438d20
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
jmp 0x438d20
cmp byte [edi + 0x86], 0
jne 0x4393b3
cmp byte [edi + 0x85], 0
je 0x43928f
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], eax
push ecx
push 0x1f
push eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x4393b3
or dword [ebp - 0x50], 0x3f05
lea eax, [ebp - 0x50]
push 4
push eax
push 0x1f
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x4393b3
lea ecx, [ebp - 0x24]
call fcn.004037a0
jmp 0x438d20
push dword [edi + 4]
lea ecx, [edi + 0xc]
push esi
push 0
call fcn.0043aad0
test eax, eax
jne 0x4393e8
lea ecx, [ebp - 0x24]
call fcn.004037a0
jmp 0x438d20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x10
push esi
call fcn.004d4092
add esp, 4
mov dword [ebp - 0x30], 0
jmp 0x4393e8
mov dword [ebp - 0x10], 0xe0000010
jmp 0x4393e8
mov dword [ebp - 0x10], 0xe0000013
jmp 0x4393e8
mov dword [ebp - 0x10], 0xe0000016
jmp 0x4393e8
mov dword [ebp - 0x10], 0xe0000018
jmp 0x4393e8
mov byte [ebp - 4], 0x25
or eax, 0xffffffff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43932f
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x23
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43935a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x21
or eax, 0xffffffff
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x439385
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4393b0
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
jmp 0x4393e8
test esi, esi
jne 0x4393b3
jmp 0x4393cc
mov eax, dword [ebp + 0x34]
mov dword [eax], 0
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
jmp 0x4393e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
or ecx, 0xffffffff
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x439413
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43943e
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], 0x535c20
mov byte [ebp - 4], 0x34
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x439481
mov edi, dword [ebp - 0x80]
push edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x84]
xor esi, esi
mov dword [ebp - 0x74], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], 0x535ba4
test esi, esi
je 0x43949e
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4394c9
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x60]
push 0
push esi
mov dword [ebp - 0x68], 0x535bac
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x34
push 0x80004005
call fcn.004027d0
nop dword [eax]
loope 0x4394a5
inc ebx
add byte [esi - 0x1fffbc71], bh
xchg edx, eax
inc ebx
add byte [eax], al
nop
inc ebx
add ah, ch
xchg edx, eax
inc ebx
add al, bh
xchg edx, eax
inc ebx
add byte [ecx], cl
nop
inc ebx
add byte [eax], al
push es
push es
push es
push es
push es
add dword [esi], eax
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add al, byte [esi]
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, dword [esi]
add al, 5
push es
push es
add eax, dword [esi]
push es
add eax, -858993460
int3