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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov byte [ebp - 0x40], 0x4b
mov byte [ebp - 0x3f], 0x45
mov byte [ebp - 0x3e], 0x52
mov byte [ebp - 0x3d], 0x4e
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x4c
mov byte [ebp - 0x3a], 0x33
mov byte [ebp - 0x39], 0x32
mov byte [ebp - 0x38], 0x2e
mov byte [ebp - 0x37], 0x64
mov byte [ebp - 0x36], 0x6c
mov byte [ebp - 0x35], 0x6c
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x1c], 0x47
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x48
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xe], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x2c], 0x48
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x52
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x41
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], 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], 0x41
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6f
mov byte [ebp - 4], 0x63
mov byte [ebp - 3], 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
cmp dword [ebp + 8], 0
je 0x404731
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [ebp - 0x20]
push eax
call dword [ebp - 0x30]
jmp 0x40473e
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [ebp - 0x20]
push eax
call dword [ebp - 0x44]
mov esp, ebp
pop ebp
ret
Function at 0x404750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov byte [ebp - 0x28], 0x4b
mov byte [ebp - 0x27], 0x45
mov byte [ebp - 0x26], 0x52
mov byte [ebp - 0x25], 0x4e
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4c
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x34], 0x48
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x61
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x46
mov byte [ebp - 0x2f], 0x72
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x47
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x50
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x48
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x61
mov byte [ebp - 3], 0x70
mov byte [ebp - 2], 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [ebp - 0x18]
push eax
call dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x404830
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x40486f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x40499d
mov byte [ebp - 0x28], 0x4b
mov byte [ebp - 0x27], 0x45
mov byte [ebp - 0x26], 0x52
mov byte [ebp - 0x25], 0x4e
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4c
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x38], 0x56
mov byte [ebp - 0x37], 0x69
mov byte [ebp - 0x36], 0x72
mov byte [ebp - 0x35], 0x74
mov byte [ebp - 0x34], 0x75
mov byte [ebp - 0x33], 0x61
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x41
mov byte [ebp - 0x30], 0x6c
mov byte [ebp - 0x2f], 0x6c
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x63
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0
jne 0x404954
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x40494f
push 4
push 0x1000
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00538690
add esp, 0xc
jmp 0x40485d
push 4
push 0x1000
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0xc]
push edx
call dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.005392f0
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
jmp 0x40485d
mov esp, ebp
pop ebp
ret
Function at 0x405550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f0f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0xc4]
call fcn.00454bc0
call fcn.00456919
test eax, eax
jne 0x40559a
push 0xffffffffffffffff
push 0
push 0x64
call fcn.0043b7c6
xor eax, eax
jmp 0x40594a
push 0
call fcn.004571a9
add esp, 4
mov byte [ebp - 0x9c], 0x68
mov byte [ebp - 0x9b], 0x74
mov byte [ebp - 0x9a], 0x74
mov byte [ebp - 0x99], 0x70
mov byte [ebp - 0x98], 0x3a
mov byte [ebp - 0x97], 0x2f
mov byte [ebp - 0x96], 0x2f
mov byte [ebp - 0x95], 0x31
mov byte [ebp - 0x94], 0x39
mov byte [ebp - 0x93], 0x32
mov byte [ebp - 0x92], 0x2e
mov byte [ebp - 0x91], 0x31
mov byte [ebp - 0x90], 0x36
mov byte [ebp - 0x8f], 0x38
mov byte [ebp - 0x8e], 0x2e
mov byte [ebp - 0x8d], 0x31
mov byte [ebp - 0x8c], 0x2e
mov byte [ebp - 0x8b], 0x35
mov byte [ebp - 0x8a], 0x2f
mov byte [ebp - 0x89], 0x6f
mov byte [ebp - 0x88], 0x6b
mov byte [ebp - 0x87], 0x2e
mov byte [ebp - 0x86], 0x64
mov byte [ebp - 0x85], 0x6c
mov byte [ebp - 0x84], 0x6c
mov byte [ebp - 0x83], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.00407d20
add esp, 0xc
test eax, eax
jne 0x40568a
xor eax, eax
jmp 0x40594a
push 0x400
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004054e0
add esp, 0xc
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00404ee0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4056bb
xor eax, eax
jmp 0x40594a
mov byte [ebp - 0xac], 0x53
mov byte [ebp - 0xab], 0x69
mov byte [ebp - 0xaa], 0x67
mov byte [ebp - 0xa9], 0x6e
mov byte [ebp - 0xa8], 0x61
mov byte [ebp - 0xa7], 0x6c
mov byte [ebp - 0xa6], 0x43
mov byte [ebp - 0xa5], 0x68
mov byte [ebp - 0xa4], 0x72
mov byte [ebp - 0xa3], 0x6f
mov byte [ebp - 0xa2], 0x6d
mov byte [ebp - 0xa1], 0x65
mov byte [ebp - 0xa0], 0x45
mov byte [ebp - 0x9f], 0x6c
mov byte [ebp - 0x9e], 0x66
mov byte [ebp - 0x9d], 0
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004051c0
add esp, 8
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x40575a
mov edx, dword [ebp - 0x14]
push edx
call fcn.004052b0
add esp, 4
xor eax, eax
jmp 0x40594a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.0040ca65
add esp, 4
mov dword [ebp - 0x4c], 0
push 0x14
push 0xa
call dword [ebp - 0x7c]
cmp dword [ebp - 0x14], 0
je 0x405799
mov edx, dword [ebp - 0x14]
push edx
call fcn.004052b0
add esp, 4
mov dword [ebp - 0x14], 0
xor eax, eax
jmp 0x40594a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x407ac0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00538690
add esp, 0xc
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00538690
add esp, 0xc
mov edx, dword [ebp + 0x24]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00538690
add esp, 0xc
mov ecx, dword [ebp + 0x24]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.00538690
add esp, 0xc
mov eax, dword [ebp + 0x24]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00538690
add esp, 0xc
mov edx, dword [ebp + 0x24]
push edx
push 0
mov eax, dword [ebp + 0x18]
push eax
call fcn.00538690
add esp, 0xc
mov ecx, dword [ebp + 0x24]
push ecx
push 0
mov edx, dword [ebp + 0x1c]
push edx
call fcn.00538690
add esp, 0xc
mov eax, dword [ebp + 0x24]
push eax
push 0
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00538690
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov edx, dword [ebp + 0x24]
sub edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x24]
sub eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x24]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x24]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x24]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x24]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x407be1
mov eax, dword [ebp - 0x40]
jmp 0x407be4
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret
Function at 0x41d978
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 0x41d9bf
call fcn.0042e8d8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d9bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41d9db
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041d47d
mov esi, eax
test edi, edi
je 0x41d9d9
test ebx, ebx
je 0x41d9d9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42441f
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 0x424439
call fcn.0042e8d8
mov esi, dword [eax + 0xc]
push dword [0x5bc0f4]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x424457
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 0x42444f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x424484
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x424451
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0042434d
mov esi, eax
jmp 0x424476

Function at 0x433048
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x557b31
call fcn.005381a4
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x43306d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4330bf
call fcn.0043e995
push eax
lea ecx, [ebp - 0x10]
call fcn.004032a0
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.00539a11
push eax
call fcn.0040ca70
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004033d0
mov eax, esi
call fcn.0053827c
ret 8
Function at 0x456db1
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 0x456df9
call fcn.0042e8d8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x456df9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x456e3c
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 0x456e25
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 0x456e25
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x456e39
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 0x45ad12
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.0042e8d8
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45ad4b
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.0045a954
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 0x45ada9
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 0x45adcd
cmp dword [edi + 0x74], 0
jne 0x45adcd
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0042e8d8
mov esi, dword [eax + 0xc]
push 5
push ebx
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 ebx, eax
push ebx
mov ecx, edi
call fcn.0045ad6a
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 0x4ab0d1
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4ab10f
push 0x573528
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4ab11d
push str.MoveFileTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ab11d
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4ab11f
cmp dword [esi + 4], 0
je 0x4ab11d
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x4c594e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x558c63
call fcn.005381a4
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040c6a0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4c59b0
call fcn.0042e172
cmp eax, 1
jne 0x4c59b0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00459a7d
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00414afa
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004033d0
mov dword [ebp + 8], reloc.oledlg.dll_OleUIAddVerbMenuA
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004033d0
mov eax, esi
call fcn.0053827c
ret 0x10

Function at 0x4c59d9
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x558c63
call fcn.005381a4
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040c6a0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4c5a3b
call fcn.0042e172
cmp eax, 1
jne 0x4c5a3b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00459a7d
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00414afa
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004033d0
mov dword [ebp + 8], reloc.oledlg.dll_OleUIAddVerbMenuA
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_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004033d0
mov eax, esi
call fcn.0053827c
ret 0x14
Function at 0x504459
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 0x504471
mov edi, dword [esi + 0xc]
jmp 0x5044b1
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x50448a
call fcn.0043bba5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x50449f
call fcn.0043bba5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5044b1
call fcn.0043bba5
call fcn.0042e8d8
cmp dword [eax + 0x3c], 0
je 0x5044c6
push edi
mov ecx, ebx
call fcn.00503317
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00504373
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5044e4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x5044f0
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 0x5128c0
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.0051257f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x51290a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041ba13
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041a0c5
jmp 0x512915
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004a23cd
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x51291b
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.0043290f
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x512958
call fcn.0051257f
mov dword [esi + 0xc], 1
jmp 0x51295d
call fcn.0051257f
cmp dword [esi], 0
je 0x5129a6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x51297e
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041ba13
jmp 0x512990
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00403630
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041a0c5
jmp 0x5129ca
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x5129ca
push dword [esi]
push dword [ebp + 8]
call fcn.004a23cd
pop esi
pop ebp
ret 0xc