joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4aa018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
call fcn.004927a0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x492387
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x1c], 0x69
mov edx, 1
imul eax, edx, 0xf
mov byte [ebp + eax - 0x1c], 0x74
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x1c], 0x6e
mov eax, 1
imul ecx, eax, 0x13
mov byte [ebp + ecx - 0x1c], 0x41
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x1c], 0x71
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x1c], 0x74
mov edx, 1
imul eax, edx, 0xc
mov byte [ebp + eax - 0x1c], 0x43
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x1c], 0x41
mov eax, 1
imul ecx, eax, 0x14
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x15
jae 0x4922a4
jmp 0x4922a9
call fcn.0041c26e
mov edx, dword [ebp - 0x24]
mov byte [ebp + edx - 0x1c], 0
mov eax, 1
imul ecx, eax, 0x12
mov byte [ebp + ecx - 0x1c], 0x74
mov edx, 1
imul eax, edx, 0x11
mov byte [ebp + eax - 0x1c], 0x78
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x1c], 0x72
mov eax, 1
imul ecx, eax, 0xd
mov byte [ebp + ecx - 0x1c], 0x6f
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x1c], 0x72
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x1c], 0x70
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x1c], 0x43
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0x1c], 0x79
mov edx, 1
shl edx, 4
mov byte [ebp + edx - 0x1c], 0x65
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x1c], 0x65
mov edx, 1
imul eax, edx, 6
mov byte [ebp + eax - 0x1c], 0x63
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x1c], 0x75
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x49237d
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c13e
mov esp, ebp
pop ebp
ret
Function at 0x4923a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4aa018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
call fcn.004927a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4924e6
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x14], 0x70
mov edx, 1
imul eax, edx, 0xc
mov byte [ebp + eax - 0x14], 0x61
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x14], 0x43
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x14], 0x43
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x14], 0x72
mov eax, 1
imul ecx, eax, 0xf
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x10
jae 0x49241d
jmp 0x492422
call fcn.0041c26e
mov edx, dword [ebp - 0x1c]
mov byte [ebp + edx - 0x14], 0
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x14], 0x48
mov edx, 1
imul eax, edx, 0xd
mov byte [ebp + eax - 0x14], 0x73
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x14], 0x74
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x14], 0x79
mov eax, 1
imul ecx, eax, 0xe
mov byte [ebp + ecx - 0x14], 0x68
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x14], 0x74
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x14], 0x65
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x14], 0x65
mov edx, 1
shl edx, 3
mov byte [ebp + edx - 0x14], 0x61
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x14], 0x72
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4924dc
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c13e
mov esp, ebp
pop ebp
ret
Function at 0x492500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4aa018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
call fcn.004927a0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x492643
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x18], 0x65
mov edx, 1
shl edx, 3
mov byte [ebp + edx - 0x18], 0x74
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x18], 0x43
mov edx, 1
shl edx, 4
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x11
jae 0x492563
jmp 0x492568
call fcn.0041c26e
mov eax, dword [ebp - 0x20]
mov byte [ebp + eax - 0x18], 0
mov ecx, 1
imul edx, ecx, 0xf
mov byte [ebp + edx - 0x18], 0x68
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x18], 0x72
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x18], 0x6f
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x18], 0x48
mov edx, 1
imul eax, edx, 0xb
mov byte [ebp + eax - 0x18], 0x79
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x18], 0x74
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x18], 0x79
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x18], 0x70
mov edx, 1
imul eax, edx, 0xd
mov byte [ebp + eax - 0x18], 0x61
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x18], 0x73
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x18], 0x72
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x18], 0x44
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x18], 0x73
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x492639
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c13e
mov esp, ebp
pop ebp
ret
Function at 0x492660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4aa018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
call fcn.004927a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x492788
mov eax, 1
imul ecx, eax, 7
mov byte [ebp + ecx - 0x14], 0x73
mov edx, 1
imul eax, edx, 6
mov byte [ebp + eax - 0x14], 0x61
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x14], 0x43
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x14], 0x61
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x14], 0x48
mov ecx, 1
imul edx, ecx, 0xc
mov byte [ebp + edx - 0x14], 0x61
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x14], 0x44
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x14], 0x79
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x14], 0x70
mov edx, 1
imul eax, edx, 0xd
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xe
jae 0x492710
jmp 0x492715
call fcn.0041c26e
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + ecx - 0x14], 0
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x14], 0x74
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x14], 0x68
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x14], 0x72
mov edx, 1
imul eax, edx, 0xb
mov byte [ebp + eax - 0x14], 0x74
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x49277e
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c13e
mov esp, ebp
pop ebp
ret
Function at 0x405f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x405f89
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405f9f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405f96
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x405fd2
nop
cmp esi, ecx
jae 0x405f96
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x405fc0
cmp esi, ecx
jae 0x405f96
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40616d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40616d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40616d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x406103
cmp esi, ecx
jae 0x40616d
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4060f1
cmp esi, ecx
jae 0x40616d
movzx eax, word [esi]
test ax, ax
je 0x40616d
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x406136
push edi
mov ecx, ebx
call fcn.004041f0
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x406139
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.00578135
push eax
call fcn.00406000
mov ecx, dword [ebx]
add esp, 0x14
cmp edi, dword [ecx - 8]
jg 0x406176
mov dword [ecx - 0xc], edi
xor edx, edx
mov ecx, dword [ebx]
lea eax, [edx + 1]
mov word [ecx + edi*2], dx
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
push 0x80070057
call fcn.004042e0
int3
Function at 0x406190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
call fcn.0045fed3
mov ebx, eax
test ebx, ebx
jne 0x4061b0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
shr eax, 4
push esi
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x406283
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406283
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406283
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x406214
cmp esi, ecx
jae 0x406283
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x406202
cmp esi, ecx
jae 0x406283
movzx eax, word [esi]
test ax, ax
je 0x406283
mov ebx, dword [ebp - 4]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov edx, dword [ebx]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x40624a
push edi
mov ecx, ebx
call fcn.004041f0
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x40624d
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.00578135
push eax
call fcn.00406000
mov eax, dword [ebx]
add esp, 0x14
cmp edi, dword [eax - 8]
jg 0x40628e
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
pop esi
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004042e0
int3

