Function at 0x7038e14d
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x7038e36b
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x7038e36b
cmp word [eax], bx
je 0x7038e36b
push esi
push 0xc4
call fcn.70315aab
mov esi, eax
cmp esi, ebx
pop ecx
je 0x7038e36a
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
mov al, byte [ebp + 0x1c]
push 0xa
pop ecx
mov byte [esi + 0x18], al
mov al, byte [ebp + 0x18]
mov dword [esi + 0x10], edi
xor edx, edx
inc edx
push 2
mov byte [esi + 0x19], al
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0x3c
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edx
mov word [esi + 0x40], bx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
lea edi, [esi + 0x78]
rep stosd dword es:[edi], eax
pop edi
push ebx
push ebx
push edx
push ebx
mov dword [esi + 0x78], 0x28
mov dword [esi + 0xb4], esi
mov dword [esi + 0xb8], esi
mov dword [esi + 0xbc], esi
mov dword [esi + 0xc0], esi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], 0xa
mov dword [esi + 0xb0], esi
call fcn.7038de3d
push ebx
push dword [ebp + 0x20]
mov dword [esi + 0x1c], eax
call fcn.7038de3d
push ebx
push dword [ebp + 0x14]
mov dword [esi + 0x20], eax
call fcn.7038de3d
cmp dword [esi + 0xa8], ebx
mov dword [esi + 0x24], eax
je 0x7038e33c
cmp dword [esi + 0x1c], ebx
je 0x7038e33c
lea eax, [esi + 0x28]
push eax
push ebx
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x7038e33c
cmp dword [ebp + 0x24], ebx
je 0x7038e2cd
push ebx
push dword [ebp + 0x24]
call fcn.7038de3d
mov dword [esi + 0x44], eax
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, edi
cmp dx, bx
jne 0x7038e2bc
sub eax, ecx
sar eax, 1
mov dword [esi + 0x48], eax
cmp dword [ebp + 0x28], ebx
je 0x7038e2f5
push ebx
push dword [ebp + 0x28]
call fcn.7038de3d
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, edi
cmp cx, bx
jne 0x7038e2e4
sub eax, edx
sar eax, 1
mov dword [esi + 0x50], eax
cmp dword [ebp + 0x20], ebx
je 0x7038e2ff
cmp dword [esi + 0x20], ebx
je 0x7038e33c
cmp dword [ebp + 0x24], ebx
je 0x7038e309
cmp dword [esi + 0x44], ebx
je 0x7038e33c
cmp dword [ebp + 0x28], ebx
je 0x7038e313
cmp dword [esi + 0x4c], ebx
je 0x7038e33c
cmp dword [ebp + 0x14], ebx
je 0x7038e31d
cmp dword [esi + 0x24], ebx
je 0x7038e33c
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x7038e33c
cmp word [eax], bx
je 0x7038e33c
push 8
mov dword [ebp - 4], esi
call fcn.70315aab
cmp eax, ebx
pop ecx
jne 0x7038e346
push 1
jmp 0x7038e361
push 1
push esi
call fcn.7038da6c
jmp 0x7038e36a
push eax
xor edi, edi
push ebx
inc edi
mov dword [eax], edi
mov dword [eax + 4], esi
mov eax, dword [ebp - 8]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x7038e36a
push edi
push esi
call fcn.7038da6c
mov dword [ebp - 4], ebx
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 0x24