Function at 0x10025de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov ebp, ecx
mov dword [esp + 0x18], 0
push esi
mov esi, 0x10059d98
mov dword [esp + 0x60], ebp
push edi
mov edx, dword [ebp + 8]
mov dword [esp + 0x60], ebx
mov eax, dword [edx + 0x1c]
test eax, eax
cmovne esi, eax
mov al, byte [edx + 0x1b]
add esi, dword [esp + 0x120]
mov byte [esp + 0x70], al
mov byte [esp + 0x28], al
test ebx, ebx
jle 0x10025e4d
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10025e4d
push ebx
push esi
push edi
mov byte [edi + ebx], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10025e58
xor ebx, ebx
mov edi, 0x10059da0
mov dword [esp + 0x60], ebx
mov eax, dword [ebp + 8]
mov edx, 0x8c
push 2
push 0
mov ecx, 0xbe
cmp byte [eax + 0x17], 0
mov eax, str.shortcode
push 0
cmovne ecx, edx
mov edx, str.code
cmp byte [esp + 0x128], 0
mov byte [esp + 0x8c], cl
lea ecx, [esp + 0x24]
push ebx
push edi
cmove edx, eax
call fcn.100069a0
mov ebp, dword [esp + 0x3c]
add esp, 0x14
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ebp
push ecx
mov ecx, esp
lea edx, [edi + edx]
mov dword [ecx], eax
lea ecx, [esp + 0xb0]
call fcn.10007020
mov esi, dword [esp + 0xb4]
add esp, 8
mov al, byte [esp + 0xb4]
mov ecx, 0x10059da0
mov byte [esp + 0x94], al
mov dword [esp + 0x88], ecx
lea eax, [esi + 0x14]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov byte [esp + 0x95], 0
test eax, eax
je 0x10025f22
push eax
lea ecx, [esp + 0x8c]
call fcn.10003580
test eax, eax
je 0x10025f9e
mov ecx, dword [esp + 0x88]
mov al, byte [esp + 0xb4]
mov byte [esp + 0x94], al
mov dword [esp + 0x8c], 0x13
mov byte [ecx + 0x13], 0
mov eax, dword [str.instagram:___video_]
mov dword [ecx], eax
mov eax, dword [0x10054fc4]
mov dword [ecx + 4], eax
mov eax, dword [0x10054fc8]
mov dword [ecx + 8], eax
mov eax, dword [0x10054fcc]
mov dword [ecx + 0xc], eax
mov ax, word [0x10054fd0]
mov word [ecx + 0x10], ax
mov al, byte [0x10054fd2]
mov byte [ecx + 0x12], al
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
add eax, ecx
add ecx, esi
push esi
push dword [esp + 0xac]
mov dword [esp + 0x94], ecx
push eax
mov byte [eax + esi], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 2
push 1
push 0
push ebx
push edi
mov edx, str.display_url
lea ecx, [esp + 0x2c]
call fcn.100069a0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x1c]
push ebp
push ecx
mov ecx, esp
lea edx, [edi + edx]
mov dword [ecx], eax
lea ecx, [esp + 0x54]
call fcn.10007020
mov ebp, dword [sym.imp.msvcrt.dll_free]
add esp, 8
cmp dword [esp + 0x50], 0
jne 0x100260ce
push 0
push ebx
push edi
mov edx, str.image_versions2
lea ecx, [esp + 0x24]
call fcn.10006cb0
mov ecx, dword [esp + 0x28]
add esp, 0xc
test ecx, ecx
jle 0x100260c2
mov esi, dword [esp + 0x18]
mov edx, str.candidates
push 1
push ecx
lea ecx, [esp + 0x34]
lea eax, [edi + esi]
push eax
call fcn.10006cb0
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add esi, eax
test ecx, ecx
jle 0x100260c2
push 0
push 0
push ecx
lea edx, [edi + esi]
lea ecx, [esp + 0x38]
call fcn.10006e80
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add eax, esi
test ecx, ecx
jle 0x100260c2
push 2
push closesocket
push 0
push ecx
lea esi, [edi + eax]
mov edx, 0x10054468
push esi
lea ecx, [esp + 0x2c]
call fcn.100069a0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x1c]
push dword [esp + 0x28]
lea edx, [esi + edx]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x34]
call fcn.10007020
mov eax, dword [esp + 0x54]
add esp, 8
cmp eax, 0x10059da0
je 0x100260a0
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x38]
mov dword [esp + 0x50], ecx
mov byte [esp + 0x58], al
jmp 0x100260c6
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x100261fb
xor edx, edx
lea ecx, [esp + 0x4c]
call fcn.10008dc0
mov bl, byte [esp + 0x58]
lea edx, [esp + 0x4c]
push 1
lea ecx, [esp + 0x30]
call fcn.1000a300
mov byte [esp + 0xa8], bl
add esp, 4
mov byte [esp + 0xa5], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x78], eax
test ebx, ebx
jle 0x10026155
lea eax, [ebx + 0x10]
push eax
mov dword [esp + 0xa4], eax
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
mov dword [esp + 0x98], esi
test esi, esi
je 0x10026155
push ebx
push dword [esp + 0x7c]
mov dword [esp + 0xa4], ebx
push esi
mov byte [esi + ebx], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10026177
mov esi, 0x10059da0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x98]
mov edx, str.instagram:___poster_
push eax
lea ecx, [esp + 0xec]
call fcn.1001add0
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, 0x10059da0
je 0x100261a6
push eax
call ebp
add esp, 4
mov eax, dword [ebx]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x54], eax
mov al, byte [ebx + 0xc]
mov byte [esp + 0x58], al
mov dword [ebx], 0x10059da0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov eax, dword [esp + 0xe8]
cmp eax, 0x10059da0
je 0x100261e9
push eax
call ebp
add esp, 4
cmp esi, 0x10059da0
je 0x100261f7
push esi
call ebp
add esp, 4
mov ebx, dword [esp + 0x60]
push 2
push 0
push 0
push ebx
push edi
mov edx, str.video_duration
lea ecx, [esp + 0x2c]
call fcn.100069a0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x1c]
push dword [esp + 0x28]
lea edx, [edi + edx]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xc0]
call fcn.10007020
mov eax, dword [esp + 0xc4]
add esp, 8
mov esi, dword [esp + 0xb8]
mov dword [esp + 0x7c], 0
test eax, eax
je 0x10026265
push 0xa
push eax
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.1000a9b0
add esp, 8
cmp esi, 0x10059da0
je 0x10026273
push esi
call ebp
add esp, 4
push 2
push 0
push 0
push ebx
push edi
mov edx, str.title
lea ecx, [esp + 0x2c]
call fcn.100069a0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x1c]
push dword [esp + 0x28]
lea edx, [edi + edx]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x44]
call fcn.10007020
add esp, 8
cmp dword [esp + 0x40], 0
jne 0x100263ff
push 0
push ebx
push edi
mov edx, str.caption
lea ecx, [esp + 0x24]
call fcn.10006cb0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x18]
test eax, eax
jg 0x10026303
push 0
push ebx
push edi
mov edx, str.edge_media_to_caption
lea ecx, [esp + 0x24]
call fcn.10006cb0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x18]
test eax, eax
jg 0x10026303
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
jmp 0x10026381
push 2
push closesocket
push 0
lea esi, [edi + ecx]
mov edx, str.text
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.100069a0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x1c]
push dword [esp + 0x28]
lea edx, [esi + edx]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x34]
call fcn.10007020
mov eax, dword [esp + 0x44]
add esp, 8
cmp eax, 0x10059da0
je 0x10026353
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 0x10059da0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x38]
mov byte [esp + 0x48], al
mov eax, 1
mov dword [esp + 0x40], ecx
test ecx, ecx
jne 0x100263f9
push 2
push 1
push 0
or eax, 2
lea ecx, [esp + 0x24]
push ebx
push edi
mov edx, str.song_name
mov dword [esp + 0x34], eax
call fcn.100069a0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x1c]
push dword [esp + 0x70]
lea edx, [edi + edx]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x34]
call fcn.10007020
mov eax, dword [esp + 0x44]
add esp, 8
cmp eax, 0x10059da0
je 0x100263d2
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, 0x10059da0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x38]
mov byte [esp + 0x48], al
jmp 0x10026407
mov ecx, dword [esp + 0x2c]
jmp 0x1002640b
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
test al, 2
je 0x10026428
and eax, 0xfffffffd
mov dword [esp + 0x20], eax
cmp ecx, 0x10059da0
je 0x10026428
push ecx
call ebp
mov eax, dword [esp + 0x24]
add esp, 4
test al, 1
je 0x1002643a
cmp esi, 0x10059da0
je 0x1002643a
push esi
call ebp
add esp, 4
cmp dword [esp + 0x40], 0
je 0x1002648d
lea ecx, [esp + 0x3c]
call fcn.1000a870
sub esp, 8
lea ecx, [esp + 0x44]
push 0x20
push 0xa
call fcn.100043d0
lea ecx, [esp + 0x3c]
call fcn.10003fa0
cmp dword [esp + 0x40], 5
jne 0x1002648d
push 5
push str.title
push dword [esp + 0x44]
call dword [sym.imp.msvcrt.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x1002648d
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov byte [eax], 0
cmp dword [esp + 0xac], 0
mov esi, dword [esp + 0x64]
mov dword [esp + 0x84], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0x68], 1
mov byte [esp + 0x17], 0
mov byte [esp + 0x27], 0
je 0x100264ed
mov ecx, dword [esi + 8]
lea edx, [esp + 0x88]
push 2
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
push dword [eax + ecx + 0x3c]
push edx
push dword [eax + ecx + 0x30]
mov ecx, dword [ecx + 8]
call fcn.10039d20
mov ecx, eax
mov dword [esp + 0x84], ecx
test ecx, ecx
jne 0x10026521
cmp dword [esp + 0x50], 0
je 0x10026538
mov ecx, dword [esi + 8]
lea edx, [esp + 0x4c]
push 2
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
push dword [eax + ecx + 0x3c]
push edx
push dword [eax + ecx + 0x30]
mov ecx, dword [ecx + 8]
call fcn.10039d20
mov ecx, eax
mov dword [esp + 0x84], ecx
test ecx, ecx
je 0x10026538
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x20]
test eax, eax
mov dword [esp + 0x6c], eax
sete byte [esp + 0x68]
jmp 0x10026548
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
inc dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
push 2
push closesocket
push 0
push ebx
push edi
mov edx, str.video_dash_manifest
lea ecx, [esp + 0x2c]
call fcn.100069a0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x1c]
push dword [esp + 0x28]
lea edx, [edi + edx]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xc0]
call fcn.10007020
add esp, 8
cmp dword [esp + 0xbc], 0
je 0x100265cc
mov ecx, dword [esi + 8]
lea eax, [esp + 0x3c]
push 1
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x2c]
push dword [esp + 0x90]
push eax
mov eax, dword [ecx + 0xc]
add ecx, 0x4c
push dword [esp + 0xd0]
mov eax, dword [eax + 8]
add eax, ecx
mov ecx, esi
push eax
call fcn.10035b00
mov byte [esp + 0x27], al
push 1
push ebx
push edi
mov edx, str.video_versions
lea ecx, [esp + 0x7c]
call fcn.10006cb0
mov eax, dword [esp + 0x80]
add esp, 0xc
test eax, eax
jle 0x100267e9
mov ecx, dword [esp + 0x70]
push 0
mov dword [esp + 0x7c], ecx
push 0
lea edx, [edi + ecx]
push eax
lea ecx, [esp + 0x38]
call fcn.10006e80
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add eax, dword [esp + 0x70]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x100267e9
mov ebx, dword [esp + 0x74]
lea esp, [esp]
push 2
push closesocket
push 0
push ecx
lea esi, [eax + edi]
mov edx, 0x10054468
push esi
lea ecx, [esp + 0xdc]
call fcn.100069a0
mov edx, dword [esp + 0xdc]
add esp, 0x14
mov eax, dword [esp + 0xcc]
push dword [esp + 0x28]
lea edx, [edx + esi]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xf0]
call fcn.10007020
mov ecx, dword [esp + 0x64]
mov edx, 0x1005446c
push 2
push closesocket
push 0
push ecx
push esi
lea ecx, [esp + 0xec]
call fcn.100069a0
mov edx, dword [esp + 0xec]
add esp, 0x1c
mov eax, dword [esp + 0xd4]
push dword [esp + 0x28]
lea edx, [edx + esi]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x100]
call fcn.10007020
push 2
push closesocket
push 0
push dword [esp + 0x70]
mov edx, 0x10054444
lea ecx, [esp + 0xb0]
push esi
call fcn.100069a0
mov edx, dword [esp + 0xb4]
add esp, 0x1c
mov eax, dword [esp + 0x9c]
push dword [esp + 0x28]
lea edx, [edx + esi]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x110]
call fcn.10007020
mov ecx, dword [esp + 0x104]
xor eax, eax
mov esi, dword [esp + 0x100]
add esp, 8
mov dword [esp + 0x70], eax
test ecx, ecx
je 0x10026738
push ecx
push ecx
lea edx, [esp + 0x78]
mov ecx, esi
call fcn.1000aac0
mov eax, dword [esp + 0x78]
add esp, 8
push ecx
push dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
push dword [esp + 0x28]
push dword [esp + 0x78]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x54]
push dword [esp + 0x98]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.10026980
or byte [esp + 0x17], al
mov eax, dword [esp + 0x108]
cmp eax, 0x10059da0
je 0x10026782
push eax
call ebp
add esp, 4
cmp esi, 0x10059da0
je 0x10026790
push esi
call ebp
add esp, 4
mov eax, dword [esp + 0xe8]
cmp eax, 0x10059da0
je 0x100267a4
push eax
call ebp
add esp, 4
mov esi, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
add esi, dword [esp + 0x18]
add ebx, dword [esp + 0x78]
push 0
sub ebx, esi
mov dword [esp + 0x7c], esi
push 0
lea edx, [edi + esi]
push ebx
call fcn.10006e80
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add eax, esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
jg 0x10026630
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
push 2
push closesocket
push 0
push ebx
push edi
mov edx, str.video_url
lea ecx, [esp + 0xac]
call fcn.100069a0
mov edx, dword [esp + 0xac]
add esp, 0x14
mov eax, dword [esp + 0x9c]
push dword [esp + 0x28]
lea edx, [edi + edx]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xe0]
call fcn.10007020
add esp, 8
cmp dword [esp + 0xdc], 0
je 0x10026885
lea ecx, [esp + 0xd8]
call fcn.10033a00
mov ebx, dword [esp + 0x20]
test al, al
je 0x10026889
push ecx
push dword [esp + 0x6c]
lea eax, [esp + 0x44]
mov ecx, esi
push ebx
push dword [esp + 0x78]
push 0
push dword [esp + 0x90]
push dword [esp + 0x98]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.10026980
mov cl, byte [esp + 0x17]
or cl, al
jmp 0x1002688d
mov ebx, dword [esp + 0x20]
mov cl, byte [esp + 0x17]
cmp dword [esp + 0x84], 0
jne 0x100268e5
test cl, cl
jne 0x100268a1
cmp byte [esp + 0x27], cl
je 0x100268e5
cmp dword [esp + 0x8c], 0
je 0x100268c6
mov ecx, dword [esi + 8]
lea eax, [esp + 0x88]
push 4
push 0
push ebx
push 1
push eax
push ecx
mov ecx, dword [ecx + 8]
call fcn.100398f0
cmp dword [esp + 0x50], 0
je 0x100268e5
mov ecx, dword [esi + 8]
lea eax, [esp + 0x4c]
push 4
push 0
push ebx
push 1
push eax
push ecx
mov ecx, dword [ecx + 8]
call fcn.100398f0
mov eax, dword [esp + 0xd8]
cmp eax, 0x10059da0
je 0x100268f9
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0xb8]
cmp eax, 0x10059da0
je 0x1002690d
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, 0x10059da0
je 0x1002691e
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, 0x10059da0
je 0x1002692f
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x88]
cmp eax, 0x10059da0
je 0x10026943
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0xa8]
cmp eax, 0x10059da0
je 0x10026957
push eax
call ebp
add esp, 4
cmp edi, 0x10059da0
je 0x10026965
push edi
call ebp
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc