Function at 0x4092d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41ee18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
push str.CMainFrame::UninstallSAgent4___n
mov dword [esp + 0x40], ecx
call fcn.00403770
xor edi, edi
xor esi, esi
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], esi
call fcn.004017b0
push 0x20019
push edi
push edi
push str.SoftwareEPSONSTM3Driver
push 0x80000002
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], edi
call fcn.00413990
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 1
call fcn.004017b0
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 2
call fcn.004134c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 3
call fcn.00401940
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 2
call fcn.00401910
mov ecx, dword [esp + 0x10]
push ecx
push str.CMainFrame::UninstallSAgent4___target_sub_key_name_:__s_n
call fcn.00403770
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401d50
mov ebp, 1
cmp eax, ebp
je 0x4095c3
mov bl, 7
lea ebx, [ebx]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push str.SoftwareEPSONSTM3Driver_
push eax
call fcn.004025b0
add esp, 0xc
push 0x20019
push 0
push 0
mov ecx, eax
mov byte [esp + 0x74], 4
call fcn.00402cb0
push eax
push 0x80000002
lea ecx, [esp + 0x54]
call fcn.00413990
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 6
call fcn.00401910
cmp dword [esp + 0x48], ebp
jne 0x409536
lea ecx, [esp + 0x1c]
call fcn.004017b0
push 0x4202b4
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], bl
call fcn.00402390
push 0x100
lea ecx, [esp + 0x28]
push ecx
push str.EBAPI32
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 8
call fcn.00413720
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 9
call fcn.00401940
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 8
call fcn.00401910
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], bl
call fcn.00401910
mov eax, dword [esp + 0x1c]
push eax
push str.CMainFrame::UninstallSAgent4___ebapi_name_:__s_n
call fcn.00403770
add esp, 8
push 0x4202b4
lea ecx, [esp + 0x2c]
call fcn.00402390
push 0x100
lea ecx, [esp + 0x2c]
push ecx
push str.SAgentControlDll
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 0xa
call fcn.00413720
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0xb
call fcn.00401940
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0xa
call fcn.00401910
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], bl
call fcn.00401910
mov eax, dword [esp + 0x14]
push eax
push str.CMainFrame::UninstallSAgent4___agent_control_dll_name_:__s_n
call fcn.00403770
add esp, 8
push 0
push str.EBAPI_VERSION
lea ecx, [esp + 0x48]
call fcn.004138b0
mov esi, eax
push esi
push str.CMainFrame::UninstallSAgent4___ebapi_version_:__d_n
call fcn.00403770
add esp, 8
test esi, esi
je 0x409503
cmp esi, 4
jb 0x409526
jmp 0x409515
push str.EBAPI4.DLL
lea ecx, [esp + 0x20]
call fcn.00401540
test eax, eax
jne 0x409526
lea ecx, [esp + 0x14]
call fcn.00401d50
test eax, eax
jne 0x409526
inc dword [esp + 0x18]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 6
call fcn.00401910
jmp 0x409543
push str.CMainFrame::UninstallSAgent4___sub_key_open_error_n
call fcn.00403770
add esp, 4
lea ecx, [esp + 0x40]
inc edi
mov byte [esp + 0x68], 2
call fcn.00413420
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 1
call fcn.00401910
lea ecx, [esp + 0x10]
call fcn.004017b0
push 0
push edi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 2
call fcn.004134c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 3
call fcn.00401940
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 2
call fcn.00401910
mov edx, dword [esp + 0x10]
push edx
push str.CMainFrame::UninstallSAgent4___target_sub_key_name_:__s_n
call fcn.00403770
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401d50
cmp eax, ebp
jne 0x4093a0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 1
call fcn.00401910
push esi
push str.CMainFrame::UninstallSAgent4___target_driver_num_:__d_n
call fcn.00403770
add esp, 8
cmp esi, ebp
jg 0x409716
mov edi, dword [esp + 0x3c]
add edi, 0x8c
push edi
lea eax, [esp + 0x40]
push str.SoftwareEPSONSTM3Driver_
push eax
mov ebx, 0xffffff9c
call fcn.004025b0
add esp, 0xc
push 0x20019
push 0
push 0
mov ecx, eax
mov byte [esp + 0x74], 0xc
call fcn.00402cb0
push eax
push 0x80000002
lea ecx, [esp + 0x54]
call fcn.00413990
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0xe
call fcn.00401910
cmp dword [esp + 0x48], ebp
jne 0x409708
push 0x4202b4
lea ecx, [esp + 0x2c]
call fcn.00402390
push 0x100
lea ecx, [esp + 0x2c]
push ecx
push str.SAgentControlDll
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 0xf
call fcn.00413720
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0x10
call fcn.00401940
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0xf
call fcn.00401910
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 0xe
call fcn.00401910
lea ecx, [esp + 0x14]
call fcn.00402cb0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40974c
push str.UninstallSAgent
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x4096da
mov ecx, edi
call fcn.00402cb0
push eax
call ebp
mov ebx, eax
jmp 0x4096e4
push str.CMainFrame::UninstallSAgent4___E_SAGSET.DLL_GetProcAddress_error_n
call fcn.00403770
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x4096fa
mov dword [esp + 0x2c], 1
push ebx
push str.CMainFrame::UninstallSAgent4___UninstallSAgent_:__d_n
call fcn.00403770
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 1
call fcn.00413420
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0
call fcn.00413420
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
call fcn.00401910
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret
push str.CMainFrame::UninstallSAgent4___E_SAGSET.DLL_LoadLibrary_error_n
call fcn.00403770
add esp, 4
jmp 0x4096fa