Function at 0x437360
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x468f18
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x890]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [0x4db024]
mov ebx, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4db024
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x58], esi
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x898], esi
mov edx, dword [0x4db024]
mov eax, dword [edx + 0xc]
mov ecx, 0x4db024
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x214]
mov byte [esp + 0x898], 1
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov dword [esp + 0x68], eax
call esi
mov dword [esp + 0x48], eax
lea eax, [ebx + 0xc]
push eax
mov dword [esp + 0x34], eax
call esi
mov ecx, dword [esp + 0x48]
push eax
push ecx
mov dword [esp + 0x64], eax
call fcn.0044b912
add esp, 8
test eax, eax
jne 0x437488
mov edi, dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
push 0x477df4
lea esi, [ebx + 0x241c]
push esi
call edi
test eax, eax
jne 0x437476
push str.HTTPS:__
push esi
call edi
test eax, eax
jne 0x437476
mov byte [esp + 0x898], al
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x437e1f
mov eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], eax
jmp 0x437b66
mov ecx, dword [edi + 0x48]
sub ecx, dword [edi + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x43753a
mov ecx, dword [edi + 0x48]
sub ecx, dword [edi + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x43753a
xor ebx, ebx
jmp 0x4374d0
mov ecx, dword [edi + 0x48]
sub ecx, dword [edi + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4374f2
call fcn.0044be90
mov eax, dword [edi + 0x44]
add eax, ebx
cmp dword [eax + 0x18], 8
jb 0x437502
mov eax, dword [eax + 4]
jmp 0x437505
add eax, 4
mov edx, dword [esp + 0x30]
push eax
push edx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x43777f
mov ecx, dword [edi + 0x48]
sub ecx, dword [edi + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x1c
cmp esi, eax
jb 0x4374d0
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0xd4]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x437787
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0xd4]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
xor esi, esi
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], esi
je 0x437787
mov dword [esp + 0x14], esi
lea ebx, [ebx]
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0xd4]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4375b6
call fcn.0044be90
mov eax, dword [edi + 0xd4]
add eax, dword [esp + 0x14]
cmp dword [eax + 0x18], 8
jb 0x4375cb
mov eax, dword [eax + 4]
jmp 0x4375ce
add eax, 4
mov edx, dword [esp + 0x30]
push eax
push edx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x437734
mov eax, dword [0x4de0a8]
test eax, eax
je 0x437734
cmp dword [eax + 0x54], 0
je 0x437734
xor ebx, ebx
mov dword [esp + 0x20], ebx
nop
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0xd4]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x437628
call fcn.0044be90
mov ecx, dword [edi + 0xd4]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx + 0x1c]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x437734
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0xd4]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x18], ecx
jb 0x43767f
call fcn.0044be90
mov esi, dword [edi + 0xd4]
add esi, dword [esp + 0x14]
mov eax, 0x92492493
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x28]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4376ab
call fcn.0044be90
mov esi, dword [esi + 0x28]
add esi, dword [esp + 0x20]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
push esi
lea eax, [esp + 0x74]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], cx
call fcn.00401950
mov eax, dword [0x4de0a8]
cmp dword [eax + 0x58], 8
jb 0x4376ec
mov eax, dword [eax + 0x44]
jmp 0x4376ef
add eax, 0x44
mov ecx, dword [esp + 0x6c]
mov esi, 8
cmp dword [esp + 0x80], esi
jae 0x437705
lea ecx, [esp + 0x6c]
push 1
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x437769
cmp dword [esp + 0x80], esi
jb 0x437729
mov edx, dword [esp + 0x6c]
push edx
call fcn.0044b6e3
add esp, 4
inc ebx
add dword [esp + 0x20], 0x1c
jmp 0x437600
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0xd4]
mov esi, dword [esp + 0x18]
add dword [esp + 0x14], 0x34
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x18], esi
cmp esi, eax
jb 0x437590
jmp 0x437787
cmp dword [esp + 0x80], esi
jb 0x43777f
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0044b6e3
add esp, 4
mov dword [esp + 0x28], 1
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xa4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x437b66
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xa4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
xor esi, esi
add ecx, edx
je 0x437b66
xor ebx, ebx
jmp 0x4377e0
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xa4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x437808
call fcn.0044be90
mov eax, dword [edi + 0xa4]
add eax, ebx
cmp dword [eax + 0x18], 8
jb 0x43781b
mov eax, dword [eax + 4]
jmp 0x43781e
add eax, 4
push eax
mov eax, dword [esp + 0x58]
add eax, 0x241c
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x43785f
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xa4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
add ebx, 0x1c
cmp esi, ecx
jb 0x4377e0
jmp 0x437b66
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x20]
push edx
add eax, 0x241c
push eax
mov dword [esp + 0x54], 1
mov dword [esp + 0x28], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [esp + 0x50], esi
test esi, esi
je 0x437b66
mov ebx, dword [esp + 0x20]
cmp ebx, 1
jle 0x437b5b
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xa4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x437b5b
mov dword [esp + 0x18], 0
test ebx, ebx
jle 0x437b5b
mov dword [esp + 0x14], esi
jmp 0x4378e0
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xa4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
xor esi, esi
add ecx, edx
je 0x43798b
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xa4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x437938
call fcn.0044be90
mov eax, dword [edi + 0xa4]
add eax, ebx
cmp dword [eax + 0x18], 8
jb 0x43794b
mov eax, dword [eax + 4]
jmp 0x43794e
add eax, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x4379a6
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xa4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x1c
cmp esi, eax
jb 0x437910
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 4
inc eax
cmp eax, ebx
mov dword [esp + 0x18], eax
jl 0x4378e0
jmp 0x437b5b
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + edx*4]
mov eax, ecx
mov dword [esp + 0x58], 1
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4379c0
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00422f70
add esp, 8
mov byte [esp + 0x898], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x437a38
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x437a2a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x437a2a
call fcn.0041b060
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x437a21
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x24], ebx
jmp 0x437a38
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x2c]
call fcn.0041b3e0
mov byte [esp + 0x898], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437a60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x800
lea ecx, [esp + 0x88]
push 0
push ecx
call fcn.0044e9d0
mov ecx, dword [esp + 0x5c]
add esp, 0xc
push 0
push 2
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x90]
push eax
mov eax, dword [ecx + edx*4]
push eax
mov dword [esp + 0x50], 0x400
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jne 0x437b5b
lea eax, [esp + 0x84]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437ab4
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x8c]
call fcn.00422f70
add esp, 8
mov byte [esp + 0x898], 3
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x437b33
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x437b25
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x437b25
call fcn.0041b060
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x437b1c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x437b33
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x24]
call fcn.0041b3e0
mov byte [esp + 0x898], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437b5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea edx, [esp + 0x3c]
xor ebx, ebx
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.0040a520
add esp, 4
test eax, eax
je 0x437bb7
call fcn.00418d70
test eax, eax
je 0x437bb7
push 0x4dd010
lea eax, [esp + 0x40]
call fcn.00418bc0
add esp, 4
test eax, eax
jne 0x437bb7
cmp dword [esp + 0x3c], 0x10f642
jne 0x437bb7
mov dword [esp + 0x14], 1
cmp dword [esp + 0x40], ebx
je 0x437bbb
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x28], ebx
je 0x437e03
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
neg eax
sbb eax, eax
add eax, 2
add ecx, 0x241c
mov edi, eax
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x437be1
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00422f70
add esp, 8
mov esi, dword [esp + 0x64]
mov eax, esi
mov byte [esp + 0x898], 4
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437c10
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.00422f70
add esp, 8
mov esi, dword [esp + 0x30]
mov eax, esi
mov byte [esp + 0x898], 5
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437c40
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00422f70
add esp, 8
lea eax, [esp + 0x2c]
mov bl, 6
push eax
mov ecx, 0x474a60
mov byte [esp + 0x89c], bl
call fcn.0041b4c0
cmp dword [esp + 0x58], 0
mov byte [esp + 0x898], 7
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
jne 0x437cb8
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push edi
push str.699:0700:_d702:_d723:_s724:_s777:_s778:_s779:_s
lea edi, [esp + 0x4c]
call fcn.00403370
add esp, 0x20
jmp 0x437ce3
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push edi
push str.699:0700:_d702:_d723:_s724:_s730:_s731:_s777:_s778:_s779:_s
lea edi, [esp + 0x54]
call fcn.00403370
add esp, 0x28
mov edx, dword [esp + 0x2c]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437cf0
sub eax, esi
mov esi, dword [esp + 0x60]
sar eax, 1
push eax
push edx
call fcn.004018a0
mov byte [esp + 0x898], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437d31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x898], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437d59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x898], 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437d81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x898], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437da9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x898], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437dd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x898], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437dfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x437e58
mov byte [esp + 0x898], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437e2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x898], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437e56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x890]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret