Function at 0x42c590
Capabilities:
Extract resource via kernel32 functions
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d90a6
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
mov ebx, dword [esp + 0x1b4]
push ebp
push esi
mov esi, dword [esp + 0x1b8]
push edi
mov edi, ebx
and edi, 0xffff
cmp edi, 0x4e8d
jg 0x42ceb1
cmp edi, 0x4e8d
je 0x42ce57
lea eax, [edi - 0x4e28]
cmp eax, 0x50
ja case.0x42ceca.20142
xor ecx, ecx
mov cl, byte [eax + 0x42d8a8]
jmp dword [ecx*4 + 0x42d830]
mov ecx, dword [esp + 0x1bc]
call fcn.00433e20
jmp case.0x42ceca.20142
mov ecx, dword [esp + 0x1bc]
call fcn.00434230
jmp case.0x42ceca.20142
mov ecx, dword [esp + 0x1bc]
call fcn.00433d70
jmp case.0x42ceca.20142
mov ecx, dword [esp + 0x1bc]
cmp word [ecx + 0x36], 0
jne case.0x42ceca.20142
push 1
call fcn.00433050
jmp case.0x42ceca.20142
mov ecx, dword [esp + 0x1bc]
call fcn.004331c0
jmp case.0x42ceca.20142
mov edx, dword [esp + 0x1bc]
push edx
call fcn.0042b2b0
add esp, 4
jmp case.0x42ceca.20142
mov eax, dword [esp + 0x1bc]
xor ecx, ecx
cmp word [eax + 0x2aa], cx
sete cl
mov word [eax + 0x2aa], cx
jmp case.0x42ceca.20142
mov edx, dword [0x651b54]
push 0
push 0x1619
push 0x111
push edx
jmp 0x42d80f
mov eax, dword [0x651b54]
push 0
push 0x1618
push 0x111
jmp 0x42d80e
mov ecx, dword [0x655ff8]
push 5
push 0x14d2
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x655ff8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov eax, dword [esp + 0x1bc]
test eax, eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], 0
je 0x42c6fe
mov ecx, dword [eax + 0x14]
jmp 0x42c704
mov ecx, dword [0x655afc]
lea edx, [esp + 0x20]
push edx
push 0x42b330
push 0x420f80
push 0x420ce0
push 0xe
push 0x652d58
push ecx
push 0x4e36
push esi
push eax
call fcn.00422020
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp case.0x42ceca.20142
cmp bx, 0x4e37
jne case.0x42c5f4.20020
mov word [esi + 0x294], 0
jmp 0x42d4ac
cmp bx, 0x4e39
jne case.0x42c5f4.20019
mov eax, 0x3e8
cmp word [esi + 0x294], ax
je case.0x42ceca.20142
jmp 0x42d4a5
cmp bx, 0x4e38
jne case.0x42ceca.20135
mov eax, 0x1f4
cmp word [esi + 0x294], ax
je case.0x42ceca.20142
jmp 0x42d4a5
mov esi, dword [esp + 0x1bc]
push 0
push 0
push 1
mov ax, word [esi + 0x2ba]
push eax
push esi
call fcn.0042f060
xor eax, eax
mov edx, dword [esi + 0x36e]
cmp word [esi + 0x2a8], ax
sete al
xor ecx, ecx
mov word [esi + 0x2a8], ax
test ax, ax
sete cl
push ecx
push 0x113
push edx
call fcn.004291d0
mov ecx, dword [esi + 0x3c]
add esp, 0x20
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp word [esi + 0x2a8], 0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x42c80f
mov edx, dword [esi + 0x4c]
push 0
push edx
call edi
mov eax, dword [esi + 0x48]
push 0
push eax
call edi
mov ecx, dword [esi + 0x50]
push 0
push ecx
call edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
push esi
call fcn.0042c110
add esp, 0xc
cmp word [esi + 0x2a8], 0
jne 0x42c844
mov ecx, dword [esi + 0x4c]
push 5
push ecx
call edi
mov edx, dword [esi + 0x48]
push 5
push edx
call edi
mov eax, dword [esi + 0x50]
push 5
push eax
call edi
mov cx, word [esi + 0x2ba]
push 0
push 0
push 2
push ecx
push esi
call fcn.0042f060
add esp, 0x14
jmp case.0x42ceca.20142
mov edx, dword [0x6562b4]
push 0
lea ecx, [edx + 0x150]
call fcn.0042c100
mov ecx, dword [0x6562b4]
neg eax
sbb eax, eax
inc eax
push eax
lea eax, [ecx + 0x150]
push eax
call sub.MFC42.DLL_CFrameWnd::ShowControlBar
jmp case.0x42ceca.20142
mov ecx, dword [0x6562b4]
push 0
add ecx, 0xc4
call fcn.0042c100
mov ecx, dword [0x6562b4]
neg eax
sbb eax, eax
lea edx, [ecx + 0xc4]
inc eax
push eax
push edx
call sub.MFC42.DLL_CFrameWnd::ShowControlBar
jmp case.0x42ceca.20142
mov esi, dword [esp + 0x1bc]
push 0
push 0
push 1
mov ax, word [esi + 0x2ba]
push eax
push esi
call fcn.0042f060
mov edx, dword [esi + 0x14]
xor ecx, ecx
add esp, 0x14
cmp word [esi + 0x296], cx
push 1
push 0
sete cl
push edx
mov word [esi + 0x296], cx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
mov ax, word [esi + 0x2ba]
push 2
push eax
push esi
call fcn.0042f060
add esp, 0x14
jmp case.0x42ceca.20142
mov eax, dword [esp + 0x1bc]
xor ecx, ecx
cmp word [eax + 0x298], cx
sete cl
mov word [eax + 0x298], cx
jmp case.0x42ceca.20142
mov ecx, dword [esp + 0x1bc]
call fcn.00434310
jmp case.0x42ceca.20142
mov ecx, dword [esp + 0x1bc]
call fcn.004345a0
jmp case.0x42ceca.20142
mov esi, dword [esp + 0x1bc]
push 0
push 0
push 0x1b
push esi
call fcn.0042f000
mov edx, dword [0x655ff8]
add esp, 0x10
mov dword [esp + 0x3c], esi
push 5
push 0x14d0
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [0x655ff8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0x421400
push 0x420da0
push 0x420d60
push 9
push 0x651b60
mov edi, eax
mov eax, dword [esp + 0x54]
push edx
push 0x4e46
push edi
push eax
call fcn.00422020
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp case.0x42ceca.20142
mov esi, dword [esp + 0x1bc]
push 0
push 0
push 0x1b
push esi
call fcn.0042f000
mov cx, word [esi + 0x2ba]
push 0
push 0
push 1
push ecx
push esi
call fcn.0042f060
add esp, 0x24
mov ecx, esi
push 1
call fcn.00431940
xor eax, eax
cmp word [esi + 0xa4a], 1
lea edx, [esp + 0x58]
mov word [esp + 0x58], 0x10f
setne al
mov word [esi + 0xa4a], ax
mov word [esp + 0x5a], ax
mov eax, dword [esi + 0x36e]
push edx
push eax
call fcn.004539d0
add esp, 8
mov ecx, esi
push 0
call fcn.00431940
push esi
call fcn.00421f70
mov cx, word [esi + 0x294]
push eax
push ecx
call fcn.00427630
push eax
push esi
mov word [esi + 0x294], ax
call fcn.00429b70
push 0xffff
push esi
call fcn.00425d50
mov ax, word [esi + 0xc]
lea edx, [esp + 0xc8]
push edx
push eax
call fcn.004c8be0
mov ecx, dword [esi + 0x44]
add esp, 0x24
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea edx, [esp + 0xac]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor edi, edi
cmp word [esi + 0x29e], di
jbe 0x42cac7
push 0
push 0x42c540
push edi
push esi
call fcn.0045c700
add esp, 0x10
inc edi
cmp di, word [esi + 0x29e]
jb 0x42caac
mov eax, dword [0x6559e0]
push 0
push esi
call dword [eax + 0x370]
mov cx, word [esi + 0x2ba]
push 0
push 0
push 2
push ecx
push esi
call fcn.0042f060
mov ecx, dword [esi + 0xa3c]
add esp, 0x1c
call fcn.00419690
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x64]
mov ax, word [esi + 0x38e]
inc ax
mov word [esi + 0x2a2], ax
jmp case.0x42ceca.20142
mov ecx, dword [0x655ff8]
push 5
push 0x14c6
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x655ff8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov eax, dword [esp + 0x1bc]
push eax
push 0x4220c0
mov eax, dword [eax + 0x14]
mov ecx, dword [0x655ff8]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp case.0x42ceca.20142
mov edx, dword [0x655ff8]
push 5
push 0x14bc
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [0x655ff8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x655ff8]
mov esi, eax
mov eax, dword [esp + 0x1bc]
push eax
push 0x4224d0
mov ecx, dword [eax + 0x14]
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp case.0x42ceca.20142
mov esi, dword [esp + 0x1bc]
cmp word [esi + 0x36], 0
jne 0x42ccb0
mov ecx, esi
call fcn.00432120
mov ecx, esi
call fcn.00432260
mov ebx, 1
cmp word [0x653360], bx
jbe 0x42cc53
mov ebp, 0xffff0000
mov eax, ebx
push 0
and eax, 0xffff
push 0
push 0x32
push esi
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
lea edx, [eax + ecx*2]
mov eax, dword [0x6559e0]
call dword [eax + edx*2 + 0x16]
add esp, 0x10
test eax, eax
je 0x42cc49
cmp bx, 1
je 0x42cc42
push 0
push ebx
push 1
push 0
push 0
push esi
call fcn.0045afd0
mov edi, eax
push edi
call fcn.00432740
add esp, 0x1c
mov ecx, esi
mov dword [eax + 2], ebp
push edi
call fcn.00431d70
jmp 0x42cc49
mov ecx, esi
call fcn.00434250
inc ebx
cmp bx, word [0x653360]
jb 0x42cbe5
mov ax, word [esi + 0xa66]
test ax, ax
je 0x42cc6a
cmp ax, 2
mov eax, dword [0x651b58]
jne 0x42cc6f
mov eax, dword [0x6520bc]
push eax
push 0xf
push 1
push esi
call fcn.0042b740
mov ecx, dword [0x655ab0]
add esp, 0x10
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x42ceca.20142
mov edx, dword [0x652890]
push 0x1625
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x42ceca.20142
mov ecx, dword [0x655ab4]
xor eax, eax
mov ax, word [esi + 0x29a]
push eax
push 0x42c4f0
push ecx
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp case.0x42ceca.20142
mov edx, dword [0x655ff8]
push 5
push 0x14bd
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [0x655ff8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov eax, dword [esp + 0x1bc]
push eax
push 0x4205f0
mov ecx, dword [eax + 0x14]
push 0x420230
push 0x4201e0
push 4
push 0x6534e8
push ecx
push 0x4e2c
push esi
push eax
call fcn.00422020
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp case.0x42ceca.20142
mov esi, dword [esp + 0x1bc]
xor eax, eax
mov ecx, 1
mov ax, word [esi + 0x2a2]
dec eax
cmp word [esi + 0xa4a], 0
mov dword [esp + 0x38], eax
mov ebx, eax
jne 0x42cd5a
mov dword [esp + 0x14], ecx
jmp 0x42cd68
xor eax, eax
mov ax, word [esi + 0xa4c]
inc eax
mov dword [esp + 0x14], eax
mov bp, word [esi + 0x26e]
test bp, bp
je 0x42cd7a
mov dword [esp + 0x10], ecx
jmp 0x42cd87
xor eax, eax
mov ax, word [esi + 0x29c]
mov dword [esp + 0x10], eax
xor ecx, ecx
xor eax, eax
mov cx, word [esi + 0x29e]
mov ax, word [esi + 0x29c]
mov edx, ecx
sub edx, eax
test bp, bp
je 0x42cdaa
mov ebp, dword [esp + 0x14]
sub eax, ebp
jmp 0x42cdce
cmp edx, 1
jne 0x42cdb5
mov ebp, dword [esp + 0x14]
jmp 0x42cdce
mov ebp, dword [esp + 0x14]
lea eax, [edx - 1]
cdq
idiv ebp
mov eax, 1
test edx, edx
jne 0x42cdca
mov eax, ebp
sub ecx, eax
mov eax, ecx
add edi, 0xffffb1a7
cmp edi, 4
ja case.0x42cdd9.20059
jmp dword [edi*4 + 0x42d8fc]
xor edx, edx
mov dx, word [esi + 0x4ea]
add ebx, edx
cmp ebx, eax
jle case.0x42cdd9.20059
mov ebx, eax
cmp ebx, dword [esp + 0x38]
je 0x42ce2e
mov ecx, esi
call fcn.00432120
inc ebx
push 1
push ebx
mov ecx, esi
call fcn.00431680
push 0xffff
push esi
call fcn.00425d50
add esp, 8
jmp case.0x42ceca.20142
mov eax, dword [esp + 0x10]
sub ebx, ebp
cmp ebx, eax
jge case.0x42cdd9.20059
jmp case.0x42cdd9.20061
mov ebx, dword [esp + 0x10]
jmp case.0x42cdd9.20059
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
jmp case.0x42ceca.20142
mov eax, dword [esp + 0x1bc]
push 0
push 0x17fc
push 0x111
mov ecx, dword [eax + 0x44]
push ecx
jmp 0x42d80f
mov edx, dword [0x655ff8]
push 5
push 0x14c3
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [0x655ff8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov eax, dword [esp + 0x1bc]
push eax
push 0x420a20
mov ecx, dword [eax + 0x14]
push 0
push 0x4207f0
push 3
push 0x651f40
push ecx
push 0x4e8d
push esi
push eax
call fcn.00422020
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp case.0x42ceca.20142
lea eax, [edi - 0x4ea1]
cmp eax, 0x86
ja case.0x42ceca.20142
xor edx, edx
mov dl, byte [eax + 0x42d948]
jmp dword [edx*4 + 0x42d910]
mov ecx, dword [0x6562b4]
push 0
call sub.MFC42.DLL_CMDIFrameWnd::MDIGetActive
mov ecx, eax
call sub.MFC42.DLL_CFrameWnd::GetActiveView
mov ecx, eax
call fcn.00419690
mov ecx, eax
call fcn.0042da00
jmp case.0x42ceca.20142
mov eax, dword [esp + 0x1bc]
push 0
push 0
push str.Document_Info
push eax
lea ecx, [esp + 0xbc]
call fcn.00427390
push 0
lea ecx, [esp + 0xb0]
mov dword [esp + 0x1b8], 0
call sub.MFC42.DLL_CPropertySheet::SetActivePage
lea ecx, [esp + 0xac]
call sub.MFC42.DLL_CPropertySheet::DoModal
lea ecx, [esp + 0xac]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.004274d0
jmp case.0x42ceca.20142
lea ecx, [esp + 0x18]
call fcn.0042da10
xor esi, esi
lea ecx, [esp + 0x18]
push esi
push str.CorelDRAW.Automation.7
mov dword [esp + 0x1bc], 1
call sub.MFC42.DLL_COleDispatchDriver::CreateDispatch
test eax, eax
je 0x42cff3
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0xff
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], esi
call fcn.0041a560
push 0xe
lea ecx, [esp + 0x1c]
call fcn.0041a620
lea ecx, [esp + 0x18]
call fcn.0041a5e0
lea ecx, [esp + 0x18]
call fcn.0041a600
lea ecx, [esp + 0x38]
push 0x6536d8
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041a5a0
lea ecx, [esp + 0x18]
call fcn.0041a580
push esi
lea ecx, [esp + 0x1c]
call fcn.0041a530
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
lea ecx, [esp + 0x18]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.0042da20
jmp case.0x42ceca.20142
mov eax, dword [0x655e9c]
mov esi, dword [esp + 0x1bc]
xor ebx, ebx
cmp eax, ebx
jne 0x42d0b6
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x58]
mov byte [esp + 0xac], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0xad]
mov edx, dword [esi + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0x42
push eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], 0x100
call sub.comdlg32.dll_PrintDlgA
test eax, eax
jne 0x42d082
call sub.comdlg32.dll_CommDlgExtendedError
jmp case.0x42ceca.20142
lea ecx, [esp + 0xac]
lea edx, [esp + 0x58]
push ecx
push edx
call fcn.004d4130
mov eax, dword [esp + 0x68]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x68]
mov dword [0x655e9c], eax
mov edi, dword [esi + 0x10]
lea ebp, [esi + 0x260]
mov edx, eax
push ebp
push edx
mov dword [esp + 0x58], edi
mov dword [esi + 0x10], eax
mov dword [esp + 0x1c], ebp
call fcn.00454980
mov eax, 0x3fffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, 0xc0000001
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push fcn.004587d0
push esi
call fcn.004299d0
mov cx, word [esi + 0x36]
mov dx, word [esi + 0xe]
mov ax, word [esi + 0xc]
mov word [esp + 0x68], cx
mov ecx, dword [esp + 0x3c]
mov word [esp + 0x2c], dx
mov edx, dword [esp + 0x40]
mov word [esi + 0x36], 4
mov word [esi + 0xe], 0x2710
add esp, 0x14
mov word [esp + 0x20], ax
mov dword [0x655b20], ecx
mov dword [0x655b24], edx
mov eax, dword [esi + 0x10]
push eax
mov word [esi + 0xc], 0x3e8
call dword [sym.imp.GDI32.dll_BeginPath]
cmp word [esi + 0x2a4], bx
mov dword [esp + 0x10], ebx
jbe 0x42d2a8
mov ecx, dword [esi + 0x38a]
push ecx
call fcn.00432740
mov edx, dword [esp + 0x14]
mov edi, dword [eax + edx*4]
push edi
call fcn.00432740
mov ebp, eax
add esp, 8
lea ecx, [esp + 0x48]
mov ebx, dword [ebp + 2]
mov ax, word [ebp]
shr ebx, 0x10
push ebx
push ecx
lea ecx, [esi + 0x38e]
mov word [esp + 0x40], ax
call fcn.0042f5c0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push edx
push eax
push edi
push esi
call fcn.00476f20
xor ecx, ecx
push edi
mov cx, word [ebp + 2]
push esi
mov dword [ebp + 2], ecx
call fcn.0042f1e0
mov eax, dword [esp + 0x50]
xor ecx, ecx
and eax, 0xffff
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
push ecx
lea edx, [eax*8]
mov ecx, dword [0x6559e0]
sub edx, eax
push edi
push esi
lea edx, [eax + edx*4]
lea edx, [eax + edx*2]
lea eax, [eax + edx*2]
call dword [ecx + eax*2 + 0xae]
push edi
call fcn.00432740
mov edx, ebx
xor ecx, ecx
mov cx, word [eax + 2]
and edx, 0xffff
shl edx, 0x10
or edx, ecx
mov dword [eax + 2], edx
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
neg ecx
neg eax
push ecx
push eax
push edi
push esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
call fcn.00476f20
mov eax, dword [esp + 0x48]
xor edx, edx
mov dx, word [esi + 0x2a4]
add esp, 0x38
inc eax
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x42d15c
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.GDI32.dll_EndPath]
mov cx, word [esp + 0x54]
mov dx, word [esp + 0x18]
mov ax, word [esp + 0x20]
mov word [esi + 0x36], cx
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
push ecx
mov word [esi + 0xe], dx
mov word [esi + 0xc], ax
call dword [sym.imp.GDI32.dll_GetPath]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x42d2ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push edi
mov dword [esi + 0x10], edi
call fcn.00454980
add esp, 8
jmp case.0x42ceca.20142
mov ebx, dword [esp + 0x20]
jmp 0x42d252
push 0x2e
push fcn.00429ec0
push esi
call fcn.004299d0
add esp, 0xc
lea edx, [esp + 0x3c]
lea ecx, [esi + 0x38e]
push ebx
push edx
call fcn.0042f5c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
sub edx, ecx
push 0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
sub edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x38]
sub edx, ecx
push 0
lea ecx, [esp + 0x30]
push eax
push ecx
push ebx
push esi
mov dword [esp + 0x4c], edx
call fcn.00472dd0
push ebp
push edi
mov ebx, eax
mov dword [esi + 0x10], edi
call fcn.00454980
push ebx
push esi
call fcn.00470370
mov edx, dword [esi + 0x14]
add esp, 0x28
mov edi, eax
push 1
push edi
push edx
call dword [sym.imp.USER32.dll_InvalidateRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x42ceca.20142
mov esi, dword [esp + 0x1bc]
mov ecx, esi
call fcn.00432f20
mov ecx, dword [esi + 0xa3c]
call fcn.00419690
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x64]
mov eax, dword [esi + 0x24]
xor edi, edi
mov ebx, dword [eax + esi + 0x9c]
lea eax, [eax + esi + 0x9c]
lea ecx, [ebx + 1]
mov dword [eax], ecx
cmp word [esi + 0x2a4], di
jbe case.0x42ceca.20142
lea edx, [esp + 0x10]
push edx
push edi
push esi
call fcn.00426100
mov eax, dword [esp + 0x1c]
push ebx
push 0x81
push eax
call fcn.0042d9d0
mov ecx, dword [esp + 0x28]
push ecx
push edi
push esi
call fcn.00426140
xor edx, edx
add esp, 0x24
mov dx, word [esi + 0x2a4]
inc edi
cmp edi, edx
jl 0x42d38c
jmp case.0x42ceca.20142
mov esi, dword [esp + 0x1bc]
mov ecx, esi
call fcn.00432f20
mov ecx, dword [esi + 0xa3c]
call fcn.00419690
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x64]
xor edi, edi
mov word [esp + 0x58], 0x81
cmp word [esi + 0x2a4], di
jbe case.0x42ceca.20142
lea eax, [esp + 0x10]
push eax
push edi
push esi
call fcn.00426100
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
push ecx
push edx
call fcn.00453b70
mov eax, dword [esp + 0x24]
push eax
push edi
push esi
call fcn.00426140
xor ecx, ecx
add esp, 0x20
mov cx, word [esi + 0x2a4]
inc edi
cmp edi, ecx
jl 0x42d402
jmp case.0x42ceca.20142
cmp bx, 0x4ef6
jne case.0x42c5f4.20021
push 0xbb8
push esi
call fcn.00421f70
add esp, 4
push eax
call fcn.00427630
xor edx, edx
add esp, 8
mov dx, word [esi + 0x294]
movsx ecx, ax
cmp edx, ecx
je case.0x42ceca.20142
jmp 0x42d4a5
cmp bx, 0x4e3a
jne 0x42d4ac
push 0x7d0
push esi
call fcn.00421f70
add esp, 4
push eax
call fcn.00427630
xor edx, edx
add esp, 8
mov dx, word [esi + 0x294]
movsx ecx, ax
cmp edx, ecx
je case.0x42ceca.20142
mov word [esi + 0x294], ax
mov ecx, dword [esi + 0x36e]
mov dx, word [esi + 0x294]
lea eax, [esp + 0x58]
mov word [esp + 0x58], 0x112
push eax
push ecx
mov word [esp + 0x62], dx
call fcn.004539d0
mov dx, word [esi + 0x2ba]
push 0
push 0
push 1
push edx
push esi
call fcn.0042f060
mov eax, dword [0x655c56]
add esp, 0x1c
test eax, eax
je 0x42d554
cmp bx, 0x4e37
je 0x42d554
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x14]
push 0x655c4e
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub eax, ebx
sub ecx, edx
mov dx, word [esi + 0x294]
push eax
mov eax, dword [0x655c52]
push ecx
mov ecx, dword [0x655c4e]
push 1
push edx
push eax
push ecx
push esi
call fcn.00429140
add esp, 0x1c
push 1
push 1
jmp 0x42c903
mov dx, word [esi + 0x294]
push edx
push esi
call fcn.00429b70
add esp, 8
push 1
push 1
jmp 0x42c903
mov ecx, dword [esp + 0x1bc]
call fcn.00434830
jmp case.0x42ceca.20142
mov esi, dword [esp + 0x1bc]
xor ebx, ebx
mov di, word [esi + 0x2a6]
cmp di, bx
je 0x42d644
mov eax, edi
push 0x6528a0
and eax, 0xffff
push 2
push 0x18
push esi
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
lea edx, [eax + ecx*2]
mov eax, dword [0x6559e0]
call dword [eax + edx*2 + 0x16]
mov ecx, dword [0x655ff8]
add esp, 0x10
add edi, 0x1608
mov word [0x6528a4], ax
and edi, 0xffff
push 5
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x655ff8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push 0x41feb0
push 0x458e60
mov edi, eax
mov eax, dword [esi + 0x14]
push 0x4592e0
push 0xb
push 0x652898
push eax
push 0x4f26
push edi
push esi
call fcn.00422020
test eax, eax
je 0x42d638
mov ecx, dword [0x655ab0]
push ebx
push ebx
push 0x110
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp case.0x42ceca.20142
mov word [0x6528a4], bx
mov dword [0x6528a0], ebx
jmp case.0x42ceca.20142
mov ecx, dword [0x655ff8]
xor edx, edx
cmp bx, 0x4ea3
lea eax, [esp + 0xac]
sete dl
push 0x100
add edi, 0xffffca6c
push eax
push edi
push ecx
mov word [esp + 0x4c], dx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [esp + 0x1bc]
lea edx, [esp + 0xac]
mov dword [esp + 0x42], edx
mov ax, word [edi + 0xa66]
cmp ax, 2
je 0x42d6ae
test ax, ax
je 0x42d6ae
xor eax, eax
jmp 0x42d6b3
mov eax, 1
cmp word [edi + 0x26e], 0
je 0x42d6e2
cmp bx, 0x4ea3
jne 0x42d6d2
xor ecx, ecx
test eax, eax
setne cl
mov word [esp + 0x3c], cx
jmp 0x42d70a
cmp bx, 0x4ea2
jne 0x42d70a
xor edx, edx
test eax, eax
sete dl
jmp 0x42d705
cmp bx, 0x4ea3
jne 0x42d6f7
xor ecx, ecx
test eax, eax
sete cl
mov word [esp + 0x3c], cx
jmp 0x42d70a
cmp bx, 0x4ea2
jne 0x42d70a
xor edx, edx
test eax, eax
setne dl
mov word [esp + 0x3c], dx
mov eax, dword [0x655ff8]
push 5
push 0x14c2
push eax
mov dword [esp + 0x4a], edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x655ff8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
lea edx, [esp + 0x3c]
mov esi, eax
mov eax, dword [edi + 0x14]
push edx
push 0x423da0
jmp 0x42cb49
mov edx, dword [0x655ab0]
mov esi, dword [sym.imp.USER32.dll_GetTopWindow]
push edx
call esi
mov edi, dword [esp + 0x1bc]
mov ebx, eax
push edi
call fcn.0042b610
add esp, 4
test eax, eax
je 0x42d793
cmp eax, dword [edi + 0x44]
jne 0x42d778
push 0
push 0x1b
push 0x100
jmp 0x42d78c
cmp eax, dword [0x655ab0]
jne 0x42d793
push 0
push 2
push 0x111
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x3c]
lea ecx, [esp + 0x9c]
push eax
push 0x4e6a10
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x9c]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x42ceca.20142
mov eax, dword [esp + 0x1bc]
push 8
mov ecx, dword [eax + 0x44]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x42ceca.20142
mov esi, dword [esp + 0x1bc]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 4
mov edx, dword [esi + 0x44]
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x44]
push 0xffffffffffffffff
push 0
push 0xb1
push 4
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a8
ret