Function at 0x4afc90
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x524c9c
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, edx
xor ebx, ebx
push 0x206
lea edx, [esp + 0x8a]
push ebx
push edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov word [esp + 0x90], bx
call fcn.005002f0
mov ecx, dword [edi + 0x244]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
add esp, 0xc
push eax
mov eax, dword [edx + 0x10]
call eax
push eax
push str.Local_s.v_d.filemap.sogouime
lea ecx, [esp + 0x90]
push 0x104
push ecx
call fcn.004fe127
add esp, 0x14
mov dword [esp + 0x7c], vtable.t_mutex::t_locker.0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x2a0], ebx
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 0xc]
lea ebx, [edi + 0xc]
mov ecx, ebx
mov dword [esp + 0x30], ebx
call eax
test al, al
jne 0x4afd6f
push str.t_mutex::Lock
push esi
call fcn.004708d0
add esp, 8
jmp 0x4afd79
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
push esi
mov ecx, ebx
call eax
test al, al
je 0x4afdd9
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x88]
push edx
push edi
lea ecx, [esp + 0x1f]
mov edx, esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x1f], 0
call fcn.004afac0
test al, al
jne 0x4afdec
mov ecx, esi
call fcn.00470820
push 0x56d010
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0046b5a0
xor al, al
jmp 0x4b0280
push 0x56cff0
push esi
call fcn.004708d0
add esp, 8
jmp 0x4b0280
cmp byte [esp + 0x13], 0
je 0x4afdfa
mov ecx, ebx
jmp 0x4b026e
xor eax, eax
mov byte [esp + 0x11], 0
mov dword [esp + 0x38], vtable.t_fileBufRead.0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x20]
push ebx
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a8], 1
mov byte [esp + 0x1a], al
call fcn.00475ba0
test al, al
jne 0x4afe5f
mov ecx, ebx
call fcn.0046e2f0
test al, al
je 0x4afe96
mov ecx, ebx
call fcn.0046adb0
push eax
push 0x56d024
mov ecx, esi
call fcn.00401000
mov ecx, eax
call fcn.00471770
jmp 0x4b0231
push 0x2c
lea eax, [esp + 0x4c]
push eax
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e], 1
call fcn.00475d30
test al, al
sete al
test al, al
je 0x4afea1
mov ecx, ebx
call fcn.0046adb0
push eax
push str.str:_n_s___n
push esi
call fcn.004708d0
add esp, 0xc
jmp 0x4aff10
xor ebx, ebx
mov dword [esp + 0x5c], ebx
jmp 0x4aff2c
mov ecx, dword [edi + 0x244]
mov edx, dword [esp + 0x4c]
cmp edx, dword [ecx + 4]
je 0x4afec8
mov ecx, ebx
call fcn.0046adb0
push eax
push str.str:__n_s___n
push esi
call fcn.004708d0
add esp, 0xc
jmp 0x4aff10
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
imul eax, ebx
add eax, dword [esp + 0x48]
add eax, ecx
cmp dword [esp + 0x60], eax
je 0x4afefd
mov ecx, dword [esp + 0x20]
call fcn.0046adb0
push eax
push 0x56d0a0
push esi
call fcn.004708d0
add esp, 0xc
jmp 0x4aff10
cmp eax, 0x200000
jbe 0x4aff40
push str.str
mov ecx, esi
call fcn.00401000
mov ecx, esi
call fcn.00470c90
mov ecx, esi
call fcn.00470870
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x12], bl
mov byte [esp + 0x11], bl
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x18
mov dword [esp + 0x50], 0x132420d
mov ecx, dword [esp + 0x5c]
lea eax, [ebx + 0x64]
add ecx, 0x3200
lea edx, [eax + eax*2]
lea eax, [ecx + edx*8 + 0x10]
push eax
mov dword [esp + 0x28], eax
call fcn.004fdc99
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x28], edi
jne 0x4aff75
mov byte [esp + 0x11], 1
jmp 0x4b0219
mov dword [esp + 0x74], vtable.t_strMemData.0
mov dword [esp + 0x78], edi
cmp byte [esp + 0x12], 0
mov byte [esp + 0x2a0], 2
mov ecx, dword [esp + 0x5c]
lea eax, [ebx + 0x64]
mov dword [edi + 8], eax
lea eax, [ecx + 0x3200]
mov dword [edi], ebx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
je 0x4b007a
mov eax, dword [esp + 0x58]
cmp eax, 0x18
mov byte [esp + 0x12], 1
jne 0x4affdc
lea ecx, [ebx + ebx*2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
lea eax, [edi + 0x10]
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00475d30
test al, al
sete al
jmp 0x4b015b
jae 0x4b00d7
lea edx, [ebx + ebx*2]
add edx, edx
add edx, edx
add edx, edx
push edx
lea eax, [edi + 0x10]
push 0
push eax
call fcn.005002f0
xor eax, eax
add esp, 0xc
cmp ebx, eax
mov dword [esp + 0x18], eax
jle 0x4b0163
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [ecx + edi + 0x10]
push edx
push esi
lea ecx, [esp + 0x44]
call fcn.00475d30
test al, al
sete al
test al, al
jne 0x4b0163
mov eax, dword [esp + 0x18]
add dword [esp + 0x2c], 0x18
add eax, 1
cmp eax, ebx
mov dword [esp + 0x18], eax
jl 0x4b000c
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jbe 0x4b007a
mov eax, dword [edi + 8]
lea edx, [eax + eax*2]
push ecx
lea eax, [edi + edx*8 + 0x10]
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00475d30
test al, al
jne 0x4b007a
push str.str_string_data_may_be_lost
push esi
call fcn.004708d0
mov byte [esp + 0x19], 1
add esp, 8
cmp byte [esp + 0x11], 0
mov byte [esp + 0x2a0], 1
mov dword [esp + 0x74], vtable.t_strDataBase.0
jne 0x4b0219
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.t_lockerMemSharable.0
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a4], 3
call fcn.00401050
test al, al
jne 0x4b016d
push 0x56d154
push esi
call fcn.004708d0
add esp, 8
mov byte [esp + 0x11], 1
jmp 0x4b0204
push eax
call fcn.004fc111
add esp, 4
test ebx, ebx
mov esi, eax
mov dword [esp + 0x18], 0
jle 0x4b014a
add edi, 0x10
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
push eax
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.00475d30
test al, al
sete al
test al, al
mov byte [esp + 0x12], al
jne 0x4b0146
mov edx, dword [esi]
mov dword [edi], edx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x14]
add eax, 1
mov dword [edi + 0x14], ecx
add edi, 0x18
cmp eax, ebx
mov dword [esp + 0x18], eax
jl 0x4b00f1
mov edi, dword [esp + 0x28]
push esi
call fcn.004ff376
mov al, byte [esp + 0x16]
mov esi, dword [esp + 0x18]
add esp, 4
test al, al
je 0x4b0045
push str.str_data_may_be_lost
jmp 0x4b006c
mov edi, dword [esp + 0x34]
cmp dword [edi + 0x228], 0
je 0x4b0185
lea esi, [edi + 0x224]
call fcn.00470780
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x84]
add esi, 0x208
push eax
add edi, 0x224
call fcn.0047f7d0
test al, al
jne 0x4b01b1
mov byte [esp + 0x11], 1
jmp 0x4b01fc
mov edi, dword [esp + 0x34]
mov esi, dword [edi + 0x22c]
mov ecx, dword [esp + 0x20]
add esi, 8
call fcn.0046adb0
push eax
push 0x104
push esi
call fcn.004fe07f
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esp, 0xc
push ecx
push edx
add esi, 0x208
push esi
call fcn.004fff80
mov eax, dword [edi + 0x22c]
add esp, 0xc
mov dword [eax + 4], 1
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov byte [esp + 0x2a0], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4b0219
call fcn.0046b5a0
test edi, edi
je 0x4b0226
push edi
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x11], 0
je 0x4b0261
mov ebx, dword [esp + 0x20]
push esi
mov edi, ebx
call fcn.00470060
mov ecx, esi
call fcn.00470c90
lea ecx, [esp + 0x38]
call fcn.00475b60
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0046b5a0
xor al, al
jmp 0x4b0280
lea ecx, [esp + 0x38]
call fcn.00475b60
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0046b5a0
mov al, 1
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 0xc