Function at 0x4026e0
Capabilities:
Accept command line arguments
Check mutex on windows
Check os version
Create thread
Delete file
Delete registry key
Get common file path
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4de4
call fcn.00409910
mov eax, dword [0x40d798]
xor eax, esp
mov dword [esp + 0x4de0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
push str.RICHED20.DLL
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x200
lea ecx, [esp + 0x1bdc]
push esi
push ecx
mov dword [esp + 0x74], eax
call fcn.00405f20
add esp, 0xc
push 0x800
lea edx, [esp + 0x3dec]
push esi
push edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00405f20
add esp, 0xc
push 0x800
lea eax, [esp + 0x35ec]
push esi
push eax
call fcn.00405f20
add esp, 0xc
push 0x800
lea ecx, [esp + 0x45ec]
push esi
push ecx
call fcn.00405f20
add esp, 0xc
push 0x800
lea edx, [esp + 0x2dec]
push esi
push edx
call fcn.00405f20
add esp, 0xc
push 0x105
lea eax, [esp + 0x3bc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4027df
mov word [esp + 0x3b8], si
cmp word [esp + 0x3b8], si
lea eax, [esp + 0x3b8]
mov edx, eax
je 0x40280f
movzx ecx, word [eax]
add eax, 2
cmp cx, 0x5c
je 0x402804
cmp cx, 0x3a
jne 0x402806
mov edx, eax
cmp word [eax], si
jne 0x4027f2
cmp edx, esi
je 0x402812
mov word [edx], si
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x3b8]
push ecx
lea edx, [esp + 0x1ddc]
push edx
call ebx
push str.SETUP.INI
lea eax, [esp + 0x1ddc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x114
lea ecx, [esp + 0x94]
push esi
push ecx
call fcn.00405f20
add esp, 0xc
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xa0], 2
jne 0x4033fa
cmp dword [esp + 0x94], 5
jb 0x4033fa
mov eax, dword [ebp + 0x10]
cmp word [eax], si
je 0x402928
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, 1
cmp dword [esp + 0x20], esi
mov edi, eax
jle 0x402926
mov ecx, esi
mov eax, dword [edi + esi*4]
cmp word [eax], 0x2d
je 0x4028d8
push eax
lea edx, [esp + 0x5cc]
push edx
mov dword [esp + 0x24], 1
call ebx
mov ecx, 1
jmp case.0x4028eb.66
movzx eax, word [eax + 2]
add eax, 0xffffffbf
cmp eax, 0x32
ja case.0x4028eb.66
movzx eax, byte [eax + 0x403468]
jmp dword [eax*4 + 0x403448]
mov dword [esp + 0xc], ecx
jmp case.0x4028eb.66
mov dword [esp + 0x14], ecx
jmp case.0x4028eb.66
mov dword [esp + 0x3c], ecx
jmp case.0x4028eb.66
mov dword [esp + 0x40], ecx
jmp case.0x4028eb.66
mov dword [esp + 0x18], ecx
jmp case.0x4028eb.66
mov dword [esp + 0x18], 2
jmp case.0x4028eb.66
mov dword [esp + 0x10], ecx
add esi, ecx
cmp esi, dword [esp + 0x20]
jl 0x4028b5
xor esi, esi
push str.Global_
lea ecx, [esp + 0xfdc]
push ecx
mov edi, 1
call ebx
push str.IJPLMINSTALLER
lea edx, [esp + 0xfdc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [esp + 0xc], esi
je 0x402968
push str._UNINSTALL
lea eax, [esp + 0xfdc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0xfd8]
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, esi
mov dword [esp + 0x20], eax
je 0x403323
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403323
cmp dword [esp + 0xc], esi
jne 0x4029ab
cmp dword [esp + 0x10], esi
jne 0x4029ab
cmp dword [esp + 0x1c], esi
je 0x4033fa
push 0x200
lea edx, [esp + 0x19dc]
push esi
push edx
call fcn.00405f20
add esp, 0xc
push 0x200
lea eax, [esp + 0x17dc]
push esi
push eax
call fcn.00405f20
add esp, 0xc
cmp dword [esp + 0x1c], esi
je 0x402a6e
push esi
lea edi, [esp + 0x5cc]
call fcn.00401090
add esp, 4
lea ecx, [esp + 0x34]
push ecx
mov edx, edi
push str.PRIMARY_LANGID
push edx
call fcn.004011f0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
mov ecx, edi
push str.SUB_LANGID
push ecx
call fcn.004011f0
add esp, 0xc
lea edx, [esp + 0x19d8]
push edx
mov eax, edi
push str.RESIDENCE
push eax
call fcn.00401140
add esp, 0xc
lea ecx, [esp + 0x17d8]
push ecx
mov edx, edi
push str.REGION
push edx
call fcn.00401140
add esp, 0xc
push str.asia
lea eax, [esp + 0x19dc]
push eax
call ebx
push 0x40b5ac
lea ecx, [esp + 0x17dc]
push ecx
call ebx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp dword [esp + 0x1c], esi
movzx edx, ax
je 0x402a91
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x402a91
mov edx, dword [esp + 0x44]
shl edx, 0xa
or edx, eax
movzx edx, dx
mov eax, dword [str.English]
cmp eax, esi
mov dword [0x40ed48], eax
mov ecx, 0x40dcd0
je 0x402ad9
movzx eax, word [ecx]
test eax, 0xfc00
jne 0x402ac1
xor eax, edx
test eax, 0x3ff
jne 0x402ac6
mov eax, dword [ecx + 4]
mov dword [0x40ed48], eax
jmp 0x402ad9
cmp ax, dx
je 0x402ad0
add ecx, 8
cmp dword [ecx + 4], esi
jne 0x402aa4
jmp 0x402ad9
mov ecx, dword [ecx + 4]
mov dword [0x40ed48], ecx
push 0x105
push 0x40eb38
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x40eb38
call section..text
push str.RESMESSAGE_
push eax
call ebx
mov edx, dword [0x40ed48]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edx
push 0x40eb38
call ebx
push str.MESSAGE.INI
push 0x40eb38
call ebx
push 0x40eb38
push esi
push str.RTLREADING
push str.STRING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.APPNAME
mov ecx, 0x40e930
mov dword [0x40ed44], eax
call fcn.00401510
add esp, 4
push str.PSVI03
lea ecx, [esp + 0x3dec]
call fcn.00401510
add esp, 4
push str.PSVI04
lea ecx, [esp + 0x35ec]
call fcn.00401510
add esp, 4
push str.PSVI05
lea ecx, [esp + 0x45ec]
call fcn.00401510
add esp, 4
push str.PSVI08
lea ecx, [esp + 0x2dec]
call fcn.00401510
add esp, 4
call fcn.00402070
test eax, eax
jne 0x402c85
cmp dword [esp + 0xc], esi
jne 0x402be6
cmp dword [esp + 0x10], esi
jne 0x402c1c
push str.PSVI06
lea ecx, [esp + 0x7dc]
call fcn.00401510
add esp, 4
push 0x40e930
lea eax, [esp + 0x7dc]
push eax
lea ecx, [esp + 0xfe0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x402c53
cmp dword [esp + 0x10], esi
jne 0x402c1c
push str.PSVI09
lea ecx, [esp + 0x7dc]
call fcn.00401510
add esp, 4
push 0x40e930
push 0x40e930
lea edx, [esp + 0x7e0]
push edx
lea eax, [esp + 0xfe4]
push eax
jmp 0x402c4a
push str.PSVI14
lea ecx, [esp + 0x7dc]
call fcn.00401510
add esp, 4
push 0x40e930
push 0x40e930
lea ecx, [esp + 0x7e0]
push ecx
lea edx, [esp + 0xfe4]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp dword [0x40ed44], esi
mov eax, 0x10
je 0x402c65
mov eax, 0x180010
push eax
push 0x40e930
lea eax, [esp + 0xfe0]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [0x40dda8], esi
jmp 0x403323
mov ecx, dword [esp + 0x24]
push esi
push 0x10
push 0x10
push edi
push 0x6b
push ecx
call dword [sym.imp.USER32.dll_LoadImageW]
cmp dword [esp + 0x10], esi
mov dword [0x40ed4c], eax
je 0x402d14
push 0x40e930
lea edx, [esp + 0x7dc]
push str.Canon__s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.PSVI13
lea ecx, [esp + 0xfdc]
call fcn.00401510
add esp, 4
cmp dword [0x40ed44], esi
mov eax, 0x44
je 0x402ce4
mov eax, 0x180044
push eax
lea eax, [esp + 0x7dc]
push eax
lea ecx, [esp + 0xfe0]
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 6
neg eax
sbb eax, eax
add eax, 2
push eax
call fcn.00401450
add esp, 4
jmp 0x403323
cmp dword [esp + 0xc], esi
jne 0x402f75
cmp dword [esp + 0x14], esi
jne 0x402d51
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x402d44
push esi
push 0x83
mov edx, 0x401920
mov ecx, 0x81
call fcn.00401710
add esp, 8
cmp eax, 2
jne 0x402d51
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
cmp dword [0x40dda8], esi
je 0x403323
lea eax, [esp + 0x70]
push eax
push 2
push esi
lea ecx, [esp + 0x1de4]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x403323
push 0x40e930
lea edx, [esp + 0x21ec]
push str.Canon__s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [esp + 0x1c]
add esp, 0xc
push esi
push esi
push 1
lea eax, [esp + 0x21f4]
push eax
push 0xea60
push edi
call dword [sym.imp.SETUPAPI.dll_SetupSetDirectoryIdExW]
cmp dword [esp + 0xc], esi
mov eax, str.INSTALL
je 0x402dc7
mov eax, str.UNINSTALL
lea ecx, [esp + 0x80]
push ecx
push str.EXEC
push eax
push edi
mov dword [esp + 0x28], eax
mov word [esp + 0x25f8], si
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x402e6d
mov esi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
lea edx, [esp + 0x78]
push edx
push 0x100
lea eax, [esp + 0x23f0]
push eax
push 1
lea ecx, [esp + 0x90]
push ecx
call esi
lea edx, [esp + 0x74]
push edx
push 0x100
lea eax, [esp + 0x1ff0]
push eax
push 2
lea ecx, [esp + 0x90]
push ecx
call esi
lea edx, [esp + 0x6c]
push edx
push 0x400
lea eax, [esp + 0x25f0]
push eax
lea ecx, [esp + 0x23f4]
push ecx
push 0
push edi
call dword [sym.imp.SETUPAPI.dll_SetupGetTargetPathW]
lea edx, [esp + 0x1fe8]
push edx
lea eax, [esp + 0x25ec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor esi, esi
cmp dword [esp + 0x14], esi
mov dword [0x40ed54], esi
jne 0x402e8d
push esi
push esi
push esi
push 0x401bf0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x30], eax
push edi
call fcn.004024a0
add esp, 4
cmp dword [esp + 0xc], esi
mov dword [esp + 0x24], eax
jne 0x402ee2
cmp eax, esi
jne 0x403085
lea esi, [esp + 0x1bd8]
call fcn.004021c0
call fcn.00401380
mov dword [esp + 0x38], eax
call fcn.004012a0
mov dword [esp + 0x28], eax
or eax, edx
mov dword [esp + 0x2c], edx
jne 0x402ed9
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push edi
call fcn.004025e0
add esp, 4
push str.IJPLMUI_CLOSE
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov ebx, eax
xor esi, esi
push str.GlobalCANON_IJPLMUI
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x402f1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
push edi
jne 0x403018
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push ebx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 1
cmp esi, 2
jl 0x402ef1
push str.GlobalCANON_IJPLMUI
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x403020
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403020
mov edi, 1
jmp 0x403022
cmp dword [esp + 0x14], esi
jne 0x40300d
cmp dword [esp + 0x40], esi
jne 0x40300d
push str.PSVI01
lea ecx, [esp + 0x7dc]
call fcn.00401510
add esp, 4
push 0x40e930
lea edx, [esp + 0x7dc]
push edx
lea eax, [esp + 0xfe0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.PSVI02
lea ecx, [esp + 0x7dc]
call fcn.00401510
add esp, 4
cmp dword [0x40ed44], esi
mov eax, 0x34
je 0x402fe1
mov eax, 0x180034
push eax
lea ecx, [esp + 0x7dc]
push ecx
lea edx, [esp + 0xfe0]
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x402d51
mov dword [0x40dda8], esi
jmp 0x403323
mov dword [0x40dda8], edi
jmp 0x402d5d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403035
xor edi, edi
test esi, esi
je 0x40302d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x403272
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push 0
push 0
push 0x401ee0
push 0x108
lea edx, [esp + 0x3cc]
push edx
push 0x80000002
push 0x10
push eax
push ecx
call esi
mov edi, dword [sym.imp.SETUPAPI.dll_SetupInstallFromInfSectionW]
push eax
call edi
test eax, eax
je 0x403272
xor ebx, ebx
cmp dword [esp + 0xc], ebx
jne 0x40308f
cmp dword [esp + 0x24], ebx
je 0x4030ab
call fcn.004020d0
jmp 0x4032e5
cmp word [esp + 0x25e8], bx
je 0x4030ad
lea edx, [esp + 0x25e8]
push edx
call fcn.00401fc0
add esp, 4
jmp 0x4030ad
xor ebx, ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push 0x401e30
push 0x108
lea eax, [esp + 0x3cc]
push eax
push 0x80000002
push 0x14
push ecx
push edx
call esi
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x40312d
cmp dword [esp + 0xc], ebx
jne 0x40312d
call fcn.004020d0
lea eax, [esp + 0x1bd8]
push eax
call fcn.004022a0
mov ecx, dword [esp + 0x3c]
add esp, 4
push ecx
call fcn.004013f0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 4
push edx
push eax
call fcn.00401320
add esp, 8
lea ebx, [esp + 0x17d8]
lea eax, [esp + 0x19d8]
call fcn.00402410
xor ebx, ebx
push 0x20a
lea ecx, [esp + 0x1ac]
push ebx
push ecx
call fcn.00405f20
add esp, 0xc
lea edx, [esp + 0x1a8]
push edx
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.CanonIJPLM
lea eax, [esp + 0x1ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x403248
cmp dword [esp + 0xc], ebx
jne 0x403188
lea edi, [esp + 0x1a8]
call fcn.00402660
jmp 0x403252
cmp dword [esp + 0x3c], ebx
mov esi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, 0x414
jne 0x4031cc
lea edx, [esp + 0x48]
lea ecx, [esp + 0x1a8]
push edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 3
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov word [esp + 0x5c], di
mov dword [esp + 0x5e], ebx
mov dword [esp + 0x62], ebx
mov dword [esp + 0x66], ebx
call esi
push 0x20a
lea eax, [esp + 0x1ac]
push ebx
push eax
call fcn.00405f20
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
push 0x105
lea edx, [esp + 0x1b0]
push edx
push 0x40bb3c
push ebx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupGetTargetPathW]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x1a8]
push edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 3
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov word [esp + 0x5c], di
mov dword [esp + 0x5e], ebx
mov dword [esp + 0x62], ebx
mov dword [esp + 0x66], ebx
call esi
push str.SoftwareCanonIJPLM
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [esp + 0xc], ebx
jne 0x4032e7
cmp word [esp + 0x25e8], bx
je 0x4032e7
lea eax, [esp + 0x25e8]
push eax
call fcn.00401fc0
add esp, 4
jmp 0x4032e7
cmp dword [esp + 0x14], 0
jne 0x4032db
push 0x400
lea ecx, [esp + 0x2dec]
push ecx
lea edx, [esp + 0x7e0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x40e930
lea eax, [esp + 0x7dc]
push eax
lea ecx, [esp + 0xfe0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [0x40ed44], 0
mov eax, 0x10
je 0x4032c5
mov eax, 0x180010
push eax
push 0x40e930
lea edx, [esp + 0xfe0]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [0x40dda8], 0
xor ebx, ebx
mov eax, dword [0x40ed54]
cmp eax, ebx
je 0x4032fb
push ebx
push ebx
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x403316
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
xor esi, esi
cmp dword [esp + 0xc], esi
je 0x4033e3
cmp dword [esp + 0x14], esi
jne 0x4033e3
cmp dword [0x40dda8], esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x400
je 0x40335e
lea ecx, [esp + 0x3dec]
push ecx
lea edx, [esp + 0xfe0]
push edx
call edi
jmp 0x40338e
lea eax, [esp + 0x35ec]
push eax
lea ecx, [esp + 0x7e0]
push ecx
call edi
push 0x40e930
lea edx, [esp + 0x7dc]
push edx
lea eax, [esp + 0xfe0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x400
lea ecx, [esp + 0x45ec]
push ecx
lea edx, [esp + 0x7e0]
push edx
call edi
cmp word [esp + 0xfd8], si
je 0x4033e3
cmp word [esp + 0x7d8], si
je 0x4033e3
cmp dword [0x40ed44], esi
mov eax, 0x40
je 0x4033cb
mov eax, 0x180040
push eax
lea eax, [esp + 0x7dc]
push eax
lea ecx, [esp + 0xfe0]
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x1c], esi
je 0x4033fa
push 1
lea edi, [esp + 0x5cc]
call fcn.00401090
add esp, 4
mov eax, dword [esp + 0x68]
cmp eax, esi
je 0x403409
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x403418
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x40ed4c]
cmp eax, esi
je 0x40342e
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [0x40ed4c], esi
mov ecx, dword [esp + 0x4dec]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040373d
mov esp, ebp
pop ebp
ret 0x10