Function at 0x428460
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4721c8
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4d100c]
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 edi, dword [0x4d3310]
mov eax, dword [ebp + 8]
push 0x7f00
push 0
mov dword [ebp - 0x78], edi
mov dword [edi + 0x34], eax
mov dword [ebp - 0x74], 0x30
mov dword [ebp - 0x70], 3
mov dword [ebp - 0x6c], 0x40ebb0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x58], eax
mov eax, dword [edi]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call esi
push 1
mov dword [ebp - 0x18], eax
call esi
push 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x18]
mov esi, dword [edi + 4]
sub eax, esi
sub eax, dword [ebp - 0x20]
mov ecx, dword [0x4d1a4c]
mov ebx, dword [edi + 8]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x20]
cmp ecx, 0xffffffff
cmove ecx, eax
mov eax, dword [ebp - 0x14]
sub eax, ebx
mov dword [ebp - 0x84], ecx
sub eax, dword [ebp - 0x1c]
mov ecx, dword [0x4d1a50]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
cmp ecx, 0xffffffff
cmove ecx, eax
mov eax, dword [0x4d1a54]
mov dword [ebp - 0x88], ecx
cmp eax, 0xffffffff
je 0x428589
mov esi, eax
mov dword [edi + 4], eax
mov eax, dword [0x4d1a58]
cmp eax, 0xffffffff
je 0x428598
mov ebx, eax
mov dword [edi + 8], eax
cmp dword [0x4d2ea0], 0
mov al, byte [0x4d1a5d]
mov byte [edi + 0xc], al
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi]
je 0x4285bb
push eax
call fcn.00424b40
mov ecx, dword [edi]
jmp 0x4285bd
mov ecx, eax
push 0
push dword [ebp - 0x7c]
push 0
push 0
push ebx
mov ebx, dword [ebp - 0x84]
push esi
push dword [ebp - 0x88]
push ebx
push 0x82000000
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x10], eax
mov esi, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x90], eax
cmp esi, eax
je 0x4287f3
nop
mov ebx, dword [esi + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
test ebx, ebx
je 0x428616
lock inc dword [ebx + 4]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
cmp dword [ecx + 0x50], 5
jne 0x4287af
mov edi, dword [ecx + 0x24]
sub edi, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x28]
sub esi, dword [ecx + 0x20]
mov dword [ebp - 0x8c], edi
mov edi, dword [ebp - 0x78]
push 0
mov edx, dword [edi + 0x38]
lea eax, [edx + 1]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x80]
mov dword [ecx + 0xb4], edx
mov ecx, 0x40800044
cmp byte [eax + 0x4f], 0
mov eax, 0x40000044
cmovne ecx, eax
xor eax, eax
cmp byte [edi + 0x34], al
mov edi, 0x10000000
cmovne eax, edi
mov edi, dword [ebp - 0x8c]
or ecx, eax
mov eax, dword [ebp - 0x78]
push dword [eax + 0x34]
push edx
push dword [eax + 0x10]
push esi
mov esi, dword [ebp - 0x80]
push edi
push dword [esi + 0x20]
push dword [esi + 0x1c]
push ecx
push 0
push str.EDIT
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x78]
mov dword [esi + 0xb0], eax
mov dword [ebp - 0x9c], eax
lea ecx, [ecx + 0x14]
test ebx, ebx
je 0x4286c3
lock inc dword [ebx + 4]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], ebx
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00428fd0
mov edi, dword [ebp - 0x94]
test edi, edi
je 0x428711
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x428711
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x428711
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0
push dword [esi + 0x70]
push 0x30
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x78]
test eax, eax
je 0x42878d
push eax
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x78]
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x428740
sub edx, edi
lea edi, [eax + 2]
sar edx, 1
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428752
sub eax, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push edx
sar eax, 1
push eax
push 0xb1
push dword [esi + 0xb0]
call edi
mov eax, dword [esi + 0x38]
test eax, eax
jle 0x42878d
push 0
push eax
push 0xc5
push dword [esi + 0xb0]
call edi
mov edi, dword [ebp - 0x78]
push 0x427390
push 0xfffffffffffffffc
mov dword [0x4d335c], edi
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [ebp - 0x7c]
mov dword [edi + 0x3c], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4287db
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x4287db
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x4287db
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
add esi, 8
mov dword [ebp - 0x7c], esi
cmp esi, dword [ebp - 0x90]
jne 0x428600
mov ebx, dword [ebp - 0x84]
mov cl, byte [edi + 0xc]
test cl, cl
je 0x428817
push 0x13
push dword [edi + 8]
push dword [edi + 4]
push dword [ebp - 0x88]
push ebx
push 1
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov cl, byte [edi + 0xc]
mov eax, dword [ebp + 0x14]
test cl, cl
mov edx, 4
cmovne eax, edx
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x44]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x42887c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
lea eax, [ebp - 0x44]
push eax
call edi
lea eax, [ebp - 0x44]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call esi
test eax, eax
jne 0x428860
mov eax, dword [ebp - 0x3c]
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.00450db2
mov esp, ebp
pop ebp
ret 0x18