Function at 0x40b880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x41b250]
xor eax, ebp
mov dword [ebp - 0x38], eax
push 1
push 0x20
lea eax, [ebp - 0xc0]
push eax
push 0x4216a0
call fcn.0040df60
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0xffffffff
jne 0x40b90e
push 1
push 0x12c
push 0x421a80
push 0x1b71
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 1
push 0x12c
push 0x421940
push 0x1b72
mov edx, dword [0x421580]
push edx
call fcn.0040c660
push 0
push 0x421a80
push 0x421940
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40be3c
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.0040cca0
mov dword [ebp - 0x28], eax
push 0
mov edx, dword [ebp - 0x28]
sub edx, 0x114
push edx
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0040e090
push 0x114
push 0x4217c0
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.0040e0c0
movzx edx, byte [0x4218d0]
shl edx, 0x18
movzx eax, byte [0x4218d1]
shl eax, 0x10
or edx, eax
movzx ecx, byte [0x4218d2]
shl ecx, 8
or edx, ecx
movzx eax, byte [0x4218d3]
or edx, eax
mov dword [ebp - 0x2c], edx
movzx ecx, byte [0x4218cc]
shl ecx, 0x18
movzx edx, byte [0x4218cd]
shl edx, 0x10
or ecx, edx
movzx eax, byte [0x4218ce]
shl eax, 8
or ecx, eax
movzx edx, byte [0x4218cf]
or ecx, edx
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x2c], 0x270f
je 0x40ba06
push 1
push 0x12c
push 0x421a80
push 0x1b73
mov eax, dword [0x421580]
push eax
call fcn.0040c660
push 1
push 0x12c
push 0x421940
push 0x1b74
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 0
push 0x421a80
push 0x421940
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40be3c
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x114
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x10], 0
jmp 0x40ba33
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jge 0x40be37
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x114
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0xc8], ecx
push 0
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0040e090
push 0x114
push 0x4217c0
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.0040e0c0
movzx edx, byte [0x4218c4]
shl edx, 0x18
movzx eax, byte [0x4218c5]
shl eax, 0x10
or edx, eax
movzx ecx, byte [0x4218c6]
shl ecx, 8
or edx, ecx
movzx eax, byte [0x4218c7]
or edx, eax
mov dword [ebp - 0x20], edx
movzx ecx, byte [0x4218c8]
shl ecx, 0x18
movzx edx, byte [0x4218c9]
shl edx, 0x10
or ecx, edx
movzx eax, byte [0x4218ca]
shl eax, 8
or ecx, eax
movzx edx, byte [0x4218cb]
or ecx, edx
mov dword [ebp - 0xd0], ecx
movzx eax, byte [0x4218cc]
shl eax, 0x18
movzx ecx, byte [0x4218cd]
shl ecx, 0x10
or eax, ecx
movzx edx, byte [0x4218ce]
shl edx, 8
or eax, edx
movzx ecx, byte [0x4218cf]
or eax, ecx
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xd0], 0
jne 0x40bb27
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x1c], 0
jmp 0x40bb2e
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0xc4], 0xb
je 0x40bb4e
mov eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
jmp 0x40ba2a
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0xd0]
cmp edx, dword [ebp - 0x20]
jle 0x40bb70
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], eax
jmp 0x40bb79
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40bbfc
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.0040e070
push 1
push 0x12c
push 0x421a80
push 0x1b7c
mov edx, dword [0x421580]
push edx
call fcn.0040c660
push 1
push 0x12c
push 0x421940
push 0x1b7d
mov eax, dword [0x421580]
push eax
call fcn.0040c660
push 0
push 0x421a80
push 0x421940
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40be3c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jne 0x40bc81
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0xcc]
push edx
call fcn.0040e070
push 1
push 0x12c
push 0x421a80
push 0x1b7e
mov eax, dword [0x421580]
push eax
call fcn.0040c660
push 1
push 0x12c
push 0x421940
push 0x1b7f
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 0
push 0x421a80
push 0x421940
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40be3c
push 0
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.0040e090
cmp dword [ebp - 0x24], 0
jbe 0x40bcee
cmp dword [ebp - 0x24], 0x7d00
jbe 0x40bcb1
mov dword [ebp - 0xe0], 0x7d00
jmp 0x40bcba
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0040e0c0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
jmp 0x40bc96
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0040e070
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0
cmp dword [ebp - 0x1c], 0
je 0x40bda4
push 0x4210c0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0xd0]
push eax
push 0x41c3cc
mov ecx, dword [ebp - 4]
push ecx
push 0x21
call fcn.00401150
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0xffffffff
jne 0x40bda4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 1
push 0x12c
push 0x421a80
push 0x1b71
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 1
push 0x12c
push 0x421940
push 0x1b96
mov edx, dword [0x421580]
push edx
call fcn.0040c660
push 0
push 0x421a80
push 0x421940
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40be3c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [0x41c274], 0
je 0x40bdc1
mov dword [0x41cf44], 0
mov edx, dword [0x41cf44]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x4210c0
push 0
push 0
push 0x41d0a0
push 0
push 0xb
call fcn.00401150
push 0x4210c0
push 0
push 0
push 0x41c3cd
push 0x41ce40
push 0x28
call fcn.00401150
push 0x4210c0
push 0
mov edx, dword [ebp - 8]
push edx
push 0x41a220
mov eax, dword [ebp + 8]
push eax
call fcn.00401180
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40be37
mov eax, 1
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0040fa05
mov esp, ebp
pop ebp
ret 4