Function at 0x4010e0
Capabilities:
Create shortcut via ishelllink
Get common file path
Get file system object information
Query environment variable
Set console window title

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x14ac
call fcn.00408bc0
mov eax, dword [0x40f008]
xor eax, esp
mov dword [esp + 0x14a8], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x18], eax
mov dword [0x447948], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x82
cmp eax, ebx
jne 0x40154f
mov ecx, dword [0x447944]
mov eax, dword [0x447954]
push ecx
push 0x82
push ebx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
push ebx
push str.Class
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x40119b
lea ecx, [esp + 0xaa0]
mov dword [esp + 0xa8], 0x13ed
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x401161
sub ecx, esi
sar ecx, 1
lea ecx, [ecx + ecx + 2]
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0xa8]
push ecx
push ebx
push 0x4a
lea edx, [esp + 0xaac]
push eax
mov dword [esp + 0xc0], edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x18], ebx
jne 0x40154f
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x10]
push edx
push 0x40baf8
push 1
push ebx
push 0x40a28c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40124e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0xea0]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0xfa8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x260]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x3c0]
push edx
push 0x40a29c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x401235
mov eax, dword [esp + 0x3c0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x401242
push str.Failed_to_create_link__n
call fcn.004021c8
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x1c], 1
xor edi, edi
cmp edi, ebx
jge 0x4012d8
push 0x1a8
lea eax, [esp + 0xbc]
push ebx
push eax
call fcn.00405580
add esp, 0xc
push ebx
lea ecx, [esp + 0xbc]
push ecx
push edi
push ebx
mov dword [esp + 0xc8], 0x1a8
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
je 0x4012d1
test byte [esp + 0x15c], 1
je 0x4012d1
push ebx
push ebx
lea edx, [esp + 0xc4]
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
cmp esi, ebx
je 0x4012d1
push 0xc
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, eax
jns 0x4012ca
mov dword [esp + 0x1c], ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
inc edi
cmp dword [esp + 0x1c], ebx
jne 0x40125e
cmp dword [esp + 0x18], ebx
jne 0x40154f
mov edx, dword [0x447944]
mov ecx, dword [0x447940]
mov eax, dword [0x447954]
push edx
push ecx
push ebx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov eax, dword [str.MdiChild]
mov ecx, dword [0x40d0ac]
mov dl, byte [0x40d0b0]
mov esi, dword [0x447954]
push 0x103
mov dword [esp + 0x3c4], eax
lea eax, [esp + 0x5e5]
push ebx
push eax
mov dword [esp + 0x3d0], ecx
mov byte [esp + 0x3d4], dl
mov byte [esp + 0x5ec], bl
call fcn.00405580
push 0x103
lea ecx, [esp + 0x4e9]
push ebx
push ecx
mov byte [esp + 0x4f0], bl
call fcn.00405580
mov edx, dword [0x44796c]
add esp, 0x18
push ebx
push 0x82
push ebx
push edx
push esi
call dword [sym.imp.USER32.dll_DefFrameProcA]
mov eax, dword [esp + 0x18]
push 0x7f00
push ebx
mov dword [esp + 0x30], 3
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push ebx
mov dword [esp + 0x44], eax
call esi
mov edi, dword [sym.imp.USER32.dll_RegisterClassA]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x8f0]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0xd
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ecx
call edi
mov eax, dword [esp + 0x18]
push 0x7f00
push ebx
mov dword [esp + 0x30], 3
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [esp + 0x44], eax
call esi
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
call edi
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_LoadMenuA]
push str.MdiMenuInit
push edx
call edi
mov esi, eax
mov eax, dword [esp + 0x18]
push str.MdiMenuChild
push eax
call edi
push 0x82
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ecx, dword [0x447944]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x3d0]
push edx
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov ecx, dword [esp + 0x18]
push ebx
push ecx
push esi
push ebx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x2cf0000
lea edx, [esp + 0x914]
push edx
lea eax, [esp + 0x3f8]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
push 5
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 0x82
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp dword [esp + 0x18], ebx
jne 0x40154f
mov eax, dword [0x40d0d8]
mov ecx, dword [str.MdiHelloChild]
mov edx, dword [0x40d0d4]
push ebx
mov dword [esp + 0xa4], eax
mov eax, dword [0x40d0e4]
push 0x82
mov dword [esp + 0xa0], ecx
mov cx, word [0x40d0dc]
mov dword [esp + 0xa4], edx
mov edx, dword [str.MdiRectChild]
mov dword [esp + 0x3cc], eax
mov eax, dword [0x447968]
push ebx
mov word [esp + 0xb0], cx
mov ecx, dword [0x40d0e8]
mov dword [esp + 0x3cc], edx
mov dl, byte [0x40d0ec]
push eax
push ebx
mov dword [esp + 0x3dc], ecx
mov byte [esp + 0x3e0], dl
call dword [sym.imp.USER32.dll_DefFrameProcA]
lea edx, [esp + 0x3c0]
push edx
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
mov word [esp + 0x6f0], cx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c8], ebx
call dword [sym.imp.OLEACC.dll_GetOleaccVersionInfo]
cmp dword [esp + 0x1c], 0x400
jle 0x401fe9
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [0x447954]
mov ecx, dword [esp + 0x14]
imul esi, esi, 0x76c
sub dword [0x447944], ecx
add esi, 0x7a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3c
lea edx, [esp + 0x60]
mov edi, eax
push ebx
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x3dc], ebx
mov dword [esp + 0x3cc], ebx
call fcn.00405580
or eax, 0xffffffff
add esp, 0xc
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x3c0]
push eax
push ebx
push ebx
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x6c], 0x3c
call dword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
mov ecx, dword [0x447954]
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
mov dword [esp + 0x3d0], 1
mov dword [esp + 0x10], ecx
cmp eax, ebx
jne 0x401637
mov byte [esp + 0x10], bl
mov ecx, dword [esp + 0x10]
mov dword [0x447958], ecx
cmp ecx, ebx
je 0x401643
cmp dword [0x447958], ebx
jne 0x401652
push 4
call fcn.004020e8
add esp, 4
mov dword [0x447958], eax
movzx eax, di
xor edx, edx
cmp eax, ebx
jle 0x401681
mov eax, dword [esp + 0xa0]
dec eax
mov ecx, eax
imul ecx, dword [ebp + 0x14]
cmp ecx, ebx
je 0x401677
cmp dl, bl
jne 0x401677
inc dword [esp + 0x20]
add ecx, eax
movzx edi, word [esp + 0x1c]
inc edx
cmp edx, edi
jl 0x401669
cmp dword [0x447958], ebx
je 0x40168d
inc dword [esp + 0x20]
cmp dword [0x447940], ebx
jne 0x40169f
movzx eax, byte [esp + 0x20]
inc eax
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x1c]
add edi, esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea edx, [esp + 0x10]
push edx
push 5
push ebx
mov dword [0x447950], edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_LsaQueryInformationPolicy]
cmp eax, dword [esp + 0x24]
jne 0x40172d
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
add ecx, 2
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
jne 0x4016ee
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
mov edx, dword [eax + 4]
push ecx
push edx
push esi
call fcn.0040217c
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
cmp dword [esp + 0x24], eax
je 0x401738
lea ecx, [esp + 0x6e8]
push ecx
call fcn.004021c8
add esp, 4
jmp 0x401738
push eax
call dword [sym.imp.ADVAPI32.dll_LsaNtStatusToWinError]
mov dword [esp + 0x24], eax
push ebx
mov dword [esp + 0x3d4], ebx
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
cmp edi, eax
mov eax, dword [esp + 0x18]
sbb esi, esi
not esi
and esi, eax
mov dword [0x447940], ebx
cmp esi, ebx
je 0x401764
mov dl, byte [esp + 0x24]
xor edi, edi
mov byte [edi], dl
mov dword [esp + 0x8f0], eax
cmp esi, ebx
jne 0x401775
mov dword [0x447954], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c0], ebx
xor ecx, ecx
shr dword [esp + 0x10], 1
je 0x4017ac
shl edx, 4
cmp ecx, 2
jne 0x4017a6
mov dword [esp + 0x3c0], 0x10
inc ecx
cmp ecx, 3
jl 0x40178d
mov edi, dword [esp + 0x3c0]
mov ecx, edx
imul ecx, ecx, 0x123
mov dword [esp + 0x58], ecx
mov ecx, edx
imul ecx, ecx, 0x26c
add edi, edi
add edi, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
cmp eax, esi
jbe 0x4017da
imul edi, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.RtlCreateHeap
push str.ntdll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x447940]
mov edx, dword [esp + 0x58]
or edi, dword [esp + 0x10]
add ecx, esi
imul ecx, dword [0x447944]
push ebx
push ebx
push edx
mov dword [esp + 0x3cc], ecx
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edi
call eax
mov dword [esp + 0x58], eax
cmp eax, ebx
je 0x401fe9
mov eax, dword [esp + 0x14]
add eax, dword [0x44794c]
mov ecx, dword [esp + 0x14]
imul eax, dword [0x447950]
add ecx, dword [esp + 0x3c0]
cmp ecx, eax
jne 0x401858
mov eax, dword [0x447940]
add dword [0x447944], eax
push 0x7f89
push ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], 0x10
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x28]
lea edx, [esp + 0x3d0]
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], 3
call dword [sym.imp.USER32.dll_RegisterClassA]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x30
lea ecx, [esp + 0x2c]
push ebx
push ecx
mov edi, eax
call fcn.00405580
mov edx, dword [0x447944]
add esp, 0xc
push ebx
push edx
push 0x101d
push esi
mov dword [esp + 0x38], 0x30
mov dword [esp + 0x3c], 0x1b
mov dword [esp + 0x40], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
neg eax
sbb eax, eax
and eax, 8
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
push 1
push ebx
push edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], 1
call dword [sym.imp.USER32.dll_InsertMenuItemA]
lea ecx, [esp + 0x28]
push ecx
push 1
push ebx
push edi
mov dword [esp + 0x40], 0x800
call dword [sym.imp.USER32.dll_InsertMenuItemA]
lea edx, [esp + 0x28]
push edx
push 1
push 1
push edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x5c], str.More...
mov dword [esp + 0x48], 2
call dword [sym.imp.USER32.dll_InsertMenuItemA]
lea eax, [esp + 0x3c0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x3c4]
mov edx, dword [esp + 0x3c0]
push ebx
push esi
push ebx
push ecx
push edx
push 0x182
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [esp + 0x10], eax
cmp eax, ebx
jle 0x4019a4
dec eax
mov dword [esp + 0x10], eax
cmp eax, 1
jl 0x401acd
cmp esi, ebx
je 0x4019a4
push ebx
push ebx
push str.More
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x5c]
push eax
push ebx
push 0x1005
push esi
mov dword [esp + 0x6c], 4
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call edi
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [esp + 0x28]
push ecx
push ebx
push 0x1019
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 1
call edi
and dword [esp + 0x2c], 0xffff67ff
lea edx, [esp + 0x28]
push edx
push ebx
push 0x101a
push esi
call edi
lea eax, [esp + 0x28]
push eax
push ebx
push 0x1019
push esi
mov dword [esp + 0x38], 0x11
call edi
or dword [esp + 0x2c], 0x9800
lea ecx, [esp + 0x28]
push ecx
push ebx
push 0x101a
push esi
call edi
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x1051
push esi
call edi
test eax, eax
jne 0x401a5b
mov eax, dword [esp + 0x24]
push eax
push eax
push 0x1030
push esi
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 0x12
cmp esi, ebx
jne 0x401a74
mov eax, 0x12000
mov edx, dword [esp + 0x58]
push eax
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x14], eax
mov ax, word [esp + 0x1c]
lea ecx, [esp + 0x6e8]
push ecx
mov word [esp + 0x6ec], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor edi, edi
cmp eax, dword [0x447950]
jle 0x401aaf
mov edi, 1
mov edx, dword [esp + 0x1c]
mov eax, dword [0x44794c]
cmp edx, 0x5ef
jge 0x401b5e
mov dword [esp + 0x10], eax
jmp 0x401b6e
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push eax
push 0x101d
push esi
call edi
push ebx
test eax, eax
jle 0x401b1e
mov ecx, dword [esp + 0x14]
push ecx
push 0x101d
push esi
call edi
mov edx, dword [esp + 0x10]
push ebx
push edx
push 0x101e
push esi
call edi
push ebx
push ebx
push 0x101f
push esi
call edi
mov ecx, dword [esp + 0x10]
push ebx
push ecx
push 0x1202
push eax
call edi
jmp 0x4019aa
push ebx
push 0x101f
push esi
call edi
push 0x2c
lea edx, [esp + 0x64]
push ebx
push edx
mov dword [esp + 0x20], eax
call fcn.00405580
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
push ecx
push 0x1201
push edx
mov dword [esp + 0x6c], 3
call edi
jmp 0x4019aa
mov ecx, dword [esp + 0x18]
cmp esi, ebx
jne 0x401b6a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x447954]
lea esi, [ecx + edi*2]
add esi, edi
mov dword [esp + 0x98], eax
imul esi, edx
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], eax
cmp dword [0x447958], edx
jle 0x401bb6
mov eax, esi
imul eax, edi
push eax
lea edx, [ecx + 0x40bb08]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00402070
add esp, 0x10
push 0x104
lea ecx, [esp + 0x3d4]
push ecx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [esp + 0x14], eax
cmp dword [0x447954], ebx
jne 0x401bf3
mov eax, dword [esp + 0x10]
imul esi, edi
mov edx, 0x45
sub edx, dword [esp + 0x98]
push edx
push esi
push eax
call fcn.00401010
cmp dword [esp + 0x14], ebx
jg 0x401c04
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
mov dword [edx + 1], ecx
lea eax, [esp + 0x3c0]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x3c0]
push ebx
push 0x160
lea ecx, [esp + 0x268]
push ecx
push ebx
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c0]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [0x447954]
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov eax, dword [0x447940]
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x401c89
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
jmp 0x401c97
call dword [sym.imp.USER32.dll_GetFocus]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
lea eax, [esp + 0xa8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x98]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x98]
push edx
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0xa0]
push eax
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0xac]
sub ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0xa8]
add ecx, dword [esp + 0xb4]
sub eax, edx
add eax, dword [esp + 0xb0]
push ecx
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0xa0]
push eax
push ecx
push edx
mov dword [esp + 0xb0], eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
xor ecx, ecx
cmp ecx, 1
je 0x401d30
push 1
push ebx
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0xa0]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0xb0]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0xac]
push eax
push ecx
push 6
push esi
push ebx
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [0x447940]
mov eax, dword [0x447944]
mov ecx, dword [esp + 0x18]
push ebx
push edx
push eax
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
push esi
push 0xffffffffffffffff
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push eax
mov dword [esp + 0x30], 0x30
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 0x401000
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
call esi
push 0x7f00
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edx, dword [esp + 0x3c]
push 0x7f00
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 6
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], str.MyClass
call esi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
push ebx
push edi
push ebx
push ebx
push 0x1f4
push 0x1f4
push 0x64
push 0x64
push 0x10cf0000
push str.Mini_Win32
push ecx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push edi
push 0x64
mov esi, eax
push esi
push 0x14
push 0x77
push 5
push 0xa
push 0x50000000
push 0x40d118
push str.BUTTON
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push edi
push ebx
push esi
push 0x90
push 0xed
push 0x50
push 0xa
push 0x50a00003
push ebx
push str.LISTBOX
push ebx
mov dword [0x447964], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push edi
push ebx
push esi
push 0x3c
push 0x77
push 0x28
push 0xa
push 0x50000002
push ebx
push str.COMBOBOX
push ebx
mov dword [0x447960], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [0x447960]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x40d140
push ebx
push 0x180
push edx
mov dword [0x44795c], eax
call edi
mov eax, dword [0x44795c]
push str.ComboBox
push ebx
push 0x143
push eax
call edi
push ebx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x3d0]
push ecx
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push str.32770
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
push 0x400
lea edx, [esp + 0x10b4]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0xaa8]
push str._d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0xaa0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push ebx
call edi
lea edx, [esp + 0xaa0]
push edx
push ebx
call esi
lea eax, [esp + 0x10b0]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, dword [esp + 0x10]
push 1
push 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14a8]
xor ecx, esp
call fcn.00402002
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x14b4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00402002
mov esp, ebp
pop ebp
ret 0x10