Function at 0x473440
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db229
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x526f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov ebx, 1
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
call fcn.004ad3ae
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47349c
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
test edi, edi
je 0x4734d2
test edi, 0xffff0000
jne 0x4734d6
movzx edi, di
push edi
call fcn.004b5332
test eax, eax
je 0x4734e8
push edi
push eax
mov ecx, esi
call fcn.00424e51
jmp 0x4734e8
xor eax, eax
jmp 0x4734df
push edi
call fcn.004bbaea
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.004253d4
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
test ecx, ecx
je 0x473515
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x473515
push ecx
push eax
call fcn.004bbc71
add esp, 8
test eax, eax
je 0x473515
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
jne 0x473534
push 0x4eda54
call fcn.004bbaea
add esp, 4
push eax
push 0x4eda54
mov ecx, esi
call fcn.004253d4
jmp 0x47360b
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx - 0xc]
push 0
add eax, ecx
push esi
call fcn.00424883
push ebx
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
call fcn.004249db
mov eax, dword [eax]
push 0x4f76dc
push eax
call fcn.004bbd30
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473584
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4735f7
mov eax, dword [esi]
mov edi, dword [eax - 0xc]
mov ebx, 1
cmp edi, ebx
jge 0x47359c
mov ebx, edi
test edi, edi
jle 0x4735f7
sub edi, ebx
cmp dword [eax - 4], 1
jle 0x4735af
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.00422585
mov eax, dword [esi]
lea ecx, [edi + edi + 2]
push ecx
lea edx, [eax + ebx*2]
push edx
push ecx
push eax
call fcn.004bb63f
add esp, 0x10
cmp eax, 0x50
ja case.0x4735d0.1
movzx eax, byte [eax + 0x47365c]
jmp dword [eax*4 + 0x47364c]
call fcn.004ad916
call fcn.004ad94e
test edi, edi
jl 0x473642
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x473642
mov dword [eax - 0xc], edi
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + edi*2], dx
push 0x4f41e4
mov eax, esi
call fcn.0043d90d
push eax
mov ecx, esi
call fcn.00424edf
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47362e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00422000
loope 0x473683
inc edi
add bh, dl
xor eax, 0x35dc0047
inc edi
add ah, bl
xor eax, 0x3000047
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add ah, cl
int3
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3