Function at 0x405950
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4390b8
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x44a680]
xor eax, esp
mov dword [esp + 0x850], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a680]
xor eax, esp
push eax
lea eax, [esp + 0x868]
mov dword fs:[0], eax
mov eax, dword [0x44ba54]
xor ebx, ebx
mov dword [esp + 0x40], ebx
cmp eax, ebx
jne 0x4059a1
xor eax, eax
jmp 0x405ee5
mov esi, eax
call fcn.004078e4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4059bd
push 0x80004005
call fcn.00401fa0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x870], ebx
call fcn.004078e4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4059ee
push 0x80004005
call fcn.00401fa0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x870], 1
call fcn.004078e4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x405a20
push 0x80004005
call fcn.00401fa0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x870], 2
call fcn.004078e4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x405a52
push 0x80004005
call fcn.00401fa0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
mov byte [esp + 0x870], 3
call fcn.004078e4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x405a84
push 0x80004005
call fcn.00401fa0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x870], 4
call fcn.004078e4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x405ab6
push 0x80004005
call fcn.00401fa0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x870], 5
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], ebx
call fcn.004078e4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x405af0
push 0x80004005
call fcn.00401fa0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0x870], 6
lea edx, [esp + 0x24]
mov dword [esp + 0x2c], ebx
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
push edx
push esi
mov dword [esp + 0x2c], ebx
call eax
cmp eax, ebx
jl 0x405dc7
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
xor eax, eax
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x34], eax
jle 0x405dbb
inc dword [esp + 0x40]
push 3
push eax
lea ecx, [esp + 0x5c]
call fcn.004153dc
mov byte [esp + 0x870], 7
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov ebp, dword [ecx]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x58]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 0x2c]
push ecx
call eax
xor ebx, ebx
cmp eax, ebx
jl 0x405d95
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x405d95
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x43f54c
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x405d89
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x405d89
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
test eax, eax
jl 0x405c0c
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004041f0
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
jmp 0x405c12
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0xa4]
call eax
test eax, eax
jl 0x405c3f
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
call fcn.004041f0
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jl 0x405c69
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.004041f0
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
jl 0x405c93
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004041f0
mov edx, dword [esp + 0x18]
push edx
call esi
push 0x440ab8
lea ecx, [esp + 0x2c]
call fcn.004077c0
push 0x440ab8
lea ecx, [esp + 0x34]
call fcn.004077c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x43f55c
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x405d2c
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x405d2c
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x405cf6
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004041f0
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x405d20
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.004041f0
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov eax, dword [eax - 0xc]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
lea eax, [esp + 0x88]
push str.________Lay_duoc__d._d_Tag___s__title___s__class___s__ID___s__lenSrc__d_Name___s__Value___s_______
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x2c
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x874], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x34]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
jl 0x405b4a
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x870], 5
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405def
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x870], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x870], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x870], 2
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x870], 1
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x870], bl
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405eb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x870], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ee1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x868]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x850]
xor ecx, esp
call fcn.00424450
add esp, 0x860
ret