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

Disassembly:
push 0xffffffffffffffff
push 0x555c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x5ab980]
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x6c], 0
test eax, eax
je 0x4e8ba4
jmp 0x4e8724
mov eax, dword [esp + 0x30]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
test edi, edi
mov dword [esp + 0x30], ecx
je 0x4e8b98
mov edx, dword [edi + 4]
lea ebp, [edi + 4]
push str.WindowsOS
push edx
call fcn.004f9670
add esp, 8
lea esi, [edi + 0xc]
test eax, eax
push ecx
mov ecx, esp
jne 0x4e8771
mov dword [esp + 0x30], esp
push esi
call fcn.00512659
mov ecx, 0x5bc558
call fcn.004b1480
test eax, eax
setne al
mov byte [edi + 0x18], al
jmp 0x4e878d
mov dword [esp + 0x30], esp
push esi
call fcn.00512659
mov ecx, 0x5bc558
call fcn.004b12d0
test eax, eax
setne cl
mov byte [edi + 0x18], cl
mov al, byte [edi + 0x18]
test al, al
je 0x4e8b98
push ebp
lea edx, [esp + 0x40]
push 0x5a9f7c
push edx
call fcn.00512bed
push 0x5a99c4
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x74], 1
push eax
call fcn.00512b79
push esi
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x78], 2
call fcn.00512b13
push ecx
mov byte [esp + 0x70], 3
mov edx, esp
mov dword [esp + 0x30], esp
push 0x5a9f78
push eax
push edx
call fcn.00512b79
mov ecx, ebx
call fcn.004e9bc0
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 2
call fcn.005128e4
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 1
call fcn.005128e4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0
call fcn.005128e4
mov al, byte [edi + 0x1a]
test al, al
je 0x4e8acf
mov cl, byte [edi + 0x19]
test cl, cl
jne 0x4e8992
lea eax, [edi + 0x20]
lea ecx, [edi + 0x50]
push eax
call fcn.004ec140
mov ebx, eax
test ebx, ebx
je 0x4e8acb
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x4e8acb
jmp 0x4e8854
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e8981
jmp 0x4e886e
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 8]
mov edx, dword [eax]
test esi, esi
mov dword [esp + 0x28], edx
je 0x4e8975
mov eax, dword [esi + 0xc]
push str.Settings_Only
push eax
call fcn.004f9670
add esp, 8
test eax, eax
jne 0x4e889f
mov al, byte [edi + 0x1b]
test al, al
je 0x4e8975
mov ecx, dword [esp + 0x74]
mov eax, dword [esi + 8]
cmp eax, ecx
jne 0x4e8975
mov eax, dword [esi + 4]
cmp eax, 0xc8
jg 0x4e8975
test eax, eax
jle 0x4e8975
mov ecx, dword [0x5ab980]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
xor ebp, ebp
mov byte [esp + 0x6c], 5
test eax, eax
jle 0x4e8959
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
mov ecx, esi
call fcn.004ecd20
test eax, eax
je 0x4e8951
lea edx, [esp + 0x40]
lea ecx, [ebx + 8]
push edx
call fcn.004ed0e0
mov ecx, dword [esi + 0xc]
mov edx, dword [eax]
mov eax, dword [edi + 4]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str._ASD__Src__s__s___s
push ecx
mov byte [esp + 0x80], 6
call fcn.0050e6c7
add esp, 0x14
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 5
call fcn.005128e4
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004e7890
mov eax, dword [esi + 4]
inc ebp
cmp ebp, eax
jl 0x4e88dd
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0
call fcn.005128e4
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4e886a
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4e8850
jmp 0x4e8acb
test al, al
je 0x4e8acf
mov al, byte [edi + 0x19]
test al, al
je 0x4e8acf
lea edx, [edi + 0x38]
lea ecx, [edi + 0x50]
push edx
call fcn.004ec140
mov ebp, eax
test ebp, ebp
je 0x4e8acf
push ecx
lea ecx, [edi + 0x20]
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004ed0e0
lea ecx, [ebp + 0x8c]
call fcn.004ecab0
mov esi, eax
test esi, esi
je 0x4e8acf
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x74]
cmp ecx, eax
jne 0x4e8acf
mov eax, dword [esi + 4]
test eax, eax
je 0x4e8acf
mov eax, dword [0x5ab980]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0xa
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 8
call fcn.00510deb
mov eax, dword [esi + 4]
xor ebx, ebx
test eax, eax
mov byte [esp + 0x6c], 9
jle 0x4e8aa1
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.004ecd20
test eax, eax
je 0x4e8a99
lea edx, [esp + 0x44]
lea ecx, [ebp + 8]
push edx
call fcn.004ed0e0
mov ecx, dword [esi + 0xc]
mov edx, dword [eax]
mov eax, dword [edi + 4]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str._ASD__Tgt__s__s___s
push ecx
mov byte [esp + 0x80], 0xa
call fcn.0050e6c7
add esp, 0x14
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 9
call fcn.005128e4
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004e7890
mov eax, dword [esi + 4]
inc ebx
cmp ebx, eax
jl 0x4e8a25
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 8
call fcn.00510e5f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 7
call fcn.005128e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0
call fcn.005128e4
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov eax, dword [edi + 0x78]
cmp eax, edx
jne 0x4e8b80
mov eax, dword [edi + 0x74]
cmp eax, 0xc8
jg 0x4e8b80
test eax, eax
jle 0x4e8b80
mov ecx, dword [0x5ab980]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
xor esi, esi
mov byte [esp + 0x6c], 0xc
test eax, eax
jle 0x4e8b64
lea ebp, [edi + 0x70]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push esi
mov ecx, ebp
call fcn.004ecd20
test eax, eax
je 0x4e8b5c
mov eax, dword [edi + 0x7c]
mov ecx, dword [edi + 4]
push eax
push ecx
lea edx, [esp + 0x18]
push str._ASD__Excp__s__s
push edx
call fcn.0050e6c7
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push edi
push eax
push ecx
push edx
mov ecx, ebx
call fcn.004e7890
mov eax, dword [edi + 0x74]
inc esi
cmp esi, eax
jl 0x4e8b10
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0xb
call fcn.005128e4
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.005128e4
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._n____________________________________________________________________
call fcn.00512952
mov ecx, ebx
call fcn.004e9bc0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4e8720
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005128e4
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 8