Function at 0x5ae540
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x666e08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x155c
call fcn.00612380
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
xor esi, esi
mov dword [ebp - 4], esi
push str.635DC5E4_2284_4e88_BF20_510D1A197437
lea ecx, [ebp - 0x24]
call fcn.005b2cd0
mov byte [ebp - 4], 1
mov dword [ebp - 0x84], vtable.CLockMgr_class_CMutexWrapper_.0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 1
mov ecx, eax
call fcn.005b2cb0
mov byte [ebp - 4], 2
mov ebx, 7
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esi
xor ecx, ecx
mov word [ebp - 0x4c], cx
mov byte [ebp - 4], 3
mov byte [ebp - 0x654], cl
push 0xfe
push esi
lea edx, [ebp - 0x653]
push edx
call fcn.006100a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0xff
lea ecx, [ebp - 0x654]
push ecx
push 0x1001
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x3f
lea edx, [ebp - 0x654]
push edx
lea ecx, [ebp - 0x14]
call fcn.005aa550
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005fc369
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x5ae667
mov edi, eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.005fb94a
mov byte [ebp - 4], bl
mov eax, dword [edi + 4]
cmp eax, esi
jbe 0x5ae63f
cmp eax, 0xffffffff
jae 0x5ae63f
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.005fb972
and esi, edi
je 0x5ae662
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx]
call eax
xor esi, esi
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x78]
push ecx
call fcn.005bc840
mov ecx, eax
call fcn.005bcda0
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040abc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x64], 8
jb 0x5ae69a
mov edx, dword [ebp - 0x78]
push edx
call fcn.0060faf6
add esp, 4
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], esi
xor eax, eax
mov word [ebp - 0x78], ax
push 0xa
push str.group.dat
lea ecx, [ebp - 0x4c]
call fcn.00406d50
lea ecx, [edi + 0x2c]
call fcn.005b2cb0
lea ecx, [edi + 0x28]
call fcn.005b2cb0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x5ae6d5
lea eax, [ebp - 0x4c]
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0x554]
call fcn.005ab670
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x4e8], esi
je 0x5ae7df
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], esi
xor ecx, ecx
mov word [ebp - 0x78], cx
mov byte [ebp - 4], 0xb
mov bl, 0xc
lea esp, [esp]
push esi
push 0x104
lea edx, [ebp - 0x49c]
push edx
lea ecx, [ebp - 0x554]
call fcn.005ab000
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x5ae7d3
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040bea0
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx - 0xc]
mov byte [ebp - 0x14], 0
lea eax, [edx - 1]
cmp eax, esi
jl 0x5ae7c9
cmp eax, edx
jg 0x5ae7c9
cmp word [ecx + eax*2], 0x40
jne 0x5ae786
mov byte [ebp - 0x14], 1
push 1
push eax
lea ecx, [ebp - 0x18]
call fcn.00448080
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0040aa60
mov byte [ebp - 4], 0xd
mov edx, dword [edi]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, edi
mov edx, dword [edx + 4]
call edx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xb8]
call fcn.00405700
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.004014a0
jmp 0x5ae710
push 0x80070057
call fcn.004011d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
call fcn.00405700
lea ecx, [ebp - 0x554]
call fcn.005ab530
mov ebx, 8
cmp dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x4c]
jae 0x5ae7fa
lea eax, [ebp - 0x4c]
push eax
call fcn.0061aeeb
add esp, 4
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.005bc840
mov ecx, eax
call fcn.005bcb20
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040abc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
call fcn.00405700
push str.user.dat
lea ecx, [ebp - 0x4c]
call fcn.0040a4d0
cmp dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x4c]
jae 0x5ae84e
lea eax, [ebp - 0x4c]
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0x294]
call fcn.005ab670
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x228], esi
je 0x5aed9b
lea ecx, [ebp - 0x156c]
call fcn.005a96b0
mov byte [ebp - 4], 0x10
mov bl, 0x11
push esi
push 0x104
lea edx, [ebp - 0x49c]
push edx
lea ecx, [ebp - 0x294]
call fcn.005ab000
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x5aecd4
push 0x66eba8
lea ecx, [ebp - 0x18]
call fcn.0040bea0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x78]
call fcn.0040aa60
mov byte [ebp - 4], 0x12
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x1564]
call fcn.004077d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x78]
call fcn.00405700
push esi
push 0x104
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x294]
call fcn.005ab000
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x5ae962
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.0040aa60
mov byte [ebp - 4], 0x13
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x1c0]
push edx
lea ecx, [ebp - 0x1548]
call fcn.004077d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c0]
call fcn.00405700
push esi
push 0x104
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x294]
call fcn.005ab000
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x5ae9cd
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x1dc]
call fcn.0040aa60
mov byte [ebp - 4], 0x14
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x152c]
call fcn.004077d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1dc]
call fcn.00405700
push esi
push 0x104
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x294]
call fcn.005ab000
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x5aeafd
mov ecx, 0x66ecc4
lea eax, [ebp - 0x49c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5aea36
cmp dx, si
je 0x5aea32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5aea36
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5aea10
xor eax, eax
jmp 0x5aea3b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x5aead5
mov ecx, 0x66ecc8
lea eax, [ebp - 0x49c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5aea76
cmp dx, si
je 0x5aea72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5aea76
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5aea50
xor eax, eax
jmp 0x5aea7b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x5aead5
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00403420
push esi
push 0x104
lea edx, [ebp - 0x49c]
push edx
lea ecx, [ebp - 0x294]
call fcn.005ab000
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x5aeafd
lea ecx, [ebp - 0x1510]
push ecx
push 0x66fb00
lea edx, [ebp - 0x49c]
push edx
jmp 0x5aeaf5
push 0x66eba8
lea ecx, [ebp - 0x18]
call fcn.00403420
lea eax, [ebp - 0x1510]
push eax
push 0x66fb00
lea ecx, [ebp - 0x49c]
push ecx
call fcn.0061452f
add esp, 0xc
push esi
push 0x104
lea edx, [ebp - 0x49c]
push edx
lea ecx, [ebp - 0x294]
call fcn.005ab000
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x5aeb4a
lea ecx, [ebp - 0x150d]
push ecx
push str._I64d
lea edx, [ebp - 0x49c]
push edx
call fcn.0061452f
add esp, 0xc
push esi
push 0x104
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x294]
call fcn.005ab000
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x5aebba
lea ecx, [ebp - 0x1498]
push ecx
lea edx, [ebp - 0x149a]
push edx
lea eax, [ebp - 0x149c]
push eax
lea ecx, [ebp - 0x14a4]
push ecx
lea edx, [ebp - 0x14a2]
push edx
lea eax, [ebp - 0x149e]
push eax
push 0x6773f4
lea ecx, [ebp - 0x49c]
push ecx
call fcn.0061452f
add esp, 0x20
xor edx, edx
mov word [ebp - 0x1496], dx
mov dword [ebp - 0x156c], esi
mov dword [ebp - 0x1478], esi
call fcn.005c1460
mov dword [ebp - 0x1494], eax
lea ecx, [ebp - 0x178]
call fcn.005b1930
mov byte [ebp - 4], 0x15
push 0x66eba8
lea eax, [ebp - 0x18]
push eax
call fcn.00439380
add esp, 8
test al, al
je 0x5aec3e
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.0040aa60
mov byte [ebp - 4], 0x16
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x1a4]
push edx
lea ecx, [ebp - 0x174]
call fcn.004077d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1a4]
call fcn.00405700
lea eax, [ebp - 0xac]
push eax
jmp 0x5aec7d
push 0x67fbb4
lea ecx, [ebp - 0xdc]
call fcn.0040aa60
mov byte [ebp - 4], 0x17
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x174]
call fcn.004077d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xdc]
call fcn.00405700
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x178]
call fcn.00445070
lea ecx, [ebp - 0x156c]
push ecx
sub esp, 0x10
mov ecx, esp
mov ebx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 8], ebx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x10]
call edx
mov bl, 0x11
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x178]
call fcn.0043ea60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x18]
call fcn.004014a0
jmp 0x5ae881
lea ecx, [ebp - 0x294]
call fcn.005ab530
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x5aeceb
lea eax, [ebp - 0x4c]
push eax
call fcn.0061aeeb
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.005fc369
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0045f400
lea ecx, [edi + 0x28]
call fcn.005b2bb0
lea ecx, [edi + 0x2c]
call fcn.005b2bb0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x156c]
call fcn.005a9560
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x294]
call fcn.005ab820
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x554]
call fcn.005ab820
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0045f400
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00405700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00438370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.005b2cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405700
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [edi + 4]
call fcn.005ae210
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x294]
call fcn.005ab820
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x554]
call fcn.005ab820
mov dword [ebp - 4], 6
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.005fc369
add esp, 8
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x5aee23
push ebx
lea ecx, [ebp - 0x1c]
call fcn.005fb94a
mov byte [ebp - 4], 0x19
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x5aedfe
cmp eax, 0xffffffff
jae 0x5aedfe
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
and esi, edi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.005fb972
cmp esi, ebx
je 0x5aee23
mov eax, dword [esi]
push 1
mov ecx, esi
mov edx, dword [eax]
call edx
mov dword [ebp - 0xbc], ebx
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov byte [ebp - 4], 0x1a
mov esi, 8
mov eax, esi
mov word [ebp - 0x5c], ax
push 0x66eba8
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call edi
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x5aeeac
push 0x8007000e
call fcn.0060f000
mov edi, dword [ebp - 0x20]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x5aee8b
lea esp, [esp]
mov eax, dword [esi + 0x34]
lea ecx, [esi + 0x30]
mov edx, dword [ecx]
push eax
push edx
lea edx, [ebp - 0x14]
push edx
call fcn.005abf10
add esi, 0x48
cmp esi, dword [edi + 8]
jne 0x5aee70
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 4]
call fcn.005adde0
mov dword [ebp - 4], 6
mov eax, 0x5aedc8
ret
mov byte [ebp - 4], 0x1b
push ebx
push 0x66eba8
mov ecx, dword [ebp + 0x18]
push ecx
push ebx
lea ecx, [ebp + 8]
call fcn.00438610
test eax, eax
jne 0x5aef91
mov edx, dword [ebp + 0x24]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.005bc840
mov ecx, eax
call fcn.005bce40
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0x14], esi
jb 0x5aeeec
mov esi, dword [eax]
jmp 0x5aeeee
mov esi, eax
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x5aef02
push eax
call fcn.0060f000
mov edx, 8
mov word [ebp - 0x5c], dx
cmp esi, ebx
jne 0x5aef7d
mov dword [ebp - 0x54], ebx
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x64], 8
jb 0x5aef28
mov eax, dword [ebp - 0x78]
push eax
call fcn.0060faf6
add esp, 4
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
xor ecx, ecx
mov word [ebp - 0x78], cx
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x1e
push 0x17
push ebx
push 0x66ec28
lea ecx, [ebp - 0x1c]
call fcn.00404c50
cmp eax, ebx
jge 0x5aefdd
push str.pxmlDOM.CreateInstance____uuidof__MSXML2::DOMDocument30__
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040de50
push 0x6ba4dc
lea ecx, [ebp - 0xf0]
push ecx
call fcn.0060fb01
push esi
call edi
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x5aef12
push 0x8007000e
call fcn.0060f000
cmp dword [ebp + 0x1c], esi
mov esi, dword [ebp + 8]
jae 0x5aef9c
lea esi, [ebp + 8]
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x5aefb0
push eax
call fcn.0060f000
mov eax, 8
mov word [ebp - 0x5c], ax
cmp esi, ebx
jne 0x5aefc5
mov dword [ebp - 0x54], ebx
jmp 0x5aef38
push esi
call edi
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x5aef38
push 0x8007000e
call fcn.0060f000
mov edx, 0xb
mov word [ebp - 0x9c], dx
or eax, 0xffffffff
mov word [ebp - 0x94], ax
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
jne 0x5af008
push 0x80004003
call fcn.0060f000
lea edx, [ebp - 0x5c]
push edx
call fcn.004ffc90
movzx eax, ax
push eax
lea ecx, [ebp - 0x9c]
call fcn.00501610
lea ecx, [ebp - 0x9c]
call fcn.00501380
test al, al
jne 0x5af046
mov dword [ebp - 0x8c], ebx
push 0x6bf548
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0060fb01
mov dword [ebp + 0x24], ebx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x5af05e
push 0x80004003
call fcn.0060f000
mov edi, eax
mov esi, dword [eax]
lea ecx, [ebp + 0x24]
call fcn.00501bf0
push eax
push edi
mov edx, dword [esi + 0x30]
call edx
cmp eax, ebx
jge 0x5af097
push str.pxmlDOM__get_childNodes_pNodes_
push eax
lea ecx, [ebp - 0x100]
call fcn.0040de50
push 0x6ba4dc
lea eax, [ebp - 0x100]
push eax
call fcn.0060fb01
xor ebx, ebx
mov dword [ebp - 0x30], ebx
lea esp, [esp]
mov ecx, dword [ebp + 0x24]
xor esi, esi
cmp ecx, esi
jne 0x5af0b3
push 0x80004003
call fcn.0060f000
call fcn.004ffc50
cmp ebx, eax
jge 0x5af3d8
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0x22
mov eax, dword [ebp + 0x24]
cmp eax, esi
jne 0x5af0df
push 0x80004003
call fcn.0060f000
mov edi, eax
mov esi, dword [eax]
lea ecx, [ebp - 0x18]
call fcn.00501bf0
push eax
push ebx
push edi
mov ecx, dword [esi + 0x1c]
call ecx
test eax, eax
jns 0x5af119
push str.pNodes__get_item_i__pRoot_
push eax
lea ecx, [ebp - 0x110]
call fcn.0040de50
push 0x6ba4dc
lea edx, [ebp - 0x110]
push edx
call fcn.0060fb01
mov edi, dword [ebp - 0x18]
test edi, edi
jne 0x5af12a
push 0x80004003
call fcn.0060f000
push 0
lea ecx, [ebp - 0x2c]
call fcn.00506ee0
mov eax, dword [edi]
mov esi, dword [ebp - 0x2c]
push esi
push edi
mov ecx, dword [eax + 0x1c]
call ecx
test eax, eax
jns 0x5af166
push str.pRoot__get_nodeName_name.GetAddress___
push eax
lea ecx, [ebp - 0x188]
call fcn.0040de50
push 0x6ba4dc
lea edx, [ebp - 0x188]
push edx
call fcn.0060fb01
push str.StaffcopAgents
lea ecx, [ebp - 0x14]
call fcn.00404700
mov byte [ebp - 4], 0x23
mov ecx, dword [eax]
cmp esi, ecx
jne 0x5af181
xor eax, eax
jmp 0x5af1cd
test esi, esi
jne 0x5af1a5
test ecx, ecx
je 0x5af19a
mov eax, ecx
cmp dword [eax], esi
je 0x5af19a
mov eax, dword [eax]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x5af19c
xor eax, eax
test eax, eax
je 0x5af1cd
or eax, 0xffffffff
jmp 0x5af1cd
test ecx, ecx
jne 0x5af1c5
cmp dword [esi], ecx
je 0x5af1b8
mov ecx, dword [esi]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x5af1ba
xor eax, eax
test eax, eax
je 0x5af1cd
mov eax, 1
jmp 0x5af1cd
push ecx
mov ecx, esi
call fcn.004ffb50
test eax, eax
sete bl
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x14]
call fcn.00407570
test bl, bl
je 0x5af519
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xac]
push ecx
push str.Modified
mov edx, dword [ebp - 0x18]
push edx
call fcn.005bed70
add esp, 0xc
test al, al
je 0x5af287
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x14]
call fcn.00506fa0
mov bl, 0x25
mov byte [ebp - 4], bl
cmp dword [eax], 0
je 0x5af232
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x5af234
xor eax, eax
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040aa60
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.004f91d0
add esp, 8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xdc]
call fcn.00405700
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x14]
call fcn.00407570
jmp 0x5af298
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x5af2a9
push 0x80004003
call fcn.0060f000
mov edi, eax
mov esi, dword [eax]
lea ecx, [ebp + 0x24]
call fcn.00501bf0
push eax
push edi
mov edx, dword [esi + 0x30]
call edx
test eax, eax
jns 0x5af2e2
push str.pRoot__get_childNodes_pNodes_
push eax
lea ecx, [ebp - 0x130]
call fcn.0040de50
push 0x6ba4dc
lea eax, [ebp - 0x130]
push eax
call fcn.0060fb01
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
jne 0x5af2fb
push 0x80004003
call fcn.0060f000
call fcn.004ffc50
cmp ebx, eax
jge 0x5af3a8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x27
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x5af324
push 0x80004003
call fcn.0060f000
mov edi, eax
mov esi, dword [eax]
lea ecx, [ebp - 0x14]
call fcn.00501bf0
push eax
push ebx
push edi
mov ecx, dword [esi + 0x1c]
call ecx
test eax, eax
jns 0x5af35e
push str.pNodes__get_item_j__pGrpNode_
push eax
lea ecx, [ebp - 0x120]
call fcn.0040de50
push 0x6ba4dc
lea edx, [ebp - 0x120]
push edx
call fcn.0060fb01
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x178]
call fcn.005b19b0
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x178]
call fcn.005b1a20
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x178]
call fcn.0043ea60
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5af3a2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
inc ebx
jmp 0x5af2e4
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xac]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5af3cc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x2c]
call fcn.00407570
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x5af3eb
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5af40f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 4], 0x1b
mov esi, dword [ebp - 0x20]
lea ecx, [esi + 0x28]
call fcn.005b2bb0
lea ecx, [esi + 0x2c]
call fcn.005b2bb0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 6
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x28]
xor ebx, ebx
cmp edi, ebx
je 0x5af490
push ebx
lea ecx, [ebp + 0x24]
call fcn.005fb94a
mov byte [ebp - 4], 0x33
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x5af46b
cmp eax, 0xffffffff
jae 0x5af46b
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
and esi, edi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x24]
call fcn.005fb972
cmp esi, ebx
je 0x5af490
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 2
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x5af4aa
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0060faf6
add esp, 4
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
xor edx, edx
mov word [ebp - 0x4c], dx
mov byte [ebp - 4], 1
mov dword [ebp - 0x84], vtable.CLockMgr_class_CMutexWrapper_.0
cmp dword [ebp - 0x7c], ebx
je 0x5af4d6
mov ecx, dword [ebp - 0x80]
call fcn.005b2bb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.005b2cc0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], edi
jb 0x5af4fa
mov eax, dword [ebp + 8]
push eax
call fcn.0060faf6
add esp, 4
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
xor ecx, ecx
mov word [ebp + 8], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5af52c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x2c]
call fcn.00407570
inc dword [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
jmp 0x5af0a0