Function at 0x408e90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x589ed0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [edi], vtable.RimeWithIvanHandler.0
mov dword [ebp - 0x2c], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004ba332
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0
push 0
push 6
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 1
call fcn.00408740
mov byte [edi + 0x19], al
add esp, 0x10
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 2
call fcn.004073c0
lea ecx, [edi + 0x12c]
mov byte [ebp - 4], 3
call fcn.004073c0
mov word [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 0xf
mov dword [edi + 0x240], 0
mov dword [edi + 0x250], 0
mov dword [edi + 0x254], 0xf
mov dword [edi + 0x258], 0
mov dword [edi + 0x268], 0
mov dword [edi + 0x26c], 0xf
mov dword [edi + 0x270], 0
mov dword [edi + 0x280], 0
mov dword [edi + 0x284], 0xf
lea esi, [edi + 0x28c]
mov dword [ebp - 0x2c], esi
lea ecx, [esi + 4]
mov dword [esi], 0
call fcn.00402e90
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
lea ecx, [esi + 0x88]
call fcn.00402e90
push 0x24
push str.7B57D6DA_934A_4B6C_9006_2741D2D26FD3
mov byte [ebp - 4], 8
call fcn.00406ee0
push 4
push 0x56760c
lea ecx, [esi + 0xb8]
call fcn.00406ee0
push 1
push 0x567618
lea ecx, [esi + 0xe8]
call fcn.00406ee0
mov dword [edi + 0x38c], 0
mov dword [edi + 0x390], 0
mov dword [edi + 0x394], 0
mov dword [edi + 0x398], 0
mov byte [ebp - 4], 0xb
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x70], 0x3c
call fcn.00428170
mov dword [ebp - 0x6c], eax
call fcn.004282c0
push 0x400
push 0
push 0x598338
mov dword [ebp - 0x68], eax
call fcn.004d90f0
add esp, 0xc
push 0
push 0
push 0x3ff
push 0x598338
push 0xffffffffffffffff
push 0x5679f8
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, 0x598338
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409103
sub eax, edx
lea ecx, [ebp - 0x28]
push eax
push 0x598338
call fcn.00406210
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x60], 0x567a04
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
call fcn.00440b20
cmp dword [eax + 0x14], 0x10
jb 0x409140
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x58], str.kafaninput
mov dword [ebp - 0x40], 1
call dword [sym.imp.rime.dll_RimeSetup]
push edi
push 0x40b1f0
call dword [sym.imp.rime.dll_RimeSetNotificationHandler]
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x40919a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409190
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091c3
push edx
push ecx
call fcn.004b9f4f
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x288], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba2f5
mov esp, ebp
pop ebp
ret
call fcn.004e4b18
int3