Function at 0x406390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004942b6

Function at 0x4076a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push esi
mov esi, ecx
test edx, edx
jle 0x40772f
push ebx
mov ebx, dword [ebp + 8]
cmp edx, 0x40
jb 0x40771f
mov ecx, edx
push edi
and ecx, 0x8000003f
jns 0x4076c9
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edi, edx
sub edi, ecx
movsx ecx, bl
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [esi + eax]
pxor xmm0, xmm1
movups xmmword [esi + eax], xmm0
movups xmm0, xmmword [esi + eax + 0x10]
pxor xmm0, xmm1
movups xmmword [esi + eax + 0x10], xmm0
movups xmm0, xmmword [esi + eax + 0x20]
pxor xmm0, xmm1
movups xmmword [esi + eax + 0x20], xmm0
movups xmm0, xmmword [esi + eax + 0x30]
pxor xmm0, xmm1
movups xmmword [esi + eax + 0x30], xmm0
add eax, 0x40
cmp eax, edi
jl 0x4076e1
pop edi
cmp eax, edx
jge 0x40772e
xor byte [eax + esi], bl
lea ecx, [eax + esi]
inc eax
cmp eax, edx
jl 0x407723
pop ebx
pop esi
pop ebp
ret

Function at 0x407740
Capabilities:
Terminate process

Disassembly:
mov edx, dword [0x603844]
push esi
push dword [0x603848]
mov esi, 0x60384c
mov ecx, esi
call fcn.004076a0
add esp, 4
call esi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41f8b9
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 0x41f8fe
call fcn.004343bb
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f8fe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41f91a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004cf323
mov ebx, eax
test edi, edi
je 0x41f918
test esi, esi
je 0x41f918
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x420307
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 0x4203c5
cmp dword [esi + 0x20], 0
je 0x4203c5
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4203c5
cmp dword [ebp + 8], 0
je 0x4203c5
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004343bb
push 0x5a70e8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x420396
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 0x4203c5
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.004cfe6d
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x4203b6
test edi, edi
je 0x4203b6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x4203c1
mov ecx, esi
call fcn.004200a9
mov eax, ebx
jmp 0x4203c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42af20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x42af3a
call fcn.004343bb
mov esi, dword [eax + 0xc]
push 0x5a73f0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x42af90
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42af90
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x42af6f
xor esi, esi
jmp 0x42af85
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0042af99
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x42af92
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x439186
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x58f5ca
call fcn.00571b7c
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x4391ac
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43920c
call fcn.004456c6
push eax
lea ecx, [ebp - 0x10]
call fcn.00403fb0
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 dword [0x5a4a4c]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0057937a
push eax
call fcn.00406000
add esp, 0x14
test esi, esi
je 0x4391ff
push esi
call fcn.005787b4
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404100
mov eax, ebx
call fcn.00571b45
ret 8

Function at 0x4942b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x4942e1
cmp dword [ebx + 0x80], 0
jne 0x4942e1
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.004343bb
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.00494577
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x49431b
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.004343bb
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x494352
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.00494371
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x49d1f4
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 0x49d247
push esi
push dword [ebp + 8]
call fcn.0049d3dd
mov edi, eax
test edi, edi
je 0x49d242
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_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x49d242
mov eax, dword [ebp - 8]
jmp 0x49d259
mov eax, dword [ebp + 0x10]
jmp 0x49d259
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x49e27a
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 0x49e2c4
call fcn.004343bb
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x49e2c1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x49e314
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 0x49e2f1
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5a4a4c]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x49e2f1
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x49e312
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x5a4a4c]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4a24c3
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0057b0fe
pop ecx
test eax, eax
jne 0x4a2505
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x5b41c4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0045dc46
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4a24cb
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x4d241b
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
mov edi, dword [esi + 0xc]
jne 0x4d2471
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d244a
call fcn.004437e2
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d245f
call fcn.004437e2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d2471
call fcn.004437e2
call fcn.004343bb
cmp dword [eax + 0x3c], 0
je 0x4d2486
push edi
mov ecx, ebx
call fcn.004d1b4b
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d2658
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4d24af
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4d24bb
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8