Function at 0x422d10
Capabilities:
Get number of processors
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5d1d81
push eax
mov eax, 0x16c4
mov dword fs:[0], esp
call fcn.005301e0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esp + 0xed4]
push 0x400
push eax
lea ecx, [esi + 0x55c]
xor edi, edi
push 0x400
push ecx
push edi
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x48]
call fcn.0041b6e0
lea ecx, [esp + 0x74]
mov dword [esp + 0x16dc], edi
call fcn.00419f90
mov edx, dword [esp + 0x74]
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x7c], edi
push str.UTF_8
lea ecx, [esp + 0x78]
mov byte [esp + 0x16e0], 1
mov byte [edx], 0
call fcn.0041b5c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x16dc], 2
call fcn.0053de30
lea eax, [esp + 0xed4]
push 0x637cb8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16e4], 3
call fcn.0053de50
test eax, eax
je 0x423794
lea ecx, [esp + 0x14]
call fcn.0053df80
mov ebp, eax
push ebp
call fcn.005b449a
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x422e21
lea ecx, [esp + 0x14]
mov byte [esp + 0x16dc], 2
call fcn.0053de40
lea ecx, [esp + 0x48]
mov dword [esp + 0x16dc], 5
call fcn.0041ba00
mov ecx, dword [esp + 0x74]
push ecx
jmp 0x422f92
push ebp
push ebx
lea ecx, [esp + 0x1c]
call fcn.0053dfb0
cmp ebp, 4
jb 0x422ec5
lea ecx, [esp + 0x48]
call fcn.0041ba00
push 0x64
lea ecx, [esp + 0x2c]
call fcn.0041c320
lea edx, [esp + 0x48]
lea ecx, [esp + 0x28]
push edx
mov byte [esp + 0x16e0], 6
call fcn.0041c350
mov ax, word [ebx]
xor edi, edi
and eax, 0xfefe
cmp eax, 0xfefe
jne 0x422e77
mov edi, 2
jmp 0x422e8d
cmp byte [ebx], 0xef
jne 0x422e8d
cmp byte [ebx + 1], 0xbb
jne 0x422e8d
cmp byte [ebx + 2], 0xbf
jne 0x422e8d
mov edi, 3
cmp edi, ebp
jae 0x422eae
mov edx, ebp
lea ecx, [esp + 0x28]
sub edx, edi
push ecx
lea eax, [edi + ebx]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.0041bbd0
add edi, eax
cmp edi, ebp
jb 0x422e91
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x16dc], 3
push ecx
call fcn.005b44c3
add esp, 4
xor edi, edi
push ebx
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x14]
call fcn.0053df20
push 0x20
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
call fcn.0041b410
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
push str.Machine_Sel
lea ecx, [esp + 0x20]
mov byte [esp + 0x16e0], 7
mov byte [edx], 0
call fcn.0041b5c0
mov ecx, dword [esp + 0x6c]
cmp ecx, edi
je 0x422f5b
call fcn.0049c460
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x44], ebx
je 0x422f5b
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0041cee0
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x40], eax
jne 0x422f53
mov ecx, dword [esp + 0x6c]
push ebx
call fcn.0056eda0
mov ebx, eax
cmp ebx, edi
jne 0x422f26
mov dword [esp + 0x44], ebx
jmp 0x422f5b
cmp ebx, edi
mov dword [esp + 0x44], ebx
jne 0x422fb3
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x16dc], 2
call fcn.0053de40
lea ecx, [esp + 0x48]
mov dword [esp + 0x16dc], 9
call fcn.0041ba00
mov edx, dword [esp + 0x74]
push edx
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x16dc], 0xffffffff
call fcn.0041b790
jmp 0x4237e0
mov ecx, dword [ebx + 0x24]
cmp ecx, edi
je 0x42377b
call fcn.0049c460
mov edi, eax
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x40], edi
je 0x42377b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ebp
push str.value
lea ecx, [esp + 0x20]
mov byte [eax], 0
call fcn.0041b5c0
mov ecx, dword [edi + 0x20]
cmp ecx, ebp
je 0x423764
lea edx, [esp + 0x1c]
push edx
call fcn.0041b8d0
cmp eax, ebp
je 0x423764
mov edi, dword [edi + 0x20]
cmp edi, ebp
je 0x4237f9
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0041b960
mov eax, dword [eax]
lea ecx, [esp + 0x6d4]
mov dx, word [eax]
and edx, 0xfefe
cmp edx, 0xfefe
jne 0x42303d
add eax, 2
lea edx, [esp + 0x6d4]
test edx, edx
je 0x4230ba
mov dl, byte [eax]
test dl, dl
je 0x4230b5
test dl, 0x80
jne 0x423060
movsx dx, dl
mov word [ecx], dx
add ecx, 2
inc eax
jmp 0x4230af
mov di, word [eax]
and edi, 0xc0e0
cmp edi, 0x80c0
jne 0x423080
and dl, 0x1f
movsx dx, dl
shl edx, 6
mov word [ecx], dx
jmp 0x42309d
and dl, 0xf
movsx dx, dl
shl edx, 0xc
inc eax
mov word [ecx], dx
mov dl, byte [eax]
and dl, 0x3f
movsx dx, dl
shl edx, 6
add word [ecx], dx
mov dl, byte [eax + 1]
inc eax
and dl, 0x3f
movsx dx, dl
add word [ecx], dx
inc eax
add ecx, 2
mov dl, byte [eax]
test dl, dl
jne 0x42304e
mov word [ecx], bp
jmp 0x4230e7
mov cl, byte [eax]
test cl, cl
je 0x4230e7
test cl, 0x80
jne 0x4230c8
inc eax
jmp 0x4230e1
mov cx, word [eax]
and ecx, 0xc0e0
cmp ecx, 0x80c0
jne 0x4230de
add eax, 2
jmp 0x4230e1
add eax, 3
mov cl, byte [eax]
test cl, cl
jne 0x4230c0
push 0x20
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], ebp
call fcn.00401510
lea edx, [esp + 0x6d4]
lea eax, [esp + 0x34]
push edx
push 0x62353c
push eax
mov byte [esp + 0x16e8], 0xa
call fcn.00428920
mov ebx, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x10], str.ym_emb
mov di, word [ebx]
add ebx, 2
cmp di, bp
je 0x423175
push edi
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x423147
add edi, 0x20
mov eax, dword [esp + 0x10]
mov bp, word [eax]
add eax, 2
push ebp
mov dword [esp + 0x14], eax
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x423165
add ebp, 0x20
cmp di, bp
jne 0x42318d
mov di, word [ebx]
add ebx, 2
test di, di
jne 0x423137
mov ecx, dword [esp + 0x10]
xor edi, edi
mov di, word [ecx]
neg edi
test edi, edi
jne 0x42319d
mov dword [esp + 0x18], edi
jmp 0x423733
and ebp, 0xffff
and edi, 0xffff
sub edi, ebp
jmp 0x423180
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], str.gt_emb
mov di, word [ebx]
add ebx, 2
test di, di
je 0x4231f2
push edi
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x4231c4
add edi, 0x20
mov eax, dword [esp + 0x10]
mov bp, word [eax]
add eax, 2
push ebp
mov dword [esp + 0x14], eax
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x4231e2
add ebp, 0x20
cmp di, bp
jne 0x42320e
mov di, word [ebx]
add ebx, 2
test di, di
jne 0x4231b4
mov edx, dword [esp + 0x10]
xor edi, edi
mov di, word [edx]
neg edi
test edi, edi
jne 0x42321e
mov dword [esp + 0x18], 1
jmp 0x423733
and ebp, 0xffff
and edi, 0xffff
sub edi, ebp
jmp 0x4231fd
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], str.VISION
mov di, word [ebx]
add ebx, 2
test di, di
je 0x423273
push edi
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x423245
add edi, 0x20
mov eax, dword [esp + 0x10]
mov bp, word [eax]
add eax, 2
push ebp
mov dword [esp + 0x14], eax
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x423263
add ebp, 0x20
cmp di, bp
jne 0x42328f
mov di, word [ebx]
add ebx, 2
test di, di
jne 0x423235
mov eax, dword [esp + 0x10]
xor edi, edi
mov di, word [eax]
neg edi
test edi, edi
jne 0x42329f
mov dword [esp + 0x18], 2
jmp 0x423733
and ebp, 0xffff
and edi, 0xffff
sub edi, ebp
jmp 0x42327e
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], 0x64271c
mov di, word [ebx]
add ebx, 2
test di, di
je 0x4232f4
push edi
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x4232c6
add edi, 0x20
mov eax, dword [esp + 0x10]
mov bp, word [eax]
add eax, 2
push ebp
mov dword [esp + 0x14], eax
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x4232e4
add ebp, 0x20
cmp di, bp
jne 0x423310
mov di, word [ebx]
add ebx, 2
test di, di
jne 0x4232b6
mov ecx, dword [esp + 0x10]
xor edi, edi
mov di, word [ecx]
neg edi
test edi, edi
jne 0x423320
mov dword [esp + 0x18], 3
jmp 0x423733
and ebp, 0xffff
and edi, 0xffff
sub edi, ebp
jmp 0x4232ff
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], str.AutoNesting
mov di, word [ebx]
add ebx, 2
test di, di
je 0x423379
push edi
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x423347
add edi, 0x20
mov eax, dword [esp + 0x10]
mov bp, word [eax]
add eax, 2
push ebp
mov dword [esp + 0x14], eax
call fcn.00429bc0
add esp, 4
test eax, eax
je 0x423365
add ebp, 0x20
cmp di, bp
jne 0x4234a8
mov di, word [ebx]
add ebx, 2
test di, di
jne 0x423337
mov edx, dword [esp + 0x10]
xor edi, edi
mov di, word [edx]
neg edi
test edi, edi
jne 0x423733
lea ecx, [esp + 0x84]
mov dword [esp + 0x18], 4
call fcn.0041b1a0
lea ecx, [esp + 0x90]
mov byte [esp + 0x16dc], 0xb
call fcn.0041b1a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x16dc], 0xc
call fcn.0041b1a0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x16dc], 0xd
call fcn.0041b1a0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x16dc], 0xe
call fcn.0041b1a0
lea eax, [esi + 0x11c]
lea ecx, [esp + 0x80]
push eax
mov byte [esp + 0x16e0], 0xf
call fcn.00401750
push 0x20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x16e0], 0x10
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], edi
call fcn.00401510
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], edi
push str.AutoNesting.dll
mov byte [esp + 0x16e0], 0x11
mov word [ecx], di
lea ecx, [esp + 0x2c]
call fcn.00401610
cmp dword [esp + 0x30], edi
je 0x4234bb
lea edx, [esp + 0x28]
lea ecx, [esp + 0x90]
push edx
mov dword [esp + 0x84], 1
call fcn.00405c40
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], edi
push 0x2e
lea ecx, [esp + 0x94]
mov word [eax], di
call fcn.004015e0
cmp eax, edi
jle 0x4234e4
lea ecx, [esp + 0x9c]
inc eax
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.00401350
jmp 0x4234e4
and ebp, 0xffff
and edi, 0xffff
sub edi, ebp
jmp 0x423384
mov edx, dword [esp + 0x90]
mov dword [esp + 0x80], edi
mov dword [esp + 0x98], edi
mov word [edx], di
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], edi
mov word [eax], di
lea ecx, [esp + 0x80]
call fcn.00405900
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [esi + 0x18b4], eax
je 0x42381c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.YM_InitSysCfg
push eax
call edi
mov ecx, dword [esi + 0x18b4]
push str.YM_CallAutoNestingDlg
push ecx
mov dword [esi + 0x1894], eax
call edi
mov edx, dword [esi + 0x18b4]
push str.YM_ExitCard
push edx
mov dword [esi + 0x1898], eax
call edi
mov dword [esi + 0x189c], eax
mov eax, dword [esi + 0x18b4]
push str.YM_GetCoordinate
push eax
call edi
mov ecx, dword [esi + 0x18b4]
push str.YM_GetAutoNestingParam
push ecx
mov dword [esi + 0x18a0], eax
call edi
mov edx, dword [esi + 0x18b4]
push str.YM_GetWorkSpace
push edx
mov dword [esi + 0x18a4], eax
call edi
mov dword [esi + 0x18a8], eax
mov eax, dword [esi + 0x18b4]
push str.YM_AxisHome
push eax
call edi
mov ecx, dword [esi + 0x18b4]
push str.YM_Close
push ecx
mov dword [esi + 0x18ac], eax
call edi
lea edx, [esi + 0x15c]
push 1
push edx
mov dword [esi + 0x18b0], eax
call dword [esi + 0x1894]
lea ecx, [esp + 0xc0]
call fcn.00593230
push str.configXMLSysPara.xml
lea ecx, [esp + 0x2c]
mov byte [esp + 0x16e0], 0x12
xor ebx, ebx
call fcn.0041a660
push eax
lea ecx, [esp + 0x84]
call fcn.0041a9e0
push ebx
lea ecx, [esp + 0x84]
call fcn.00405900
mov ecx, eax
call fcn.00405830
push eax
lea ecx, [esp + 0xc4]
call fcn.00593560
test eax, eax
je 0x4236fe
lea ecx, [esp + 0xc0]
call fcn.00596130
push str.Home
push ebx
lea ecx, [esp + 0xc8]
call fcn.00596150
push ebx
push eax
lea ecx, [esp + 0xc8]
mov dword [esp + 0x18], eax
call fcn.00596150
mov ebp, eax
test ebp, ebp
je 0x4236e7
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x104]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x104]
lea ecx, [esp + 0xc0]
push eax
push 0x637ca8
push ebp
call fcn.00596480
lea ecx, [esp + 0x104]
push ecx
call fcn.00530376
add esp, 4
cmp eax, 0x22
je 0x4236a5
mov edx, dword [esp + 0x10]
push 0
push ebp
push edx
lea ecx, [esp + 0xcc]
call fcn.00596280
mov ebp, eax
test ebp, ebp
jne 0x42364a
jmp 0x4236e7
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x2d4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2d4]
lea ecx, [esp + 0xc0]
push eax
push str.value
push ebp
call fcn.00596480
lea ecx, [esp + 0x2d4]
push ecx
call fcn.00530376
mov ebx, eax
add esp, 4
neg ebx
sbb ebx, ebx
neg ebx
lea ecx, [esp + 0xc0]
call fcn.00596140
cmp ebx, 1
jne 0x4236fe
call dword [esi + 0x18ac]
lea ecx, [esp + 0xc0]
mov byte [esp + 0x16dc], 0x11
call fcn.00593400
mov edx, dword [esp + 0x28]
push edx
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x80]
mov byte [esp + 0x16dc], 0xa
call fcn.004012d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xc8]
cmp eax, ecx
je 0x42386f
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x16dc], 7
push ecx
call fcn.005b44c3
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
add esp, 4
xor ebp, ebp
mov ecx, dword [ebx + 0x24]
push edi
call fcn.0056eda0
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x40], edi
jne 0x422fd3
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x16dc], 3
push edx
call fcn.005b44c3
mov edi, dword [esp + 0x1c]
add esp, 4
push edi
push str.value
push str.machine_menu
push str.workspace
lea ecx, [esi + 0xd8]
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
call fcn.00594240
lea ecx, [esp + 0x14]
mov byte [esp + 0x16dc], 2
call fcn.0053de40
lea ecx, [esp + 0x48]
mov dword [esp + 0x16dc], 0xffffffff
call fcn.0041a520
mov ecx, dword [esp + 0x16d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x16d0
ret
push str.SXmlElem::PickupAttr_error:_No_attribute.
lea ecx, [esp + 0x20c]
call fcn.0040bed0
lea edx, [esp + 0x208]
push 0x5ff2d8
push edx
call fcn.005300db
push edi
push edi
push 0x30
call fcn.00596b38
mov ecx, eax
call fcn.004057e0
push eax
call fcn.005bc06a
mov eax, dword [esp + 0x28]
push eax
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x80]
mov byte [esp + 0x16dc], 0xa
call fcn.004012d0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x20]
push edx
call fcn.005b44c3
add esp, 8
jmp 0x4237bb
mov eax, dword [esp + 0x34]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005b44c3
add esp, 8
jmp 0x4237bb