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

Disassembly:
mov eax, 0x1390
call fcn.0041f2d0
mov eax, dword [0x45cdfc]
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.00412d60
lea ecx, [esp + 0x60]
call fcn.0040d810
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x18]
mov dword [0x4e1e64], edi
mov esi, eax
call fcn.0040b350
push 0
push 0x108
push 2
lea eax, [esp + 0x958]
mov dword [esp + 0x64], 0x442970
push eax
lea ecx, [esp + 0x948]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], 0x442970
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0x442970
mov dword [esp + 0x5c], 0
call fcn.00403170
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.004201f0
add esp, 0xc
lea eax, [esp + 0x728]
lea ecx, [esp + 0x714]
push 0
push 0x108
push 2
push eax
call fcn.00403170
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.00403170
mov eax, dword [esp + 0xb8]
xor ecx, ecx
mov word [eax], cx
cmp dword [0x45eb30], 2
jl 0x419ef2
test byte [0x45eb3c], bl
je 0x419775
push 0x20
lea eax, [esp + 0xb60]
mov dword [0x45cabc], 0xcd
push str.enstart64
push eax
call fcn.0040a520
add esp, 0xc
mov eax, dword [0x45b3b8]
cmp eax, 8
jne 0x419792
push 0x20
mov dword [0x45cabc], 0xd1
push str.enstartarm
jmp 0x4197a8
cmp eax, 9
jne 0x4197b8
push 0x20
mov dword [0x45cabc], 0xd2
push str.enstartarm64
lea eax, [esp + 0xb64]
push eax
call fcn.0040a520
add esp, 0xc
push ebp
push str._drop
call fcn.0040a690
add esp, 8
test al, al
jne 0x419e52
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xb60]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0041b0c0
add esp, 0xc
test al, al
jne 0x4197ff
push 0
lea ecx, [esp + 0xac]
call fcn.00407540
jmp 0x41981e
push dword [esp + 0xb8]
call fcn.00412360
add esp, 4
test al, al
jne 0x41981e
lea ecx, [esp + 0xa8]
call fcn.00407a80
push 0
push 0x108
push 2
lea eax, [esp + 0x2ec]
mov edi, 0x50
push eax
lea ecx, [esp + 0x2dc]
call fcn.00403170
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.004073f0
test al, al
je 0x4199e4
nop dword [eax + eax]
mov ebx, dword [esp + 0x2dc]
movzx eax, word [ebx]
cmp eax, 0x2d
je 0x419884
cmp eax, 0x2f
jne 0x4198b3
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 0x4198b3
cmp edi, 0x52
je 0x4198b3
cmp edi, 0x53
je 0x4198b3
cmp edi, 0x48
je 0x4198b3
cmp edi, 0x43
jne 0x419995
lea eax, [edi - 0x43]
cmp eax, 0x12
ja case.0x4198c6.69
movzx eax, byte [eax + 0x419fd0]
jmp dword [eax*4 + 0x419fa0]
push 0x20
push 0xa
push 0
push 4
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
push ebx
call fcn.0040ab80
add esp, 0x18
test al, al
je 0x419990
mov eax, dword [esp + 0x28]
mov dword [0x4e1e68], eax
jmp 0x419990
mov byte [esp + 0x12], 0
jmp 0x419990
cmp dword [0x45b3bc], 7
jl 0x419990
mov byte [esp + 0x30], 1
jmp 0x419990
push dword [esp + 0xb4]
push ebx
push dword [esp + 0xc0]
call fcn.0040a520
jmp 0x41998d
push 0x20
lea eax, [esp + 0xb60]
push ebx
push eax
call fcn.0040a520
jmp 0x41998d
mov byte [esp + 0x13], 1
jmp 0x419990
push ebx
lea ecx, [esp + 0x5c]
call fcn.0040b8b0
jmp 0x419990
push ebx
lea ecx, [esp + 0x54]
call fcn.0040b8b0
jmp 0x419990
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x940]
call fcn.00407aa0
jmp 0x419990
push ebx
lea ecx, [esp + 0x4c]
call fcn.0040b8b0
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.00403200
push 0
push 0x108
push 2
lea eax, [esp + 0x2ec]
push eax
lea ecx, [esp + 0x2dc]
call fcn.00403170
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.004073f0
test al, al
jne 0x419870
lea ecx, [esp + 0x2cc]
call fcn.00403200
mov eax, dword [0x45e8d8]
mov dword [0x4e1e60], 0
test eax, eax
je 0x419a0a
push 0x4e1e60
call eax
push 0x45ef0c
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.00409010
mov ecx, eax
call fcn.0040a080
lea ecx, [esp + 0x38]
mov bl, al
call fcn.0040b370
test bl, bl
jne 0x419a76
push 0
push 0
push 0x448820
lea eax, [esp + 0xb68]
push eax
push dword [esp + 0xc8]
lea ecx, [esp + 0x728]
call fcn.00406f70
push 0x45ef0c
push str.SysRegInstallPath
push 0
push 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x4c]
call fcn.00409010
mov ecx, eax
call fcn.004092e0
lea ecx, [esp + 0x38]
call fcn.0040b370
lea eax, [esp + 0x18]
push eax
call fcn.0041abf0
add esp, 4
test al, al
je 0x419e38
push dword [esp + 0x724]
lea eax, [esp + 0x1c]
push eax
call fcn.004193e0
add esp, 8
cmp byte [esp + 0x12], 0
je 0x419dc5
movzx eax, word [0x45cabc]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xa
push eax
push dword [0x4e1e64]
call edi
test eax, eax
je 0x419dab
lea eax, [esp + 0x18]
push eax
push dword [esp + 0xbc]
call fcn.0040f960
add esp, 8
test al, al
je 0x419dbb
cmp byte [esp + 0x13], 0
je 0x419be8
push 0xa
push 0xcc
push dword [0x4e1e64]
call edi
mov edi, eax
test edi, edi
je 0x419be8
push edi
push dword [0x4e1e64]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x419be8
push 0
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.00409070
push edi
push dword [0x4e1e64]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
lea ecx, [esp + 0x70]
call fcn.00409280
test al, al
je 0x419bd8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esp + 0x88]
push eax
push dword [esp + 0x9c]
call fcn.0041fc70
add esp, 0xc
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x34]
push 0x45ef0c
push eax
push dword [0x45ca24]
push 0
push 0x100
push dword [0x45ca20]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409010
mov ecx, eax
call fcn.0040a460
lea ecx, [esp + 0x38]
call fcn.0040b370
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x6c]
call fcn.004090d0
push dword [esp + 0x30]
lea eax, [esp + 0xb60]
push 1
push eax
push dword [esp + 0xc4]
lea eax, [esp + 0x28]
push eax
call fcn.004190f0
add esp, 0x14
test al, al
je 0x419dbb
push 0
push 0
push 0x448820
lea eax, [esp + 0xb68]
push eax
push dword [esp + 0xc8]
lea ecx, [esp + 0x728]
call fcn.00406f70
push 1
push 0x45ef0c
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.00409010
mov ecx, eax
call fcn.0040a310
lea ecx, [esp + 0x38]
mov bl, al
call fcn.0040b370
test bl, bl
je 0x419c98
push 0x45ef0c
mov ecx, 0x45fbe8
call fcn.004168f0
xor edx, edx
mov ecx, 1
test al, al
cmovne ecx, edx
mov dword [esp + 0x14], ecx
push 0
push 0
push 0x448820
lea eax, [esp + 0xb68]
push eax
push dword [esp + 0xc8]
lea ecx, [esp + 0x728]
call fcn.00406f70
mov eax, dword [0x45e8dc]
test eax, eax
je 0x419ccd
push dword [0x4e1e60]
call eax
mov eax, dword [0x45e8d8]
mov dword [0x4e1e60], 0
test eax, eax
je 0x419ce7
push 0x4e1e60
call eax
mov ebx, dword [esp + 0x14]
mov eax, dword [0x45e8dc]
test eax, eax
je 0x419cfc
push dword [0x4e1e60]
call eax
test ebx, ebx
je 0x419f20
jmp 0x419f09
push 0
push 0x108
push 2
lea eax, [esp + 0x510]
mov byte [0x4e1e6c], 1
push eax
lea ecx, [esp + 0x500]
call fcn.00403170
mov eax, dword [esp + 0x500]
xor ecx, ecx
push ecx
mov word [eax], cx
lea ecx, [esp + 0x4f4]
call fcn.004074d0
lea ecx, [esp + 0x4f0]
call fcn.004074c0
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.0040b240
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.00403200
lea ecx, [esp + 0x2cc]
mov byte [0x4e1e6c], 0
call fcn.00403200
xor ebx, ebx
jmp 0x419f25
push 0
push str.No_executable_file_is_in_this_setup
lea ecx, [esp + 0x20]
call fcn.0040bad0
mov ebx, 1
jmp 0x419ceb
push 0x45ef0c
push dword [0x45ca24]
lea ecx, [esp + 0x3c]
push 0
push 0x100
push dword [0x45ca20]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409010
mov ecx, eax
call fcn.004092e0
lea ecx, [esp + 0x38]
call fcn.0040b370
push 0x45ef0c
push dword [0x45c9b8]
lea ecx, [esp + 0x3c]
push 0
push 0x100
push dword [0x45c9b4]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409010
mov ecx, eax
call fcn.004092e0
lea ecx, [esp + 0x38]
call fcn.0040b370
xor ebx, ebx
jmp 0x419ceb
push 0
push str.Log_on_as_Administrator
lea ecx, [esp + 0x20]
call fcn.0040bad0
mov ebx, 1
jmp 0x419ceb
push str.Copying_files
push 0x448ce4
call fcn.00419ff0
add esp, 8
lea eax, [esp + 0x504]
lea ecx, [esp + 0x4f0]
push 0
push 0x108
push 2
push eax
call fcn.00403170
mov eax, dword [esp + 0x500]
xor ecx, ecx
push ecx
push ecx
push 0x448820
mov word [eax], cx
lea eax, [esp + 0xb68]
push eax
push 0x442970
lea ecx, [esp + 0x504]
call fcn.00406f70
push dword [esp + 0x500]
lea eax, [esp + 0x1c]
push dword [0x45cabc]
push eax
push dword [0x4e1e64]
call fcn.00419300
add esp, 0x10
lea ecx, [esp + 0x4f0]
mov bl, al
call fcn.00403200
test bl, bl
je 0x419f04
xor ebx, ebx
lea ecx, [esp + 0x18]
push ebx
push str.Success
call fcn.0040bad0
jmp 0x419f20
push 0
push str.Unsupported_platform
lea ecx, [esp + 0x20]
call fcn.0040bad0
jmp 0x419f09
mov ebx, 1
lea ecx, [esp + 0x20]
call fcn.0040baf0
push eax
push 0x448ce4
call fcn.00419ff0
add esp, 8
call fcn.0041a450
lea ecx, [esp + 0xa8]
call fcn.00403200
lea ecx, [esp + 0x714]
call fcn.00403200
lea ecx, [esp + 0x938]
call fcn.00403200
lea ecx, [esp + 0x48]
call fcn.0040b370
lea ecx, [esp + 0x50]
call fcn.0040b370
lea ecx, [esp + 0x58]
call fcn.0040b370
lea ecx, [esp + 0x18]
call fcn.0040b3a0
test esi, esi
js 0x419f77
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x60]
call fcn.0040ec90
mov ecx, dword [esp + 0x139c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041e5aa
add esp, 0x1390
ret 0x10