Function at 0x429580
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x478856
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x49b3d4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, edx
mov dword [esp + 0x1c], ecx
xor cl, cl
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], ebx
mov dword [eax + 0xc], ebx
mov byte [eax + 0x20], cl
mov dword [eax], edi
mov dword [eax + 4], esi
mov word [eax + 0x10], 0
call fcn.004294f0
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
sub eax, ecx
mov ebx, dword [ebx + 0x10]
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + ecx - 0x12c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax + ecx - 0x12c]
push str.SER_LICENSE
push 0x484328
mov dword [esp + 0x30], ecx
call fcn.004087e0
add esp, 8
mov esi, eax
call fcn.0041d470
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
call fcn.0041c860
mov eax, dword [eax]
test eax, eax
je 0x42965b
mov esi, eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push 0
push edi
push 0
push edx
push 0x258
push 0x258
push eax
push ecx
push 0xc80000
push esi
push str.onaDlgClass
push 0x486120
call fcn.004087e0
add esp, 8
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, dword [esp + 0x14]
push 0x18
mov dword [ebx + 8], eax
call fcn.00459337
add esp, 4
test eax, eax
je 0x4296c6
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 8]
mov edx, dword [ebx + 8]
push edx
push edi
mov edi, ecx
mov esi, eax
call fcn.0044fc80
jmp 0x4296c8
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x18
call fcn.00459337
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x429792
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x3d3e5d8
call fcn.0041c860
mov ecx, dword [eax]
test ecx, ecx
jne 0x42972b
mov ecx, str.CLOSE
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 8]
push 0
push 0
push 0
push eax
push 0x19
push 0x64
push 0x21c
push 0x1e5
push 0x50000000
push ecx
push 0x484de4
push 0
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x64
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 0x1e5
mov dword [esi + 0x14], 0x21c
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
mov dword [esi], eax
mov ebx, dword [ebx]
push ebx
push 0x30
push eax
call edi
mov ebx, dword [esp + 0x14]
jmp 0x429794
xor esi, esi
mov dword [esp + 0x50], 0xffffffff
push 0x18
mov dword [ebx + 0x18], esi
call fcn.00459337
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], 1
test esi, esi
je 0x429849
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x760d227a
call fcn.0041c860
mov ecx, dword [eax]
test ecx, ecx
jne 0x4297e2
mov ecx, str.CANCEL
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 8]
push 0
push 0
push 0
push eax
push 0x19
push 0x64
push 0x21c
push 0x177
push 0x50000000
push ecx
push 0x484de4
push 0
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x64
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 0x177
mov dword [esi + 0x14], 0x21c
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
mov dword [esi], eax
mov ecx, dword [ebx]
push ecx
push 0x30
push eax
call edi
mov ebx, dword [esp + 0x14]
jmp 0x42984b
xor esi, esi
mov edx, dword [ebx + 8]
push ebx
push 0xffffffffffffffeb
push edx
mov dword [ebx + 0x1c], esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00458db6
mov esp, ebp
pop ebp
ret 0xc