Function at 0x4e1190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x639820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
push edi
push 0x80
mov edi, ecx
mov dword [esp + 0x18], 0
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0xec], 0
je 0x4e11fd
push 1
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x2b]
push eax
push str.NULL
call fcn.00403db0
mov ecx, esi
call fcn.004586a0
jmp 0x4e11ff
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xf4], 0xffffffff
call fcn.0041fc60
lea ecx, [esp + 0xf]
push ecx
push str.ChipSets
lea ecx, [esp + 0x68]
mov dword [esp + 0xf4], 1
call fcn.00403db0
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x60]
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0xfc], 2
mov dword [ecx], 0x6580c8
call fcn.00408e60
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004dc540
add esp, 0x14
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x70]
cmp eax, edx
mov byte [esp + 0xec], 4
je 0x4e12a1
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4e12a1
sub eax, ecx
cmp eax, 0x80
jbe 0x4e1297
push ecx
call fcn.00611869
add esp, 4
jmp 0x4e12a1
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 4]
mov edx, dword [esp + ecx + 0x30]
lea ecx, [esp + ecx + 0x30]
mov ecx, dword [esp + eax + 0x54]
cmp edx, ecx
lea eax, [esp + eax + 0x54]
jne 0x4e13bf
push 0x80
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0xec], 5
je 0x4e1309
push 1
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x2b]
push eax
push str.Sets
call fcn.00403db0
mov ecx, esi
call fcn.004586a0
jmp 0x4e130b
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf4], 4
call fcn.0041fc60
lea ecx, [esp + 0xf]
push ecx
mov bl, 6
push str.ChipSets
lea ecx, [esp + 0x44]
mov byte [esp + 0xf4], bl
call fcn.00403db0
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0xfc], 7
mov dword [ecx], 0x6580c8
call fcn.00408e60
lea eax, [esp + 0x48]
push eax
call fcn.004dc3c0
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x5c]
add esp, 0x10
cmp eax, ecx
mov byte [esp + 0xec], bl
je 0x4e13a2
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4e13a2
sub eax, ecx
cmp eax, 0x80
jbe 0x4e1398
push ecx
call fcn.00611869
add esp, 4
jmp 0x4e13a2
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, edi
call fcn.004e1190
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], 4
call fcn.00407ce0
jmp 0x4e17f2
mov eax, dword [edi + 0x1fcc]
mov ecx, dword [edi + 0x1fc8]
cmp ecx, eax
lea esi, [edi + 0x1fc8]
je 0x4e13e3
lea edx, [esp + 0xf]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00493b30
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0x27]
push eax
push 0x65e9e8
call fcn.00403db0
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x4c]
mov byte [esp + 0x108], 4
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov byte [esp + 0xec], 9
mov bl, 0xf
lea esp, [esp]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x24]
test ecx, ecx
lea eax, [esp + eax + 0x24]
je 0x4e1556
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x28], esp
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x14], eax
push 0x65e9e5
push str.chips
mov byte [esp + 0x10c], 0xd
call fcn.00403b50
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0x108], 9
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
mov byte [esp + 0xec], bl
je 0x4e14c6
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
test ecx, ecx
mov byte [esp + 0xec], 0x10
je 0x4e14c0
push eax
call fcn.00403e10
add dword [esi + 4], 0x18
jmp 0x4e14d8
push 1
push 1
lea edx, [esp + 0x17]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0046a660
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
cmp eax, ecx
mov byte [esp + 0xec], 9
je 0x4e1512
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4e1512
sub eax, ecx
cmp eax, 0x80
jbe 0x4e1508
push ecx
call fcn.00611869
add esp, 4
jmp 0x4e1512
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + ecx + 0x28]
call fcn.004304e0
mov ecx, eax
call fcn.00428c50
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xf0], 0x11
call fcn.00422700
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 9
call fcn.0042ce80
jmp 0x4e1430
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4e17e1
push 1
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x2b]
push edx
push str.ChipSets.xml
call fcn.00403db0
lea ecx, [esp + 0xb8]
call fcn.004326e0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0xf0], 0x12
call fcn.00429900
mov edi, eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x27]
push edx
mov bl, 0x13
push 0x65e9e8
mov byte [esp + 0x10c], bl
call fcn.00403db0
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x30]
push eax
add ecx, edi
mov byte [esp + 0x108], bl
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov bl, 0x16
lea ecx, [esp + 0x90]
mov byte [esp + 0xec], bl
call fcn.0042ce80
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x18]
test ecx, ecx
lea eax, [esp + eax + 0x18]
je 0x4e17b0
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x28], esp
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x14], eax
push 0x65e9e5
push str.chips
mov byte [esp + 0x10c], 0x18
call fcn.00403b50
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + ecx + 0x34]
mov byte [esp + 0x108], bl
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
mov byte [esp + 0xec], 0x1a
je 0x4e16a6
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
test ecx, ecx
mov byte [esp + 0xec], 0x1b
je 0x4e16a0
push eax
call fcn.00403e10
add dword [esi + 4], 0x18
jmp 0x4e16b8
push 1
push 1
lea edx, [esp + 0x17]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0046a660
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x88]
cmp eax, ecx
mov byte [esp + 0xec], bl
je 0x4e16f7
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x4e16f7
sub eax, ecx
cmp eax, 0x80
jbe 0x4e16ed
push ecx
call fcn.00611869
add esp, 4
jmp 0x4e16f7
push eax
push ecx
call fcn.005d6970
add esp, 8
push 0x80
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
mov byte [esp + 0xec], 0x1c
je 0x4e1741
push 1
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x28]
mov dword [esp + 0x24], esp
push edx
call fcn.00420750
mov ecx, edi
call fcn.0042d270
jmp 0x4e1743
xor eax, eax
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push 1
push eax
mov byte [esp + 0x100], bl
call fcn.0041fc60
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xf8], bl
call fcn.004304e0
mov ecx, eax
call fcn.00428df0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x1c]
call fcn.004304e0
mov ecx, eax
call fcn.00428c50
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf0], 0x1e
call fcn.00422700
lea ecx, [esp + 0x3c]
jmp 0x4e1601
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x12
call fcn.0042ce80
lea ecx, [esp + 0xd0]
mov byte [esp + 0xec], 9
call fcn.00429940
lea ecx, [esp + 0xd0]
call fcn.00406810
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], 4
call fcn.0042ce80
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], 1
call fcn.0042ce80
lea ecx, [esp + 0x54]
mov dword [esp + 0xec], 0xffffffff
call fcn.00407ce0
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xe4
ret