Function at 0x420e60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x459070]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
call fcn.00430815
add esp, 4
push eax
call fcn.00430741
add esp, 4
mov dword [esp + 0x24], 0
mov ecx, 0x45cc24
mov dword [0x45b640], 3
mov dword [0x45b644], 5
mov dword [0x45b64c], 0
push 0x19
push str.2012_12_04_23:04:37__0800
mov byte [0x45cc75], 1
mov dword [0x45b648], 0xaa3c
call fcn.00406a40
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.004253bd
add esp, 8
test eax, eax
jne 0x420f1d
lea eax, [esp + 0x70]
push str.bittorrent
push eax
call fcn.004253bd
add esp, 8
test eax, eax
jne 0x420f1d
xor bl, bl
jmp 0x420f1f
mov bl, 1
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x70]
cmp eax, ecx
je 0x420f4d
push 0x104
push eax
push 0x45c690
call fcn.00430753
mov ax, word [0x45c690]
add esp, 0xc
jmp 0x420f55
xor eax, eax
mov word [0x45c690], ax
test bl, bl
je 0x420f81
test ax, ax
jne 0x420f75
push 0x104
push str.BitTorrentie.exe
push 0x45c690
call fcn.00430753
add esp, 0xc
mov edx, str.bt_ie
mov ecx, str.BitTorrent
jmp 0x420fa7
test ax, ax
jne 0x420f9d
push 0x104
push str.uTorrentie.exe
push 0x45c690
call fcn.00430753
add esp, 0xc
mov edx, str.ut_ie
mov ecx, 0x451410
sub esp, 8
call fcn.004032f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x45e058], eax
call fcn.0040f5c0
lea ecx, [esp + 0xc]
call fcn.0040b3f0
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x420fd5
mov ecx, dword [ecx]
mov edx, ecx
lea esi, [edx + 2]
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420fe0
sub edx, esi
sar edx, 1
cmp edx, 0x104
jae 0x421011
mov edx, 0x45c898
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x421000
mov eax, dword [esp + 0x20]
cmp eax, 8
jb 0x421029
inc eax
lea ecx, [esp + 0xc]
push eax
push dword [esp + 0x10]
call fcn.004070d0
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 0x42110b
cmp dword [esp + 0x24], 3
jle 0x42110b
push dword [esi + 4]
lea ecx, [esp + 0x5c]
call fcn.00403b10
push dword [esi + 8]
lea ecx, [esp + 0x44]
call fcn.00403b10
push dword [esi + 0xc]
lea ecx, [esp + 0x2c]
call fcn.00403b10
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [esp + 0x28]
mov ecx, edi
push eax
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x60]
call fcn.00417cb0
mov eax, dword [esp + 0x44]
add esp, 8
cmp eax, 8
jb 0x4210ab
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.004070d0
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], 0
cmp eax, 8
jb 0x4210da
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.004070d0
xor eax, eax
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], 0
cmp eax, 8
jb 0x421118
inc eax
lea ecx, [esp + 0x58]
push eax
push dword [esp + 0x5c]
call fcn.004070d0
jmp 0x421118
push str.CommandLineToArgvW_failed_n
call fcn.00420e20
add esp, 4
mov ecx, dword [esp + 0x27c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00422a60
mov esp, ebp
pop ebp
ret 0x10