Function at 0x419510
Capabilities:
Accept command line arguments
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1390
call fcn.0041efc0
mov eax, dword [0x45ce14]
xor eax, esp
mov dword [esp + 0x138c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x13a4]
push esi
push edi
mov edi, dword [esp + 0x13a4]
call fcn.00412e30
lea ecx, [esp + 0x60]
call fcn.0040d8b0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x18]
mov dword [0x4e06a8], edi
mov esi, eax
call fcn.0040b450
push 0
push 0x108
push 2
lea eax, [esp + 0x958]
mov dword [esp + 0x64], 0x441710
push eax
lea ecx, [esp + 0x948]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], 0x441710
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0x441710
mov dword [esp + 0x5c], 0
call fcn.00403130
mov eax, dword [esp + 0x948]
xor ecx, ecx
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
movups xmm0, xmmword [str.enstart]
push 0x30
mov dword [esp + 0x30], eax
mov ebx, 1
lea eax, [esp + 0xb70]
mov dword [esp + 0x18], ebx
push 0
push eax
mov byte [esp + 0x1e], bl
mov byte [esp + 0x3c], 0
mov byte [esp + 0x1f], 0
movups xmmword [esp + 0xb68], xmm0
call fcn.0041ff40
add esp, 0xc
lea eax, [esp + 0x728]
lea ecx, [esp + 0x714]
push 0
push 0x108
push 2
push eax
call fcn.00403130
mov eax, dword [esp + 0x724]
xor ecx, ecx
push ecx
push 0x108
push 2
mov word [eax], cx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0xb8]
call fcn.00403130
mov eax, dword [esp + 0xb8]
xor ecx, ecx
mov word [eax], cx
cmp dword [0x45eb40], 2
jl 0x419e02
test byte [0x45eb4c], bl
je 0x419685
push 0x20
lea eax, [esp + 0xb60]
mov dword [0x45cacc], 0xcd
push str.enstart64
push eax
call fcn.0040a620
add esp, 0xc
mov eax, dword [0x45b3c0]
cmp eax, 8
jne 0x4196a2
push 0x20
mov dword [0x45cacc], 0xd1
push str.enstartarm
jmp 0x4196b8
cmp eax, 9
jne 0x4196c8
push 0x20
mov dword [0x45cacc], 0xd2
push str.enstartarm64
lea eax, [esp + 0xb64]
push eax
call fcn.0040a620
add esp, 0xc
push ebp
push str._drop
call fcn.0040a790
add esp, 8
test al, al
jne 0x419d62
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xb60]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0041afc0
add esp, 0xc
test al, al
jne 0x41970f
push 0
lea ecx, [esp + 0xac]
call fcn.00407560
jmp 0x41972e
push dword [esp + 0xb8]
call fcn.00412450
add esp, 4
test al, al
jne 0x41972e
lea ecx, [esp + 0xa8]
call fcn.00407aa0
push 0
push 0x108
push 2
lea eax, [esp + 0x2ec]
mov edi, 0x50
push eax
lea ecx, [esp + 0x2dc]
call fcn.00403130
mov eax, dword [esp + 0x2dc]
xor ecx, ecx
push 1
push dword [esp + 0x30]
mov ebp, ebx
mov word [eax], cx
lea ecx, [esp + 0x2d4]
call fcn.00407410
test al, al
je 0x4198f4
nop dword [eax + eax]
mov ebx, dword [esp + 0x2dc]
movzx eax, word [ebx]
cmp eax, 0x2d
je 0x419794
cmp eax, 0x2f
jne 0x4197c3
movzx eax, word [ebx + 2]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
add ebx, 4
movzx edi, ax
cmp word [ebx], 0
jne 0x4197c3
cmp edi, 0x52
je 0x4197c3
cmp edi, 0x53
je 0x4197c3
cmp edi, 0x48
je 0x4197c3
cmp edi, 0x43
jne 0x4198a5
lea eax, [edi - 0x43]
cmp eax, 0x12
ja case.0x4197d6.69
movzx eax, byte [eax + 0x419ee0]
jmp dword [eax*4 + 0x419eb0]
push 0x20
push 0xa
push 0
push 4
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
push ebx
call fcn.0040ac80
add esp, 0x18
test al, al
je 0x4198a0
mov eax, dword [esp + 0x28]
mov dword [0x4e06ac], eax
jmp 0x4198a0
mov byte [esp + 0x12], 0
jmp 0x4198a0
cmp dword [0x45b3c4], 7
jl 0x4198a0
mov byte [esp + 0x30], 1
jmp 0x4198a0
push dword [esp + 0xb4]
push ebx
push dword [esp + 0xc0]
call fcn.0040a620
jmp 0x41989d
push 0x20
lea eax, [esp + 0xb60]
push ebx
push eax
call fcn.0040a620
jmp 0x41989d
mov byte [esp + 0x13], 1
jmp 0x4198a0
push ebx
lea ecx, [esp + 0x5c]
call fcn.0040b980
jmp 0x4198a0
push ebx
lea ecx, [esp + 0x54]
call fcn.0040b980
jmp 0x4198a0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x940]
call fcn.00407ac0
jmp 0x4198a0
push ebx
lea ecx, [esp + 0x4c]
call fcn.0040b980
push edi
lea eax, [esp + 0x1c]
push str.Invalid_token___c_
push eax
call fcn.00404e70
add esp, 0xc
mov edi, 0x4e
lea ecx, [esp + 0x2cc]
call fcn.004031c0
push 0
push 0x108
push 2
lea eax, [esp + 0x2ec]
push eax
lea ecx, [esp + 0x2dc]
call fcn.00403130
mov eax, dword [esp + 0x2dc]
xor ecx, ecx
inc ebp
push ebp
push dword [esp + 0x30]
mov word [eax], cx
lea ecx, [esp + 0x2d4]
call fcn.00407410
test al, al
jne 0x419780
lea ecx, [esp + 0x2cc]
call fcn.004031c0
mov eax, dword [0x45e8e8]
mov dword [0x4e06b0], 0
test eax, eax
je 0x41991a
push 0x4e06b0
call eax
push 0x45ef20
push dword [esp + 0x724]
lea ecx, [esp + 0x3c]
push dword [esp + 0x72c]
push str.SysRegInstallPath
push 0
push 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409130
mov ecx, eax
call fcn.0040a190
lea ecx, [esp + 0x38]
mov bl, al
call fcn.0040b470
test bl, bl
jne 0x419986
push 0
push 0
push 0x447390
lea eax, [esp + 0xb68]
push eax
push dword [esp + 0xc8]
lea ecx, [esp + 0x728]
call fcn.00406f90
push 0x45ef20
push str.SysRegInstallPath
push 0
push 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x4c]
call fcn.00409130
mov ecx, eax
call fcn.004093f0
lea ecx, [esp + 0x38]
call fcn.0040b470
lea eax, [esp + 0x18]
push eax
call fcn.0041aaf0
add esp, 4
test al, al
je 0x419d48
push dword [esp + 0x724]
lea eax, [esp + 0x1c]
push eax
call fcn.004192f0
add esp, 8
cmp byte [esp + 0x12], 0
je 0x419cd5
movzx eax, word [0x45cacc]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xa
push eax
push dword [0x4e06a8]
call edi
test eax, eax
je 0x419cbb
lea eax, [esp + 0x18]
push eax
push dword [esp + 0xbc]
call fcn.0040fa40
add esp, 8
test al, al
je 0x419ccb
cmp byte [esp + 0x13], 0
je 0x419af8
push 0xa
push 0xcc
push dword [0x4e06a8]
call edi
mov edi, eax
test edi, edi
je 0x419af8
push edi
push dword [0x4e06a8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x419af8
push 0
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.00409190
push edi
push dword [0x4e06a8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
lea ecx, [esp + 0x70]
call fcn.00409390
test al, al
je 0x419ae8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esp + 0x88]
push eax
push dword [esp + 0x9c]
call fcn.0041f9c0
add esp, 0xc
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x34]
push 0x45ef20
push eax
push dword [0x45ca30]
push 0
push 0x100
push dword [0x45ca2c]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409130
mov ecx, eax
call fcn.0040a560
lea ecx, [esp + 0x38]
call fcn.0040b470
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x6c]
call fcn.004091f0
push dword [esp + 0x30]
lea eax, [esp + 0xb60]
push 1
push eax
push dword [esp + 0xc4]
lea eax, [esp + 0x28]
push eax
call fcn.00419000
add esp, 0x14
test al, al
je 0x419ccb
push 0
push 0
push 0x447390
lea eax, [esp + 0xb68]
push eax
push dword [esp + 0xc8]
lea ecx, [esp + 0x728]
call fcn.00406f90
push 1
push 0x45ef20
push dword [esp + 0x72c]
lea ecx, [esp + 0x40]
push str.SysRegInstallPath
push 0
push 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409130
mov ecx, eax
call fcn.0040a410
lea ecx, [esp + 0x38]
mov bl, al
call fcn.0040b470
test bl, bl
je 0x419ba8
push 0x45ef20
mov ecx, 0x45fc28
call fcn.004168e0
xor edx, edx
mov ecx, 1
test al, al
cmovne ecx, edx
mov dword [esp + 0x14], ecx
push 0
push 0
push 0x447390
lea eax, [esp + 0xb68]
push eax
push dword [esp + 0xc8]
lea ecx, [esp + 0x728]
call fcn.00406f90
mov eax, dword [0x45e8ec]
test eax, eax
je 0x419bdd
push dword [0x4e06b0]
call eax
mov eax, dword [0x45e8e8]
mov dword [0x4e06b0], 0
test eax, eax
je 0x419bf7
push 0x4e06b0
call eax
mov ebx, dword [esp + 0x14]
mov eax, dword [0x45e8ec]
test eax, eax
je 0x419c0c
push dword [0x4e06b0]
call eax
test ebx, ebx
je 0x419e30
jmp 0x419e19
push 0
push 0x108
push 2
lea eax, [esp + 0x510]
mov byte [0x4e06b4], 1
push eax
lea ecx, [esp + 0x500]
call fcn.00403130
mov eax, dword [esp + 0x500]
xor ecx, ecx
push ecx
mov word [eax], cx
lea ecx, [esp + 0x4f4]
call fcn.004074f0
lea ecx, [esp + 0x4f0]
call fcn.004074e0
push eax
push str.Usage:_n_s___r___s___l__port____p__path____n__name____drop__nswitches:_n_drop____:_Drops_the_servlet_to_the_local_directory._n_r_______:_Remove_the_servlet_from_system._n_c_______:_Enable_Servlet_Check_In._n_s_______:_Hide_the_servlet_from_the_Task_Manager._n_l__port_:_Set_the_port_to__port_._n_p__path_:_Install_the_servlet_at__path_._n_n__name_:_Install_the_servlet_as__name_._n_h_______:_This_help_message_n
lea eax, [esp + 0xba4]
push 0x400
push eax
call fcn.0040b340
lea eax, [esp + 0xbac]
push eax
push str.Setup_Usage
push 0
push 0
push 0
call fcn.00404d50
add esp, 0x24
lea ecx, [esp + 0x4f0]
call fcn.004031c0
lea ecx, [esp + 0x2cc]
mov byte [0x4e06b4], 0
call fcn.004031c0
xor ebx, ebx
jmp 0x419e35
push 0
push str.No_executable_file_is_in_this_setup
lea ecx, [esp + 0x20]
call fcn.0040bb90
mov ebx, 1
jmp 0x419bfb
push 0x45ef20
push dword [0x45ca30]
lea ecx, [esp + 0x3c]
push 0
push 0x100
push dword [0x45ca2c]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409130
mov ecx, eax
call fcn.004093f0
lea ecx, [esp + 0x38]
call fcn.0040b470
push 0x45ef20
push dword [0x45c9c4]
lea ecx, [esp + 0x3c]
push 0
push 0x100
push dword [0x45c9c0]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409130
mov ecx, eax
call fcn.004093f0
lea ecx, [esp + 0x38]
call fcn.0040b470
xor ebx, ebx
jmp 0x419bfb
push 0
push str.Log_on_as_Administrator
lea ecx, [esp + 0x20]
call fcn.0040bb90
mov ebx, 1
jmp 0x419bfb
push str.Copying_files
push 0x447854
call fcn.00419f00
add esp, 8
lea eax, [esp + 0x504]
lea ecx, [esp + 0x4f0]
push 0
push 0x108
push 2
push eax
call fcn.00403130
mov eax, dword [esp + 0x500]
xor ecx, ecx
push ecx
push ecx
push 0x447390
mov word [eax], cx
lea eax, [esp + 0xb68]
push eax
push 0x441710
lea ecx, [esp + 0x504]
call fcn.00406f90
push dword [esp + 0x500]
lea eax, [esp + 0x1c]
push dword [0x45cacc]
push eax
push dword [0x4e06a8]
call fcn.00419210
add esp, 0x10
lea ecx, [esp + 0x4f0]
mov bl, al
call fcn.004031c0
test bl, bl
je 0x419e14
xor ebx, ebx
lea ecx, [esp + 0x18]
push ebx
push str.Success
call fcn.0040bb90
jmp 0x419e30
push 0
push str.Unsupported_platform
lea ecx, [esp + 0x20]
call fcn.0040bb90
jmp 0x419e19
mov ebx, 1
lea ecx, [esp + 0x20]
call fcn.0040bbb0
push eax
push 0x447854
call fcn.00419f00
add esp, 8
call fcn.0041a360
lea ecx, [esp + 0xa8]
call fcn.004031c0
lea ecx, [esp + 0x714]
call fcn.004031c0
lea ecx, [esp + 0x938]
call fcn.004031c0
lea ecx, [esp + 0x48]
call fcn.0040b470
lea ecx, [esp + 0x50]
call fcn.0040b470
lea ecx, [esp + 0x58]
call fcn.0040b470
lea ecx, [esp + 0x18]
call fcn.0040b4a0
test esi, esi
js 0x419e87
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x60]
call fcn.00404ae0
mov ecx, dword [esp + 0x139c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041e282
add esp, 0x1390
ret 0x10