joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad7a0
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x4ad7b0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4ad7c5
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4ad8c8
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004ad834
mov esi, eax
mov eax, ebx
call fcn.004038ac
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4ae218
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41a8ac]
call fcn.00405094
xor eax, eax
push ebp
push 0x4ae35c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4fb1a0], 0
jne 0x4ae26b
mov ecx, dword [0x4fcb7c]
mov dl, 1
mov eax, dword [0x407fac]
call fcn.0040dc10
call fcn.0040404c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040322c
mov eax, ebx
call fcn.00404f60
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4ae36c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004063d4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f70
test eax, eax
jle 0x4ae303
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4ae2fc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404980
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404968
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f8c
test eax, eax
jne 0x4ae2fc
mov ebx, 0x15
jmp 0x4ae308
mov ebx, 0x10
jmp 0x4ae308
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4fb1a0]
call fcn.004ae090
mov eax, dword [ebp - 8]
call fcn.004ae090
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae363
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040471c
lea eax, [ebp - 0x10]
mov edx, dword [0x41a8ac]
call fcn.00405164
ret
Function at 0x4b9dcc
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4fb5b4], 0
mov eax, dword [0x4fd3d0]
cmp dword [eax], 2
jne 0x4b9fa5
mov eax, dword [0x4fcdc8]
cmp dword [eax], 5
jl 0x4b9fa5
call fcn.004b6f68
test al, al
jne 0x4b9dfd
call fcn.004b6f74
call fcn.004b6f60
mov dword [0x4fb5bc], eax
push 0x4b9fa8
mov eax, dword [0x4fb5bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb580], eax
cmp dword [0x4fb580], 0
jne 0x4b9e58
mov edx, 0x8000
mov eax, 0x4b9fbc
call fcn.0040fb00
mov dword [0x4fb5b8], eax
mov eax, dword [0x4fb5b8]
mov dword [0x4fb5bc], eax
push 0x4b9fa8
mov eax, dword [0x4fb5bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb580], eax
cmp dword [0x4fb580], 0
je 0x4b9fa0
push 0x4b9fc8
mov eax, dword [0x4fb5bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb584], eax
cmp dword [0x4fb584], 0
je 0x4b9fa0
push 0x4b9fd4
mov eax, dword [0x4fb5bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb588], eax
cmp dword [0x4fb588], 0
je 0x4b9fa0
mov byte [0x4fb5b4], 1
push 0x4b9fe4
mov eax, dword [0x4fb5bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb58c], eax
push 0x4b9ff0
mov eax, dword [0x4fb5bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb590], eax
push 0x4b9ffc
mov eax, dword [0x4fb5bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb594], eax
push 0x4ba00c
mov eax, dword [0x4fb5bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb598], eax
push 0x4ba01c
mov eax, dword [0x4fb5bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb59c], eax
mov edx, 0x8000
mov eax, 0x4ba034
call fcn.0040fb00
mov dword [0x4fb5c0], eax
cmp dword [0x4fb5c0], 0
je 0x4b9fa5
push 0x4ba044
mov eax, dword [0x4fb5c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb5a0], eax
push 0x4ba060
mov eax, dword [0x4fb5c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb5a4], eax
push 0x4ba080
mov eax, dword [0x4fb5c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb5a8], eax
push 0x4ba09c
mov eax, dword [0x4fb5c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb5ac], eax
push 0x4ba0b4
mov eax, dword [0x4fb5c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fb5b0], eax
ret
call fcn.004b9d4c
ret
Function at 0x4bc6d8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4bc800
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004bc5c4
mov eax, dword [esi]
call fcn.0040596c
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4b5b0c]
call fcn.00405b48
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00402d80
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00402d80
add ebx, 0x1c
mov eax, dword [esi]
call fcn.0040596c
mov dword [ebp - 0xc], eax
mov eax, dword [0x4fd2ac]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004b5da0
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.0040322c
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.0040596c
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.004b5cd0
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004b5ccc
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004b5d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc807
lea eax, [ebp - 8]
mov edx, dword [0x4b5b0c]
call fcn.00405c74
ret

Function at 0x4dd154
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4fbafc]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4dd190
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4dd1a8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4dd1a1
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.0040322c
xor edx, edx
mov eax, 0x4fbcfc
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4dd212
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4dd1c6
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4dd450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4dd469
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4dd462
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4dd47b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4dd474
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004dd044
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4dd495
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004dd154
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4dd51a
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4dd537
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004dd0d4
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4dd560
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4dd578
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4dd591
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4dd58a
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4dd5a5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004dcf3c
test bl, bl
jne 0x4dd678
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4ff258
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4dd5dc
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4dd5f0
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004dd450
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4dd622
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4dd5d1
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4dd645
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4dd656
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4dd66a
jmp 0x4dd733
cmp bl, 1
jne 0x4dd733
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4ff2b2
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4dd698
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4dd6ac
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004dd450
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4dd6de
sub ebx, 6
inc dword [ebp - 8]
jne 0x4dd68d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4dd705
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4dd716
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4dd72a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004dcfc0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4e16e7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4fc952
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4e173f
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4fc973
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4e1735
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4e1743
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4ed304
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ba8
xor eax, eax
push ebp
push 0x4ed430
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004046f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404bb8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4ed40d
mov eax, ebx
call fcn.00402b4c
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404bb8
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4ed440
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.004094c4
push dword [ebp - 0x14]
push 0x4ed44c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.004094c4
push dword [ebp - 0x18]
push 0x4ed44c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.004094c4
push dword [ebp - 0x1c]
push 0x4ed44c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.004094c4
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404a78
mov eax, esi
call fcn.00402b7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed437
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040471c
lea eax, [ebp - 4]
call fcn.004046f8
ret
Function at 0x4ed4b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x4ed538
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x4ed57c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4ed51a
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.00404968
jmp 0x4ed526
mov eax, ebx
mov edx, 0x4ed588
call fcn.0040474c
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret

