Function at 0x404f60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a030
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x425010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x23c], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x25c], eax
xor eax, eax
mov dword [ebp - 0x250], eax
test esi, esi
jne 0x404fd1
xor edi, edi
jmp 0x4054b1
mov dword [ebp - 0x284], eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004054f0
test eax, eax
je 0x4051dc
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4051cb
mov dword [ebp - 0x240], 0
lea edx, [ebp - 0x240]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x270]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x270], xmm0
call esi
lea eax, [ebp - 0x220]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x220], xmm0
call esi
mov eax, 3
xor ecx, ecx
mov word [ebp - 0x270], ax
mov dword [ebp - 0x230], ecx
xor esi, esi
mov byte [ebp - 4], 5
mov dword [ebp - 0x24c], esi
cmp dword [ebp - 0x240], esi
jle 0x40519f
jmp 0x405090
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 0x268], esi
lea edx, [ebp - 0x270]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x40516c
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x230]
push edx
push str.D_3
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x40516c
xor esi, esi
mov dword [ebp - 0x248], esi
push ecx
mov ecx, esp
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x230]
mov dword [ecx], eax
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x4050fe
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x244]
push eax
call fcn.004026e0
mov edi, dword [eax]
test edi, edi
je 0x40511e
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov esi, edi
mov dword [ebp - 0x248], esi
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x40512e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x234]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x405143
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edi, dword [ebp - 0x23c]
mov ecx, edi
call fcn.00404f60
mov byte [ebp - 4], 5
test eax, eax
jne 0x40520e
test esi, esi
je 0x405166
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x40518c
mov dword [ebp - 0x230], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x230]
inc esi
mov dword [ebp - 0x24c], esi
cmp esi, dword [ebp - 0x240]
jl 0x405090
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4051ad
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x220]
push eax
call esi
lea eax, [ebp - 0x270]
push eax
call esi
mov eax, dword [ebp - 0x238]
mov byte [ebp - 4], 1
test eax, eax
je 0x4051d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 0x115c]
add edi, 0x115c
test ecx, ecx
je 0x4051fb
mov dword [edi], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x20]
cmp dword [edi], 0
jne 0x405262
xor edi, edi
jmp 0x4054ae
test esi, esi
je 0x405218
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x40522c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x220]
push eax
call esi
lea eax, [ebp - 0x270]
push eax
call esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x405258
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, 1
jmp 0x4054ae
mov eax, 0x16
mov dword [ebp - 0x278], 0
mov word [ebp - 0x280], ax
mov esi, dword [ebp - 0x23c]
mov eax, 8
mov byte [ebp - 4], 7
mov word [ebp - 0x220], ax
mov ecx, dword [esi + 0x1178]
test ecx, ecx
je 0x4052a8
mov dword [esi + 0x1178], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x1164]
add esi, 0x1164
test ecx, ecx
je 0x4052c4
mov dword [esi], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x234]
add eax, 0x18
mov dword [ebp - 0x248], eax
cmp dword [eax + 0x14], 8
jb 0x4052db
mov eax, dword [eax]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [edi]
mov edi, dword [ebp - 0x23c]
movdqu xmm0, xmmword [ebp - 0x280]
add edi, 0x1178
mov dword [ebp - 0x218], eax
mov edx, dword [ecx]
push edi
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x220]
push ecx
movdqu xmmword [eax], xmm0
call dword [edx + 0x2c]
test eax, eax
jne 0x40545e
mov ecx, dword [edi]
test ecx, ecx
jne 0x405334
xor edi, edi
jmp 0x4054a1
mov eax, dword [ecx]
push esi
push 0x41b298
push ecx
call dword [eax]
mov eax, dword [esi]
lea edx, [ebp - 0x244]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
push dword [ebp - 0x244]
lea ecx, [ebp - 0x228]
call fcn.00407a80
mov ecx, eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x234]
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x405376
mov eax, dword [eax]
push edx
push eax
push dword [ecx + 0x10]
push ecx
call fcn.00409610
test eax, eax
mov byte [ebp - 4], 7
sete al
cmp dword [ebp - 0x214], 8
mov byte [ebp - 0x229], al
jb 0x4053ad
push dword [ebp - 0x228]
call fcn.0040bdac
mov al, byte [ebp - 0x229]
add esp, 4
test al, al
je 0x40545e
mov eax, dword [esi]
lea edx, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x405406
push eax
lea ecx, [ebp - 0x228]
call fcn.00407a80
mov edx, dword [ebp - 0x248]
mov ecx, eax
mov dword [ebp - 0x254], 1
call fcn.004093d0
mov byte [ebp - 0x229], 1
test al, al
jne 0x40540d
mov byte [ebp - 0x229], 0
test byte [ebp - 0x254], 1
je 0x405421
lea ecx, [ebp - 0x228]
call fcn.00407b20
cmp byte [ebp - 0x229], 0
je 0x405452
push esi
mov esi, dword [ebp - 0x23c]
lea ecx, [esi + 0x1160]
call fcn.00401270
push edi
lea ecx, [esi + 0x1174]
call fcn.00401270
mov dword [ebp - 0x250], 1
push dword [ebp - 0x234]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x25c]
push str.ms_r_n
push eax
push str.GetElementForId_time_consuming:
push str._s_d_s
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.0040c655
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [ebp - 0x250]
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4054c2
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040bdb1
mov esp, ebp
pop ebp
ret 8