Function at 0x437880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9bd6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x138]
cmp byte [eax + 0x289], 0
jne 0x437b52
call fcn.0042e450
push dword [esi + 0x128]
lea ecx, [eax + 0x30]
call fcn.00431600
test al, al
jne 0x4379f2
push 0
push 0x57f75c
push 0x57f6d0
push 0
push dword [esi + 0x84]
call fcn.004a5e6f
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x437ddb
mov ecx, dword [ebx + 0x194]
test ecx, ecx
je 0x437d23
mov dword [ecx + 0x1a0], 0
call fcn.004357e0
lea eax, [ebp - 0x228]
push eax
push dword [ebx + 0xfc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebx + 0x194]
mov eax, dword [ebx + 0x2c]
push 0x1d
mov ecx, dword [edi + 0x2c]
sub eax, ecx
mov esi, dword [edi + 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x224]
push ecx
push esi
push eax
mov eax, dword [ebx + 0x28]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x228]
push eax
push 0xffffffffffffffff
push dword [edi + 0xfc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x194]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 4
push dword [eax + 0xfc]
call edi
mov eax, dword [ebx + 0x194]
push dword [eax + 0xfc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [ebx + 0x194]
cmp byte [esi + 0x30], 1
je 0x4379b5
mov eax, dword [esi]
mov ecx, esi
push 1
mov byte [esi + 0x30], 1
call dword [eax + 0x48]
cmp dword [esi + 0x84], esi
je 0x4379c1
mov byte [esi + 0x64], 1
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
neg eax
sbb eax, eax
neg eax
add eax, 4
push eax
push dword [esi + 0xfc]
call edi
push 0
push dword [ebx + 0xfc]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x437d23
mov eax, dword [esi + 0x138]
mov byte [eax + 0x10d], 1
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + 0x130]
mov byte [ecx + 0x289], 1
test edx, edx
je 0x437a22
mov eax, dword [ecx + 0x274]
mov dword [edx + 0x110], eax
mov byte [ecx + 0x64], 1
call fcn.00428a00
mov dword [ebp - 0x234], fcn.004b12a2
mov dword [ebp - 0x230], fcn.004b2dab
mov dword [ebp - 0x22c], fcn.004ac7ec
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0x8000
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.t_heap.0
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x21c], 0
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 0
push eax
call fcn.0042ba30
push str.collect
push ecx
lea ecx, [ebp - 0x238]
xor esi, esi
call fcn.0046b270
mov edx, eax
test edx, edx
je 0x437acc
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437ab0
sub ecx, edi
sar ecx, 1
je 0x437acc
push edx
call fcn.004b2adb
add esp, 4
mov esi, eax
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [esi + 1]
push eax
call fcn.004b80bc
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str.collect
push ecx
lea ecx, [ebp - 0x238]
call fcn.0046b340
lea eax, [ebp - 0x238]
push eax
call fcn.0042bd70
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x228]
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.allocator_unsigned_char__class_TAllocDefault_.0
test ecx, ecx
je 0x437d1c
nop dword [eax]
mov eax, dword [ecx + 4]
push ecx
mov dword [ebp - 0x228], eax
call dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x228]
add esp, 4
test ecx, ecx
jne 0x437b30
jmp 0x437d1c
call fcn.0042e450
mov ecx, dword [esi + 0x128]
mov edx, dword [eax + 0x34]
lea ebx, [eax + 0x30]
xor eax, eax
mov edi, dword [ecx]
test edx, edx
jle 0x437bcb
mov ecx, dword [ebx]
nop dword [eax]
cmp dword [ecx], edi
je 0x437b81
inc eax
add ecx, 0x130
cmp eax, edx
jl 0x437b70
jmp 0x437bcb
push eax
mov ecx, ebx
call fcn.0042e330
mov byte [ebx + 0x1c], 1
mov eax, dword [esi + 0x138]
mov byte [eax + 0x10d], 0
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + 0x130]
mov byte [ecx + 0x289], 0
test edx, edx
je 0x437bbd
mov eax, dword [ecx + 0x270]
mov dword [edx + 0x110], eax
mov byte [ecx + 0x64], 1
call fcn.00428a00
call fcn.0042d000
mov eax, dword [0x58f1e0]
test al, 1
jne 0x437bfd
or eax, 1
mov dword [0x58f1d8], 0xffffffff
push 0x4ff830
mov dword [0x58f1e0], eax
mov dword [0x58f1dc], 0
call fcn.004a3ba1
add esp, 4
mov dword [ebp - 0x254], fcn.004b12a2
mov dword [ebp - 0x250], fcn.004b2dab
mov dword [ebp - 0x24c], fcn.004ac7ec
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0x8000
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.t_heap.0
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x23c], 0
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 2
push eax
call fcn.0042ba30
push str.uncollect
push ecx
lea ecx, [ebp - 0x258]
xor esi, esi
call fcn.0046b270
mov edx, eax
test edx, edx
je 0x437c9c
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437c80
sub ecx, edi
sar ecx, 1
je 0x437c9c
push edx
call fcn.004b2adb
add esp, 4
mov esi, eax
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [esi + 1]
push eax
call fcn.004b80bc
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str.uncollect
push ecx
lea ecx, [ebp - 0x258]
call fcn.0046b340
lea eax, [ebp - 0x258]
push eax
call fcn.0042bd70
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x248]
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.allocator_unsigned_char__class_TAllocDefault_.0
test ecx, ecx
je 0x437d12
mov eax, dword [ecx + 4]
push ecx
mov dword [ebp - 0x248], eax
call dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x248]
add esp, 4
test ecx, ecx
jne 0x437cf5
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x58f1e0]
test al, 1
jne 0x437d55
or eax, 1
mov dword [0x58f1d8], 0xffffffff
push 0x4ff830
mov dword [0x58f1e0], eax
mov dword [0x58f1dc], 0
call fcn.004a3ba1
add esp, 4
call fcn.0042db80
mov eax, dword [0x58f1e0]
test al, 1
jne 0x437d8c
or eax, 1
mov dword [0x58f1d8], 0xffffffff
push 0x4ff830
mov dword [0x58f1e0], eax
mov dword [0x58f1dc], 0
call fcn.004a3ba1
add esp, 4
call fcn.0042d000
mov eax, dword [0x58f1e0]
test al, 1
jne 0x437dc3
or eax, 1
mov dword [0x58f1d8], 0xffffffff
push 0x4ff830
mov dword [0x58f1e0], eax
mov dword [0x58f1dc], 0
call fcn.004a3ba1
add esp, 4
mov eax, dword [0x58f1dc]
test eax, eax
je 0x437ddb
mov ecx, dword [eax + 0x180]
test ecx, ecx
je 0x437ddb
call fcn.0043a9d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret 4