Function at 0x4ed634
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404ba8
xor eax, eax
push ebp
push 0x4ed81f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x4ed830
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4ed7f4
push 0
push 0x4ed838
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4ed7f4
push 0
push 0x4ed848
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4ed85c
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4ed7f4
call fcn.004ed450
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4ed6e9
cmp eax, dword [esp]
pop edx
pop eax
je 0x4ed7f4
lea eax, [ebp - 0x408]
push eax
push 0x3ff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
mov edx, dword [0x4ff4e4]
call fcn.00404790
mov eax, dword [ebp - 4]
mov edx, 0x4ed86c
call fcn.00404b04
jne 0x4ed755
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404968
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 8]
call fcn.0040e8c4
test eax, eax
jle 0x4ed7f4
mov bl, 1
jmp 0x4ed7f4
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404968
mov eax, dword [ebp - 0x410]
call fcn.004098e0
test al, al
jne 0x4ed7f4
cmp dword [edi + 0x308], 0
jle 0x4ed789
dec dword [edi + 0x308]
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404968
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0040e8c4
test eax, eax
jne 0x4ed7f4
push 0x32
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c18
mov eax, dword [ebp - 0x418]
push eax
push 0x3ff
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed826
lea eax, [ebp - 0x418]
mov edx, 4
call fcn.0040471c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040471c
ret
Function at 0x4ed874
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404ba8
xor eax, eax
push ebp
push 0x4eda58
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x4eda68
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4eda2d
push 0
push 0x4eda70
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4eda2d
push 0
push 0x4eda80
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4eda94
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4eda2d
call fcn.004ed450
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4ed929
cmp eax, dword [esp]
pop edx
pop eax
je 0x4eda2d
lea eax, [ebp - 0x408]
push eax
push 0x3ff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
mov edx, dword [0x4ff4e4]
call fcn.00404790
mov eax, dword [ebp - 4]
mov edx, 0x4edaa4
call fcn.00404b04
jne 0x4ed995
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404968
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 8]
call fcn.0040e8c4
test eax, eax
jle 0x4eda2d
mov bl, 1
jmp 0x4eda2d
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404968
mov eax, dword [ebp - 0x410]
call fcn.004098e0
test al, al
jne 0x4eda2d
cmp dword [edi + 0x308], 0
jle 0x4ed9c9
dec dword [edi + 0x308]
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404968
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0040e8c4
test eax, eax
jne 0x4eda2d
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c18
mov eax, dword [ebp - 0x418]
push eax
push 0x3ff
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eda5f
lea eax, [ebp - 0x418]
mov edx, 4
call fcn.0040471c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040471c
ret
Function at 0x4edaac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404ba8
xor eax, eax
push ebp
push 0x4edcb2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x4edcc4
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4edc87
push 0
push 0x4edccc
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4edc87
push 0
push 0x4edcdc
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4edcec
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4edcf8
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4edc87
call fcn.004ed450
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4edb72
cmp eax, dword [esp]
pop edx
pop eax
je 0x4edc87
lea eax, [ebp - 0x408]
push eax
push 0x3ff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
mov edx, dword [0x4ff4e4]
call fcn.00404790
mov eax, dword [ebp - 4]
mov edx, 0x4edd08
call fcn.00404b04
jne 0x4edbde
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404968
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 8]
call fcn.0040e8c4
test eax, eax
jle 0x4edc87
mov bl, 1
jmp 0x4edc87
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404968
mov eax, dword [ebp - 0x410]
call fcn.004098e0
test al, al
jne 0x4edc87
mov eax, dword [ebp - 4]
mov edx, 0x4edd08
call fcn.00404b04
cmp dword [edi + 0x308], 0
jle 0x4edc23
dec dword [edi + 0x308]
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404968
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0040e8c4
test eax, eax
jne 0x4edc87
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c18
mov eax, dword [ebp - 0x418]
push eax
push 0x3ff
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4edcb9
lea eax, [ebp - 0x418]
mov edx, 4
call fcn.0040471c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040471c
ret

Function at 0x4eee38
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4eeea7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404968
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040e84c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eeeae
lea eax, [ebp - 0x10c]
call fcn.004046f8
ret