Function at 0x1003a43
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9ac
mov eax, dword [0x101a0bc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x95c], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x958], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x970], eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], eax
push 0xf
mov eax, 0x80
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x534], eax
mov dword [ebp - 0x530], ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x9ac]
rep stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x99c], eax
lea eax, [ebp - 0x9ac]
push eax
push ebx
push ebx
push edx
mov dword [ebp - 0x950], ebx
mov dword [ebp - 0x954], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x960], edx
mov dword [ebp - 0x53c], ebx
mov dword [ebp - 0x538], ebx
mov dword [ebp - 0x9ac], 0x3c
mov dword [ebp - 0x998], 0x104
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x1003b3a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1003b25
call esi
mov edi, eax
jmp 0x1003eb6
call esi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
jmp 0x1003eb6
push dword [ebp - 0x998]
lea ecx, [ebp - 0x31c]
push dword [ebp - 0x99c]
call fcn.01003722
mov edi, dword [ebp - 0x31c]
cmp edi, ebx
jl 0x1003eab
lea eax, [ebp - 0x968]
push eax
lea eax, [ebp - 0x964]
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x964], ebx
push esi
mov dword [ebp - 0x968], ebx
call fcn.01009dde
mov edi, eax
cmp edi, ebx
jl 0x1003eab
cmp dword [ebp - 0x968], ebx
je 0x1003ba5
mov edi, 0x80070005
jmp 0x1003eab
cmp dword [ebp - 0x964], ebx
jne 0x1003bd0
push 0xffffffffffffffff
lea ecx, [ebp - 0x31c]
call fcn.010035fa
push eax
lea ecx, [ebp - 0x42c]
call fcn.0100365f
mov dword [ebp - 0x964], 1
mov edi, dword [ebp - 0x42c]
cmp edi, ebx
jl 0x1003eab
cmp dword [ebp + 0x10], ebx
je 0x1003d6b
lea eax, [ebp - 0x53c]
push eax
push 0x10014f4
push ebx
call fcn.0100a00a
test eax, eax
push 0xffffffffffffffff
mov dword [ebp - 0x31c], ebx
mov dword [ebp - 0x318], ebx
jl 0x1003c87
lea ecx, [ebp - 0x53c]
call fcn.010035fa
push eax
lea ecx, [ebp - 0x31c]
call fcn.0100365f
mov edi, dword [ebp - 0x31c]
cmp edi, ebx
lea ecx, [ebp - 0x31c]
jl 0x1003eb1
push ebx
call fcn.010035fa
push eax
call fcn.01002a4d
mov esi, eax
cmp esi, ebx
je 0x1003c5b
lea ecx, [ebp - 0x31c]
call fcn.010035fa
sub esi, eax
dec esi
dec esi
sar esi, 1
jmp 0x1003c61
mov esi, dword [ebp - 0x318]
push esi
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], ebx
call fcn.010035fa
push eax
lea ecx, [ebp - 0x42c]
call fcn.0100365f
jmp 0x1003c98
push 0x10014e0
push ebx
lea ecx, [ebp - 0x31c]
call fcn.010034ad
push 0xffffffffffffffff
push 0x10014cc
push ebx
lea ecx, [ebp - 0x42c]
call fcn.010034ad
mov edi, dword [ebp - 0x42c]
cmp edi, ebx
lea ecx, [ebp - 0x31c]
jl 0x1003eb1
call fcn.010035fa
push 7
mov esi, 0x10014bc
push esi
lea ecx, [ebp - 0x31c]
mov edi, eax
call fcn.010035fa
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
lea ecx, [ebp - 0x31c]
je 0x1003cf9
call fcn.010035fa
mov edi, eax
add edi, 0xe
jmp 0x1003d23
push 8
push 0x10014a8
call fcn.010035fa
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x1003d23
lea ecx, [ebp - 0x31c]
call fcn.010035fa
mov edi, eax
add edi, 0x10
push 0xffffffffffffffff
push esi
push ebx
lea ecx, [ebp - 0x53c]
mov dword [ebp - 0x538], ebx
mov dword [ebp - 0x53c], ebx
call fcn.010034ad
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x53c]
call fcn.0100365f
mov edi, dword [ebp - 0x53c]
cmp edi, ebx
jl 0x1003eab
lea ecx, [ebp - 0x53c]
call fcn.010035fa
mov dword [ebp - 0x960], eax
push dword [ebp - 0x960]
call dword [sym.imp.msvcrt.dll_wcslen]
mov edi, eax
pop ecx
inc edi
push edi
lea ecx, [ebp - 0x94c]
call fcn.01003634
push edi
lea ecx, [ebp - 0x744]
call fcn.01003634
cmp dword [ebp - 0x744], ebx
je 0x1003e90
cmp dword [ebp - 0x94c], ebx
je 0x1003e90
lea eax, [ebp - 0x96c]
push eax
push edi
push dword [ebp - 0x744]
mov dword [ebp - 0x96c], 0x50
push edi
push dword [ebp - 0x94c]
push dword [ebp - 0x960]
call fcn.010096db
mov edi, eax
cmp edi, ebx
jl 0x1003e95
push 0x40
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x1003dfa
mov ecx, eax
call fcn.01002f47
mov dword [ebp - 0x950], eax
jmp 0x1003e00
mov dword [ebp - 0x950], ebx
cmp dword [ebp - 0x950], ebx
je 0x1003e90
mov ecx, dword [ebp - 0x950]
call fcn.0100a5b9
lea eax, [ebp - 0x954]
push eax
lea ecx, [ebp - 0x42c]
call fcn.010035fa
mov ecx, dword [ebp - 0x950]
push eax
push dword [ebp - 0x744]
push dword [ebp + 0x10]
call fcn.0100c18f
test eax, eax
jge 0x1003e49
mov edi, 0x80070002
jmp 0x1003e95
mov ecx, dword [ebp - 0x954]
mov eax, dword [ecx]
push 1
push dword [ebp - 0x95c]
call dword [eax + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x1003e95
mov ecx, dword [ebp - 0x954]
push dword [ebp - 0x958]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edi, eax
cmp edi, ebx
jl 0x1003e95
mov ecx, dword [ebp - 0x954]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x970]
mov dword [ecx], eax
xor edi, edi
jmp 0x1003e95
mov edi, 0x8007000e
lea ecx, [ebp - 0x744]
call fcn.01012aaf
lea ecx, [ebp - 0x94c]
call fcn.01012aaf
lea ecx, [ebp - 0x31c]
call fcn.01002c92
lea ecx, [ebp - 0x53c]
call fcn.01002c92
lea ecx, [ebp - 0x42c]
call fcn.01002c92
mov eax, dword [ebp - 0x954]
cmp eax, ebx
je 0x1003ee2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x954], ebx
mov ecx, dword [ebp - 0x950]
cmp ecx, ebx
je 0x1003ef3
push 1
call fcn.01002fce
cmp edi, ebx
jge 0x1003f5f
mov eax, dword [ebp - 0x95c]
cmp dword [eax], ebx
jge 0x1003f05
xor eax, eax
jmp 0x1003f08
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x95c]
lea esi, [eax + eax]
call fcn.010035fa
cmp esi, ebx
je 0x1003f20
mov byte [eax], bl
inc eax
dec esi
jne 0x1003f1a
mov eax, dword [ebp - 0x958]
cmp dword [eax], ebx
jge 0x1003f2e
xor eax, eax
jmp 0x1003f31
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x958]
lea esi, [eax + eax]
call fcn.010035fa
cmp esi, ebx
je 0x1003f49
mov byte [eax], bl
inc eax
dec esi
jne 0x1003f43
mov eax, dword [ebp - 0x95c]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov eax, dword [ebp - 0x958]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.01007613
leave
ret 0x18