Function at 0x401060
Capabilities:
Capture screenshot
Check for time delay via gettickcount
Create directory
Get common file path
Get graphical window text
Get program files directory
Hide graphical window
Inspect load icon resource
Manipulate console buffer
Open clipboard
Read file via mapping
Set console window title
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13dc
call fcn.004030d0
mov eax, dword [0x45a710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x1390], eax
mov dword [ebp - 0x139c], ecx
mov dword [ebp - 0x1378], 0x8a
mov dword [ebp - 0x1384], esi
mov dword [0x45b828], eax
mov dword [ebp - 0x1394], esi
cmp eax, esi
jne 0x401166
push esi
call dword [sym.imp.USER32.dll_GetTopWindow]
push esi
push 0x8a
push esi
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
lea edx, [ebp - 0x12d4]
push edx
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x814]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
test eax, eax
je 0x401101
push 0x451d24
lea edx, [ebp - 0x814]
push edx
call ebx
lea eax, [ebp - 0xdd0]
push eax
lea ecx, [ebp - 0x814]
push ecx
call ebx
push esi
lea edx, [ebp - 0x1358]
push edx
lea eax, [ebp - 0x814]
push eax
call edi
push eax
lea ecx, [ebp - 0x814]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0x8a
lea edx, [ebp - 0x1358]
push edx
mov eax, 0x14
add dword [ebp - 0x1354], eax
add dword [ebp - 0x134c], eax
push esi
push esi
call dword [sym.imp.USER32.dll_DrawCaption]
test eax, eax
jne 0x401160
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x1390]
mov dword [ebp - 0x414], eax
xor eax, eax
push 1
mov dword [ebp - 0x12ec], eax
mov dword [ebp - 0x12dc], eax
push 1
mov dword [ebp - 0x12f4], eax
mov dword [ebp - 0x12f0], eax
mov dword [ebp - 0x12e8], eax
mov dword [ebp - 0x12e4], eax
mov dword [ebp - 0x12e0], eax
mov dword [ebp - 0x12d8], eax
mov dword [ebp - 0x1350], eax
mov dword [ebp - 0x134c], eax
mov dword [ebp - 0x12ec], eax
mov dword [ebp - 0x12dc], eax
lea eax, [ebp - 0x1350]
push eax
xor edx, edx
push 2
lea ecx, [ebp - 0x12f4]
mov word [ebp - 0x12e8], dx
mov edx, 0x8a
push ecx
push 1
mov dword [ebp - 0x12f4], esi
mov dword [ebp - 0x12f0], esi
mov word [ebp - 0x12d8], dx
mov dword [ebp - 0x12e4], edx
mov dword [ebp - 0x12e0], esi
mov dword [ebp - 0x1350], esi
mov dword [ebp - 0x134c], 1
call dword [sym.imp.MSIMG32.dll_GradientFill]
mov edi, eax
cmp edi, esi
jne 0x401596
mov ebx, dword [ebp - 0x12f0]
cmp ebx, esi
je 0x401292
xor eax, eax
mov dword [ebp - 0x1324], eax
mov dword [ebp - 0x1320], eax
mov dword [ebp - 0x1314], eax
mov dword [ebp - 0x131c], eax
mov dword [ebp - 0x1318], eax
mov dword [ebp - 0x1310], eax
mov dword [ebp - 0x130c], eax
lea eax, [ebp - 0x1328]
lea edx, [ebp - 0x20c]
push eax
mov dword [ebp - 0x1328], 0x20
mov dword [ebp - 0x1324], esi
mov dword [ebp - 0x1320], edx
mov dword [ebp - 0x1314], 0x8a
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
cmp ebx, esi
jge 0x401292
mov dword [ebp - 0x1378], 0x32c
xor ebx, ebx
mov eax, dword [0x45b824]
cmp eax, esi
je 0x4012ad
mov ecx, dword [ebp - 0x139c]
add ecx, dword [ebp - 0x1378]
mov dword [ebp - 0x1384], ecx
lea eax, [eax + eax - 4]
sub eax, ebx
mov dword [0x45b824], eax
cmp edi, esi
je 0x4012da
lea ecx, [ebp - 0x1340]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4012da
mov edx, dword [ebp - 0x1348]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, ebx
neg edi
sbb edi, edi
and edi, 0xfffff8ba
push 0x1c00
add edi, 0x746
call fcn.00402fa5
mov ecx, dword [ebp - 0x139c]
mov dword [ebp - 0x137c], eax
mov eax, dword [ebp - 0x1390]
add esp, 4
xor esi, esi
mov dword [ebp - 0x1374], 1
mov dword [ebp - 0x1380], eax
mov dword [ebp - 0x138c], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x1378]
mov dword [ebp - 0x1398], eax
lea eax, [ebp - 0xed4]
mov dword [ebp - 0x1338], 0x30
mov dword [ebp - 0x1334], 0x12
mov dword [ebp - 0x1328], edx
mov dword [ebp - 0x1330], esi
mov dword [ebp - 0x1314], eax
cmp dword [ebp - 0x1384], esi
je 0x40137f
mov ecx, dword [ebp - 0x1384]
mov dword [ebp - 0x1334], 0x16
mov dword [ebp - 0x1324], ecx
mov eax, dword [ebp - 0x1378]
lea edx, [ebp - 0x1338]
push edx
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_InsertMenuItemA]
mov ecx, dword [ebp - 0x12f8]
push ecx
push 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0
push 0
mov dword [0x45b864], eax
call sub.msi.dll_MsiSourceListClearAllA
mov edx, dword [ebp - 0x12f8]
push edx
push 0
mov dword [ebp - 0x1388], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [0x45b864]
mov dword [0x45b860], eax
lea eax, [ebp - 0x414]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x45b82c]
mov eax, dword [ebp - 0x1378]
lea ecx, [edx + eax + 2]
mov edx, ebx
imul edx, dword [ebp - 0x1384]
sub eax, edx
add eax, 4
mov dword [ebp - 0x13a0], eax
mov eax, dword [ebp - 0x1388]
imul eax, eax, 0x5dc
mov dword [ebp - 0x13a4], ecx
mov ecx, dword [ebp - 0x1380]
lea eax, [eax + ecx + 0x64]
mov ecx, 0x13
imul esi, dword [ebp - 0x13a4]
lea edx, [eax + esi]
lea edx, [edx + ebx + 1]
mov dword [0x45b838], edx
mov edx, dword [ebp - 0x13a0]
imul edx, dword [ebp - 0x1374]
inc eax
dec ecx
mov dword [ebp - 0x1374], edx
jne 0x40142a
mov eax, dword [ebp - 0x1378]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
movzx ecx, word [0x45b820]
push ecx
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x1388], eax
lea eax, [ebx + 0x19]
test eax, eax
jle 0x401503
mov edx, dword [ebp - 0x137c]
lea ecx, [edx + edx]
lea edx, [ebx*4]
mov dword [ebp - 0x13a0], ecx
mov dword [ebp - 0x137c], edx
mov dword [ebp - 0x1374], eax
mov eax, dword [ebp - 0x138c]
mov ecx, dword [ebp - 0x137c]
lea eax, [eax + ecx + 0xa]
mov dword [ebp - 0x138c], eax
add eax, dword [0x45b820]
je 0x4014cf
inc dword [ebp - 0x1384]
mov ecx, dword [0x45b860]
lea eax, [ebp - 0x9d0]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x45b864]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
add dword [ebp - 0x137c], eax
sub dword [ebp - 0x1374], eax
jne 0x4014ab
mov eax, dword [ebp - 0x1388]
push eax
push 0
push 0x80
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x45b820]
mov edx, dword [ebp - 0x1378]
mov eax, dword [0x45b824]
add dword [ebp - 0x1398], edi
mov edi, dword [sym.imp.USER32.dll_CheckRadioButton]
push ecx
push edx
push eax
push esi
call edi
mov eax, dword [0x45b820]
mov ecx, dword [ebp - 0x1384]
push eax
push ecx
push eax
push esi
call edi
mov eax, dword [0x45b864]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x104
lea edx, [ebp - 0x414]
push edx
push eax
call edi
mov edx, dword [0x45b860]
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push edx
call edi
mov edi, dword [sym.imp.USER32.dll_EndDialog]
cmp ebx, dword [ebp - 0x1380]
je 0x4015a0
mov eax, dword [ebp - 0x1398]
mov dword [0x45b830], eax
jmp 0x4015a5
mov ebx, 2
jmp 0x401223
push 1
push esi
call edi
push 2
push esi
call edi
mov ecx, dword [ebp - 0x1390]
xor edx, edx
mov dword [ebp - 0x1374], ecx
mov dword [ebp - 0x1380], edx
cmp ebx, 1
je 0x4015e4
push 0x400
lea ecx, [ebp - 0x12d4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
lea edi, [ebx + 2]
imul edi, dword [ebp - 0x1378]
shl edi, 5
jmp 0x4015ea
mov edi, dword [ebp - 0x1384]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [ebp - 0xdd0]
push str._d__d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add esp, 0x10
lea eax, [ebp - 0xdd0]
push eax
call esi
mov ecx, dword [0x45b820]
mov edx, dword [ebp - 0x1398]
lea eax, [ecx + edx*2]
add eax, ebx
imul eax, edi
mov dword [ebp - 0x1384], eax
test ebx, ebx
je 0x40164c
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiLoadDeviceIcon]
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xdd0]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 0x12d4]
push ecx
call esi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [ebp - 0x1370]
mov edi, eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx esi, word [ebp - 0x136e]
movsx eax, word [ebp - 0x1370]
mov ecx, dword [ebp - 0x1374]
imul esi, eax
inc ecx
cmp ecx, 0xa
jbe 0x4016d3
mov ecx, dword [0x45b820]
mov eax, ecx
imul eax, dword [0x45b824]
imul eax, ebx
add eax, 5
imul eax, ebx
sub ecx, eax
mov eax, dword [ebp - 0x139c]
lea edx, [eax + 1]
imul edx, eax
mov dword [ebp - 0x1378], ecx
mov dword [0x45b824], edx
mov ecx, dword [ebp - 0x1380]
lea eax, [ebp - 0x13ac]
push eax
push ecx
push esi
push 0x20
push edi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
mov edx, dword [ebp - 0x1374]
mov ecx, dword [ebp - 0x1384]
lea eax, [edx + edx]
sub eax, dword [ebp - 0x1378]
mov dword [ebp - 0x1374], 0xf
add eax, ebx
lea edx, [eax + ecx + 0xc9]
mov dword [ebp - 0x1388], edx
lea esp, [esp]
lea eax, [ebp - 0x1370]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, dword [ebp - 0x1380]
mov ecx, dword [ebp - 0x1388]
lea edx, [ebp - 0x13ac]
push edx
push eax
mov dword [0x45b820], ecx
mov ecx, dword [ebp - 0x1368]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
dec dword [ebp - 0x1374]
mov dword [0x45b834], 0
jne 0x401720
mov edx, dword [ebp - 0x1380]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov edx, dword [ebp - 0x1378]
mov ecx, dword [0x45b824]
mov eax, dword [0x45b820]
push 0x40
push edx
push ebx
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x103
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], bl
call fcn.00403100
mov ecx, dword [0x45b830]
add esp, 0xc
xor esi, esi
cmp ecx, dword [0x45b82c]
jbe 0x4018b3
mov eax, dword [ebp - 0x1398]
imul eax, eax
mov dword [ebp - 0x1374], esi
mov dword [ebp - 0x1388], eax
test eax, eax
jle 0x4018b3
lea ebx, [ebx]
cmp dword [0x45b82c], 0
mov eax, dword [0x45b834]
jne 0x40183b
mov edx, dword [0x45b820]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebp - 0x1390]
push 0x104
mov edi, eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebx + 1]
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp edi, ebx
jne 0x401845
cmp eax, ebx
jne 0x401845
mov esi, dword [0x45b838]
jmp 0x401845
dec dword [ebp - 0x1378]
test eax, eax
jne 0x4018b3
cmp dword [0x45b838], 0
je 0x4018b3
mov eax, dword [ebp - 0x1398]
cdq
lea edi, [ebx + 0x16]
idiv edi
mov edx, dword [ebp - 0x1384]
xor ecx, ecx
test eax, eax
jle 0x40187d
test ebx, ebx
je 0x401870
sub dword [ebp - 0x1378], edx
test esi, esi
je 0x401c06
inc ecx
cmp ecx, eax
jl 0x401866
cmp dword [ebp - 0x1378], edx
jle 0x40188b
inc dword [0x45b824]
cmp dword [ebp - 0x13a0], 0
je 0x4022cf
mov eax, dword [ebp - 0x1374]
inc eax
mov esi, ebx
mov dword [ebp - 0x1374], eax
cmp eax, dword [ebp - 0x1388]
jl 0x4017f0
cmp dword [ebp - 0x1398], 0
je 0x4018d2
cmp dword [0x45b830], 0
je 0x4018d2
mov eax, 3
sub eax, ebx
mov dword [ebp - 0x1394], eax
lea eax, [ebp - 0x30c]
push eax
push 0
push 0
push 0x802e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x401932
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x12f8]
lea ecx, [ebp - 0x30c]
push ecx
push str.COMMON_DOCUMENTS
push esi
mov dword [ebp - 0x1384], eax
call sub.msi.dll_MsiSummaryInfoGetPropertyA
lea edx, [ebp - 0x30c]
push edx
push str.COMMON_DOCUMENTS
push esi
call sub.msi.dll_MsiSummaryInfoGetPropertyA
test eax, eax
je 0x401932
mov dword [ebp - 0x1378], 0
push 0
push 0x26
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [ebp - 0x108]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401950
mov cx, word [0x451d04]
push 0
lea edx, [ebp - 0x108]
push edx
push 0
mov word [edi], cx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
xor eax, eax
jmp 0x401980
mov cl, byte [ebp + eax - 0x108]
mov byte [ebp + eax - 0x20c], cl
inc eax
test cl, cl
jne 0x401980
lea edi, [ebp - 0x20c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4019a0
mov ax, word [0x451d04]
mov word [edi], ax
lea edi, [ebp - 0x20c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4019b8
mov ecx, dword [0x451d00]
push 0
push 0
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x20c]
push eax
mov dword [edi], ecx
call dword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfA]
test ebx, ebx
je 0x401abb
push 0x45b848
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x45b844]
test eax, eax
je 0x401a0c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x45b840]
test eax, eax
je 0x401a1d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x45b83c]
test eax, eax
je 0x401a2e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0x45b848
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x45b820]
mov esi, dword [0x45b824]
push 0x45b848
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x45b83c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push 0x13
push 0
push eax
call edx
test eax, eax
je 0x401a6f
mov dword [0x45b820], 0
mov eax, dword [0x45b83c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x45b840
push 0x40e2f8
push eax
call edx
mov eax, dword [0x45b840]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x54]
push 0
push 0
push ebx
push esi
push edi
push eax
call edx
test eax, eax
je 0x401aa7
mov dword [0x45b824], 1
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x45b848
call esi
push 0x45b848
call esi
push str.Semafor
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push str.SharedMemory
push 8
push 0
push 4
push 0
push 0xffffffffffffffff
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0xffffffffffffffff
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 8
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0
push 1
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, dword [0x45b834]
push 0xff0000
call esi
push 0xff00
mov dword [ebp - 0x1388], eax
call esi
push 0x3c
mov dword [ebp - 0x13a4], eax
lea eax, [ebp - 0x1344]
push 0
push eax
call fcn.00403100
mov edx, dword [0x45b820]
add esp, 0xc
push 0x14
push 0x10
push 0x10
push 0x10
push 0x10
push 3
mov eax, 1
lea ecx, [ebp - 0x1344]
push ecx
push edx
mov dword [ebp - 0x1340], eax
mov dword [ebp - 0x1330], eax
mov eax, dword [ebp - 0x1390]
push eax
push 3
push 0xffffffffffffffff
push 0x50800000
mov esi, 2
push edi
mov dword [ebp - 0x1344], 0
mov byte [ebp - 0x133c], 4
mov dword [ebp - 0x132c], esi
mov byte [ebp - 0x1328], 4
mov dword [ebp - 0x131c], esi
mov dword [ebp - 0x1318], 3
mov byte [ebp - 0x1314], 4
call dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
mov ecx, dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, ebx
sub eax, esi
je 0x401c1b
dec eax
je 0x401c20
sub eax, 0x28
jne 0x401bdf
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [ebp - 0x13ac]
lea ecx, [ebp - 0x1348]
push ecx
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [sym.imp.USER32.dll_FillRect]
cmp esi, 1
jne 0x401c29
mov edx, dword [ebp - 0x1388]
jmp 0x401c34
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004030b2
mov esp, ebp
pop ebp
ret 0x10
mov esi, 1
push 1
push 0
push edi
call ecx
jmp 0x401be5
cmp esi, 2
jne 0x401c3f
mov edx, dword [ebp - 0x13a4]
push edx
lea edx, [ebp - 0x1340]
push edx
push eax
call ecx
lea eax, [ebp - 0x1348]
push eax
push edi
call dword [sym.imp.USER32.dll_EndPaint]
mov edi, dword [ebp - 0x1390]
mov esi, dword [0x45b834]
lea ecx, [ebp - 0x12fc]
push ecx
mov dword [ebp - 0x12fc], 8
mov dword [ebp - 0x12f8], 0x40
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [0x45b824]
mov eax, dword [0x45b820]
push 0
push edi
push 0
push esi
push 0x14
push edx
push 0xa
push eax
push 0x50000000
push 0x451ce4
push str.msctls_hotkey32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 3
push 0x403
push edi
call esi
mov ecx, dword [ebp - 0x1378]
push ecx
push 0x641
push 0x401
push edi
call esi
cmp ebx, dword [0x45b830]
jle 0x401dc5
mov esi, dword [0x45b834]
push 0x402
push 0
push esi
call dword [sym.imp.USER32.dll_GetDCEx]
lea edx, [ebp - 0x13a8]
push edx
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x12fc]
push eax
push 0
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x13a4]
mov ecx, dword [ebp - 0x12f8]
mov edx, dword [ebp - 0x12fc]
push 0x550009
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x13a8]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x13c4]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [ebp - 0x13c4]
push ecx
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
mov dword [ebp - 0x1388], eax
call esi
push 0
mov edi, eax
call esi
push ebx
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x1388]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x13bc]
mov ecx, dword [ebp - 0x13c0]
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
push esi
call edi
mov edx, dword [0x45b820]
mov eax, dword [0x45b824]
mov esi, dword [sym.imp.USER32.dll_LoadImageA]
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0
mov dword [ebp - 0x1388], edx
mov dword [ebp - 0x13a4], eax
call esi
lea edx, [ebp - 0x13c4]
push edx
mov edi, eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push eax
mov dword [ebp - 0x1380], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
lea ecx, [ebp - 0x1320]
push ecx
mov edi, eax
push 0x18
push edi
mov dword [ebp - 0x12f8], edi
call dword [sym.imp.GDI32.dll_GetObjectA]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x1378], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push eax
mov dword [ebp - 0x1374], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x1394]
inc eax
mov dword [ebp - 0x137c], 0
test eax, eax
jle 0x401f06
mov eax, dword [ebp - 0x1388]
neg eax
mov dword [ebp - 0x138c], eax
mov eax, dword [ebp - 0x1394]
inc eax
xor edi, edi
test eax, eax
jle 0x401ee8
mov esi, dword [ebp - 0x13a4]
neg esi
lea ebx, [ebx]
mov edx, dword [ebp - 0x138c]
mov eax, dword [ebp - 0x1380]
push esi
push edx
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, dword [ebp - 0x137c]
mov edx, dword [ebp - 0x1374]
push eax
push edi
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [ebp - 0x1394]
inc edi
inc eax
inc esi
cmp edi, eax
jl 0x401eb0
mov eax, dword [ebp - 0x137c]
mov ecx, dword [ebp - 0x1394]
inc dword [ebp - 0x138c]
inc eax
inc ecx
mov dword [ebp - 0x137c], eax
cmp eax, ecx
jl 0x401e95
mov eax, dword [ebp - 0x1374]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x1378]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x12f8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [0x45b82c]
mov eax, dword [ebp - 0x1390]
mov ecx, dword [0x45b834]
mov esi, dword [ebp - 0x139c]
push 0xfffffffffffffffe
add edx, 0x10
push 0
mov dword [ebp - 0x138c], esi
mov dword [ebp - 0x137c], eax
mov dword [ebp - 0x1380], 0
mov dword [ebp - 0x13a4], ecx
mov edi, 1
mov dword [ebp - 0x12fc], edx
call dword [sym.imp.USER32.dll_EndDialog]
push 0
push 0xffffffffffffffeb
push 0
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea eax, [esi + 1]
test eax, eax
je 0x401fbc
cmp dword [ebp - 0x137c], 0
je 0x401fbc
mov eax, dword [ebp - 0x1384]
lea edx, [esi + ebx*4]
add edx, dword [ebp - 0x1394]
lea ecx, [ebx + 0x28000]
mov dword [ebp - 0x1380], ecx
lea ecx, [edx + eax + 0xa]
mov dword [ebp - 0x138c], ecx
mov eax, dword [ebp - 0x12fc]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
shl eax, 0x10
mov dword [ebp - 0x1388], eax
mov dword [ebp - 0x1374], 0x11
jmp 0x401fe0
push 0
push 0
push 0
mov dword [0x45b820], 0x13
call esi
add edi, dword [0x45b820]
push 0
add dword [0x45b824], edi
push 0
mov edi, 3
sub edi, dword [0x45b834]
push 0
call esi
dec dword [ebp - 0x1374]
jne 0x401fe0
push 0
push 1
push 0xcf
push 0
push 0
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esi, dword [ebp - 0x137c]
imul esi, dword [0x45b834]
push 0
push 0
add esi, 0x40000
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [0x45b82c]
sub ecx, dword [ebp - 0x1384]
mov eax, dword [ebp - 0x137c]
imul ecx, dword [0x45b830]
mov edx, dword [ebp - 0x138c]
sub eax, ebx
add edx, eax
mov dword [ebp - 0x12f8], eax
cmp edx, ecx
jne 0x402092
mov eax, dword [0x45b824]
mov ecx, dword [0x45b820]
lea edx, [eax + ecx + 1]
mov dword [0x45b824], edx
push 0xffffffffffffffeb
push 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
inc edi
cmp edi, 0x10
jne 0x4020b8
push 0
push str.Network
push str.Please_enter_a_local_name
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40211c
mov eax, dword [0x45b82c]
sub eax, dword [ebp - 0x1384]
mov ecx, dword [ebp - 0x12f8]
imul eax, dword [0x45b830]
inc ecx
cmp ecx, eax
je 0x4020ea
mov edx, dword [0x45b824]
mov eax, dword [0x45b820]
lea ecx, [edx + eax + 1]
mov dword [0x45b824], ecx
mov edx, dword [ebp - 0x1388]
mov eax, dword [ebp - 0x1380]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [ebp - 0x1374], eax
mov eax, dword [ebp - 0x13a4]
lea ecx, [ebx + ebx]
sub eax, ecx
add eax, dword [0x45b820]
add dword [0x45b824], eax
mov esi, dword [sym.imp.USER32.dll_EndDialog]
push 0
push 0
call esi
push 0xffffffffffffffff
push 0
call esi
test ebx, ebx
je 0x40230e
push str.SAFE
lea edx, [ebp - 0x108]
push 0x104
push edx
mov dword [ebp - 0x12f8], 0xffffffff
call fcn.00402f38
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x1378]
push ecx
push 0
push 0
push 0
mov byte [ebp + eax - 0x107], 0
call sub.WinSCard.dll_SCardEstablishContext
test eax, eax
je 0x40218b
push 1
call fcn.00402ed0
mov ecx, dword [ebp - 0x1378]
lea edx, [ebp - 0x12f8]
push edx
lea eax, [ebp - 0x137c]
push eax
push 0
push ecx
call sub.WinSCard.dll_SCardListReadersA
test eax, eax
je 0x4021b2
push 1
call fcn.00402ed0
mov esi, dword [ebp - 0x137c]
mov dword [ebp - 0x1380], 0
lea edi, [ebp - 0x63c]
cmp byte [esi], 0
je 0x4021f6
push esi
mov dword [edi - 8], esi
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [ebp - 0x1380]
inc eax
add edi, 0x38
mov dword [ebp - 0x1380], eax
cmp eax, 0xa
jb 0x4021c8
mov esi, dword [ebp - 0x1380]
test esi, esi
je 0x4022e4
mov edx, esi
push edx
mov edx, dword [ebp - 0x1378]
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x108]
push ecx
push edx
call sub.WinSCard.dll_SCardLocateCardsA
test eax, eax
jne 0x402283
xor ecx, ecx
test esi, esi
je 0x402246
lea eax, [ebp - 0x638]
mov edx, dword [eax]
test edx, 0x40
jne 0x402297
mov dword [eax - 4], edx
inc ecx
add eax, 0x38
cmp ecx, esi
jb 0x402231
mov ecx, dword [ebp - 0x1378]
push esi
lea eax, [ebp - 0x644]
push eax
push 0xffffffffffffffff
push ecx
call sub.WinSCard.dll_SCardGetStatusChangeA
test eax, eax
jne 0x402184
mov ecx, dword [ebp - 0x1378]
push esi
lea edx, [ebp - 0x644]
push edx
lea eax, [ebp - 0x108]
push eax
push ecx
call sub.WinSCard.dll_SCardLocateCardsA
test eax, eax
je 0x402225
push str.Failed_SCardLocateCards_n
call fcn.00402b90
add esp, 4
push 1
call fcn.00402ed0
lea edx, [ecx*8]
sub edx, ecx
mov eax, dword [ebp + edx*8 - 0x644]
push eax
lea ecx, [ebp - 0x108]
push ecx
push str.Card__s_found_in_reader__s._n
call fcn.00402b90
mov edx, dword [ebp - 0x137c]
mov eax, dword [ebp - 0x1378]
add esp, 0xc
push edx
push eax
call sub.WinSCard.dll_SCardFreeMemory
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004030b2
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x1378]
push ecx
call sub.WinSCard.dll_SCardReleaseContext
test eax, eax
je 0x4022fb
push 1
call fcn.00402ed0
mov edx, dword [ebp - 0x137c]
mov eax, dword [ebp - 0x1378]
push edx
push eax
call sub.WinSCard.dll_SCardFreeMemory
mov edx, 1
test ebx, ebx
je 0x402329
lea esi, [ebx + 1]
imul esi, dword [0x45b824]
mov dword [0x45b820], esi
jmp 0x40232f
mov esi, dword [0x45b820]
mov edi, dword [ebp - 0x1394]
lea eax, [esi + edi]
add eax, ebx
add eax, eax
xor ecx, ecx
mov edi, edi
cmp ebx, dword [0x45b834]
jg 0x402353
inc ecx
shl edx, 4
cmp ecx, 3
jl 0x402340
jmp 0x40235e
lea ecx, [ebx + eax]
add esi, ecx
mov dword [0x45b820], esi
mov eax, dword [0x45b82c]
inc eax
imul eax, edx
lea ecx, [edi + 1]
imul eax, ecx
shl eax, 4
lea ecx, [eax + edx*2]
add ecx, edx
add ecx, ebx
cmp ecx, eax
jle 0x402387
mov edx, dword [ebp - 0x1374]
push ecx
push 8
push edx
jmp 0x402392
mov eax, dword [ebp - 0x1374]
push 0
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 0x1348]
push ecx
push 0
mov dword [ebp - 0x137c], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [ebp - 0x12f8]
cmp ecx, 1
je 0x4023bd
cmp ecx, 2
jne 0x4023d2
mov edx, dword [ebp - 0x12f8]
push edx
lea ecx, [ebp - 0x1340]
push ecx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea edx, [ebp - 0x1348]
push edx
push 0
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, dword [0x45b820]
mov edi, dword [0x45b834]
add eax, 0xffffffc9
cmp eax, 5
ja case.default.0x4023f4
jmp dword [eax*4 + 0x402a7c]
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.default.0x4023f4
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.default.0x4023f4
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x45b834]
xor eax, eax
push 0x3c
push eax
mov dword [ebp - 0x1374], eax
mov dword [ebp - 0x1348], eax
lea eax, [ebp - 0x1344]
push eax
mov edi, esi
call fcn.00403100
xor eax, eax
add esp, 0xc
push edi
mov dword [ebp - 0x1304], eax
mov dword [ebp - 0x1300], eax
mov dword [ebp - 0x12fc], eax
mov dword [ebp - 0x12f8], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x13a4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
imul esi, dword [ebp - 0x139c]
mov edx, dword [ebp - 0x137c]
mov dword [ebp - 0x138c], eax
mov eax, dword [ebp - 0x13a0]
add eax, ebx
lea eax, [eax + eax + 2]
mov dword [ebp - 0x1378], eax
sub eax, esi
add dword [ebp - 0x1384], eax
mov eax, dword [ebp - 0x13a4]
lea esi, [ebx - 8]
push esi
push esi
add edx, ebx
push eax
mov dword [ebp - 0x1380], edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [0x45b820]
mov dword [ebp - 0x137c], eax
mov eax, 1
test eax, eax
jne 0x4024f3
mov edx, dword [0x45b824]
sub edx, ebx
inc eax
add ecx, edx
cmp eax, 0xd
jle 0x4024d1
mov edx, dword [ebp - 0x1374]
mov dword [0x45b820], ecx
jmp 0x402532
mov dword [0x45b820], ecx
test ecx, ecx
jne 0x40250a
mov eax, dword [ebp - 0x139c]
dec eax
mov dword [ebp - 0x1384], eax
mov edx, dword [0x45b824]
lea eax, [ecx + edx - 4]
mov ecx, dword [ebp - 0x1394]
mov dword [0x45b820], eax
mov eax, dword [ebp - 0x1398]
lea edx, [ecx + eax*2]
lea edx, [eax + edx + 0xa]
mov dword [ebp - 0x1374], edx
mov eax, dword [ebp - 0x137c]
cmp eax, 3
jg 0x402572
imul eax, edi
cmp eax, 1
jge 0x402572
test edx, edx
jle 0x402572
mov eax, dword [ebp - 0x1380]
mov ecx, 0x456d70
sub ecx, eax
mov dword [ebp - 0x13a0], edx
lea esp, [esp]
mov dl, byte [eax + ecx]
test ebx, ebx
jne 0x402569
mov byte [eax], dl
inc eax
dec dword [ebp - 0x13a0]
jne 0x402560
mov eax, dword [ebp - 0x137c]
mov ecx, dword [ebp - 0x138c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [ebp - 0x138c]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x138c]
push 0xf00021
push esi
push esi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, dword [ebp - 0x13a4]
push ecx
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x1394]
mov eax, dword [ebp - 0x1374]
mov ecx, dword [ebp - 0x1380]
add edx, 0x68
push edx
add eax, ebx
push eax
push ecx
call section..text
lea edx, [ebp - 0x1348]
push edx
push edi
call dword [sym.imp.USER32.dll_EndPaint]
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x402625
test edi, edi
je 0x402625
mov eax, dword [ebp - 0x138c]
push eax
xor esi, esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x137c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x402653
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [ebp - 0x137c]
push 8
push esi
push esi
push 0
push edx
call dword [sym.imp.USER32.dll_CopyImage]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp - 0x1378]
mov ecx, dword [ebp - 0x1380]
lea eax, [ebp - 0x1390]
mov dword [ecx + 1], eax
mov eax, dword [0x45b834]
mov edi, dword [0x45b824]
lea edx, [ebp - 0x1304]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x12fc]
sub eax, dword [ebp - 0x1304]
mov ecx, dword [ebp - 0x12f8]
sub ecx, dword [ebp - 0x1300]
add eax, ebx
add ecx, edi
cmp eax, 0x64
jge 0x4026a1
mov eax, 0x64
cmp ecx, 0x64
jge 0x4026ab
mov ecx, 0x64
mov edi, dword [ebp - 0x1384]
push edi
push 0x16
push ecx
push eax
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, ebx
sub eax, 2
je 0x402736
sub eax, 0xd
je 0x4026db
push edi
push esi
push ebx
push 0
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x40273e
lea ecx, [ebp - 0x1348]
push ecx
push 0
call dword [sym.imp.USER32.dll_BeginPaint]
lea edx, [ebp - 0x1304]
push edx
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x25
lea eax, [ebp - 0x1304]
push eax
push 0xffffffffffffffff
push 0x451c64
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
lea ecx, [ebp - 0x1348]
push ecx
push 0
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004030b2
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
add eax, 0xfffffdba
cdq
sub eax, edx
mov edi, eax
push 1
sar edi, 1
call esi
sub eax, 0x166
cdq
sub eax, edx
mov edx, dword [ebp - 0x1390]
push 0x7f00
mov esi, eax
push 0
sar esi, 1
mov dword [ebp - 0x13c8], edx
mov dword [ebp - 0x13d8], 8
mov dword [ebp - 0x13dc], 0x30
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x13c4], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x13b0], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x13c0], eax
xor eax, eax
mov dword [ebp - 0x13b8], eax
mov dword [ebp - 0x13d0], eax
mov dword [ebp - 0x13cc], eax
mov dword [ebp - 0x13bc], 0x10
cmp ebx, eax
je 0x4027ec
lea eax, [ebp - 0x13dc]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, dword [ebp - 0x1390]
push 0
push ecx
push 0
push 0
push 0x1e0
push 0x280
push esi
push edi
push 0xcf0000
push str.OpenGL
lea edx, [ebp - 0x414]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov eax, dword [ebp - 0x139c]
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
test ebx, ebx
je 0x402889
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea ecx, [ebp - 0x1324]
push ecx
call esi
test eax, eax
je 0x402889
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop
lea edx, [ebp - 0x1324]
push edx
call edi
lea eax, [ebp - 0x1324]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea ecx, [ebp - 0x1324]
push ecx
call esi
test eax, eax
jne 0x402860
push 0x103
lea edx, [ebp - 0x30f]
push 0
push edx
mov byte [ebp - 0x310], bl
call fcn.00403100
push 0x103
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], bl
call fcn.00403100
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], bl
call fcn.00403100
lea edx, [ebp - 0x310]
push edx
call fcn.0040d02a
add esp, 0x28
mov dword [ebp - 0x1374], eax
mov esi, eax
mov byte [ebp - 0x310], 0
test eax, eax
je 0x4029d3
lea ebx, [ebx]
cmp byte [eax], 0
je 0x402998
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.00402ad0
add esp, 8
test eax, eax
je 0x402998
mov byte [eax], 0
mov ecx, esi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x402922
sub ecx, esi
lea edi, [ebp - 0x310]
mov edx, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402934
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x108]
mov esi, ecx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x402952
sub ecx, esi
lea edi, [ebp - 0x310]
mov edx, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402964
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20c]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x402983
sub ecx, esi
add eax, ecx
mov esi, eax
jne 0x402900
jmp 0x4029cd
test esi, esi
je 0x4029cd
cmp byte [esi], 0
je 0x4029cd
mov eax, esi
mov edx, esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4029a5
lea edi, [ebp - 0x310]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4029b5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x1374]
push eax
call fcn.00402b56
mov edi, dword [sym.imp.USER32.dll_GetIconInfo]
xor eax, eax
add esp, 4
lea edx, [ebp - 0x1370]
mov dword [ebp - 0x1370], eax
mov dword [ebp - 0x136c], eax
mov dword [ebp - 0x1368], eax
mov dword [ebp - 0x1364], eax
mov dword [ebp - 0x1360], eax
mov eax, dword [0x45b820]
push edx
push eax
call edi
push 0x100
push 0
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
lea ecx, [ebp - 0x1308]
mov esi, eax
xor eax, eax
push ecx
push esi
mov dword [ebp - 0x1308], eax
mov dword [ebp - 0x1304], eax
mov dword [ebp - 0x1300], eax
mov dword [ebp - 0x12fc], eax
mov dword [ebp - 0x12f8], eax
call edi
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
lea edx, [ebp - 0x1308]
push edx
call dword [sym.imp.USER32.dll_CreateIconIndirect]
mov ebp, dword [ebp - 0x1380]
call ebp
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004030b2
mov esp, ebp
pop ebp
ret 0x10