Function at 0x422580
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa870
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e42d0]
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 eax, dword [0x4e3f18]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x4e3f18
mov dword [ebp - 0x48], edi
call edx
add eax, 0x10
mov dword [ebp - 0x4c], eax
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x4e3f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3f18
call edx
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x128]
mov ebx, 1
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x44], ebx
cmp eax, esi
jne 0x42261b
push 0x4bbefc
lea eax, [ebp - 0x4c]
push eax
lea ebx, [esi + 2]
call fcn.00402a30
mov dword [edi + 0x12c], 1
mov dword [ebp - 0x54], esi
jmp 0x4226ba
cmp eax, 4
jne 0x422662
push 0x4bbf0c
lea ecx, [ebp - 0x50]
push ecx
call fcn.00402a30
push 0x4bbf10
lea edx, [ebp - 0x4c]
push edx
mov dword [edi + 0x130], 6
call fcn.00402a30
mov eax, 7
mov dword [edi + 0x12c], eax
mov dword [ebp - 0x44], 0
mov dword [edi + 0x134], eax
xor esi, esi
jmp 0x4226ba
cmp eax, ebx
jne 0x422682
mov edx, 0x4bbefc
lea edi, [ebp - 0x50]
call fcn.00402ae0
mov ebx, dword [ebp - 0x48]
mov dword [ebx + 0x130], 1
jmp 0x4226a1
cmp eax, 5
jne 0x4226ba
mov edx, 0x4bc728
lea edi, [ebp - 0x50]
call fcn.00402ae0
mov ebx, dword [ebp - 0x48]
mov dword [ebx + 0x130], 4
mov edx, 0x4bbf04
lea edi, [ebp - 0x4c]
call fcn.00402ae0
mov edi, ebx
mov dword [ebx + 0x12c], 2
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x40]
push eax
push ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x38]
add eax, 0xffffffeb
mov dword [ebp - 0x30], eax
push ecx
add eax, 0xb
mov dword [ebp - 0x28], eax
mov eax, esp
mov dword [ebp - 0x48], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0x24], 0x14
mov dword [eax], 0x64
lea edx, [ebp - 0x30]
mov dword [ecx], edx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x48], esp
push ecx
lea esi, [edi + 0x50]
mov eax, 0x54000000
push esi
call fcn.00422e80
push 0x9f
call fcn.00421b50
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x24], 1
mov eax, dword [edi + 0x4c]
mov edx, dword [edi + 0x54]
push 1
push eax
push 0x30
push edx
call ebx
mov eax, dword [ebp - 0x44]
mov ecx, dword [edi + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add ecx, 0xffffffae
add eax, 0xffffffd4
mov dword [ebp - 0x20], ecx
add ecx, 0x48
mov dword [ebp - 0x1c], eax
push ecx
add eax, 0x18
mov dword [ebp - 0x14], eax
mov eax, esp
mov dword [ebp - 0x44], esp
push ecx
mov dword [ebp - 0x18], ecx
mov ecx, esp
mov dword [eax], 0x65
lea edx, [ebp - 0x20]
mov dword [ecx], edx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x44], esp
push ecx
lea esi, [edi + 0x98]
mov eax, 0x54000000
push esi
call fcn.00422e80
push 0x97
call fcn.00421b50
mov edx, dword [ebp - 0x4c]
mov dword [esi + 0x24], 1
mov eax, dword [edi + 0x9c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x9c]
push 1
push eax
push 0x30
push ecx
call ebx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
push 0
sub eax, 0xa
push eax
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
push ecx
mov eax, esp
mov dword [ebp - 0x44], esp
push ecx
mov ecx, esp
mov dword [eax], 0x66
lea edx, [ebp - 0x20]
mov dword [ecx], edx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x44], esp
push ecx
lea esi, [edi + 0xe0]
mov eax, 0x44000000
push esi
call fcn.00422e80
push 0x97
call fcn.00421b50
mov dword [esi + 0x24], 1
mov esi, dword [ebp - 0x50]
mov edx, dword [edi + 0xe4]
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0x4c]
push 1
push eax
mov eax, dword [edi + 0xe4]
push 0x30
push eax
call ebx
mov ecx, dword [ebp - 0x54]
mov edx, dword [edi + 0xe4]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422870
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422896
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0048f6cb
mov esp, ebp
pop ebp
ret