Function at 0x10005750
Capabilities:
Execute shellcode via indirect call
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c1d0
push 0x1000bbb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push str.Enter_UpdateWindowTab
call fcn.10002c40
add esp, 4
xor ebx, ebx
cmp dword [0x1000d030], ebx
je 0x10005d55
mov dword [0x1000d030], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
cmp ebx, 0x20
jge 0x10005d49
lea eax, [ebx + ebx*2]
shl eax, 4
sub eax, ebx
lea esi, [ebx + eax*8]
shl esi, 3
mov dword [ebp - 0x9c], esi
cmp dword [esi + 0x1000f2d0], 1
jne 0x10005d43
mov byte [ebp - 0x40], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x3f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x20
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [esi + 0x1000f2c8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x40]
push eax
call fcn.10005580
add esp, 4
mov dword [esi + 0x1000f2cc], eax
xor eax, eax
mov dword [ebp - 0x44], eax
cmp eax, 5
jge 0x10005d43
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea edi, [esi + ecx*8]
mov dword [ebp - 0xa0], edi
cmp dword [edi + 0x1000f49c], 1
jne 0x10005d3a
mov eax, dword [edi + 0x1000f524]
test eax, eax
jne 0x10005d3a
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0xffffffff
push 0x1000f280
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call esi
mov ecx, dword [edi + 0x1000f2dc]
test ecx, ecx
je 0x1000588d
mov dword [ebp - 4], 0
mov edx, dword [ecx]
push 1
call dword [edx + 0x44]
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [ebp - 0x48], eax
mov ecx, dword [edi + 0x1000f2dc]
mov eax, dword [ecx]
push 0
call dword [eax + 0x44]
mov dword [ebp - 4], 0xffffffff
push 0x1000f280
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x48]
test eax, eax
push 0x1000f280
jne 0x10005b25
call esi
mov eax, dword [0x1004c41c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
mov eax, dword [0x1004c424]
mov ecx, dword [eax + 8]
push ecx
push str.UpdateWindowTab_vt:__08x__hook:__08x
call fcn.10002c40
add esp, 0xc
mov edx, dword [0x1004c41c]
mov eax, dword [edx]
mov ecx, dword [0x1004c424]
mov edx, dword [ecx + 8]
cmp edx, dword [eax]
je 0x10005a78
push str.UpdateWindowTab
call fcn.10002c40
add esp, 4
mov dword [ebp - 0x58], 0
mov esi, 0x1000f2e0
mov dword [ebp - 0xa4], esi
xor eax, eax
mov dword [ebp - 0x80], eax
cmp dword [esi + 0x244], 1
jne 0x10005932
push esi
push eax
mov eax, dword [ebp - 0x58]
push eax
push 0x1000e4fc
call fcn.10002c40
add esp, 0x10
mov ecx, 0x96
xor eax, eax
lea edi, [esi - 8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
add esi, 0x258
cmp eax, 5
jl 0x10005907
inc dword [ebp - 0x58]
mov esi, dword [ebp - 0xa4]
add esi, 0xbc8
mov dword [ebp - 0xa4], esi
cmp esi, 0x10026be0
jl 0x10005902
xor esi, esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x78], esi
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0x1c
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [0x1004c424]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
je 0x10005a1a
push 0x1000e4d0
call fcn.10002c40
add esp, 4
jmp 0x10005ae2
lea eax, [ebp - 0x7c]
push eax
push 0x40
push 4
mov ecx, dword [ebp - 0x78]
push ecx
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
call edi
test eax, eax
jne 0x10005a45
push 0x1000e4a4
call fcn.10002c40
add esp, 4
jmp 0x10005ae2
mov edx, dword [0x1004c41c]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [0x1004c424]
mov dword [edx + 8], ecx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
push 4
mov edx, dword [ebp - 0x78]
push edx
push esi
call edi
push 0x1000e484
call fcn.10002c40
add esp, 4
jmp 0x10005ae2
mov dword [ebp - 0x84], 0
mov edi, 0x1000f524
mov dword [ebp - 0xa8], edi
xor esi, esi
cmp dword [edi], 1
jne 0x10005ab6
lea eax, [edi - 0x244]
push eax
push esi
mov ecx, dword [ebp - 0x84]
push ecx
push 0x1000e450
call fcn.10002c40
add esp, 0x10
mov dword [edi], 0
inc esi
add edi, 0x258
cmp esi, 5
jl 0x10005a8f
inc dword [ebp - 0x84]
mov edi, dword [ebp - 0xa8]
add edi, 0xbc8
mov dword [ebp - 0xa8], edi
cmp edi, 0x10026e24
jl 0x10005a8d
push 0x1000f280
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0x1000f524], 1
lea edx, [eax + 0x1000f2e0]
push edx
mov eax, dword [ebp - 0x44]
push eax
push ebx
push 0x1000e42c
call fcn.10002c40
add esp, 0x10
mov esi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x44]
inc eax
jmp 0x10005804
call esi
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x48]
cmp edx, dword [ecx + 0x1000f2c8]
je 0x10005d29
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0x50], 0xffffffff
jne 0x10005b63
mov eax, dword [ecx + 0x1000f2d0]
test eax, eax
jne 0x10005b63
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x50], eax
mov eax, 1
cmp dword [ecx + 0x1000f2d0], eax
jne 0x10005c58
mov edx, dword [ebp - 0x48]
cmp dword [ecx + 0x1000f2c8], edx
jne 0x10005c58
mov dword [ebp - 0x1c], eax
xor edx, edx
xor esi, esi
lea eax, [ecx + 0x1000f49c]
cmp dword [eax], 0
je 0x10005ba5
inc esi
add eax, 0x258
cmp esi, 5
jl 0x10005b90
jmp 0x10005c33
mov dword [ebp - 0x94], 1
push 0x1000e414
call fcn.10002c40
add esp, 4
mov eax, dword [ebp - 0xa0]
lea edi, [eax + 0x1000f2e0]
push edi
mov ecx, dword [ebp - 0x44]
push ecx
push ebx
push 0x1000e404
call fcn.10002c40
add esp, 0x10
push edi
push esi
mov edx, dword [ebp - 0x8c]
push edx
push 0x1000e3f4
call fcn.10002c40
add esp, 0x10
mov eax, dword [ebp - 0xa0]
lea edx, [eax + 0x1000f2d8]
lea esi, [esi + esi*2]
lea eax, [esi + esi*4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0xac]
lea edi, [eax + ecx*8 + 0x1000f2d8]
mov ecx, 0x96
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x96
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xac]
test edx, edx
jne 0x10005c52
push 0x1000e3e8
call fcn.10002c40
add esp, 4
mov edi, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xac]
jmp 0x10005c58
mov edi, dword [ebp - 0xa0]
inc dword [ebp - 0x8c]
add ecx, 0xbc8
mov dword [ebp - 0xac], ecx
cmp ecx, 0x17900
jl 0x10005b4a
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10005d29
mov ecx, dword [ebp - 0x50]
test ecx, ecx
jl 0x10005d11
push 0x1000e3d0
call fcn.10002c40
add esp, 4
lea esi, [edi + 0x1000f2e0]
push esi
mov ecx, dword [ebp - 0x44]
push ecx
push ebx
push 0x1000e404
call fcn.10002c40
add esp, 0x10
push esi
push 0
mov esi, dword [ebp - 0x50]
push esi
push 0x1000e3f4
call fcn.10002c40
add esp, 0x10
lea edx, [esi + esi*2]
shl edx, 4
sub edx, esi
lea edx, [esi + edx*8]
shl edx, 3
mov eax, dword [ebp - 0x48]
mov dword [edx + 0x1000f2c8], eax
lea esi, [edi + 0x1000f2d8]
mov dword [ebp - 0xb0], esi
lea edi, [edx + 0x1000f2d8]
mov ecx, 0x96
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x96
xor eax, eax
mov edi, dword [ebp - 0xb0]
rep stosd dword es:[edi], eax
mov dword [edx + 0x1000f2d0], 1
jmp 0x10005d29
test eax, eax
jne 0x10005d29
lea ecx, [edi + 0x1000f2e0]
push ecx
push 0x1000e3b8
call fcn.10002c40
add esp, 8
push 0x1000f280
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x44]
inc eax
jmp 0x10005804
inc ebx
jmp 0x1000579d
mov dword [0x1000d030], 1
jmp 0x10005d62
push str.locked_
call fcn.10002c40
add esp, 4
push str.End_UpdateWindowTab
call fcn.10002c40
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret