Function at 0x41abb3
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
xor esi, esi
push edi
xor eax, eax
mov dword [ebp - 0x34], esi
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x10], esi
cmp dword [ebp + 8], esi
jne 0x41abe8
xor al, al
jmp 0x41ae9b
lea eax, [ebp - 4]
push eax
push 8
call dword [sym.imp.l_mt5clwtst__GetCurrentProcess]
push eax
call dword [0x430040]
test eax, eax
je 0x41abe1
lea eax, [ebp - 8]
push eax
push esi
push esi
mov esi, dword [0x430064]
push 2
push dword [ebp - 4]
call esi
test eax, eax
jne 0x41ac21
call dword [sym.imp.l_mt5clwtst__GetLastError]
cmp eax, 0x7a
jne 0x41abe1
push ebx
mov edi, 0x4406a8
push edi
push dword [ebp - 8]
call fcn.00422c07
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x41ad0e
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push 2
push dword [ebp - 4]
call esi
test eax, eax
je 0x41ac7f
lea eax, [ebp - 8]
push eax
push 0
push 0
push 1
push dword [ebp - 4]
call esi
test eax, eax
jne 0x41ac6d
call dword [sym.imp.l_mt5clwtst__GetLastError]
cmp eax, 0x7a
jne 0x41ac7f
push edi
push dword [ebp - 8]
call fcn.00422c07
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41ac87
push ebx
call fcn.00422772
jmp 0x41ace1
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
push eax
push 1
push dword [ebp - 4]
call esi
test eax, eax
je 0x41acd2
mov esi, dword [0x430060]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 7
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41acbe
call dword [sym.imp.l_mt5clwtst__GetLastError]
cmp eax, 0x7a
jne 0x41acd2
push edi
push dword [ebp - 8]
call fcn.00422c07
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x41ace4
push ebx
call fcn.00422772
push dword [ebp - 0xc]
call fcn.00422772
pop ecx
pop ecx
jmp 0x41ad0e
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push 7
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41ad1e
push ebx
call fcn.00422772
push dword [ebp - 0xc]
call fcn.00422772
push edi
call fcn.00422772
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.l_mt5clwtst__CloseHandle]
xor al, al
jmp 0x41ae9a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
call dword [0x43005c]
test eax, eax
jne 0x41ad61
mov byte [ebp + 0xb], 0
push ebx
call fcn.00422772
push dword [ebp - 0xc]
call fcn.00422772
push edi
call fcn.00422772
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.l_mt5clwtst__CloseHandle]
mov al, byte [ebp + 0xb]
jmp 0x41ae9a
xor esi, esi
cmp dword [ebp - 0x1c], esi
jne 0x41ad6e
mov byte [ebp + 0xb], 1
jmp 0x41ad39
push 2
push 0xc
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
call dword [0x430058]
test eax, eax
je 0x41ad35
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x34], esi
jbe 0x41ae60
mov edi, dword [0x430050]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [0x430054]
test eax, eax
je 0x41ae4e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41ae4e
cmp byte [eax], 1
jne 0x41ae03
mov ecx, dword [ebp - 0xc]
push dword [ecx]
add eax, 8
push eax
call edi
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x41add5
mov ecx, dword [eax + 4]
or dword [ebp - 0x18], ecx
and dword [ebp + 8], 0
cmp dword [ebx], 0
jbe 0x41ae03
lea esi, [ebx + 4]
push dword [esi]
add eax, 8
push eax
call edi
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x41adf6
mov ecx, dword [eax + 4]
or dword [ebp - 0x18], ecx
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
add esi, 8
cmp ecx, dword [ebx]
jb 0x41ade1
cmp byte [eax], 0
jne 0x41ae4e
mov ecx, dword [ebp - 0xc]
push dword [ecx]
add eax, 8
push eax
call edi
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x41ae20
mov ecx, dword [eax + 4]
or dword [ebp - 0x14], ecx
and dword [ebp + 8], 0
cmp dword [ebx], 0
jbe 0x41ae4e
lea esi, [ebx + 4]
push dword [esi]
add eax, 8
push eax
call edi
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x41ae41
mov ecx, dword [eax + 4]
or dword [ebp - 0x14], ecx
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
add esi, 8
cmp ecx, dword [ebx]
jb 0x41ae2c
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x34]
jb 0x41ad95
mov edi, dword [ebp - 0x28]
push ebx
call fcn.00422772
push dword [ebp - 0xc]
call fcn.00422772
push edi
call fcn.00422772
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.l_mt5clwtst__CloseHandle]
mov ecx, dword [ebp - 0x14]
mov eax, 0x1201b6
and ecx, eax
cmp ecx, eax
jne 0x41ae98
test dword [ebp - 0x18], eax
jne 0x41ae98
xor eax, eax
inc eax
jmp 0x41ae9a
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret