Function at 0x420980
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x44e740]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
call fcn.004271fa
add esp, 4
push eax
call fcn.00426e68
add esp, 4
mov dword [esp + 0x24], 0
mov ecx, 0x44f778
mov dword [0x4517bc], 3
mov dword [0x4517b8], 4
mov dword [0x4517b0], 6
push 0x19
push str.2012_12_04_23:04:37__0800
mov byte [0x453fff], 1
mov dword [0x4517b4], 0xa46e
call fcn.00401a50
push 0x104
lea eax, [esp + 0x74]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x70]
push str.BitTorrent
push eax
call fcn.00426f67
add esp, 8
test eax, eax
lea eax, [esp + 0x70]
setne bl
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x70]
cmp eax, ecx
je 0x420a52
push 0x104
push eax
push 0x452810
call fcn.00426e78
mov ax, word [0x452810]
add esp, 0xc
jmp 0x420a5a
xor eax, eax
mov word [0x452810], ax
test bl, bl
je 0x420a86
test ax, ax
jne 0x420a7a
push 0x104
push str.BitTorrentie.exe
push 0x452810
call fcn.00426e78
add esp, 0xc
mov edx, str.bt_ie
mov ecx, str.BitTorrent
jmp 0x420aac
test ax, ax
jne 0x420aa2
push 0x104
push str.uTorrentie.exe
push 0x452810
call fcn.00426e78
add esp, 0xc
mov edx, str.ut_ie
mov ecx, 0x447ca0
push 0x452810
push str.BTWebClient
call fcn.00403100
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x454028], eax
call fcn.0040ffb0
lea ecx, [esp + 0xc]
call fcn.0040ade0
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x420ae1
mov ecx, dword [ecx]
mov edx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420ae6
sub edx, esi
sar edx, 1
cmp edx, 0x104
jae 0x420b14
mov edx, 0x452a20
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x420b04
cmp dword [esp + 0x20], 8
jb 0x420b27
push dword [esp + 0xc]
call fcn.00425576
add esp, 4
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x420bf7
cmp dword [esp + 0x24], 3
jle 0x420bf7
push dword [esi + 4]
lea ecx, [esp + 0x5c]
call fcn.004040b0
push dword [esi + 8]
lea ecx, [esp + 0x2c]
call fcn.004040b0
push dword [esi + 0xc]
lea ecx, [esp + 0x44]
call fcn.004040b0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x60]
call fcn.00418800
add esp, 8
cmp dword [esp + 0x54], 8
jb 0x420ba4
push dword [esp + 0x40]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
jb 0x420bce
push dword [esp + 0x28]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x420c04
push dword [esp + 0x58]
call fcn.00425576
jmp 0x420c01
push str.CommandLineToArgvW_failed_n
call fcn.00426eb8
add esp, 4
mov ecx, dword [esp + 0x27c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00424db6
mov esp, ebp
pop ebp
ret 0x10