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

Disassembly:
push 0xffffffffffffffff
push 0x5f6ba9
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov edi, ecx
push str.NODE
lea ecx, [esp + 0x3c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x3c]
mov dword [esp + 0x9c], 0
call fcn.004e2140
mov esi, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], esi
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test esi, esi
jne 0x4af89f
xor al, al
jmp 0x4afd6c
push 0x624f68
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 1
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4af928
lea ecx, [esp + 0x70]
call dword [0x61049c]
mov dword [esp + 0x98], 2
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x74]
push str._05d
push ecx
call fcn.004ce830
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.004e2220
lea ecx, [esp + 0x70]
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
cmp dword [ebx + 0x18], 0
je 0x4af9b5
push 0x624f2c
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 3
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4af9b5
cmp dword [ebx + 0x1c], 8
jb 0x4af97e
mov eax, dword [ebx + 8]
jmp 0x4af981
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x74]
call dword [0x610498]
lea ecx, [esp + 0x70]
mov dword [esp + 0x98], 4
call fcn.004e2220
lea ecx, [esp + 0x70]
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
cmp dword [ebx + 0x38], 0
je 0x4afa04
push str.LogPath
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 5
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4afa04
lea ecx, [ebx + 0x24]
call fcn.004e2220
cmp dword [ebx + 0x54], 0
je 0x4afa53
push str.SetupPath
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 6
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4afa53
lea ecx, [ebx + 0x40]
call fcn.004e2220
push str.Status
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 7
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4afac7
mov eax, dword [ebx + 0x70]
lea ecx, [esp + 0x70]
call fcn.004ce6f0
mov ecx, eax
mov dword [esp + 0x98], 8
call fcn.004e2220
lea ecx, [esp + 0x70]
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
push str.Type
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 9
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4afb3b
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x70]
call fcn.004ce6f0
mov ecx, eax
mov dword [esp + 0x98], 0xa
call fcn.004e2220
lea ecx, [esp + 0x70]
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
cmp dword [ebx + 0x6c], 0
jl 0x4afbcb
jg 0x4afb4d
cmp dword [ebx + 0x68], 0
jbe 0x4afbcb
push str.Total
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 0xb
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4afbcb
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x68]
push edx
push eax
lea esi, [esp + 0x78]
call fcn.004ce1a0
add esp, 8
mov ecx, eax
mov dword [esp + 0x98], 0xc
call fcn.004e2220
mov ecx, esi
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
mov esi, dword [esp + 0x34]
cmp dword [ebx + 0x64], 0
jl 0x4afc5b
jg 0x4afbdd
cmp dword [ebx + 0x60], 0
jbe 0x4afc5b
push str.Completed
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 0xd
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4afc5b
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebx + 0x60]
push ecx
push edx
lea esi, [esp + 0x78]
call fcn.004ce1a0
add esp, 8
mov ecx, eax
mov dword [esp + 0x98], 0xe
call fcn.004e2220
mov ecx, esi
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
mov esi, dword [esp + 0x34]
cmp byte [ebx + 0x74], 0
je 0x4afcde
push str.Registered
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 0xf
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4afcde
movzx eax, byte [ebx + 0x74]
cdq
push edx
push eax
lea esi, [esp + 0x78]
call fcn.004ce1a0
add esp, 8
mov ecx, eax
mov dword [esp + 0x98], 0x10
call fcn.004e2220
mov ecx, esi
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
mov esi, dword [esp + 0x34]
cmp dword [ebx + 0x7c], 0
jl 0x4afd6a
jg 0x4afcf0
cmp dword [ebx + 0x78], 0
jbe 0x4afd6a
push 0x625958
lea ecx, [esp + 0x1c]
call dword [0x610498]
push ebp
lea ecx, [esp + 0x1c]
mov edi, esi
mov dword [esp + 0x9c], 0x11
call fcn.004e2140
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
test edi, edi
je 0x4afd6a
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x78]
push eax
push ecx
lea esi, [esp + 0x5c]
call fcn.004ce1a0
add esp, 8
mov ecx, eax
mov dword [esp + 0x98], 0x12
call fcn.004e2220
mov ecx, esi
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005e693f
add esp, 0x88
ret 8