Function at 0x446f00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a722
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4ae830]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a8], ecx
mov eax, dword [ebp - 0x2a8]
mov dword [eax + 4], 1
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4470bf
mov dword [ebp - 0x68], 0
jmp 0x446f87
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x10]
jge 0x4470b5
push str._TEST
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + eax*4]
push edx
call fcn.0046ff07
add esp, 8
test eax, eax
jne 0x446fb5
mov dword [ebp - 0x14], 1
push 0x49332c
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + eax*4]
push edx
call fcn.0046ff07
add esp, 8
test eax, eax
jne 0x446fdd
mov eax, dword [ebp - 0x2a8]
mov dword [eax + 0xc], 0
push str._NOTRAY
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0046ff07
add esp, 8
test eax, eax
jne 0x447005
mov ecx, dword [ebp - 0x2a8]
mov dword [ecx + 8], 0
push 9
push 0x493344
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00471016
add esp, 0xc
test eax, eax
jne 0x447041
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + edx*4]
add ecx, 0x12
push ecx
mov edx, dword [ebp - 0x2a8]
add edx, 0x1c
push edx
call fcn.00440960
add esp, 8
push 8
push str.partner
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00471016
add esp, 0xc
test eax, eax
jne 0x44707d
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + eax*4]
add edx, 0x10
push edx
mov eax, dword [ebp - 0x2a8]
add eax, 0x1c
push eax
call fcn.00440960
add esp, 8
push 0x49336c
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4470b0
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x2a8]
add ecx, 0x95c
call fcn.004170d0
jmp 0x446f7e
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], 0
je 0x4470f4
mov eax, dword [ebp - 0x2a8]
cmp dword [eax + 4], 0
jne 0x4470e0
mov ecx, dword [ebp - 0x2a8]
mov dword [ecx + 0x18], 2
jmp 0x4470ed
mov edx, dword [ebp - 0x2a8]
mov dword [edx + 0x18], 0
xor eax, eax
jmp 0x4475f2
mov eax, dword [ebp - 0x2a8]
cmp dword [eax + 0xc], 0
je 0x44710d
mov ecx, dword [ebp - 0x2a8]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 0x2a8]
add edx, 0x1c
push edx
call fcn.00470944
add esp, 4
test eax, eax
jne 0x4471d1
xor eax, eax
mov word [ebp - 0x274], ax
push 0x206
push 0
lea ecx, [ebp - 0x272]
push ecx
call fcn.0046fba0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x274]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x493374
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4471d1
mov ecx, dword [ebp - 0x6c]
add ecx, 4
mov dword [ebp - 0x6c], ecx
push 0x49337c
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
je 0x4471d1
mov eax, dword [ebp - 0x278]
sub eax, dword [ebp - 0x6c]
sar eax, 1
test eax, eax
jle 0x4471d1
xor ecx, ecx
mov edx, dword [ebp - 0x278]
mov word [edx], cx
mov eax, dword [ebp - 0x6c]
push eax
push 0x80
mov ecx, dword [ebp - 0x2a8]
add ecx, 0x1c
push ecx
call fcn.00470266
add esp, 0xc
mov edx, dword [ebp - 0x2a8]
add edx, 0x1c
push edx
call fcn.00470944
add esp, 4
test eax, eax
jne 0x447207
push 0x80
mov eax, dword [ebp - 0x2a8]
add eax, 0x1c
push eax
push 0x68
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 0x2a8]
cmp dword [eax + 4], 0
jne 0x44726e
mov dword [ebp - 0x280], 0x100
mov ecx, dword [ebp - 0x280]
push ecx
push 0
mov edx, dword [ebp - 0x2a8]
add edx, 0x1c
push edx
call fcn.0046fba0
add esp, 0xc
mov dword [ebp - 0x27c], 0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x280]
push ecx
mov edx, dword [ebp - 0x2a8]
add edx, 0x1c
push edx
push 0x493384
push 0x493398
call fcn.004485e0
add esp, 0x14
jmp 0x4472bb
mov eax, dword [ebp - 0x2a8]
add eax, 0x1c
push eax
call fcn.00470944
add esp, 4
test eax, eax
jbe 0x4472bb
mov ecx, dword [ebp - 0x2a8]
add ecx, 0x1c
push ecx
call fcn.00470944
add esp, 4
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp - 0x2a8]
add eax, 0x1c
push eax
push 1
push 0
push str.PartnerID
push 0x4933b0
call fcn.00448490
add esp, 0x18
push 0x100
mov ecx, dword [ebp - 0x2a8]
add ecx, 0x11c
push ecx
push 0x6a
mov edx, dword [ebp - 0x2a8]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [ebp - 0x2a8]
add ecx, 0x11c
push ecx
call fcn.00470944
add esp, 4
test eax, eax
jne 0x447311
push str.http:__box.kantanstart.jp_download_esb_newver.xml
mov edx, dword [ebp - 0x2a8]
add edx, 0x11c
push edx
call fcn.00448bf0
add esp, 8
push 0x100
mov eax, dword [ebp - 0x2a8]
add eax, 0x31c
push eax
push 0x69
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 0x2a8]
add eax, 0x31c
push eax
push 0x49341c
call fcn.0046ff07
add esp, 8
test eax, eax
jne 0x44736c
push 0x200
push 0
mov ecx, dword [ebp - 0x2a8]
add ecx, 0x31c
push ecx
call fcn.0046fba0
add esp, 0xc
push 0x20
mov edx, dword [ebp - 0x2a8]
add edx, 0x51c
push edx
push 0x6c
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [ebp - 0x2a8]
add edx, 0x51c
push edx
push 0x493428
call fcn.0046ff07
add esp, 8
test eax, eax
jne 0x4473c2
push 0x40
push 0
mov eax, dword [ebp - 0x2a8]
add eax, 0x51c
push eax
call fcn.0046fba0
add esp, 0xc
mov cx, word [0x493434]
mov word [ebp - 0x5c], cx
push 0x3e
push 0
lea edx, [ebp - 0x5a]
push edx
call fcn.0046fba0
add esp, 0xc
push 0x20
lea eax, [ebp - 0x5c]
push eax
push 0x6b
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0xa
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.00471dd9
add esp, 0xc
mov ecx, dword [ebp - 0x2a8]
mov dword [ecx + 0x14], eax
push 0x80
mov edx, dword [ebp - 0x2a8]
add edx, 0x65c
push edx
push 0x71
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x80
mov edx, dword [ebp - 0x2a8]
add edx, 0x75c
push edx
push 0x72
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x80
mov edx, dword [ebp - 0x2a8]
add edx, 0x85c
push edx
push 0x73
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [ebp - 0x2a8]
add edx, 0x85c
push edx
push 0x493438
call fcn.0046ff07
add esp, 8
test eax, eax
jne 0x4474af
push 0x100
push 0
mov eax, dword [ebp - 0x2a8]
add eax, 0x85c
push eax
call fcn.0046fba0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, dword [ebp - 0x2a8]
call fcn.00446a70
push eax
lea ecx, [ebp - 0x2a4]
push ecx
mov ecx, dword [ebp - 0x2a8]
call fcn.00446b00
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2b0]
call fcn.00417120
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x80
mov eax, dword [ebp - 0x2a8]
add eax, 0x55c
push eax
call fcn.00470266
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.00417080
mov ecx, dword [ebp - 0x2a8]
cmp dword [ecx + 4], 0
je 0x44758e
mov edx, dword [ebp - 0x2a8]
add edx, 0x55c
push edx
call fcn.00470944
add esp, 4
test eax, eax
jbe 0x44758c
mov eax, dword [ebp - 0x2a8]
add eax, 0x55c
push eax
call fcn.00470944
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp - 0x2a8]
add edx, 0x55c
push edx
push 1
push 0
push 0x493444
push 0x49345c
call fcn.00448490
add esp, 0x18
jmp 0x4475ed
mov dword [ebp - 0x288], 0x100
mov eax, dword [ebp - 0x288]
push eax
push 0
mov ecx, dword [ebp - 0x2a8]
add ecx, 0x55c
push ecx
call fcn.0046fba0
add esp, 0xc
mov dword [ebp - 0x284], 0
lea edx, [ebp - 0x284]
push edx
lea eax, [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x2a8]
add ecx, 0x55c
push ecx
push 0x493460
push 0x493478
call fcn.004485e0
add esp, 0x14
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046fd33
mov esp, ebp
pop ebp
ret 4