Function at 0x10021a50
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121768
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10182014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x118]
push eax
call fcn.10022970
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10021ad3
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
push edx
call dword [eax + 0x30]
cmp dword [ebp - 0x14], 0
jne 0x10021ad3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xf0
xor eax, edx
sub eax, edx
xor edx, edx
div ecx
mov ecx, dword [ebx + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
call fcn.100247a0
mov ecx, eax
call fcn.10024390
mov ecx, dword [ebx + 4]
mov byte [ebp - 0x19], 1
test ecx, ecx
je 0x10021c5f
xorps xmm0, xmm0
lea edx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x10021c5f
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
sub eax, esi
sbb edx, edi
push 0
push 0xe10
push edx
push eax
call fcn.1011d260
test edx, edx
jl 0x10021c5f
jg 0x10021b42
cmp eax, dword [ebx + 0x120]
jb 0x10021c5f
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10021c5f
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x10021c5f
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x118]
jb 0x10021b81
mov ecx, ebx
call fcn.10022cf0
test al, al
je 0x10021c5f
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [ebx + 0x130]
call edi
test eax, eax
je 0x10021c5f
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10021bed
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x10021bed
mov ecx, ebx
call fcn.10022cf0
test al, al
je 0x10021bc8
mov edx, 1
jmp 0x10021bcc
mov edx, dword [ebp - 0x14]
inc edx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x14], edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [ebx + 4]
add esp, 4
mov esi, dword [ecx]
push edx
push eax
call dword [esi + 0x24]
mov ecx, ebx
call fcn.10022090
test al, al
je 0x10021c5f
push 0
push dword [ebx + 0x130]
call edi
test eax, eax
je 0x10021c5f
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x10021c5f
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x10021c5f
mov eax, dword [ecx]
push edx
push 0
call dword [eax]
test eax, eax
sete al
test al, al
je 0x10021c5f
call fcn.10027200
test al, al
jne 0x10021c5f
lea esi, [ebx + 0x134]
mov byte [esi], al
push esi
push 0x10031e20
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [esi], 0
jne 0x10021c5f
call fcn.1002c440
test al, al
jne 0x10021c5f
mov ecx, ebx
call fcn.10022220
test al, al
je 0x10021c5f
mov bl, byte [ebp - 0x19]
jmp 0x10021c61
xor bl, bl
call fcn.100247a0
mov esi, dword [eax]
call fcn.100674d0
mov dword [ebp - 0x24], esi
lea ecx, [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x28], 0x400
push 4
mov edi, eax
mov dword [ebp - 0x20], esi
call sym.SoftNotify.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
lea ecx, [edi + 0x58]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10025c90
mov dword [ebp - 4], esi
lea ecx, [edi + 0x5c]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x10021cb4
movq xmm0, qword [ebp - 0x28]
movq qword [eax], xmm0
mov dword [eax + 8], esi
add dword [ecx + 4], 0xc
jmp 0x10021cbe
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10069820
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10021ccc
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10025cc0
call fcn.100247a0
mov esi, dword [eax]
cmp byte [esi], 0
je 0x10021d00
call fcn.100674d0
push esi
mov ecx, eax
call fcn.10067750
push 0
mov ecx, esi
call fcn.10058af0
mov byte [esi], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011730d
mov esp, ebp
pop ebp
ret