Function at 0x4067c9
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x416e30
call fcn.0040ef50
sub esp, 0x180
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push str.CMainFrame::DeleteRegSIDM_n
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x28], ebx
call fcn.004024eb
pop ecx
mov esi, 0x420bb0
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
call fcn.00401595
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], ebx
call fcn.00401595
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], ebx
call fcn.00401595
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x58], ebx
call fcn.00401595
push 0x10
mov byte [ebp - 4], 3
call fcn.0040efd0
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x40688c
lea eax, [edi + 0x84]
push eax
lea eax, [ebp - 0x50]
push str.SoftwareEPSONSTM3Driver_
push eax
call fcn.004017d5
add esp, 0xc
mov dword [ebp - 0x28], 1
push 0x20019
push ebx
push ebx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00401e04
mov ecx, dword [ebp - 0x24]
push eax
push 0x80000002
call fcn.0040dc20
mov dword [ebp - 0x1c], eax
jmp 0x40688f
mov dword [ebp - 0x1c], ebx
test byte [ebp - 0x28], 1
mov dword [ebp - 4], 4
je 0x4068a8
and dword [ebp - 0x28], 0xfffffffe
lea ecx, [ebp - 0x50]
call fcn.00401563
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
cmp dword [eax + 8], ebx
jne 0x4068d7
cmp eax, ebx
mov dword [edi + 0x70], 3
mov dword [edi + 0x74], 0x50
je 0x406a4f
mov ecx, eax
push 1
mov eax, dword [ecx]
call dword [eax]
jmp 0x406a4f
push esi
lea ecx, [ebp - 0x18]
call fcn.00401595
mov ecx, dword [ebp - 0x1c]
mov edi, 0x100
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0x24]
push str.SHELLEXT_R
push eax
mov byte [ebp - 4], 6
call fcn.0040df98
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00401618
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00401563
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00401563
push esi
lea ecx, [ebp - 0x18]
call fcn.00401595
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0x24]
push str.PNOTIFY_R
push eax
mov byte [ebp - 4], 8
call fcn.0040df98
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.00401618
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00401563
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00401563
push esi
lea ecx, [ebp - 0x18]
call fcn.00401595
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0x24]
push str.Type
push eax
mov byte [ebp - 4], 0xa
call fcn.0040df98
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.00401618
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.00401563
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00401563
push esi
lea ecx, [ebp - 0x18]
call fcn.00401595
lea eax, [ebp - 0x18]
push edi
mov byte [ebp - 4], 0xc
push eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push str.SIDMSRV_NAME
push eax
call fcn.0040df98
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call fcn.00401618
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00401563
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00401563
cmp dword [ebp - 0x1c], ebx
je 0x406a0a
mov ecx, dword [ebp - 0x1c]
push 1
mov eax, dword [ecx]
call dword [eax]
push 0x20019
push ebx
push ebx
push str.SoftwareEPSONSTM3Driver
push 0x80000002
lea ecx, [ebp - 0x88]
call fcn.0040dc20
cmp dword [ebp - 0x80], ebx
mov byte [ebp - 4], 0xe
jne 0x406a85
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
mov dword [eax + 0x70], 3
mov dword [eax + 0x74], 0x51
call fcn.0040dcd0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401563
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401563
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00401563
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401563
xor eax, eax
jmp 0x407338
lea ecx, [ebp - 0x40]
call fcn.004013e3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xf
call fcn.004013e3
push ebx
lea eax, [ebp - 0x18]
push ebx
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x1c], ebx
call fcn.0040dce6
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
call fcn.00401618
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00401563
lea ecx, [ebp - 0x40]
call fcn.00401b7a
test eax, eax
jne 0x406da9
mov eax, dword [ebp - 0x4c]
add eax, 0x84
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
lea eax, [ebp - 0x40]
push eax
call fcn.00401e73
pop ecx
test al, al
pop ecx
je 0x406d6a
push 0x10
call fcn.0040efd0
pop ecx
mov dword [ebp - 0x74], eax
cmp eax, ebx
mov byte [ebp - 4], 0x12
je 0x406b4c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x78]
push str.SoftwareEPSONSTM3Driver_
push eax
call fcn.004017d5
or dword [ebp - 0x28], 2
add esp, 0xc
push 0x20019
push ebx
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00401e04
mov ecx, dword [ebp - 0x74]
push eax
push 0x80000002
call fcn.0040dc20
mov dword [ebp - 0x20], eax
jmp 0x406b4f
mov dword [ebp - 0x20], ebx
test byte [ebp - 0x28], 2
mov dword [ebp - 4], 0x12
je 0x406b68
and dword [ebp - 0x28], 0xfffffffd
lea ecx, [ebp - 0x78]
call fcn.00401563
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x10
cmp dword [eax + 8], ebx
jne 0x406b8a
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x70], 3
mov dword [eax + 0x74], 0x52
jmp 0x406d5c
lea ecx, [ebp - 0x30]
call fcn.00401b7a
test eax, eax
jne 0x406bfd
cmp dword [ebp - 0x10], ebx
jne 0x406bfd
push esi
lea ecx, [ebp - 0x64]
call fcn.00401595
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x64]
push edi
push eax
lea eax, [ebp - 0x6c]
push str.SHELLEXT_R
push eax
mov byte [ebp - 4], 0x14
call fcn.0040df98
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x15
call fcn.00401618
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x14
call fcn.00401563
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.00401563
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401e07
pop ecx
test al, al
pop ecx
je 0x406bfd
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x34]
call fcn.00401b7a
test eax, eax
jne 0x406c70
cmp dword [ebp - 0x44], ebx
jne 0x406c70
push esi
lea ecx, [ebp - 0x68]
call fcn.00401595
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x68]
push edi
push eax
lea eax, [ebp - 0x5c]
push str.PNOTIFY_R
push eax
mov byte [ebp - 4], 0x16
call fcn.0040df98
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x17
call fcn.00401618
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x16
call fcn.00401563
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x10
call fcn.00401563
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00401e07
pop ecx
test al, al
pop ecx
je 0x406c70
mov dword [ebp - 0x44], 1
lea ecx, [ebp - 0x48]
call fcn.00401b7a
test eax, eax
jne 0x406ce3
cmp dword [ebp - 0x60], ebx
jne 0x406ce3
push esi
lea ecx, [ebp - 0x50]
call fcn.00401595
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x54]
push str.Type
push eax
mov byte [ebp - 4], 0x18
call fcn.0040df98
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x19
call fcn.00401618
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x18
call fcn.00401563
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x10
call fcn.00401563
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00401e07
pop ecx
test al, al
pop ecx
je 0x406ce3
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + 0xf8]
call fcn.00401b7a
test eax, eax
jne 0x406d5c
cmp dword [ebp - 0x58], ebx
jne 0x406d5c
push esi
lea ecx, [ebp - 0x24]
call fcn.00401595
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push edi
push eax
lea eax, [ebp - 0x2c]
push str.SIDMSRV_NAME
push eax
mov byte [ebp - 4], 0x1a
call fcn.0040df98
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1b
call fcn.00401618
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.00401563
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.00401563
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00401e07
pop ecx
test al, al
pop ecx
je 0x406d5c
mov dword [ebp - 0x58], 1
cmp dword [ebp - 0x20], ebx
je 0x406d6a
mov ecx, dword [ebp - 0x20]
push 1
mov eax, dword [ecx]
call dword [eax]
inc dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x88]
push eax
call fcn.0040dce6
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
call fcn.00401618
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00401563
lea ecx, [ebp - 0x40]
call fcn.00401b7a
test eax, eax
je 0x406ae5
lea ecx, [ebp - 0x30]
call fcn.00401b7a
test eax, eax
jne 0x406f3a
cmp dword [ebp - 0x10], ebx
jne 0x406f3a
push 0x10
call fcn.0040efd0
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x1c
je 0x406df2
push 0xf003f
push ebx
push ebx
push str.CLSID
push 0x80000000
call fcn.0040dc20
mov dword [ebp - 0x10], eax
jmp 0x406df5
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
cmp dword [eax + 8], ebx
je 0x406e12
lea ecx, [ebp - 0x30]
call fcn.00401e04
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0040de74
cmp dword [ebp - 0x10], ebx
je 0x406e20
mov ecx, dword [ebp - 0x10]
push 1
mov eax, dword [ecx]
call dword [eax]
push 0x10
call fcn.0040efd0
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x1d
je 0x406e50
push 0xf003f
push ebx
push ebx
push str.Printers_shellexPropertySheetHandlers
push 0x80000000
call fcn.0040dc20
mov dword [ebp - 0x10], eax
jmp 0x406e53
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
cmp dword [eax + 8], ebx
je 0x406e70
lea ecx, [ebp - 0x30]
call fcn.00401e04
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0040de74
cmp dword [ebp - 0x10], ebx
je 0x406e7e
mov ecx, dword [ebp - 0x10]
push 1
mov eax, dword [ecx]
call dword [eax]
push 0x10
call fcn.0040efd0
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x1e
je 0x406eae
push 0xf003f
push ebx
push ebx
push str.Printers_shellexCopyHookHandlers
push 0x80000000
call fcn.0040dc20
mov dword [ebp - 0x10], eax
jmp 0x406eb1
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
cmp dword [eax + 8], ebx
je 0x406ece
lea ecx, [ebp - 0x30]
call fcn.00401e04
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0040de74
cmp dword [ebp - 0x10], ebx
je 0x406edc
mov ecx, dword [ebp - 0x10]
push 1
mov eax, dword [ecx]
call dword [eax]
push 0x10
call fcn.0040efd0
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x1f
je 0x406f0c
push 0xf003f
push ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push 0x80000002
call fcn.0040dc20
mov dword [ebp - 0x10], eax
jmp 0x406f0f
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
cmp dword [eax + 8], ebx
je 0x406f2c
lea ecx, [ebp - 0x30]
call fcn.00401e04
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0040df79
cmp dword [ebp - 0x10], ebx
je 0x406f3a
mov ecx, dword [ebp - 0x10]
push 1
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x34]
call fcn.00401b7a
test eax, eax
jne 0x40719a
cmp dword [ebp - 0x44], ebx
jne 0x40719a
push 0x10
call fcn.0040efd0
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x20
je 0x406f83
push 0xf003f
push ebx
push ebx
push str.SoftwareEPSONPNOTIFY
push 0x80000002
call fcn.0040dc20
mov dword [ebp - 0x10], eax
jmp 0x406f86
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
cmp dword [eax + 8], ebx
je 0x40710c
lea ecx, [ebp - 0x20]
call fcn.004013e3
mov ecx, dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x1c], ebx
call fcn.0040dce6
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x22
call fcn.00401618
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x21
call fcn.00401563
lea ecx, [ebp - 0x20]
call fcn.00401b7a
test eax, eax
jne 0x4070eb
push 0x10
call fcn.0040efd0
pop ecx
mov dword [ebp - 0x2c], eax
cmp eax, ebx
mov byte [ebp - 4], 0x23
je 0x40702d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push str.SoftwareEPSONPNOTIFY_
push eax
call fcn.004017d5
or dword [ebp - 0x28], 4
add esp, 0xc
push 0xf003f
push ebx
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x24
call fcn.00401e04
mov ecx, dword [ebp - 0x2c]
push eax
push 0x80000002
call fcn.0040dc20
mov dword [ebp - 0x18], eax
jmp 0x407030
mov dword [ebp - 0x18], ebx
test byte [ebp - 0x28], 4
mov dword [ebp - 4], 0x23
je 0x407049
and dword [ebp - 0x28], 0xfffffffb
lea ecx, [ebp - 0x54]
call fcn.00401563
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x21
cmp dword [eax + 8], ebx
je 0x4070c5
push esi
lea ecx, [ebp - 0x24]
call fcn.00401595
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push edi
push eax
lea eax, [ebp - 0x5c]
push str.NOTIFYEXE
push eax
mov byte [ebp - 4], 0x25
call fcn.0040df98
mov ecx, eax
mov byte [ebp - 4], 0x26
call fcn.00401e04
push eax
lea ecx, [ebp - 0x34]
call fcn.00401de8
neg eax
sbb eax, eax
lea ecx, [ebp - 0x5c]
inc eax
mov byte [ebp - 4], 0x25
mov byte [ebp - 0x11], al
call fcn.00401563
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x21
call fcn.00401563
cmp byte [ebp - 0x11], bl
je 0x4070c5
lea ecx, [ebp - 0x20]
call fcn.00401e04
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0040de74
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x18], ebx
je 0x4070d3
mov ecx, dword [ebp - 0x18]
push 1
mov eax, dword [ecx]
call dword [eax]
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x44]
push dword [ebp - 0x1c]
push eax
call fcn.0040dce6
jmp 0x406fb3
lea ecx, [ebp - 0x34]
call fcn.00401e04
mov edi, dword [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0040df79
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.00401563
jmp 0x40710f
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push ebx
push eax
mov ecx, edi
call fcn.0040ddc6
push esi
push eax
mov byte [ebp - 4], 0x27
call fcn.00401e2f
pop ecx
mov byte [ebp - 0x11], al
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2c]
call fcn.00401563
cmp byte [ebp - 0x11], bl
je 0x40718e
push 0x10
call fcn.0040efd0
pop ecx
mov dword [ebp - 0x2c], eax
cmp eax, ebx
mov byte [ebp - 4], 0x28
je 0x40716b
push 0xf003f
push ebx
push ebx
push str.SoftwareEPSON
push 0x80000002
mov ecx, eax
call fcn.0040dc20
mov esi, eax
jmp 0x40716d
xor esi, esi
cmp dword [esi + 8], ebx
mov byte [ebp - 4], 0x10
je 0x407182
push str.PNOTIFY
mov ecx, esi
call fcn.0040de74
cmp esi, ebx
je 0x40718e
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp edi, ebx
je 0x40719a
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.00401b7a
test eax, eax
jne 0x40725a
cmp dword [ebp - 0x58], ebx
jne 0x40725a
lea eax, [ebp - 0x18c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40725a
mov esi, dword [ebp - 0x4c]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x18c]
lea edi, [esi + 0xfc]
push eax
push str._s_s
push edi
call fcn.00402132
add esp, 0x10
lea eax, [ebp - 0x3c]
lea ecx, [esi + 0xf8]
push eax
call fcn.00401618
push 0x41c7e4
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0040176a
add esp, 0xc
push 5
mov ecx, eax
mov byte [ebp - 4], 0x29
call fcn.00401e04
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
lea ecx, [ebp - 0x2c]
sbb eax, eax
mov byte [ebp - 4], 0x10
neg eax
mov byte [ebp - 0x11], al
call fcn.00401563
cmp byte [ebp - 0x11], bl
je 0x40724e
mov dword [esi + 0x70], 4
mov dword [esi + 0x74], 0xc
jmp 0x40725d
mov dword [esi + 0xe8], 1
jmp 0x40725d
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
call fcn.00401b7a
test eax, eax
jne 0x4072d4
cmp dword [ebp - 0x60], ebx
jne 0x4072d4
cmp dword [esi + 0xe8], ebx
je 0x407282
mov dword [esi + 0xf4], 1
jmp 0x4072d4
push 0x10
call fcn.0040efd0
pop ecx
mov dword [ebp - 0x54], eax
cmp eax, ebx
mov byte [ebp - 4], 0x2a
je 0x4072b1
push 0xf003f
push ebx
push ebx
push str.SoftwareEPSONSTM3
push 0x80000002
mov ecx, eax
call fcn.0040dc20
mov esi, eax
jmp 0x4072b3
xor esi, esi
cmp dword [esi + 8], ebx
mov byte [ebp - 4], 0x10
je 0x4072c8
push str.SIDMCommon
mov ecx, esi
call fcn.0040de74
cmp esi, ebx
je 0x4072d4
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push str.CMainFrame::DeleteRegSIDM_exit_n
call fcn.004024eb
pop ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x38]
call fcn.00401563
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.00401563
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0040dcd0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401563
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401563
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00401563
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401563
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret