joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10090e30
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100c3ce0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x10090fd7
mov ecx, dword [0x1010ce30]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x10090f2c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.1008fb50
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.100b264f
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.100b2516
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x1010b9ac
call fcn.100b2584
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.1008ff10
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.100b264f
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.100b2516
lea ecx, [esp + 0xc]
call fcn.100b2a2a
mov ecx, dword [esp + 0xc]
push 0x1010c3ec
push ecx
call fcn.100a1df4
add esp, 8
test eax, eax
je 0x10090f54
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x10090e8d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.100b2516
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.100b2516
jmp 0x10090fdb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.10090bd0
test eax, eax
push 0
je 0x10090fbf
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.1008f270
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10090fa5
cmp eax, 0x64
jg 0x10090f93
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x10090f30
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x10090f30
cmp eax, 0x64
jge 0x10090f2c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x10090f30
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.1008f270
mov esi, eax
jmp 0x10090f30
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x10090fe5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x1009ae90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x1009aece
call fcn.100bc00d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1009aece
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1009aee5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x1009aee5
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x100b4943
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100b497b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100b29bd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100b2995
jmp 0x100b4987
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100b6035
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100b6077
call fcn.100bc00d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100b6077
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100b606e
xor eax, eax
jmp 0x100b607f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100b6085
pop edi
pop esi
pop ebx
ret 4
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ed0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x755d2c75
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x60d22960
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..retplne
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1c3a6d39
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..reloc
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x60ae40b8
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403d5d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403f01
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x403f01
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x3000
push dword [ebx + 0x50]
push dword [ebx + 0x34]
call edi
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x403dc8
push 4
push 0x3000
push dword [ebx + 0x50]
push eax
call edi
mov esi, eax
mov dword [ebp - 4], eax
test esi, esi
jne 0x403dc8
push 0xe
jmp 0x403f06
nop
nop
nop
nop
nop
nop
nop
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x403e07
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
nop
nop
nop
nop
nop
nop
nop
push 0x8000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x403f0c
xor eax, eax
mov dword [edi + 4], esi
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x14]
push 4
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x18]
push 0x1000
mov dword [edi + 0x20], eax
push dword [ebx + 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [ebx + 0x54]
mov esi, eax
push dword [ebp + 8]
push esi
call fcn.00713200
mov edx, dword [ebp + 8]
push edi
push ebx
push edx
mov eax, dword [edx + 0x3c]
add eax, esi
mov esi, dword [ebp - 4]
mov dword [edi], eax
mov dword [eax + 0x34], esi
call fcn.004043c8
add esp, 0x18
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
sub eax, dword [ebx + 0x34]
je 0x403e7e
push eax
push edi
call fcn.00404542
pop ecx
pop ecx
push edi
call fcn.0040425b
pop ecx
test eax, eax
je 0x403eed
push edi
call fcn.00404476
mov eax, dword [edi]
pop ecx
mov ecx, dword [edi + 4]
mov dword [ebp + 8], ecx
mov ebx, dword [eax + 0xc0]
test ebx, ebx
je 0x403ec5
mov ebx, dword [ebx + ecx + 0xc]
test ebx, ebx
je 0x403ec5
mov eax, dword [ebx]
test eax, eax
je 0x403ec5
mov esi, ecx
push 0
push 1
push esi
call eax
lea ebx, [ebx + 4]
mov eax, dword [ebx]
test eax, eax
jne 0x403eb2
mov esi, dword [ebp - 4]
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x403efd
push 0
push 1
push esi
add eax, esi
call eax
test eax, eax
jne 0x403ef6
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.00403fa8
pop ecx
jmp 0x403f0c
mov dword [edi + 0x10], 1
mov eax, edi
jmp 0x403f0e
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
mov dword [ebp - 4], esi
call fcn.00444050
push edi
push edi
push edi
push 0x404c25
push edi
push edi
mov dword [esi], vtable.CPcServerApp.0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x4048e4
Capabilities:
Compress data via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x40490d
push str.Load_dll_error__n
call fcn.00405045
pop ecx
xor eax, eax
jmp 0x40499e
push str.RtlDecompressBuffer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40492b
push str.Load_function_error__n
call fcn.00405045
pop ecx
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, 0x1000
push ebx
jmp 0x40496e
push ebx
push 0
push esi
call fcn.007130a0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push esi
push 2
call dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ebx, ecx
jae 0x404988
test esi, esi
je 0x40496b
push esi
call fcn.00405b70
pop ecx
mov ecx, dword [ebp - 4]
mov ebx, ecx
push ecx
call fcn.00405bf0
mov esi, eax
pop ecx
test esi, esi
jne 0x404939
push str.new_memory_error__n
call fcn.00405045
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
push edi
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
leave
ret
Function at 0x4049a1
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 1
jle 0x404a9d
push 0x34
pop eax
cdq
idiv esi
mov ecx, dword [ebp + 8]
lea edx, [eax + 6]
xor eax, eax
mov dword [ebp - 0x10], edx
movzx edx, byte [ecx + esi - 1]
mov dword [ebp - 4], edx
lea edx, [esi - 1]
mov dword [ebp - 0x14], edx
and dword [ebp - 8], 0
sub eax, 0x61c88647
mov edi, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shr edi, 2
and edi, 3
test edx, edx
je 0x404a43
mov esi, dword [ebp - 8]
movzx edx, byte [esi + ecx + 1]
mov ecx, dword [ebp - 4]
mov ebx, edx
shl al, 4
shr ebx, 3
xor bl, al
shr ecx, 5
mov al, dl
shl al, 2
xor cl, al
mov eax, esi
add bl, cl
and eax, 3
mov ecx, dword [ebp + 0x10]
xor eax, edi
mov cl, byte [ecx + eax*4]
xor cl, byte [ebp - 4]
mov al, byte [ebp - 0xc]
xor al, dl
add cl, al
xor bl, cl
mov ecx, dword [ebp + 8]
add byte [esi + ecx], bl
movzx eax, byte [esi + ecx]
inc esi
mov dword [ebp - 4], eax
cmp esi, dword [ebp - 0x14]
jb 0x4049f3
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0xc]
movzx edx, byte [ecx]
mov ecx, dword [ebp - 4]
mov ebx, edx
shl al, 4
shr ebx, 3
xor bl, al
shr ecx, 5
mov al, dl
shl al, 2
xor cl, al
mov eax, dword [ebp - 8]
add bl, cl
and eax, 3
mov ecx, dword [ebp + 0x10]
xor eax, edi
mov cl, byte [ecx + eax*4]
xor cl, byte [ebp - 4]
mov al, byte [ebp - 0xc]
xor al, dl
lea edx, [esi - 1]
add cl, al
xor bl, cl
mov ecx, dword [ebp + 8]
add byte [ecx + esi - 1], bl
sub dword [ebp - 0x10], 1
movzx eax, byte [ecx + esi - 1]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
jne 0x4049d5
jmp 0x404b82
cmp esi, 0xffffffff
jge 0x404b82
push 0x34
neg esi
mov ecx, dword [ebp + 8]
pop eax
cdq
idiv esi
movzx ebx, byte [ecx]
lea edi, [esi - 1]
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], ebx
lea edx, [eax + 6]
mov dword [ebp - 8], edx
imul edx, edx, 0x9e3779b9
mov dword [ebp - 0xc], edx
mov eax, edx
shr eax, 2
and eax, 3
mov dword [ebp - 0x10], eax
test edi, edi
je 0x404b29
mov esi, eax
movzx edx, byte [edi + ecx - 1]
shr ebx, 3
mov al, dl
shl al, 4
mov ecx, edx
xor bl, al
shr ecx, 5
mov al, byte [ebp - 4]
shl al, 2
xor cl, al
mov eax, edi
add bl, cl
and eax, 3
mov ecx, dword [ebp + 0x10]
xor eax, esi
mov cl, byte [ecx + eax*4]
mov al, byte [ebp - 0xc]
xor cl, dl
xor al, byte [ebp - 4]
add cl, al
xor bl, cl
mov ecx, dword [ebp + 8]
sub byte [edi + ecx], bl
movzx ebx, byte [edi + ecx]
mov dword [ebp - 4], ebx
sub edi, 1
jne 0x404add
mov esi, dword [ebp + 0xc]
movzx edx, byte [ecx + esi - 1]
and edi, 3
xor edi, dword [ebp - 0x10]
mov al, dl
shl al, 4
mov ecx, edx
shr ebx, 3
xor bl, al
shr ecx, 5
mov al, byte [ebp - 4]
shl al, 2
xor cl, al
mov eax, dword [ebp + 0x10]
add bl, cl
mov cl, byte [eax + edi*4]
lea edi, [esi - 1]
xor cl, dl
mov edx, dword [ebp - 0xc]
mov al, dl
add edx, 0x61c88647
xor al, byte [ebp - 4]
add cl, al
mov dword [ebp - 0xc], edx
xor bl, cl
mov ecx, dword [ebp + 8]
sub byte [ecx], bl
sub dword [ebp - 8], 1
movzx ebx, byte [ecx]
mov dword [ebp - 4], ebx
jne 0x404acc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404b88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x82be68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x68
mov eax, 0x86
mov ebx, dword [ebp + 8]
mov word [ebp - 0x18], ax
xor edx, edx
pop eax
push 0x66
mov word [ebp - 0x16], ax
xor edi, edi
pop eax
mov word [ebp - 0x14], ax
mov esi, edi
mov ax, word [ebp + 0x10]
mov word [ebp - 0x12], ax
xor eax, eax
push 3
pop ecx
inc eax
mov word [ebp - 0xe], cx
push 5
mov word [ebp - 0x10], ax
pop eax
mov word [ebp - 0xc], ax
push 7
pop eax
mov word [ebp - 0xa], ax
push 9
pop eax
mov word [ebp - 8], ax
mov eax, dword [ebp + 0xc]
div ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404c16
xor edx, edx
movzx ecx, di
push 9
pop eax
cmp di, ax
cmovne edx, ecx
movzx ecx, dx
mov al, byte [ebp + ecx*2 - 0x18]
xor byte [ebx + esi], al
inc esi
lea eax, [ecx + 1]
movzx edi, ax
cmp esi, dword [ebp - 0x1c]
jb 0x404bf2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0070ffb0
leave
ret

Function at 0x404c54
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 2
setge al
leave
ret

Function at 0x404c6d
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x82be68]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp - 0x38], 0
ja 0x404ca3
jb 0x404c9f
cmp dword [ebp - 0x3c], 0x77359400
jae 0x404ca3
xor al, al
jmp 0x404ca5
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0070ffb0
leave
ret
Function at 0x411390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x41144a
call fcn.0046e7f0
mov dword [ebp - 0x10], eax
mov esi, esp
push 0xf0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41144a
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41141a
xor eax, eax
jmp 0x411484
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41144a
push 0x11ac
push 0x775970
call fcn.004057f9
test eax, eax
je 0x41144a
int3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0048e040
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0
je 0x411481
cmp dword [ebp - 0xc], 0
je 0x411481
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00419da0
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00710bc0
mov eax, dword [ebp - 0x18]
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 4
Function at 0x411940
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00710bc0
test eax, eax
jne 0x411989
push 0x4a6
push 0x775970
call fcn.004057f9
test eax, eax
je 0x411989
int3
push 0x775062
mov ecx, dword [ebp + 0xc]
call fcn.00406640
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
jne 0x411a0b
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x411a09
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 1
mov esi, esp
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00411620
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.00710bc0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00418900
jmp 0x411a2c
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00424c10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x411a2c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00412540
mov ecx, dword [ebp + 0xc]
call fcn.00407fc0
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 8
Function at 0x412540
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00710bc0
test eax, eax
jne 0x41258f
push 0x496
push 0x775970
call fcn.004057f9
test eax, eax
je 0x41258f
int3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jne 0x4125e7
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
mov esi, esp
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00411620
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.00710bc0
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00418900
jmp 0x412622
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x74]
mov ecx, dword [ebp - 4]
mov edi, dword [ecx + 0x74]
mov edx, dword [eax]
mov eax, dword [edx + 0x94]
mov dword [ebp - 0xc], eax
mov ebx, esp
mov ecx, dword [ebp - 0xc]
call dword [0x770a74]
cmp ebx, esp
call fcn.00710bc0
mov ecx, edi
call dword [ebp - 0xc]
cmp esi, esp
call fcn.00710bc0
pop edi
pop esi
pop ebx
add esp, 0xc
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 4
Function at 0x4257d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x75a958
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x82be68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, esp
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00710bc0
test eax, eax
jne 0x425849
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x74], 0
jne 0x425849
push 0xfc
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.004057f9
test eax, eax
je 0x425849
int3
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x74], 0
jne 0x42587a
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.00710bc0
jmp 0x425900
lea ecx, [ebp - 0x18]
call fcn.00405e90
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x74]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x74]
mov ecx, dword [edx]
mov edx, dword [ecx + 0x94]
mov dword [ebp - 0x24], edx
mov ebx, esp
mov ecx, dword [ebp - 0x24]
call dword [0x770a74]
cmp ebx, esp
call fcn.00710bc0
mov ecx, edi
call dword [ebp - 0x24]
cmp esi, esp
call fcn.00710bc0
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00406ca0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00426bf0
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call fcn.004091d0
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406330
mov eax, dword [ebp - 0x20]
push edx
mov ecx, ebp
push eax
lea edx, [0x425930]
call fcn.00710b50
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 8