Function at 0x4f7540
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x153c
call fcn.00555ae0
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.004fbd90
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.004fbd70
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.00555020
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
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.004f3710
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0054031f
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x4f7667
mov edi, eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0053f8da
mov byte [ebp - 4], bl
mov eax, dword [edi + 4]
cmp eax, esi
jbe 0x4f763f
cmp eax, 0xffffffff
jae 0x4f763f
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.0053f902
and esi, edi
je 0x4f7662
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx]
call eax
mov edi, dword [ebp - 0x20]
xor esi, esi
lea ecx, [ebp - 0x78]
push ecx
call fcn.005096c0
mov ecx, eax
call fcn.00509c20
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x4c]
call fcn.0047fbb0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x64], 8
jb 0x4f769a
mov edx, dword [ebp - 0x78]
push edx
call fcn.00553d26
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.0040a630
mov byte [ebp - 4], 9
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x4f76c5
lea eax, [ebp - 0x4c]
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0x554]
call fcn.004f4b90
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x4e8], esi
je 0x4f77cf
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.004f42e0
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 0x4f77c3
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040bfb0
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 0x4f77b9
cmp eax, edx
jg 0x4f77b9
cmp word [ecx + eax*2], 0x40
jne 0x4f7776
mov byte [ebp - 0x14], 1
push 1
push eax
lea ecx, [ebp - 0x18]
call fcn.00418a10
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0040b4a0
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.00405c10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.00404d60
jmp 0x4f7700
push 0x80070057
call fcn.00401150
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
call fcn.00405c10
lea ecx, [ebp - 0x554]
call fcn.004f4a00
mov ebx, 8
cmp dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x4c]
jae 0x4f77ea
lea eax, [ebp - 0x4c]
push eax
call fcn.0055c254
add esp, 4
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.005096c0
mov ecx, eax
call fcn.005099a0
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x4c]
call fcn.0047fbb0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
call fcn.00405c10
push 0x5a6d94
lea ecx, [ebp - 0x4c]
call fcn.004f49d0
cmp dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x4c]
jae 0x4f783e
lea eax, [ebp - 0x4c]
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0x294]
call fcn.004f4b90
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x228], esi
je 0x4f7d7b
lea ecx, [ebp - 0x154c]
call fcn.004f13a0
mov byte [ebp - 4], 0x10
mov bl, 0x11
push esi
push 0x104
lea edx, [ebp - 0x49c]
push edx
lea ecx, [ebp - 0x294]
call fcn.004f42e0
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 0x4f7cc4
push 0x59c2bc
lea ecx, [ebp - 0x18]
call fcn.0040bfb0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x78]
call fcn.0040b4a0
mov byte [ebp - 4], 0x12
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x1544]
call fcn.00407c40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x78]
call fcn.00405c10
push esi
push 0x104
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x294]
call fcn.004f42e0
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 0x4f7952
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.0040b4a0
mov byte [ebp - 4], 0x13
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x1c0]
push edx
lea ecx, [ebp - 0x1528]
call fcn.00407c40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c0]
call fcn.00405c10
push esi
push 0x104
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x294]
call fcn.004f42e0
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 0x4f79bd
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x1dc]
call fcn.0040b4a0
mov byte [ebp - 4], 0x14
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x150c]
call fcn.00407c40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1dc]
call fcn.00405c10
push esi
push 0x104
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x294]
call fcn.004f42e0
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 0x4f7aed
mov ecx, 0x5a0454
lea eax, [ebp - 0x49c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4f7a26
cmp dx, si
je 0x4f7a22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4f7a26
add eax, 4
add ecx, 4
cmp dx, si
jne 0x4f7a00
xor eax, eax
jmp 0x4f7a2b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4f7ac5
mov ecx, 0x5a6d90
lea eax, [ebp - 0x49c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4f7a66
cmp dx, si
je 0x4f7a62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4f7a66
add eax, 4
add ecx, 4
cmp dx, si
jne 0x4f7a40
xor eax, eax
jmp 0x4f7a6b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4f7ac5
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040b5a0
push esi
push 0x104
lea edx, [ebp - 0x49c]
push edx
lea ecx, [ebp - 0x294]
call fcn.004f42e0
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 0x4f7aed
lea ecx, [ebp - 0x14f0]
push ecx
push 0x5a3824
lea edx, [ebp - 0x49c]
push edx
jmp 0x4f7ae5
push 0x59c2bc
lea ecx, [ebp - 0x18]
call fcn.0040b5a0
lea eax, [ebp - 0x14f0]
push eax
push 0x5a3824
lea ecx, [ebp - 0x49c]
push ecx
call fcn.00558d8e
add esp, 0xc
push esi
push 0x104
lea edx, [ebp - 0x49c]
push edx
lea ecx, [ebp - 0x294]
call fcn.004f42e0
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 0x4f7b3a
lea ecx, [ebp - 0x14ef]
push ecx
push str._I64d
lea edx, [ebp - 0x49c]
push edx
call fcn.00558d8e
add esp, 0xc
push esi
push 0x104
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x294]
call fcn.004f42e0
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 0x4f7baa
lea ecx, [ebp - 0x1478]
push ecx
lea edx, [ebp - 0x147a]
push edx
lea eax, [ebp - 0x147c]
push eax
lea ecx, [ebp - 0x1484]
push ecx
lea edx, [ebp - 0x1482]
push edx
lea eax, [ebp - 0x147e]
push eax
push 0x5a13b0
lea ecx, [ebp - 0x49c]
push ecx
call fcn.00558d8e
add esp, 0x20
xor edx, edx
mov word [ebp - 0x1476], dx
mov dword [ebp - 0x154c], esi
mov dword [ebp - 0x145c], esi
call fcn.00515030
mov dword [ebp - 0x1474], eax
lea ecx, [ebp - 0x178]
call fcn.004faa70
mov byte [ebp - 4], 0x15
push 0x59c2bc
lea eax, [ebp - 0x18]
push eax
call fcn.00416b60
add esp, 8
test al, al
je 0x4f7c2e
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.0040b4a0
mov byte [ebp - 4], 0x16
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x1a4]
push edx
lea ecx, [ebp - 0x174]
call fcn.00407c40
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1a4]
call fcn.00405c10
lea eax, [ebp - 0xac]
push eax
jmp 0x4f7c6d
push 0x5a6d7c
lea ecx, [ebp - 0xdc]
call fcn.0040b4a0
mov byte [ebp - 4], 0x17
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x174]
call fcn.00407c40
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xdc]
call fcn.00405c10
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x178]
call fcn.00416380
lea ecx, [ebp - 0x154c]
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.00415790
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x18]
call fcn.00404d60
jmp 0x4f7871
lea ecx, [ebp - 0x294]
call fcn.004f4a00
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x4f7cdb
lea eax, [ebp - 0x4c]
push eax
call fcn.0055c254
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0054031f
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00475510
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x154c]
call fcn.004f1470
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x294]
call fcn.004f4de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x554]
call fcn.004f4de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00475510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00405c10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.004120e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004fbd80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405c10
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.004f7210
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x294]
call fcn.004f4de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x554]
call fcn.004f4de0
mov dword [ebp - 4], 6
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0054031f
add esp, 8
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x4f7e03
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0053f8da
mov byte [ebp - 4], 0x19
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x4f7dde
cmp eax, 0xffffffff
jae 0x4f7dde
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.0053f902
cmp esi, ebx
je 0x4f7e03
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 0x59c2bc
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call edi
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x4f7e8c
push 0x8007000e
call fcn.00553350
mov edi, dword [ebp - 0x20]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x4f7e6b
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.004f4f10
add esi, 0x48
cmp esi, dword [edi + 8]
jne 0x4f7e50
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.004f6d90
mov dword [ebp - 4], 6
mov eax, 0x4f7da8
ret
mov byte [ebp - 4], 0x1b
push ebx
push 0x59c2bc
mov ecx, dword [ebp + 0x18]
push ecx
push ebx
lea ecx, [ebp + 8]
call fcn.00412190
test eax, eax
jne 0x4f7f71
mov edx, dword [ebp + 0x24]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.005096c0
mov ecx, eax
call fcn.00509cc0
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0x14], esi
jb 0x4f7ecc
mov esi, dword [eax]
jmp 0x4f7ece
mov esi, eax
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x4f7ee2
push eax
call fcn.00553350
mov edx, 8
mov word [ebp - 0x5c], dx
cmp esi, ebx
jne 0x4f7f5d
mov dword [ebp - 0x54], ebx
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x64], 8
jb 0x4f7f08
mov eax, dword [ebp - 0x78]
push eax
call fcn.00553d26
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 0x5a6d6c
lea ecx, [ebp - 0x1c]
call fcn.004f2e30
cmp eax, ebx
jge 0x4f7fbd
push str.pxmlDOM.CreateInstance____uuidof__MSXML2::DOMDocument30__
push eax
lea ecx, [ebp - 0xf0]
call fcn.00434a80
push 0x5cc0a0
lea ecx, [ebp - 0xf0]
push ecx
call fcn.00554cbc
push esi
call edi
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x4f7ef2
push 0x8007000e
call fcn.00553350
cmp dword [ebp + 0x1c], esi
mov esi, dword [ebp + 8]
jae 0x4f7f7c
lea esi, [ebp + 8]
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x4f7f90
push eax
call fcn.00553350
mov eax, 8
mov word [ebp - 0x5c], ax
cmp esi, ebx
jne 0x4f7fa5
mov dword [ebp - 0x54], ebx
jmp 0x4f7f18
push esi
call edi
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x4f7f18
push 0x8007000e
call fcn.00553350
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 0x4f7fe8
push 0x80004003
call fcn.00553350
lea edx, [ebp - 0x5c]
push edx
call fcn.004f26e0
movzx eax, ax
push eax
lea ecx, [ebp - 0x9c]
call fcn.004f2c50
lea ecx, [ebp - 0x9c]
call fcn.004f10a0
test al, al
jne 0x4f8026
mov dword [ebp - 0x8c], ebx
push 0x5ca294
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00554cbc
mov dword [ebp + 0x24], ebx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4f803e
push 0x80004003
call fcn.00553350
mov edi, eax
mov esi, dword [eax]
lea ecx, [ebp + 0x24]
call fcn.004f27b0
push eax
push edi
mov edx, dword [esi + 0x30]
call edx
cmp eax, ebx
jge 0x4f8077
push str.pxmlDOM__get_childNodes_pNodes_
push eax
lea ecx, [ebp - 0x100]
call fcn.00434a80
push 0x5cc0a0
lea eax, [ebp - 0x100]
push eax
call fcn.00554cbc
xor ebx, ebx
mov dword [ebp - 0x30], ebx
lea esp, [esp]
mov ecx, dword [ebp + 0x24]
xor esi, esi
cmp ecx, esi
jne 0x4f8093
push 0x80004003
call fcn.00553350
call fcn.004f26a0
cmp ebx, eax
jge 0x4f83b8
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 0x4f80bf
push 0x80004003
call fcn.00553350
mov edi, eax
mov esi, dword [eax]
lea ecx, [ebp - 0x18]
call fcn.004f27b0
push eax
push ebx
push edi
mov ecx, dword [esi + 0x1c]
call ecx
test eax, eax
jns 0x4f80f9
push str.pNodes__get_item_i__pRoot_
push eax
lea ecx, [ebp - 0x110]
call fcn.00434a80
push 0x5cc0a0
lea edx, [ebp - 0x110]
push edx
call fcn.00554cbc
mov edi, dword [ebp - 0x18]
test edi, edi
jne 0x4f810a
push 0x80004003
call fcn.00553350
push 0
lea ecx, [ebp - 0x2c]
call fcn.004f1610
mov eax, dword [edi]
mov esi, dword [ebp - 0x2c]
push esi
push edi
mov ecx, dword [eax + 0x1c]
call ecx
test eax, eax
jns 0x4f8146
push str.pRoot__get_nodeName_name.GetAddress___
push eax
lea ecx, [ebp - 0x188]
call fcn.00434a80
push 0x5cc0a0
lea edx, [ebp - 0x188]
push edx
call fcn.00554cbc
push str.StaffcopAgents
lea ecx, [ebp - 0x14]
call fcn.00456fa0
mov byte [ebp - 4], 0x23
mov ecx, dword [eax]
cmp esi, ecx
jne 0x4f8161
xor eax, eax
jmp 0x4f81ad
test esi, esi
jne 0x4f8185
test ecx, ecx
je 0x4f817a
mov eax, ecx
cmp dword [eax], esi
je 0x4f817a
mov eax, dword [eax]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x4f817c
xor eax, eax
test eax, eax
je 0x4f81ad
or eax, 0xffffffff
jmp 0x4f81ad
test ecx, ecx
jne 0x4f81a5
cmp dword [esi], ecx
je 0x4f8198
mov ecx, dword [esi]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x4f819a
xor eax, eax
test eax, eax
je 0x4f81ad
mov eax, 1
jmp 0x4f81ad
push ecx
mov ecx, esi
call fcn.004f0d40
test eax, eax
sete bl
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x14]
call fcn.004580f0
test bl, bl
je 0x4f84e6
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.005125e0
add esp, 0xc
test al, al
je 0x4f8267
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x14]
call fcn.004f16d0
mov bl, 0x25
mov byte [ebp - 4], bl
cmp dword [eax], 0
je 0x4f8212
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x4f8214
xor eax, eax
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040b4a0
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0046d430
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.00405c10
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x14]
call fcn.004580f0
jmp 0x4f8278
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 0x4f8289
push 0x80004003
call fcn.00553350
mov edi, eax
mov esi, dword [eax]
lea ecx, [ebp + 0x24]
call fcn.004f27b0
push eax
push edi
mov edx, dword [esi + 0x30]
call edx
test eax, eax
jns 0x4f82c2
push str.pRoot__get_childNodes_pNodes_
push eax
lea ecx, [ebp - 0x130]
call fcn.00434a80
push 0x5cc0a0
lea eax, [ebp - 0x130]
push eax
call fcn.00554cbc
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
jne 0x4f82db
push 0x80004003
call fcn.00553350
call fcn.004f26a0
cmp ebx, eax
jge 0x4f8388
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x27
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x4f8304
push 0x80004003
call fcn.00553350
mov edi, eax
mov esi, dword [eax]
lea ecx, [ebp - 0x14]
call fcn.004f27b0
push eax
push ebx
push edi
mov ecx, dword [esi + 0x1c]
call ecx
test eax, eax
jns 0x4f833e
push str.pNodes__get_item_j__pGrpNode_
push eax
lea ecx, [ebp - 0x120]
call fcn.00434a80
push 0x5cc0a0
lea edx, [ebp - 0x120]
push edx
call fcn.00554cbc
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x178]
call fcn.004faae0
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x178]
call fcn.004fab50
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x178]
call fcn.00415790
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4f8382
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
inc ebx
jmp 0x4f82c4
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 0x4f83ac
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x2c]
call fcn.004580f0
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4f83cb
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 0x4f83ef
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 4], 0x1b
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 0x4f845d
push ebx
lea ecx, [ebp + 0x24]
call fcn.0053f8da
mov byte [ebp - 4], 0x33
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x4f8438
cmp eax, 0xffffffff
jae 0x4f8438
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.0053f902
cmp esi, ebx
je 0x4f845d
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 0x4f8477
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00553d26
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 0x4f84a3
mov ecx, dword [ebp - 0x80]
call fcn.004fbc70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004fbd80
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], edi
jb 0x4f84c7
mov eax, dword [ebp + 8]
push eax
call fcn.00553d26
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 0x4f84f9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x2c]
call fcn.004580f0
inc dword [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
jmp 0x4f8080