Function at 0x407c33
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and dword [ebp - 0x60], 0
and dword [ebp - 0x44], 0
and dword [ebp - 4], 0
and dword [ebp - 0x34], 0
and dword [ebp - 0x58], 0
and dword [ebp - 0x64], 0
and dword [ebp - 0x5c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov byte [ebp - 0x10], al
inc dword [ebp - 0x1c]
cmp byte [ebp - 0x10], 0
jne 0x407c68
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0xb0]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xff
jbe 0x407c96
push 0x46
pop eax
jmp 0x408331
push 7
push str.http:__
push dword [ebp + 8]
call fcn.0041ff4c
add esp, 0xc
test eax, eax
jne 0x407f76
push pe_nt_image_headers32
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.004106a0
add esp, 0xc
xor eax, eax
inc eax
imul eax, eax, 0xff
mov byte [ebp + eax - 0x208], 0
xor eax, eax
inc eax
imul eax, eax, 7
lea eax, [ebp + eax - 0x208]
mov dword [ebp - 0x68], eax
push 0x2f
push dword [ebp - 0x68]
call fcn.00410570
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x407d05
push 0x46
pop eax
jmp 0x408331
mov eax, dword [ebp - 0x48]
mov byte [eax], 0
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x208]
sub eax, ecx
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x40], eax
push 0x2f
push dword [ebp + 8]
call fcn.0040f4f0
pop ecx
pop ecx
inc eax
mov dword [ebp - 8], eax
je 0x407d65
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
mov byte [ebp - 0xf], al
inc dword [ebp - 0x24]
cmp byte [ebp - 0xf], 0
jne 0x407d42
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jae 0x407d6d
push 0x46
pop eax
jmp 0x408331
push str.HTTPProxyServer
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x407e2a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
push 7
push str.http:__
push dword [ebp - 0x34]
call fcn.0041ff4c
add esp, 0xc
test eax, eax
jne 0x407db4
mov eax, dword [ebp - 0x34]
add eax, 7
mov dword [ebp - 0x34], eax
push str.HTTPProxyUsername
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x407e06
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x58], eax
push str.HTTPProxyPassword
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x407dfe
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x64], eax
jmp 0x407e06
push 0x38
pop eax
jmp 0x408331
push str.HTTPProxyPort
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x407e2a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x60], eax
push str.HTTPUserAgent
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x407e4e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x5c], eax
push str.ConnectTimeout
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x84], eax
push str.ReceiveTimeout
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xb4], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0xd8], 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 8]
call sub.libav.dll_Ordinal_44339
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x407ebd
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
lea eax, [ebp - 0xd8]
push eax
call fcn.00404c36
add esp, 0xc
push 0x431a00
call sub.libav.dll_Ordinal_44203
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
inc eax
imul eax, eax, 0
movsx eax, byte [ebp + eax - 0xd8]
test eax, eax
je 0x407ee8
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x54], eax
jmp 0x407eec
and dword [ebp - 0x54], 0
push 1
push dword [ebp + 0x10]
push dword [ebp - 0x54]
push 0
push dword [ebp + 0x18]
push 0
push dword [ebp - 0xb4]
push dword [ebp - 0x84]
push dword [ebp - 0x5c]
push dword [ebp - 0x64]
push dword [ebp - 0x58]
push dword [ebp - 0x60]
push dword [ebp - 0x34]
push dword [ebp + 0x14]
push 0
push dword [ebp - 0x68]
push dword [ebp - 4]
push dword [ebp - 0x40]
call fcn.004067b5
add esp, 0x48
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jne 0x407f51
push dword [ebp - 4]
call fcn.00422e36
pop ecx
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
xor eax, eax
inc eax
jmp 0x408331
cmp dword [ebp - 0x4c], 1
jle 0x407f71
push dword [ebp - 4]
call fcn.00422e36
pop ecx
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
mov eax, dword [ebp - 0x4c]
jmp 0x408331
jmp 0x408048
push 7
push str.file:__
push dword [ebp + 8]
call fcn.0041ff4c
add esp, 0xc
test eax, eax
jne 0x408040
xor eax, eax
inc eax
imul eax, eax, 7
add eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push 0x5c
push dword [ebp - 0x40]
call fcn.0040f4f0
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x407ff7
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x2c]
mov al, byte [eax]
mov byte [ebp - 0x11], al
inc dword [ebp - 0x2c]
cmp byte [ebp - 0x11], 0
jne 0x407fd4
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 5
jae 0x407fff
push 0x46
pop eax
jmp 0x408331
push 0x431a00
call sub.libav.dll_Ordinal_44203
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40801b
push 0x46
pop eax
jmp 0x408331
push dword [ebp - 4]
push dword [ebp - 0x40]
call sub.libav.dll_Ordinal_44268
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x40803e
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
push 0x46
pop eax
jmp 0x408331
jmp 0x408048
push 0x46
pop eax
jmp 0x408331
push str.TestDatabases
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], 0
je 0x408242
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x3c]
mov al, byte [eax]
mov byte [ebp - 0x13], al
inc dword [ebp - 0x3c]
cmp byte [ebp - 0x13], 0
jne 0x408071
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 4
jbe 0x408242
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x38]
mov al, byte [eax]
mov byte [ebp - 0x12], al
inc dword [ebp - 0x38]
cmp byte [ebp - 0x12], 0
jne 0x4080ab
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
mov byte [ebp - 0xd], al
inc dword [ebp - 0x30]
cmp byte [ebp - 0xd], 0
jne 0x4080d5
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x88]
lea eax, [ecx + eax + 1]
push eax
call fcn.0041102c
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x408126
push dword [ebp - 4]
call fcn.00422e36
pop ecx
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
push 0x37
pop eax
jmp 0x408331
push dword [ebp - 8]
push dword [ebp - 4]
push str._s_s
push dword [ebp - 0x18]
call fcn.0040fc18
add esp, 0x10
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x20]
mov al, byte [eax]
mov byte [ebp - 0x14], al
inc dword [ebp - 0x20]
cmp byte [ebp - 0x14], 0
jne 0x40814c
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
mov byte [ebp - 0xe], al
inc dword [ebp - 0x28]
cmp byte [ebp - 0xe], 0
jne 0x40817c
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], 0
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.00410c1f
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x4081e4
push dword [ebp - 4]
call fcn.00422e36
pop ecx
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
push dword [ebp - 0x18]
call fcn.0040fcd8
pop ecx
push 0x39
pop eax
jmp 0x408331
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
and dword [0x42f004], 0
push str.Bytecode
push dword [ebp + 0x10]
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
push dword [eax + 0x18]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.004079f9
add esp, 0xc
test eax, eax
je 0x408238
push dword [ebp - 4]
call fcn.00422e36
pop ecx
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
push 0x37
pop eax
jmp 0x408331
mov dword [0x42f004], 1
push 4
push dword [ebp - 8]
call sub.libav.dll_Ordinal_44340
pop ecx
pop ecx
test eax, eax
jne 0x408279
push dword [ebp - 8]
call fcn.00422e36
pop ecx
test eax, eax
je 0x408279
push dword [ebp - 4]
call fcn.00422e36
pop ecx
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
push 0x35
pop eax
jmp 0x408331
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00410c1f
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x4082a5
push dword [ebp - 4]
call fcn.00422e36
pop ecx
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
push 0x39
pop eax
jmp 0x408331
push dword [ebp - 4]
call fcn.0040fcd8
pop ecx
push str..cld
push dword [ebp - 8]
call sub.libav.dll_Ordinal_44258
pop ecx
pop ecx
test eax, eax
jne 0x4082d4
push str..cvd
push dword [ebp - 8]
call sub.libav.dll_Ordinal_44258
pop ecx
pop ecx
test eax, eax
je 0x4082fa
push dword [ebp - 8]
call sub.libav.dll_Ordinal_3
pop ecx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4082f8
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x50]
call sub.libav.dll_Ordinal_2
pop ecx
jmp 0x408322
push str..cbc
push dword [ebp - 8]
call sub.libav.dll_Ordinal_44258
pop ecx
pop ecx
test eax, eax
je 0x408316
mov dword [ebp - 0x44], 1
jmp 0x408322
push dword [ebp - 8]
call fcn.0040cf37
pop ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
leave
ret