Function at 0x40a060
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d0ae3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
xor ebp, ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov dword [ebx], vtable.CMainDlg.0
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x24], ebp
lea ecx, [ebx + 0x30]
mov byte [esp + 0x24], 2
call fcn.00429c80
lea ecx, [ebx + 0x74]
mov byte [esp + 0x24], 3
call fcn.00429c80
lea ecx, [ebx + 0xb8]
mov byte [esp + 0x24], 4
call fcn.00429c80
push fcn.00429d80
push fcn.00429c80
push 0x16
push 0x44
lea eax, [ebx + 0x128]
push eax
mov byte [esp + 0x38], 5
call fcn.004ab004
lea ecx, [ebx + 0x700]
mov byte [esp + 0x24], 6
call fcn.00429c80
lea ecx, [ebx + 0x744]
mov byte [esp + 0x24], 7
call fcn.00429c80
lea ecx, [ebx + 0x788]
mov byte [esp + 0x24], 8
call fcn.00429c80
lea ecx, [ebx + 0x7cc]
mov byte [esp + 0x24], 9
call fcn.00429c80
mov dword [ebx + 0x830], ebp
mov dword [ebx + 0x834], ebp
mov dword [ebx + 0x838], ebp
mov dword [ebx + 0x83c], ebp
lea esi, [ebx + 0x890]
mov dword [esi], vtable.CClipBoardRestore.0
mov dword [esp + 0x18], esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov byte [esp + 0x24], 0xc
mov dword [esi + 0x14], vtable.CQQPYClipboardCode.0
mov edx, dword [0x50c48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x50c48c
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x24], 0xd
mov edx, dword [0x50c48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x50c48c
call eax
add eax, 0x10
mov dword [ebx + 0x8b0], eax
mov byte [esp + 0x24], 0xe
mov edx, dword [0x50c48c]
mov ecx, 0x50c48c
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x8b4], eax
mov byte [esp + 0x24], 0xf
mov edx, dword [0x50c48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x50c48c
call eax
add eax, 0x10
mov dword [ebx + 0x8d8], eax
push ebp
push 0x10
push 0x10
mov byte [esp + 0x30], 0x10
push 1
mov dword [ebx + 0x8ac], 1
mov ecx, dword [0x50c4b0]
push 0x66
push ecx
call dword [0x4d5464]
mov dword [ebx + 0x24], eax
mov edx, dword [0x50c4b0]
push 0x66
push edx
call dword [0x4d5480]
mov dword [ebx + 0x20], eax
push 0x68
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], ebp
call fcn.004a91fd
add esp, 4
cmp eax, ebp
je 0x40a234
call fcn.0042f700
jmp 0x40a236
xor eax, eax
push 0x68
mov dword [ebx + 0x100], eax
call fcn.004a91fd
add esp, 4
cmp eax, ebp
je 0x40a251
call fcn.0042f700
jmp 0x40a253
xor eax, eax
push 0x34
mov dword [ebx + 0x104], eax
mov dword [ebx + 0x108], ebp
mov dword [ebx + 0x10c], ebp
mov dword [ebx + 0x110], ebp
call fcn.004a91fd
add esp, 4
cmp eax, ebp
je 0x40a282
mov edi, eax
call fcn.004339c0
jmp 0x40a284
xor eax, eax
mov dword [ebx + 0x114], eax
lea esi, [ebx + 0x118]
mov dword [esp + 0x18], 2
push 0x34
call fcn.004a91fd
add esp, 4
cmp eax, ebp
je 0x40a2af
mov edi, eax
call fcn.004339c0
jmp 0x40a2b1
xor eax, eax
mov dword [esi], eax
add esi, 4
sub dword [esp + 0x18], 1
jne 0x40a298
push 0x34
call fcn.004a91fd
add esp, 4
cmp eax, ebp
je 0x40a2d4
mov edi, eax
call fcn.004339c0
jmp 0x40a2d6
xor eax, eax
push 0x34
mov dword [ebx + 0x120], eax
call fcn.004a91fd
add esp, 4
cmp eax, ebp
je 0x40a2f3
mov edi, eax
call fcn.004339c0
jmp 0x40a2f5
xor eax, eax
push 0x606060
push 4
push ebp
mov dword [ebx + 0x124], eax
mov dword [ebx + 0x82c], 0xffffffff
mov dword [ebx + 0x820], ebp
mov dword [ebx + 0x824], 1
mov dword [ebx + 0x828], ebp
call dword [0x4d5080]
push ebp
push 0x2bc
push 0xf
mov esi, 0x4e2968
mov dword [ebx + 0x81c], eax
call fcn.00430420
add esp, 0xc
push ebp
push 0x2bc
push 0xf
mov dword [ebx + 0x810], eax
call fcn.00430420
add esp, 0xc
mov dword [ebx + 0x814], eax
call fcn.00427dd0
test eax, eax
jne 0x40a377
call fcn.00427e70
test eax, eax
mov esi, str.wiSO_
je 0x40a37c
mov esi, str.wiSO
push ebp
push 0x190
push 0x30
call fcn.00430420
add esp, 0xc
push 0x4e2968
push ebp
push 4
push 0x20
push 4
mov esi, 1
push esi
push ebp
push ebp
push ebp
push 0x2bc
push ebp
push ebp
push ebp
push 0xc
mov dword [ebx + 0x818], eax
call dword [0x4d509c]
push 0x3c
mov dword [ebx + 0xfc], eax
lea eax, [ebx + 0x84c]
push ebp
push eax
mov dword [ebx + 0x840], ebp
mov dword [ebx + 0x844], ebp
mov dword [ebx + 0x848], ebp
mov dword [ebx + 0x888], ebp
mov dword [ebx + 0x88c], ebp
mov dword [ebx + 0x8b8], ebp
mov dword [ebx + 0x8bc], ebp
mov dword [ebx + 0x8c0], esi
mov dword [ebx + 0x8c4], ebp
mov dword [ebx + 0x8c8], esi
mov dword [ebx + 0x8d4], ebp
call fcn.004b0720
mov ecx, dword [ebx + 0x8d4]
add esp, 0xc
cmp ecx, ebp
je 0x40a420
call fcn.00412760
mov dword [ebx + 0x8cc], ebp
mov dword [ebx + 0x8d0], ebp
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4