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

Disassembly:
mov eax, 0x1390
call fcn.00420ce0
mov eax, dword [0x45e068]
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.0040f1d0
lea ecx, [esp + 0x60]
call fcn.004054e0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x18]
mov dword [0x4e1db4], edi
mov esi, eax
call fcn.00404d60
push 0
push pe_nt_image_headers32
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.00423110
add esp, 0xc
lea eax, [esp + 0x728]
lea ecx, [esp + 0x714]
push 0
push pe_nt_image_headers32
push 2
push eax
call fcn.00403920
mov eax, dword [esp + 0x724]
xor ecx, ecx
push ecx
push pe_nt_image_headers32
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 [0x45f6bc], 2
jl 0x41c014
test byte [0x45f6c8], bl
je 0x41b8d7
push 0xffffffffffffffff
push str.enstart64
lea eax, [esp + 0xb64]
mov dword [0x45dd2c], 0xcd
push 0x20
push eax
call fcn.00408b90
add esp, 0x10
push ebp
push str._drop
call fcn.0040f970
add esp, 8
test al, al
jne 0x41bf76
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xb60]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0041cfe0
add esp, 0xc
test al, al
jne 0x41b91e
push 0
lea ecx, [esp + 0xac]
call fcn.0040d420
jmp 0x41b93d
push dword [esp + 0xb8]
call fcn.0040f9f0
add esp, 4
test al, al
jne 0x41b93d
lea ecx, [esp + 0xa8]
call fcn.00412e40
push 0
push pe_nt_image_headers32
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.0040c290
test al, al
je 0x41bb12
nop word [eax + eax]
mov ebx, dword [esp + 0x2dc]
movzx eax, word [ebx]
cmp eax, 0x2d
je 0x41b9a4
cmp eax, 0x2f
jne 0x41b9d3
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 0x41b9d3
cmp edi, 0x52
je 0x41b9d3
cmp edi, 0x53
je 0x41b9d3
cmp edi, 0x48
je 0x41b9d3
cmp edi, 0x43
jne 0x41bac3
lea eax, [edi - 0x43]
cmp eax, 0x12
ja case.0x41b9e6.69
movzx eax, byte [eax + 0x41c0e8]
jmp dword [eax*4 + 0x41c0b8]
push 0x20
push 0xa
push 0
push 4
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
push ebx
call fcn.0040f230
add esp, 0x18
test al, al
je 0x41babe
mov eax, dword [esp + 0x28]
mov dword [0x4e1db8], eax
jmp 0x41babe
mov byte [esp + 0x12], 0
jmp 0x41babe
cmp dword [0x45b04c], 7
jl 0x41babe
mov byte [esp + 0x30], 1
jmp 0x41babe
push 0xffffffffffffffff
push ebx
push dword [esp + 0xbc]
push dword [esp + 0xc4]
call fcn.00408b90
add esp, 0x10
jmp 0x41babe
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb64]
push 0x20
push eax
call fcn.00408b90
add esp, 0x10
jmp 0x41babe
mov byte [esp + 0x13], 1
jmp 0x41babe
push ebx
lea ecx, [esp + 0x5c]
call fcn.004131f0
jmp 0x41babe
push ebx
lea ecx, [esp + 0x54]
call fcn.004131f0
jmp 0x41babe
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x940]
call fcn.004130f0
jmp 0x41babe
push ebx
lea ecx, [esp + 0x4c]
call fcn.004131f0
push edi
lea eax, [esp + 0x1c]
push str.Invalid_token___c_
push eax
call fcn.00403820
add esp, 0xc
mov edi, 0x4e
lea ecx, [esp + 0x2cc]
call fcn.00408250
push 0
push pe_nt_image_headers32
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.0040c290
test al, al
jne 0x41b990
lea ecx, [esp + 0x2cc]
call fcn.00408250
mov eax, dword [0x45ffc8]
mov dword [0x4e1db0], 0
test eax, eax
je 0x41bb38
push 0x4e1db0
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.004048f0
mov ecx, eax
call fcn.00412570
lea ecx, [esp + 0x38]
mov bl, al
call fcn.00405f20
test bl, bl
jne 0x41bba2
push 0
push 0x44a994
lea eax, [esp + 0xb64]
push eax
push dword [esp + 0xc4]
lea ecx, [esp + 0x724]
call fcn.00407950
push 0x45b4e0
push str.SysRegInstallPath
push 0
push 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x4c]
call fcn.004048f0
mov ecx, eax
call fcn.0040a9c0
lea ecx, [esp + 0x38]
call fcn.00405f20
lea eax, [esp + 0x18]
push eax
call fcn.0041cca0
add esp, 4
test al, al
je 0x41bf5e
push dword [esp + 0x724]
lea eax, [esp + 0x1c]
push eax
call fcn.0041b510
add esp, 8
cmp byte [esp + 0x12], 0
je 0x41beeb
movzx eax, word [0x45dd2c]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xa
push eax
push dword [0x4e1db4]
call edi
test eax, eax
je 0x41bed3
lea eax, [esp + 0x18]
push eax
push dword [esp + 0xbc]
call fcn.00409670
add esp, 8
test al, al
je 0x41bee1
cmp byte [esp + 0x13], 0
je 0x41bd14
push 0xa
push 0xcc
push dword [0x4e1db4]
call edi
mov edi, eax
test edi, edi
je 0x41bd14
push edi
push dword [0x4e1db4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41bd14
push 0
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.00404950
push edi
push dword [0x4e1db4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
lea ecx, [esp + 0x70]
call fcn.00409190
test al, al
je 0x41bd04
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esp + 0x88]
push eax
push dword [esp + 0x9c]
call fcn.00422b90
add esp, 0xc
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x34]
push 0x45b4e0
push eax
push dword [0x45dc90]
push 0
push 0x100
push dword [0x45dc8c]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004048f0
mov ecx, eax
call fcn.00416a00
lea ecx, [esp + 0x38]
call fcn.00405f20
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x6c]
call fcn.00405d80
push dword [esp + 0x30]
lea eax, [esp + 0xb60]
push 1
push eax
push dword [esp + 0xc4]
lea eax, [esp + 0x28]
push eax
call fcn.0041b230
add esp, 0x14
test al, al
je 0x41bee1
push 0
push 0x44a994
lea eax, [esp + 0xb64]
push eax
push dword [esp + 0xc4]
lea ecx, [esp + 0x724]
call fcn.00407950
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.004048f0
mov ecx, eax
call fcn.00416740
lea ecx, [esp + 0x38]
mov bl, al
call fcn.00405f20
test bl, bl
je 0x41bdc2
push 0x45b4e0
mov ecx, 0x45f8b8
call fcn.004175e0
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.00407950
mov eax, dword [0x45ffcc]
test eax, eax
je 0x41bdf5
push dword [0x4e1db0]
call eax
mov eax, dword [0x45ffc8]
mov dword [0x4e1db0], 0
test eax, eax
je 0x41be0f
push 0x4e1db0
call eax
mov ebx, dword [esp + 0x14]
mov eax, dword [0x45ffcc]
test eax, eax
je 0x41be24
push dword [0x4e1db0]
call eax
test ebx, ebx
je 0x41c03a
jmp 0x41c029
push 0
push pe_nt_image_headers32
push 2
lea eax, [esp + 0x510]
mov byte [0x4e1dbc], 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.0040cc30
lea ecx, [esp + 0x4f0]
call fcn.0040c5f0
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.00414590
lea eax, [esp + 0xbac]
push eax
push str.Setup_Usage
push 0
push 0
push 0
call fcn.00414350
add esp, 0x24
lea ecx, [esp + 0x4f0]
call fcn.00408250
lea ecx, [esp + 0x2cc]
mov byte [0x4e1dbc], 0
call fcn.00408250
xor ebx, ebx
jmp 0x41c03f
push str.No_executable_file_is_in_this_setup
lea ecx, [esp + 0x1c]
call fcn.004159b0
mov ebx, 1
jmp 0x41be13
push 0x45b4e0
push dword [0x45dc90]
lea ecx, [esp + 0x3c]
push 0
push 0x100
push dword [0x45dc8c]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004048f0
mov ecx, eax
call fcn.0040a9c0
lea ecx, [esp + 0x38]
call fcn.00405f20
push 0x45b4e0
push dword [0x45d268]
lea ecx, [esp + 0x3c]
push 0
push 0x100
push dword [0x45d264]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004048f0
mov ecx, eax
call fcn.0040a9c0
lea ecx, [esp + 0x38]
call fcn.00405f20
xor ebx, ebx
jmp 0x41be13
push str.Log_on_as_Administrator
lea ecx, [esp + 0x1c]
call fcn.004159b0
mov ebx, 1
jmp 0x41be13
push str.Copying_files
push 0x44ae24
call fcn.0041c100
add esp, 8
lea eax, [esp + 0x504]
lea ecx, [esp + 0x4f0]
push 0
push pe_nt_image_headers32
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.00407950
push dword [esp + 0x500]
lea eax, [esp + 0x1c]
push dword [0x45dd2c]
push eax
push dword [0x4e1db4]
call fcn.0041b430
add esp, 0x10
lea ecx, [esp + 0x4f0]
mov bl, al
call fcn.00408250
test bl, bl
je 0x41c024
push str.Success
lea ecx, [esp + 0x1c]
xor ebx, ebx
call fcn.004159b0
jmp 0x41c03a
push str.Unsupported_platform
lea ecx, [esp + 0x1c]
call fcn.004159b0
jmp 0x41c029
mov ebx, 1
push dword [esp + 0x20]
push 0x44ae24
call fcn.0041c100
add esp, 8
call fcn.0041c570
lea ecx, [esp + 0xa8]
call fcn.00408250
lea ecx, [esp + 0x714]
call fcn.00408250
lea ecx, [esp + 0x938]
call fcn.00408250
lea ecx, [esp + 0x48]
call fcn.00405f20
lea ecx, [esp + 0x50]
call fcn.00405f20
lea ecx, [esp + 0x58]
call fcn.00405f20
lea ecx, [esp + 0x18]
call fcn.00405f50
test esi, esi
js 0x41c091
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x60]
call fcn.00403510
mov ecx, dword [esp + 0x139c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00420bdf
add esp, 0x1390
ret 0x10