joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419ac0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5f9e74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x74], eax
push edi
mov edi, dword [ebx + 0x60]
sub edi, dword [ebx + 0x5c]
sar edi, 2
test edi, edi
jne 0x419afb
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 4
push esi
xor esi, esi
mov byte [ebp - 8], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
test edi, edi
je 0x419b4e
mov eax, dword [ebx + 0x5c]
lea ecx, [ebp - 0x70]
push 0x410
push dword [eax + esi*4]
call fcn.004055c0
inc esi
cmp esi, edi
jb 0x419b30
cmp byte [ebp - 8], 0
jne 0x419b5a
lea ecx, [ebp - 0x70]
call fcn.00405670
mov byte [ebp - 8], 1
mov eax, dword [ebp - 0x74]
pop esi
test eax, eax
jne 0x419b86
call fcn.00573c36
mov dword [eax], 0x16
call fcn.00571ae1
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 4
movups xmm0, xmmword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
movups xmmword [eax], xmm0
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 4

Function at 0x419bf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ebx, dword [edi]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [edi + 0x18], esi
sub esi, dword [edi + 0x14]
cmp esi, 0xbb8
jbe 0x419c75
mov edx, dword [ebp - 4]
mov ecx, ebx
sub ecx, dword [edi + 8]
sbb edx, dword [edi + 0xc]
call fcn.0058fa90
movd xmm1, esi
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
mov eax, dword [ebp - 4]
mov dword [edi + 8], ebx
mov dword [edi + 0xc], eax
addsd xmm1, qword [esi*8 + 0x5d9580]
divsd xmm0, xmm1
mulsd xmm0, qword [0x5d9578]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
movss dword [edi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movss xmm0, dword [ebp - 8]
mov dword [edi + 0x14], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x3e8
jbe 0x419ccd
sub ebx, dword [edi + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
sbb edx, dword [edi + 0xc]
call fcn.0058fa90
movd xmm1, esi
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
addsd xmm1, qword [esi*8 + 0x5d9580]
divsd xmm0, xmm1
mulsd xmm0, qword [0x5d9578]
cvtsd2ss xmm0, xmm0
addss xmm0, dword [edi + 0x10]
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x5d9570]
cvtsd2ss xmm0, xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ed80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5912f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5f9e74]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov byte [ebp - 0x45], 1
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
cmp byte [ebx], 0
mov byte [ebp - 0x44], 0
jne 0x41edcd
xor ecx, ecx
jmp 0x41eddb
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41edd2
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x44]
call fcn.00402140
mov dword [ebp - 4], 0
mov esi, 4
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x4c], edi
cmp edi, esi
jle 0x41eec0
nop
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp ecx, 0x10
cmovae eax, edx
cmp byte [eax + esi], 0x5c
je 0x41ee24
cmp ecx, 0x10
lea eax, [ebp - 0x44]
cmovae eax, edx
cmp byte [eax + esi], 0x2f
jne 0x41ee9c
push esi
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00403280
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0057242c
add esp, 8
test eax, eax
je 0x41ee83
cmp dword [ebp - 0x18], 0x10
lea edi, [ebp - 0x2c]
push 0
cmovae edi, dword [ebp - 0x2c]
push edi
call fcn.0057242c
push 0
push edi
call fcn.0057242c
add esp, 0x10
test eax, eax
je 0x41ee80
push edi
call fcn.005724ef
add esp, 4
test eax, eax
jne 0x41eea7
mov edi, dword [ebp - 0x4c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x41ee9c
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004023e0
inc esi
cmp esi, edi
jl 0x41ee00
jmp 0x41eec0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x45], 0
cmp eax, 0x10
jb 0x41eec0
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004023e0
push 0
push ebx
call fcn.0057242c
add esp, 8
test eax, eax
je 0x41eefb
push 0
push ebx
call fcn.0057242c
push 0
push ebx
call fcn.0057242c
add esp, 0x10
test eax, eax
jne 0x41eeec
mov byte [ebp - 0x45], 1
jmp 0x41eefb
push ebx
call fcn.005724ef
add esp, 4
test eax, eax
sete byte [ebp - 0x45]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x41ef10
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.004023e0
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 4

Function at 0x420140
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
call fcn.0041f9d0
test eax, eax
je 0x420155
lea esi, [eax + 8]
jmp 0x420157
xor esi, esi
mov dword [edi + 4], esi
test esi, esi
je 0x420187
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
push 0
push edi
push 0x420190
push 0
push 0
call fcn.00577ea6
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
setne al
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x420d60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591632
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5f9e74]
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
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x420e66
lea eax, [ebp - 0x138]
mov byte [ebp - 0x139], 0
push eax
push esi
mov dword [ebp - 0x138], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x420df3
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp edi, dword [ebp - 0x130]
je 0x420dec
lea eax, [ebp - 0x138]
push eax
push esi
call ebx
test eax, eax
jne 0x420dd4
jmp 0x420df3
mov byte [ebp - 0x139], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x139], 0
je 0x420e66
push dword [ebp - 0x120]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov eax, dword [0x605350]
test eax, eax
jne 0x420e4c
push 0x3c
call fcn.00427083
add esp, 4
mov dword [ebp - 0x140], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x420e45
mov ecx, eax
call fcn.004048d0
jmp 0x420e47
xor eax, eax
mov dword [0x605350], eax
push dword [ebp - 0x120]
push str.OpenProcess_id_d_n
push 2
push eax
call fcn.00404c70
add esp, 0x10
mov eax, esi
jmp 0x420e68
xor eax, eax
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.00568e6a
mov esp, ebp
pop ebp
ret
Function at 0x420e90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591672
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x5f9e74]
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 eax, dword [ecx + 8]
add eax, 0xf8
cmp dword [eax + 0x14], 0x10
jb 0x420ece
mov eax, dword [eax]
push 0
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ebx, eax
test ebx, ebx
jne 0x420f4a
mov esi, dword [0x605350]
test esi, esi
jne 0x420f15
push 0x3c
call fcn.00427083
add esp, 4
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x420f0d
mov ecx, eax
call fcn.004048d0
mov esi, eax
jmp 0x420f0f
xor esi, esi
mov dword [0x605350], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindWindowEx_Code_d_n
push 2
push esi
call fcn.00404c70
add esp, 0x10
xor eax, eax
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.00568e6a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x420f2c
lea eax, [ebp - 0x138]
mov byte [ebp - 0x139], 0
push eax
push esi
mov dword [ebp - 0x138], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x420fc3
nop
cmp edi, dword [ebp - 0x130]
je 0x420fbc
lea eax, [ebp - 0x138]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x420fa0
jmp 0x420fc3
mov byte [ebp - 0x139], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x139], 0
je 0x420f2c
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x120]
jne 0x420f2c
mov eax, ebx
jmp 0x420f2e
Function at 0x423db0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x423e0f
mov dword [edi], 0
mov edx, 0x400000
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x423e18
test ecx, ecx
je 0x423e0f
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x423dd0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x423e8f
mov dword [edi], 0
mov edx, 0x400000
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x423e98
test ecx, ecx
je 0x423e8f
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x423e50
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424100
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push esi
push edi
nop word [eax + eax]
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x605380], ecx
inc eax
cmp eax, 0x100
jb 0x424110
cmp eax, 0x800
jae 0x4241e3
nop dword [eax]
mov edx, dword [eax*4 + 0x604f80]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x605380]
mov dword [eax*4 + 0x605380], edx
inc eax
cmp eax, 0x800
jb 0x4241c0
lea ecx, [ebp - 0x20]
mov dword [0x607458], 0x426610
call fcn.00426710
test eax, eax
je 0x42426d
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
mov esi, edi
shr edi, 4
shr esi, 8
and edi, 0xf00f
and esi, 0xff00f
call fcn.004267a0
sub eax, 0
je 0x424254
sub eax, 1
je 0x424243
sub eax, 1
jne 0x42426d
cmp esi, 6
jb 0x42426d
jne 0x424263
cmp edi, 0xf
jb 0x42426d
mov dword [0x607458], 0x4266b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 5
jb 0x42426d
jne 0x424263
cmp edi, 6
jb 0x42426d
cmp edi, 0xa
jmp 0x424261
cmp esi, 6
jb 0x42426d
jne 0x424263
cmp edi, 0x100c
je 0x42426d
mov dword [0x607458], 0x4266b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x426bf0
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 8], edx
nop dword [eax]
lea esi, [edi + ecx]
cmp esi, edx
jae 0x426c19
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x426c16
inc esi
cmp esi, edx
jb 0x426c07
mov ecx, dword [ebp - 4]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x426d29
cmp ecx, 3
jbe 0x426c58
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x426c96
cmp cl, 0xff
je 0x426c96
mov edx, dword [ebp - 8]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
mov ecx, dword [ebp - 4]
jmp 0x426c00
dec ecx
shl eax, cl
and eax, 7
je 0x426c30
movzx ecx, byte [eax + 0x5d5c58]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x5d5c50], 0
mov cl, byte [edx + 4]
je 0x426c80
test cl, cl
je 0x426c80
cmp cl, 0xff
jne 0x426c30
mov edx, dword [ebp - 8]
and eax, 3
mov ecx, dword [ebp - 4]
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x426c00
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
sub edx, edi
lea ebx, [edx - 5]
test eax, eax
je 0x426cf2
movzx edx, byte [eax + 0x5d5c58]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x426cde
cmp dl, 0xff
jne 0x426cf2
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x426cb4
mov edx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
mov ecx, dword [ebp - 4]
jmp 0x426c00
pop esi
pop ebx
cmp ecx, 3
jbe 0x426d3e
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4297e7
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x42983a
push esi
push dword [ebp + 8]
call fcn.004299d7
mov edi, eax
test edi, edi
jne 0x42980a
mov eax, dword [ebp + 0x10]
jmp 0x42984c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x429805
mov eax, dword [ebp - 8]
jmp 0x42984c
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42ab92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00438657
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42abc9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0042abea
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42c244
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x42c28e
call fcn.00438657
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42c28b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42c2dc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x42c2ba
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.005698e8
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x42c2ba
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x42c2da
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.005698e8
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42f15f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x42f1a4
call fcn.00438657
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42f1a4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x42f1c0
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043f347
mov ebx, eax
test edi, edi
je 0x42f1be
test esi, esi
je 0x42f1be
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42fbc4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x42fc82
cmp dword [esi + 0x20], 0
je 0x42fc82
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42fc82
cmp dword [ebp + 8], 0
je 0x42fc82
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00438657
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42fc53
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42fc82
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0044a721
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x42fc73
test edi, edi
je 0x42fc73
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x42fc7e
mov ecx, esi
call fcn.0042f967
mov eax, ebx
jmp 0x42fc84
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4346de
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x596bad
call fcn.00569925
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x434704
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x434763
call fcn.00435084
push eax
lea ecx, [ebp - 0x10]
call fcn.00418600
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.005698e8
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0057e782
push eax
call fcn.0042807b
add esp, 0x14
test esi, esi
je 0x434756
push esi
call fcn.0057e320
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004183d0
mov eax, ebx
call fcn.005698ee
ret 8
Function at 0x44c22f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x44c249
mov edi, dword [esi + 0xc]
jmp 0x44c289
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x44c262
call fcn.00435ef9
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x44c277
call fcn.00435ef9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x44c289
call fcn.00435ef9
call fcn.00438657
cmp dword [eax + 0x3c], 0
je 0x44c29e
push edi
mov ecx, ebx
call fcn.0044b8c3
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0044c47b
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x44c2c7
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x44c2d3
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45624d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004342b9
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x456289
call fcn.0045646f
mov dword [esi + 0xc], 1
jmp 0x45628e
call fcn.0045646f
cmp dword [esi], 0
je 0x4562d7
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4562b1
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0042f235
jmp 0x4562c2
push 0xff
mov ecx, esi
call fcn.004185c0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00429b13
jmp 0x4562fb
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4562fb
push dword [esi]
push dword [ebp - 4]
call fcn.0043a5d8
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4563c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0045646f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x45640c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042f235
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00429b13
jmp 0x456417
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0043a5d8
pop edi
pop esi
pop ebp
ret 0xc