Function at 0x40eb10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466534
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
mov dword [ebp - 0x1f0], ecx
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [eax + 0x8c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x40eb50
jmp 0x40f3b6
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x1f0]
mov dword [edx + 0x26c], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x1f0]
mov dword [ecx + 0x270], eax
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x1f0]
call fcn.0045be7e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x1f0]
cmp dword [edx + 0x748], 0
jne 0x40ecaa
cmp dword [ebp - 0x50], 0xfffffffb
jge 0x40ebdd
mov dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x1f0]
mov dword [eax + 0x748], 1
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ecx + 0x270]
sub edx, 0x1d
cmp dword [ebp - 0x44], edx
jle 0x40ec1b
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ecx + 0x270]
sub edx, eax
sub edx, 0x21
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x1f0]
mov dword [eax + 0x748], 1
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ecx + 0x26c]
add edx, 5
cmp dword [ebp - 0x48], edx
jle 0x40ec59
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ecx + 0x26c]
sub edx, eax
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x1f0]
mov dword [eax + 0x748], 1
mov ecx, dword [ebp - 0x1f0]
cmp dword [ecx + 0x748], 1
jne 0x40ecaa
push 1
push 0
push 0
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x168]
push eax
push 0x4a8458
mov ecx, dword [ebp - 0x1f0]
call fcn.00458cbb
push 0
push 0x1f4
push 0x3ea
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40f3b6
call fcn.00405cc0
mov dword [ebp - 0x3c], eax
push 5
mov ecx, dword [ebp - 0x3c]
call fcn.00458b6f
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0045be7e
push 0
push 0
mov ecx, dword [ebp - 0x160]
sub ecx, 0xa
push ecx
mov edx, dword [ebp - 0x164]
add edx, 0x14
push edx
push 0x8002
call dword [sym.imp.USER32.dll_mouse_event]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
mov eax, dword [ebp - 0x160]
sub eax, 0xa
push eax
mov ecx, dword [ebp - 0x164]
add ecx, 0x14
push ecx
push 0x8004
call dword [sym.imp.USER32.dll_mouse_event]
mov edx, dword [ebp - 0x1f0]
mov dword [edx + 0x748], 0
mov eax, dword [ebp - 0x4c]
add eax, 0x3b
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x48]
sub edx, 2
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x44]
sub eax, 3
mov dword [ebp - 0x44], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00456a24
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0045c050
mov dword [ebp - 0xd0], eax
push 0xc
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x154], eax
push 8
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x5c], eax
push 0xa
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x70]
call fcn.0045bc8a
mov dword [ebp - 4], 0
cmp dword [ebp - 0xd0], 0
jne 0x40ee2b
mov dword [ebp - 0x1f4], 0
jmp 0x40ee3a
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x1f4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x70]
call fcn.0045c05e
mov dword [ebp - 0xb0], 0
mov word [ebp - 0x9e], 0x18
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], eax
mov word [ebp - 0xa0], 1
mov dword [ebp - 0xac], 0x28
mov dword [ebp - 0x98], 0
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0xa8], ecx
lea edx, [ebp - 0x70]
test edx, edx
jne 0x40eeb5
mov dword [ebp - 0x1f8], 0
jmp 0x40eebe
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1f8], eax
push 0
push 0
lea ecx, [ebp - 0xb0]
push ecx
push 0
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x1f8]
push eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40eefe
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1fc], eax
jmp 0x40ef08
mov dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18c], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x198], ecx
cmp dword [ebp - 0xd0], 0
jne 0x40ef50
mov dword [ebp - 0x200], 0
jmp 0x40ef5f
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 4]
mov dword [ebp - 0x200], eax
push 0xcc0020
mov ecx, dword [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x190]
push edx
mov eax, dword [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x198]
push edx
push 0
push 0
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x43
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x38]
push eax
call fcn.0045c34d
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0xcc]
push ecx
push 0x18
mov edx, dword [ebp - 0x19c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [ebp - 0x178]
push ecx
call fcn.00425bf0
add esp, 4
mov dword [ebp - 0x204], eax
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x208], edx
mov byte [ebp - 4], 1
push 0x472df0
mov eax, dword [ebp - 0x208]
push eax
lea ecx, [ebp - 0x150]
push ecx
call fcn.00404660
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x178]
call fcn.00401700
push 0
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x472dfc
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x17c]
push ecx
call fcn.00404660
add esp, 0xc
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x1c8], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x150]
call fcn.00404940
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x17c]
call fcn.00401700
push 0x472e08
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.0044519e
add esp, 8
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x34], 0
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov ax, word [ebp - 0xba]
mov word [ebp - 0x26], ax
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x28], 1
mov dword [ebp - 0x34], 0x28
mov edx, dword [ebp - 0xc0]
imul edx, dword [ebp - 0xc4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x30], eax
mov word [ebp - 0x80], 0
xor ecx, ecx
mov dword [ebp - 0x7e], ecx
mov dword [ebp - 0x7a], ecx
mov dword [ebp - 0x76], ecx
mov dword [ebp - 0x76], 0x36
mov edx, dword [ebp - 0xc0]
imul edx, dword [ebp - 0xc4]
add edx, dword [ebp - 0x76]
mov dword [ebp - 0x7e], edx
mov word [ebp - 0x80], 0x4d42
mov eax, dword [ebp - 0x58]
push eax
push 0xe
push 1
lea ecx, [ebp - 0x80]
push ecx
call fcn.0044533d
add esp, 0x10
mov edx, dword [ebp - 0x58]
push edx
push 0x28
push 1
lea eax, [ebp - 0x34]
push eax
call fcn.0044533d
add esp, 0x10
mov ecx, dword [ebp - 0xc0]
imul ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x16c], 0
jmp 0x40f186
mov edx, dword [ebp - 0x16c]
add edx, 1
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x16c]
cmp eax, dword [ebp - 0xc8]
jge 0x40f25d
mov dword [ebp - 0x170], 0
jmp 0x40f1b3
mov ecx, dword [ebp - 0x170]
add ecx, 1
mov dword [ebp - 0x170], ecx
mov edx, dword [ebp - 0x170]
cmp edx, dword [ebp - 0xc4]
jge 0x40f258
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jne 0x40f20b
push 0xffffff
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
jmp 0x40f253
cmp dword [ebp - 0x174], 0xfefe
jne 0x40f236
push 0xeeeeee
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
jmp 0x40f253
push 0x151515
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
jmp 0x40f1a4
jmp 0x40f177
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0xc0]
imul ecx, dword [ebp - 0xc4]
push ecx
push 1
mov edx, dword [ebp - 0xb0]
push edx
call fcn.0044533d
add esp, 0x10
mov eax, dword [ebp - 0x58]
push eax
call fcn.004453d5
add esp, 4
cmp dword [ebp - 0x60], 0
je 0x40f2a8
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x210], eax
jmp 0x40f2b2
mov dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x1f0]
mov dword [eax + 0x258], 1
push 0
lea ecx, [ebp - 0x14c]
call fcn.00421dd0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0x14c]
call fcn.0045524c
cmp eax, 1
je 0x40f31e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
call fcn.00421e40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x150]
call fcn.00401700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0045c0dc
jmp 0x40f3b6
mov edx, dword [ebp - 0x1f0]
mov dword [edx + 0x258], 0
push ecx
mov eax, esp
mov dword [ebp - 0x180], esp
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x150]
sub ecx, 0x10
mov dword [ebp - 0x1d4], ecx
mov edx, dword [ebp - 0x1d4]
push edx
call fcn.00404cc0
add esp, 4
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
add eax, 0x10
mov ecx, dword [ebp - 0x1e8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x214], edx
mov ecx, dword [ebp - 0x1f0]
call fcn.0040f3d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
call fcn.00421e40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x150]
call fcn.00401700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0045c0dc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret