joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e1a0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x40e1a0
sub esp, 0x4c
mov eax, dword [0x44e1b4]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
mov esi, dword [esp + 0x54]
test esi, esi
jne 0x40e1c9
xor eax, eax
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0041bdf4
add esp, 0x4c
ret
push esi
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
movzx ecx, word [esi]
test cx, cx
mov dword [esp + 0x10], 0
je 0x40e219
movzx ecx, cx
mov edx, 0x450648
cmp cx, 0x20
je 0x40e219
add esi, 2
mov word [edx], cx
movzx ecx, word [esi]
add edx, 2
test cx, cx
jne 0x40e202
lea edx, [eax - 1]
mov eax, edx
test eax, eax
push edi
jbe 0x40e267
mov edi, 0x5f
jmp 0x40e230
movzx ecx, word [eax*2 + 0x450648]
cmp cx, 0x5c
je 0x40e253
cmp cx, 0x20
jne 0x40e24c
mov word [eax*2 + 0x450648], di
sub eax, 1
jne 0x40e230
jmp 0x40e267
cmp eax, edx
jne 0x40e267
push str.Vol_Unknown
push 0x450648
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push 0x450648
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40e29a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0041bdf4
add esp, 0x4c
ret
mov edx, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
push 4
push str.APPLICATION_COMPLETED
push edx
call fcn.0040132f
push str.RESIDENCE
lea eax, [esp + 0x3c]
push 0x14
push eax
mov dword [esp + 0x2c], 0x28
mov dword [esp + 0x28], 1
call fcn.0041c22f
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0x1c
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push 0x46b154
lea edx, [esp + 0x14]
push edx
push 0
lea eax, [esp + 0x38]
push eax
push ecx
call edi
push str.REGION
lea edx, [esp + 0x2c]
push 0x14
push edx
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x18], 1
call fcn.0041c22f
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 0x46b17c
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x38]
push edx
push eax
call edi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esi], 0
je 0x40e378
push 0x208
push 0x44f400
push esi
call fcn.004011fe
add esp, 0xc
test eax, eax
jne 0x40e36c
mov dword [0x450c54], 1
jmp 0x40e378
mov dword [0x450c54], 2
mov esi, eax
movzx eax, word [esi]
test ax, ax
je 0x40e3c6
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp ax, 0x2d
jne 0x40e3ae
push 7
push esi
lea edx, [esp + 0x20]
push 8
push edx
call fcn.0041c29b
add esp, 0x10
push str._NOEULA
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x40e3bc
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x40e386
jmp 0x40e3c6
mov dword [0x44f814], 0
mov ecx, dword [esp + 0x50]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0041bdf4
add esp, 0x4c
ret
Function at 0x412a50
Capabilities:
Copy file
Create directory
Delete directory
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
jmp 0x412a50
mov eax, 0x1274
call fcn.0041be90
mov eax, dword [0x44e1b4]
xor eax, esp
mov dword [esp + 0x1270], eax
push ebx
mov ebx, dword [esp + 0x1280]
push ebp
push esi
mov esi, dword [esp + 0x1284]
push 0x208
xor ebp, ebp
lea eax, [esp + 0x468]
push ebp
push eax
call fcn.0041be10
push 0x410
lea ecx, [esp + 0x67c]
push ebp
push ecx
call fcn.0041be10
push 0x200
lea edx, [esp + 0xe98]
push ebp
push edx
call fcn.0041be10
push 0x200
lea eax, [esp + 0x10a4]
push ebp
push eax
call fcn.0041be10
push 0x200
lea ecx, [esp + 0xab0]
push ebp
push ecx
call fcn.0041be10
push 0x208
lea edx, [esp + 0x29c]
push ebp
push edx
call fcn.0041be10
add esp, 0x48
push 0x200
lea eax, [esp + 0xc80]
push ebp
push eax
call fcn.0041be10
push 0x250
lea ecx, [esp + 0x1c]
push ebp
push ecx
call fcn.0041be10
add esp, 0x18
lea edx, [esp + 0x464]
push edx
push ebp
push ebp
push 0x23
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x100
lea eax, [esp + 0xc80]
push eax
lea ecx, [esp + 0x46c]
push ecx
call fcn.004010b4
add esp, 0xc
test eax, eax
je 0x412caa
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0xc80]
push edx
lea eax, [esp + 0x46c]
push eax
lea ecx, [esp + 0x678]
push str._s_s
push ecx
call edi
add esp, 0x10
push ebp
lea edx, [esp + 0x674]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x412ca9
push 0x100
lea eax, [esp + 0x1084]
push eax
push 0x100
lea ecx, [esp + 0xe8c]
push ecx
push ebp
push ebp
push ebp
push ebp
push esi
call fcn.0041c92d
lea edx, [esp + 0x10a4]
push edx
lea eax, [esp + 0xea8]
push eax
lea ecx, [esp + 0xaac]
push 0x435d60
push ecx
call edi
lea edx, [esp + 0xab4]
push edx
lea eax, [esp + 0x6a8]
push eax
lea ecx, [esp + 0x29c]
push str._s_s
push ecx
call edi
add esp, 0x44
push ebp
lea edx, [esp + 0x264]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x412ca9
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x670]
push edx
push 0x401177
push ebp
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
test eax, eax
je 0x412ca9
lea ecx, [esp + 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x250
lea edx, [esp + 0x14]
push ebp
push edx
call fcn.0041be10
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x412c8c
push ebx
call fcn.004012df
add esp, 4
test eax, eax
je 0x412ca9
jmp 0x412c93
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x670]
push ebx
push ecx
call fcn.004012e4
add esp, 8
mov ebp, 1
pop edi
lea edx, [esp + 0x66c]
push edx
call fcn.004010b9
add esp, 4
lea eax, [esp + 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x127c]
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0041bdf4
add esp, 0x1274
ret
Function at 0x412d90
Capabilities:
Get common file path
Set current directory

Disassembly:
jmp 0x412d90
sub esp, 0xc38
mov eax, dword [0x44e1b4]
xor eax, esp
mov dword [esp + 0xc34], eax
cmp dword [0x46b138], 1
push edi
mov edi, dword [esp + 0xc40]
jne 0x412dd0
mov eax, 1
pop edi
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.0041bdf4
add esp, 0xc38
ret
test edi, edi
jne 0x412dec
xor eax, eax
pop edi
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.0041bdf4
add esp, 0xc38
ret
push esi
push 0x208
lea eax, [esp + 0x218]
push 0
push eax
mov dword [esp + 0x14], 0
call fcn.0041be10
push 0x208
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.0041be10
push 0x410
lea edx, [esp + 0x438]
push 0
push edx
call fcn.0041be10
push 0x410
lea eax, [esp + 0x854]
push 0
push eax
call fcn.0041be10
add esp, 0x30
push 0x44f400
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x45e730
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x45e730
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0041c22f
push 0x4781b0
lea edx, [esp + 0x1c]
push 0x104
push edx
call fcn.0041c1b5
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004010e1
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x412eff
push 0x100
lea edx, [esp + 0x420]
push edx
push 0x452
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
push str.setup.ini
lea eax, [esp + 0x420]
push eax
lea ecx, [esp + 0x834]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
lea edx, [esp + 0x83c]
push edx
push esi
call fcn.004010be
add esp, 0x18
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.0041bdf4
add esp, 0xc38
ret
push ebx
mov ebx, dword [esp + 0xc]
push 0x434ed4
push ebx
push esi
call fcn.0040120d
add esp, 0xc
test eax, eax
je 0x412f66
jmp 0x412f20
push 0x208
lea ecx, [esp + 0x21c]
push ecx
push eax
call fcn.004011fe
lea edx, [esp + 0x224]
push edx
mov edi, eax
call fcn.00401280
add esp, 0x10
test eax, eax
je 0x412fbc
mov eax, edi
sub eax, esi
sar eax, 1
mov ecx, ebx
push 0x434ed4
sub ecx, eax
push ecx
push edi
call fcn.0040120d
add esp, 0xc
test eax, eax
jne 0x412f20
mov edx, dword [esp + 0xc]
push edx
push 0
push esi
call fcn.00401357
add esp, 0xc
test eax, eax
jne 0x412fe6
push 0x454
push eax
push eax
call fcn.004010be
push 0x455
push 0
push 0
call fcn.004010be
push esi
call fcn.004012bc
add esp, 0x1c
call fcn.00401253
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.0041bdf4
add esp, 0xc38
ret
or dword [0x44fe2c], 1
push esi
call fcn.004012bc
add esp, 4
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.0041bdf4
add esp, 0xc38
ret
push esi
call fcn.004012bc
mov ecx, dword [esp + 0xc44]
add esp, 4
pop ebx
pop esi
pop edi
xor ecx, esp
mov eax, 1
call fcn.0041bdf4
add esp, 0xc38
ret
Function at 0x100018b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
lea edi, [ebp - 0x84]
mov ecx, 0x21
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0xc], 0x48
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x70
mov byte [ebp - 8], 0x52
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x41
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6f
mov byte [ebp - 2], 0x63
mov byte [ebp - 1], 0
mov byte [ebp - 0x1c], 0x4b
mov byte [ebp - 0x1b], 0x45
mov byte [ebp - 0x1a], 0x52
mov byte [ebp - 0x19], 0x4e
mov byte [ebp - 0x18], 0x45
mov byte [ebp - 0x17], 0x4c
mov byte [ebp - 0x16], 0x33
mov byte [ebp - 0x15], 0x32
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0
mov byte [ebp - 0x28], 0x48
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x70
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6f
mov byte [ebp - 0x20], 0x63
mov byte [ebp - 0x1f], 0
mov esi, esp
lea eax, [ebp - 0x28]
push eax
mov edi, esp
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.100206f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.100206f0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x3c], 0x47
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x73
mov byte [ebp - 0x33], 0x73
mov byte [ebp - 0x32], 0x48
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x2e], 0
mov esi, esp
lea edx, [ebp - 0x3c]
push edx
mov edi, esp
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.100206f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.100206f0
mov dword [ebp - 0x40], eax
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edi, esp
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.100206f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.100206f0
mov dword [ebp - 0x44], eax
cmp dword [ebp + 8], 0
je 0x10001a3f
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edi, esp
call dword [ebp - 0x40]
cmp edi, esp
call fcn.100206f0
push eax
call dword [ebp - 0x44]
cmp esi, esp
call fcn.100206f0
jmp 0x10001a5e
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
push 0
mov edi, esp
call dword [ebp - 0x40]
cmp edi, esp
call fcn.100206f0
push eax
call dword [ebp - 0x2c]
cmp esi, esp
call fcn.100206f0
pop edi
pop esi
pop ebx
add esp, 0x84
cmp ebp, esp
call fcn.100206f0
mov esp, ebp
pop ebp
ret
Function at 0x10001a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
lea edi, [ebp - 0x74]
mov ecx, 0x1d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x10], 0x4b
mov byte [ebp - 0xf], 0x45
mov byte [ebp - 0xe], 0x52
mov byte [ebp - 0xd], 0x4e
mov byte [ebp - 0xc], 0x45
mov byte [ebp - 0xb], 0x4c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
mov byte [ebp - 0x20], 0x47
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x50
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x48
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x70
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x2c], 0x48
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x46
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0
mov esi, esp
lea eax, [ebp - 0x2c]
push eax
mov edi, esp
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.100206f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.100206f0
mov dword [ebp - 0x30], eax
mov esi, esp
lea edx, [ebp - 0x20]
push edx
mov edi, esp
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.100206f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.100206f0
mov dword [ebp - 0x34], eax
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edi, esp
call dword [ebp - 0x34]
cmp edi, esp
call fcn.100206f0
push eax
call dword [ebp - 0x30]
cmp esi, esp
call fcn.100206f0
pop edi
pop esi
pop ebx
add esp, 0x74
cmp ebp, esp
call fcn.100206f0
mov esp, ebp
pop ebp
ret
Function at 0x10002080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec0e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea edi, [ebp - 0x8c]
mov ecx, 0x1f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x20], 0x4b
mov byte [ebp - 0x1f], 0x45
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x4e
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1b], 0x4c
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x30], 0x56
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x2c], 0x75
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x41
mov byte [ebp - 0x28], 0x6c
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x6f
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0
mov esi, esp
lea eax, [ebp - 0x30]
push eax
mov edi, esp
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.100206f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.100206f0
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x1000216b
mov dword [ebp - 0x4c], 0x5e
push 0x101024d8
lea eax, [ebp - 0x4c]
push eax
call fcn.10021220
jmp 0x10002270
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x8c
cmp ebp, esp
call fcn.100206f0
mov esp, ebp
pop ebp
ret
Function at 0x100025c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec0f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea edi, [ebp - 0xb0]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x20], 0x4b
mov byte [ebp - 0x1f], 0x45
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x4e
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1b], 0x4c
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.100206f0
mov byte [ebp - 0x30], 0x49
mov byte [ebp - 0x2f], 0x73
mov byte [ebp - 0x2e], 0x42
mov byte [ebp - 0x2d], 0x61
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x52
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x50
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.100206f0
mov byte [ebp - 0x40], 0x47
mov byte [ebp - 0x3f], 0x65
mov byte [ebp - 0x3e], 0x74
mov byte [ebp - 0x3d], 0x50
mov byte [ebp - 0x3c], 0x72
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x63
mov byte [ebp - 0x39], 0x41
mov byte [ebp - 0x38], 0x64
mov byte [ebp - 0x37], 0x64
mov byte [ebp - 0x36], 0x72
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x73
mov byte [ebp - 0x33], 0x73
mov byte [ebp - 0x32], 0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.100206f0
mov esi, esp
lea eax, [ebp - 0x40]
push eax
mov edi, esp
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.100206f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.100206f0
mov dword [ebp - 0x44], eax
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.100206f0
mov esi, esp
lea edx, [ebp - 0x30]
push edx
mov edi, esp
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.100206f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.100206f0
mov dword [ebp - 0x48], eax
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.100206f0
mov dword [ebp - 4], 0
mov ecx, 1
test ecx, ecx
je 0x10002769
mov dword [ebp - 0x6c], 0x54
push 0x101024d8
lea edx, [ebp - 0x6c]
push edx
call fcn.10021220
jmp 0x1000293e
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xb0
cmp ebp, esp
call fcn.100206f0
mov esp, ebp
pop ebp
ret
Function at 0x100056c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
je 0x100057c3
call fcn.100ae4f2
mov dword [ebp - 0x10], eax
push pe_nt_image_headers32
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000576b
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000573c
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0x104a1b90
call fcn.10043595
add esp, 8
xor eax, eax
jmp 0x1000580c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10005763
push 0x146
push str.occmgr.cpp
call fcn.100a7480
test eax, eax
je 0x10005763
int3
xor edx, edx
test edx, edx
jne 0x10005749
jmp 0x100057c3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x1000578e
push 0x14e
push str.occmgr.cpp
call fcn.100a7480
test eax, eax
je 0x1000578e
int3
xor edx, edx
test edx, edx
jne 0x10005774
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x100057c3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x100057b8
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0x104a1bd0
call fcn.10043595
add esp, 8
jmp 0x100057c3
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x10005794
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x100057ea
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x10005809
cmp dword [ebp - 8], 0
je 0x10005809
mov eax, dword [ebp - 8]
push eax
call fcn.10004ff0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10042f20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.100254a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x10042feb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x10042feb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x10042f9e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x10042fa9
or bh, 8
and edi, 0x8000000
je 0x10042fc4
mov eax, dword [0x104b45dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x10042feb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret