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

Disassembly:
mov eax, 0x1390
call fcn.00420dc0
mov eax, dword [0x45e088]
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.0040f200
lea ecx, [esp + 0x60]
call fcn.004054f0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x18]
mov dword [0x4e1ddc], edi
mov esi, eax
call fcn.00404d70
push 0
push 0x108
push 2
lea eax, [esp + 0x958]
mov dword [esp + 0x64], 0x441510
push eax
lea ecx, [esp + 0x948]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], 0x441510
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0x441510
mov dword [esp + 0x5c], 0
call fcn.00403920
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.00423280
add esp, 0xc
lea eax, [esp + 0x728]
lea ecx, [esp + 0x714]
push 0
push 0x108
push 2
push eax
call fcn.00403920
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.00403920
mov eax, dword [esp + 0xb8]
xor ecx, ecx
mov word [eax], cx
cmp dword [0x45f6dc], 2
jl 0x41c0c4
test byte [0x45f6e8], bl
je 0x41b947
push 0xffffffffffffffff
push str.enstart64
lea eax, [esp + 0xb64]
mov dword [0x45dd44], 0xcd
push 0x20
push eax
call fcn.00408b90
add esp, 0x10
mov eax, dword [0x45b048]
cmp eax, 8
jne 0x41b964
push 0xffffffffffffffff
mov dword [0x45dd44], 0xd1
push str.enstartarm
jmp 0x41b97a
cmp eax, 9
jne 0x41b98c
push 0xffffffffffffffff
mov dword [0x45dd44], 0xd2
push str.enstartarm64
lea eax, [esp + 0xb64]
push 0x20
push eax
call fcn.00408b90
add esp, 0x10
push ebp
push str._drop
call fcn.0040f9a0
add esp, 8
test al, al
jne 0x41c026
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xb60]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0041d0d0
add esp, 0xc
test al, al
jne 0x41b9d3
push 0
lea ecx, [esp + 0xac]
call fcn.0040d3e0
jmp 0x41b9f2
push dword [esp + 0xb8]
call fcn.0040fa30
add esp, 4
test al, al
jne 0x41b9f2
lea ecx, [esp + 0xa8]
call fcn.00412e90
push 0
push 0x108
push 2
lea eax, [esp + 0x2ec]
mov edi, 0x50
push eax
lea ecx, [esp + 0x2dc]
call fcn.00403920
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.0040c270
test al, al
je 0x41bbc2
nop dword [eax]
mov ebx, dword [esp + 0x2dc]
movzx eax, word [ebx]
cmp eax, 0x2d
je 0x41ba54
cmp eax, 0x2f
jne 0x41ba83
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 0x41ba83
cmp edi, 0x52
je 0x41ba83
cmp edi, 0x53
je 0x41ba83
cmp edi, 0x48
je 0x41ba83
cmp edi, 0x43
jne 0x41bb73
lea eax, [edi - 0x43]
cmp eax, 0x12
ja case.0x41ba96.69
movzx eax, byte [eax + 0x41c198]
jmp dword [eax*4 + 0x41c168]
push 0x20
push 0xa
push 0
push 4
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
push ebx
call fcn.0040f260
add esp, 0x18
test al, al
je 0x41bb6e
mov eax, dword [esp + 0x28]
mov dword [0x4e1de0], eax
jmp 0x41bb6e
mov byte [esp + 0x12], 0
jmp 0x41bb6e
cmp dword [0x45b04c], 7
jl 0x41bb6e
mov byte [esp + 0x30], 1
jmp 0x41bb6e
push 0xffffffffffffffff
push ebx
push dword [esp + 0xbc]
push dword [esp + 0xc4]
call fcn.00408b90
add esp, 0x10
jmp 0x41bb6e
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb64]
push 0x20
push eax
call fcn.00408b90
add esp, 0x10
jmp 0x41bb6e
mov byte [esp + 0x13], 1
jmp 0x41bb6e
push ebx
lea ecx, [esp + 0x5c]
call fcn.00413240
jmp 0x41bb6e
push ebx
lea ecx, [esp + 0x54]
call fcn.00413240
jmp 0x41bb6e
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x940]
call fcn.00413140
jmp 0x41bb6e
push ebx
lea ecx, [esp + 0x4c]
call fcn.00413240
push edi
lea eax, [esp + 0x1c]
push str.Invalid_token___c_
push eax
call fcn.00403860
add esp, 0xc
mov edi, 0x4e
lea ecx, [esp + 0x2cc]
call fcn.00408270
push 0
push 0x108
push 2
lea eax, [esp + 0x2ec]
push eax
lea ecx, [esp + 0x2dc]
call fcn.00403920
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.0040c270
test al, al
jne 0x41ba40
lea ecx, [esp + 0x2cc]
call fcn.00408270
mov eax, dword [0x45ffec]
mov dword [0x4e1dd8], 0
test eax, eax
je 0x41bbe8
push 0x4e1dd8
call eax
push 0x45b4e0
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.00404900
mov ecx, eax
call fcn.004125d0
lea ecx, [esp + 0x38]
mov bl, al
call fcn.00405f30
test bl, bl
jne 0x41bc52
push 0
push 0x44a994
lea eax, [esp + 0xb64]
push eax
push dword [esp + 0xc4]
lea ecx, [esp + 0x724]
call fcn.00407970
push 0x45b4e0
push str.SysRegInstallPath
push 0
push 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x4c]
call fcn.00404900
mov ecx, eax
call fcn.0040a9c0
lea ecx, [esp + 0x38]
call fcn.00405f30
lea eax, [esp + 0x18]
push eax
call fcn.0041cd90
add esp, 4
test al, al
je 0x41c00e
push dword [esp + 0x724]
lea eax, [esp + 0x1c]
push eax
call fcn.0041b580
add esp, 8
cmp byte [esp + 0x12], 0
je 0x41bf9b
movzx eax, word [0x45dd44]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xa
push eax
push dword [0x4e1ddc]
call edi
test eax, eax
je 0x41bf83
lea eax, [esp + 0x18]
push eax
push dword [esp + 0xbc]
call fcn.00409670
add esp, 8
test al, al
je 0x41bf91
cmp byte [esp + 0x13], 0
je 0x41bdc4
push 0xa
push 0xcc
push dword [0x4e1ddc]
call edi
mov edi, eax
test edi, edi
je 0x41bdc4
push edi
push dword [0x4e1ddc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41bdc4
push 0
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.00404960
push edi
push dword [0x4e1ddc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
lea ecx, [esp + 0x70]
call fcn.00409190
test al, al
je 0x41bdb4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esp + 0x88]
push eax
push dword [esp + 0x9c]
call fcn.00422d00
add esp, 0xc
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x34]
push 0x45b4e0
push eax
push dword [0x45dca8]
push 0
push 0x100
push dword [0x45dca4]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00404900
mov ecx, eax
call fcn.00416a70
lea ecx, [esp + 0x38]
call fcn.00405f30
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x6c]
call fcn.00405d90
push dword [esp + 0x30]
lea eax, [esp + 0xb60]
push 1
push eax
push dword [esp + 0xc4]
lea eax, [esp + 0x28]
push eax
call fcn.0041b290
add esp, 0x14
test al, al
je 0x41bf91
push 0
push 0x44a994
lea eax, [esp + 0xb64]
push eax
push dword [esp + 0xc4]
lea ecx, [esp + 0x724]
call fcn.00407970
push 1
push 0x45b4e0
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.00404900
mov ecx, eax
call fcn.004167b0
lea ecx, [esp + 0x38]
mov bl, al
call fcn.00405f30
test bl, bl
je 0x41be72
push 0x45b4e0
mov ecx, 0x45f8d8
call fcn.00417620
xor edx, edx
mov ecx, 1
test al, al
cmovne ecx, edx
mov dword [esp + 0x14], ecx
push 0
push 0x44a994
lea eax, [esp + 0xb64]
push eax
push dword [esp + 0xc4]
lea ecx, [esp + 0x724]
call fcn.00407970
mov eax, dword [0x45fff0]
test eax, eax
je 0x41bea5
push dword [0x4e1dd8]
call eax
mov eax, dword [0x45ffec]
mov dword [0x4e1dd8], 0
test eax, eax
je 0x41bebf
push 0x4e1dd8
call eax
mov ebx, dword [esp + 0x14]
mov eax, dword [0x45fff0]
test eax, eax
je 0x41bed4
push dword [0x4e1dd8]
call eax
test ebx, ebx
je 0x41c0ea
jmp 0x41c0d9
push 0
push 0x108
push 2
lea eax, [esp + 0x510]
mov byte [0x4e1de4], 1
push eax
lea ecx, [esp + 0x500]
call fcn.00403920
mov eax, dword [esp + 0x500]
xor ecx, ecx
push ecx
mov word [eax], cx
lea ecx, [esp + 0x4f4]
call fcn.0040cbf0
lea ecx, [esp + 0x4f0]
call fcn.0040c5d0
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.004145e0
lea eax, [esp + 0xbac]
push eax
push str.Setup_Usage
push 0
push 0
push 0
call fcn.004143a0
add esp, 0x24
lea ecx, [esp + 0x4f0]
call fcn.00408270
lea ecx, [esp + 0x2cc]
mov byte [0x4e1de4], 0
call fcn.00408270
xor ebx, ebx
jmp 0x41c0ef
push str.No_executable_file_is_in_this_setup
lea ecx, [esp + 0x1c]
call fcn.00415a10
mov ebx, 1
jmp 0x41bec3
push 0x45b4e0
push dword [0x45dca8]
lea ecx, [esp + 0x3c]
push 0
push 0x100
push dword [0x45dca4]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00404900
mov ecx, eax
call fcn.0040a9c0
lea ecx, [esp + 0x38]
call fcn.00405f30
push 0x45b4e0
push dword [0x45d284]
lea ecx, [esp + 0x3c]
push 0
push 0x100
push dword [0x45d280]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00404900
mov ecx, eax
call fcn.0040a9c0
lea ecx, [esp + 0x38]
call fcn.00405f30
xor ebx, ebx
jmp 0x41bec3
push str.Log_on_as_Administrator
lea ecx, [esp + 0x1c]
call fcn.00415a10
mov ebx, 1
jmp 0x41bec3
push str.Copying_files
push 0x44ae5c
call fcn.0041c1b0
add esp, 8
lea eax, [esp + 0x504]
lea ecx, [esp + 0x4f0]
push 0
push 0x108
push 2
push eax
call fcn.00403920
mov eax, dword [esp + 0x500]
xor ecx, ecx
push ecx
push 0x44a994
mov word [eax], cx
lea eax, [esp + 0xb64]
push eax
push 0x441510
lea ecx, [esp + 0x500]
call fcn.00407970
push dword [esp + 0x500]
lea eax, [esp + 0x1c]
push dword [0x45dd44]
push eax
push dword [0x4e1ddc]
call fcn.0041b4a0
add esp, 0x10
lea ecx, [esp + 0x4f0]
mov bl, al
call fcn.00408270
test bl, bl
je 0x41c0d4
push str.Success
lea ecx, [esp + 0x1c]
xor ebx, ebx
call fcn.00415a10
jmp 0x41c0ea
push str.Unsupported_platform
lea ecx, [esp + 0x1c]
call fcn.00415a10
jmp 0x41c0d9
mov ebx, 1
push dword [esp + 0x20]
push 0x44ae5c
call fcn.0041c1b0
add esp, 8
call fcn.0041c620
lea ecx, [esp + 0xa8]
call fcn.00408270
lea ecx, [esp + 0x714]
call fcn.00408270
lea ecx, [esp + 0x938]
call fcn.00408270
lea ecx, [esp + 0x48]
call fcn.00405f30
lea ecx, [esp + 0x50]
call fcn.00405f30
lea ecx, [esp + 0x58]
call fcn.00405f30
lea ecx, [esp + 0x18]
call fcn.00405f60
test esi, esi
js 0x41c141
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x60]
call fcn.00406270
mov ecx, dword [esp + 0x139c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00420cb2
add esp, 0x1390
ret 0x10