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

Disassembly:
push 0xffffffffffffffff
push 0x4f725b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x49c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2a4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2a4]
push 0x104
push eax
push 0x9f1d
mov dword [esp + 0x34], ebp
call fcn.00432b50
add esp, 0xc
lea ecx, [esp + 0xd0]
call fcn.004adb50
mov dword [esp + 0xcc], 0x4fc27c
mov ecx, dword [esp + 0x4bc]
mov ebx, dword [esp + 0x4c0]
xor esi, esi
lea eax, [ecx + 4]
mov dword [esp + 0x4b4], esi
cmp eax, ebx
ja 0x4ad8b4
mov ecx, dword [ecx]
mov dword [esp + 0x4bc], eax
mov dword [esp + 0x15c], ecx
lea ecx, [esp + 0x160]
call fcn.004bdd50
mov eax, dword [esp + 0x15c]
xor edi, edi
cmp eax, esi
jbe 0x4ad43e
lea ecx, [esp + 0x1a0]
call fcn.004bce80
mov eax, dword [esp + 0x168]
lea edx, [esp + 0x1a0]
push edx
push eax
lea ecx, [esp + 0x168]
mov byte [esp + 0x4bc], 1
call fcn.004be350
mov ecx, dword [esp + 0x164]
lea eax, [esp + 0x4bc]
add ecx, esi
push ebx
push eax
mov edx, dword [ecx]
call dword [edx]
test al, al
mov byte [esp + 0x4b4], 0
lea ecx, [esp + 0x1a0]
je 0x4ad490
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x1a4]
and ecx, edx
call fcn.004bd990
mov eax, dword [esp + 0x15c]
inc edi
add esi, 0x104
cmp edi, eax
jb 0x4ad3c1
mov ecx, dword [ebp + 0xb0]
mov dword [esp + 0x48], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x20], eax
jne 0x4ad8b4
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jge 0x4ad8b4
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x24]
lea edi, [eax + edx]
mov dword [esp + 0x38], edi
mov eax, dword [edi + 0xf8]
test eax, eax
jne 0x4ad4a7
xor ebp, ebp
jmp 0x4ad4c2
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x1a4]
and ecx, eax
call fcn.004bd990
jmp 0x4ad8b4
mov ecx, dword [edi + 0xfc]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ebp, edx
mov esi, dword [edi + 8]
test esi, esi
jne 0x4ad4ce
mov esi, 0x4fb788
mov edx, dword [0x50d0e0]
test esi, esi
mov dword [esp + 0x1c], edx
je 0x4ad516
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x4ad512
push edi
lea ecx, [esp + 0x20]
call fcn.00402190
test eax, eax
je 0x4ad512
mov eax, dword [esp + 0x1c]
inc edi
push edi
push esi
push eax
call fcn.00409840
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00407e30
mov edi, dword [esp + 0x38]
mov edi, dword [edi + 0x78]
mov byte [esp + 0x4b4], 2
test edi, edi
mov esi, 0x4fb788
je 0x4ad52c
mov esi, edi
mov ecx, dword [0x50d0e0]
test esi, esi
mov dword [esp + 0x18], ecx
je 0x4ad570
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x4ad570
push edi
lea ecx, [esp + 0x1c]
call fcn.00402190
test eax, eax
je 0x4ad570
mov edx, dword [esp + 0x18]
inc edi
push edi
push esi
push edx
call fcn.00409840
add esp, 0xc
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
call fcn.00407e30
lea ecx, [esp + 0x14]
call fcn.00427790
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
mov esi, dword [eax + 0xd0]
call fcn.00427790
xor edi, edi
push str.items
lea ecx, [esp + 0xa0]
mov word [esp + 0xa0], di
call fcn.00406940
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x9c]
push ecx
push edx
push str.createElement
lea ecx, [esi + 4]
mov byte [esp + 0x4c0], 6
call fcn.004080f0
mov dword [esi + 8], eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x4b8], 5
call ebx
cmp dword [esi + 8], edi
jl 0x4ad5f5
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4ad5f5
push eax
lea ecx, [esp + 0x18]
call fcn.004080d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4b4], 4
call fcn.0042ca10
mov word [esp + 0x4c], di
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x4b4], 7
push ecx
lea ecx, [esp + 0xc0]
call fcn.0046d400
mov esi, dword [esp + 0x4c4]
lea edx, [esp + 0x4c]
push edx
push eax
push str.appendChild
lea ecx, [esi + 4]
mov byte [esp + 0x4c0], 8
call fcn.00406990
mov dword [esi], eax
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x4b8], 7
call ebx
cmp dword [esi], edi
jl 0x4ad688
cmp word [esp + 0x4c], 9
jne 0x4ad688
cmp dword [esp + 0x54], edi
je 0x4ad688
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x54]
push eax
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x4c]
push ecx
call ebx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x6c]
push edx
mov word [esp + 0x70], di
call fcn.00406940
push str.title
lea ecx, [esp + 0xb0]
mov word [esp + 0xb0], di
call fcn.00406940
lea eax, [esp + 0x6c]
push edi
lea ecx, [esp + 0xb0]
push eax
push ecx
push str.setAttribute
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c4], 0xa
call fcn.00406a10
lea edx, [esp + 0xac]
mov dword [esp + 0x10], eax
push edx
call ebx
lea eax, [esp + 0x6c]
push eax
call ebx
mov ecx, dword [esp + 0x18]
mov word [esp + 0x7c], di
push ecx
lea ecx, [esp + 0x80]
call fcn.00406940
push str.updatetime
lea ecx, [esp + 0x90]
mov word [esp + 0x90], di
call fcn.00406940
lea edx, [esp + 0x7c]
push edi
lea eax, [esp + 0x90]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c4], 0xc
call fcn.00406a10
lea ecx, [esp + 0x8c]
mov dword [esp + 0x10], eax
push ecx
call ebx
lea edx, [esp + 0x7c]
mov byte [esp + 0x4b4], 4
push edx
call ebx
push ebp
push str.ncount
lea ecx, [esp + 0x18]
call fcn.00408550
xor esi, esi
cmp ebp, edi
jle 0x4ad860
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xf8]
lea eax, [edi + eax + 0x14]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4ad797
mov eax, 0x4fb788
push eax
lea ecx, [esp + 0x48]
call fcn.0040b220
lea ecx, [esp + 0x40]
call fcn.00427790
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push str.item
mov ecx, dword [edx + 0xd0]
mov byte [esp + 0x4bc], 0xe
call fcn.0046a450
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
call fcn.00409c30
mov ecx, dword [0x50d0e0]
mov dword [esp + 0x34], ecx
inc esi
lea edx, [esp + 0x2a4]
push esi
lea eax, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x4c0], 0xf
call fcn.004074f0
mov ecx, dword [esp + 0x40]
add esp, 0xc
push ecx
push str.title
lea ecx, [esp + 0x44]
call fcn.00408380
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push edx
push 0x51728c
call fcn.00408380
lea ecx, [esp + 0x34]
call fcn.00402160
lea ecx, [esp + 0x40]
mov byte [esp + 0x4b4], 0xd
call fcn.0042ca10
lea ecx, [esp + 0x44]
mov byte [esp + 0x4b4], 4
call fcn.00402160
add edi, 0x24
cmp esi, ebp
jl 0x4ad77d
xor edi, edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x4b4], 3
call fcn.0042ca10
lea ecx, [esp + 0x18]
call fcn.00402160
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b4], 0
call fcn.00402160
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
inc esi
mov ecx, dword [eax + 0xb0]
add edx, 0x104
cmp ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
je 0x4ad460
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x50d0e0]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x66]
mov edx, dword [esp + 0x64]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x66]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x66]
push edx
mov edx, dword [esp + 0x68]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x48]
push str._04d__02d__02d__02d:_02d:_02d
push eax
mov byte [esp + 0x4d4], 0x10
call fcn.004074f0
mov ecx, dword [esp + 0x50]
add esp, 0x20
push ecx
mov ecx, dword [esp + 0x4c8]
push str.updatetime
call fcn.00408380
lea ecx, [esp + 0x30]
call fcn.00402160
lea ecx, [esp + 0xcc]
lea edx, [esp + 0xd0]
neg ecx
sbb ecx, ecx
mov dword [esp + 0x4b4], 0xffffffff
and ecx, edx
call fcn.004adcb0
mov ecx, dword [esp + 0x4ac]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x4a8
ret 0xc