joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1f70
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
push ecx
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x4e1fa6
push 0x8b
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e1fa6
int3
cmp dword [ebp + 0xc], 0
jne 0x4e1fc0
push 0x8c
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e1fc0
int3
mov edx, dword [ebp - 4]
cmp dword [edx + 0x58], 0
je 0x4e2075
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004e2460
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4e1fec
mov eax, dword [ebp + 0x10]
jmp 0x4e20b4
mov dword [ebp - 0x28], 4
mov esi, esp
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x30], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00784930
nop
cmp dword [ebp - 0x30], 0
jne 0x4e206e
cmp dword [ebp - 0x1c], 4
je 0x4e204f
push 0x9a
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e204f
int3
cmp dword [ebp - 0x28], 4
je 0x4e2069
push 0x9b
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e2069
int3
mov eax, dword [ebp - 0x10]
jmp 0x4e20b4
mov eax, dword [ebp + 0x10]
jmp 0x4e20b4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
jne 0x4e2092
push 0xa2
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e2092
int3
mov esi, esp
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
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 [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.00784930
push edx
mov ecx, ebp
push eax
lea edx, [0x4e20d8]
call fcn.007848d0
pop eax
pop edx
pop edi
pop esi
add esp, 0x30
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e2c00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push ecx
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x4e2c36
push 0x15d
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e2c36
int3
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
je 0x4e2cb4
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004e2460
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e2c5d
xor eax, eax
jmp 0x4e2d9d
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 3
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00784930
cmp dword [ebp - 8], 0
jne 0x4e2ca5
mov dword [ebp - 0x24], 1
jmp 0x4e2cac
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
jmp 0x4e2d9d
mov edx, dword [ebp + 0x14]
lea eax, [edx + edx + 1]
push eax
call fcn.006a7e00
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
jmp 0x4e2cdf
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x14]
jae 0x4e2d1d
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
and edx, 0xf
add edx, 0x41
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax*2], dl
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x14]
movzx eax, byte [edx]
sar eax, 4
and eax, 0xf
add eax, 0x41
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov byte [edx + ecx*2 + 1], al
jmp 0x4e2cd6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax*2], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x6c], 0
jne 0x4e2d44
push 0x174
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e2d44
int3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
mov dword [ebp - 0x28], eax
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov edi, esp
mov ecx, dword [ebp - 0x2c]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 4]
call dword [ebp - 0x2c]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004120c0
add esp, 4
mov eax, dword [ebp - 0x18]
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e2db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push ecx
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x87fbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x4e2df0
push 0x117
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e2df0
int3
cmp dword [ebp + 0xc], 0
jne 0x4e2e0a
push 0x118
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e2e0a
int3
mov edx, dword [ebp - 8]
cmp dword [edx + 0x58], 0
je 0x4e2e85
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.004e2460
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e2e31
xor eax, eax
jmp 0x4e2edb
mov esi, esp
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x10], eax
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00784930
cmp dword [ebp - 0x10], 0
jne 0x4e2e77
mov dword [ebp - 0x2c], 1
jmp 0x4e2e7e
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
jmp 0x4e2edb
mov edx, dword [ebp - 8]
cmp dword [edx + 0x6c], 0
jne 0x4e2ea2
push 0x125
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appui3.cpp
call fcn.004053b0
test eax, eax
je 0x4e2ea2
int3
mov ecx, dword [ebp + 0x10]
push ecx
push 0x801328
push 0x10
lea edx, [ebp - 0x24]
push edx
call fcn.0040bfd0
add esp, 0x10
mov esi, esp
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp esi, esp
call fcn.00784930
push edx
mov ecx, ebp
push eax
lea edx, [0x4e2f08]
call fcn.007848d0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00783b00
add esp, 0x2c
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ebba0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4ebc81
mov esi, esp
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ebc0e
push str.hAdvAPI32___0
push 0x84e5d8
push 0
push 0x29c
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCInclude_atltransactionmanager.h
push 2
call fcn.00790e50
add esp, 0x18
cmp eax, 1
jne 0x4ebc0e
int3
cmp dword [ebp - 8], 0
jne 0x4ebc1e
mov eax, 1
jmp 0x4ebca8
mov esi, esp
push str.RegDeleteKeyTransactedA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ebc7f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov edi, esp
mov ecx, dword [ebp - 0x14]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
call dword [ebp - 0x14]
cmp esi, esp
call fcn.00784930
jmp 0x4ebca8
jmp 0x4ebca3
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4ebca3
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, esp
call fcn.00784930
jmp 0x4ebca8
mov eax, 1
pop edi
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 8
Function at 0x4ecef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push ecx
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x8c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x88]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x84], 0
je 0x4ecf7a
call fcn.00490e20
mov dword [ebp - 0x10], eax
mov esi, esp
push 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ecf7a
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ecf96
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 1
cmp dword [ebp - 8], 0
je 0x4ed022
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 2]
cmp edx, 0xffff
jne 0x4ecfdb
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx + 0x12]
mov word [ebp - 0x20], ax
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x24], dx
jmp 0x4ecff1
mov eax, dword [ebp - 8]
mov cx, word [eax + 0xa]
mov word [ebp - 0x20], cx
mov edx, dword [ebp - 8]
mov ax, word [edx + 0xc]
mov word [ebp - 0x24], ax
mov ecx, dword [ebp - 0x1c]
and ecx, 0x1801
jne 0x4ed015
movsx edx, word [ebp - 0x20]
test edx, edx
jne 0x4ed015
movsx eax, word [ebp - 0x24]
test eax, eax
jne 0x4ed015
mov dword [ebp - 0x28], 1
jmp 0x4ed01c
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x84], 0
jne 0x4ed03a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x88], 0
je 0x4ed044
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0043f800
nop
mov edx, dword [ebp - 4]
cmp dword [edx + 0x84], 0
je 0x4ed06a
cmp dword [ebp - 0xc], 0
je 0x4ed06a
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00784930
nop
mov eax, dword [ebp - 0x18]
pop edi
pop esi
add esp, 0x28
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret
Function at 0x4ed080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
test eax, eax
je 0x4ed0cf
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d7a90
test eax, eax
jne 0x4ed0cf
push 0xc9
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCdlgcore.cpp
call fcn.004053b0
test eax, eax
je 0x4ed0cf
int3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x84], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
shr eax, 0x10
test eax, eax
jne 0x4ed111
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x80], 0
jne 0x4ed111
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], ecx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004ef040
test eax, eax
jne 0x4ed16b
xor ecx, ecx
jne 0x4ed138
push 0xd2
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCdlgcore.cpp
call fcn.004053b0
test eax, eax
je 0x4ed138
int3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ecx + 0x128]
mov dword [ebp - 0x18], edx
mov edi, esp
mov ecx, dword [ebp - 0x18]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 4]
call dword [ebp - 0x18]
cmp esi, esp
call fcn.00784930
xor eax, eax
jmp 0x4ed1ea
call fcn.00490e20
mov dword [ebp - 8], eax
mov esi, esp
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ed199
xor eax, eax
jmp 0x4ed1ea
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4ed1bd
xor eax, eax
jmp 0x4ed1ea
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
call fcn.004eda40
mov dword [ebp - 0x14], eax
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00784930
mov eax, dword [ebp - 0x14]
pop edi
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 8
Function at 0x4ed200
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.00490e20
mov dword [ebp - 0x10], eax
mov esi, esp
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4ed260
xor eax, eax
jmp 0x4ed2ea
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ed284
xor eax, eax
jmp 0x4ed2ea
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ed2b4
push 0x11f
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCdlgcore.cpp
call fcn.004053b0
test eax, eax
je 0x4ed2b4
int3
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004ed300
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0043f800
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00784930
mov eax, dword [ebp - 0x18]
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 8

Function at 0x4eda40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x4eda79
push 0xf2
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCdlgcore.cpp
call fcn.004053b0
test eax, eax
je 0x4eda79
int3
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004edad0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
push edx
call fcn.0043f800
mov eax, dword [ebp - 0xc]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f02b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
call fcn.004d7a90
test eax, eax
je 0x4f02e5
mov dword [ebp - 0x18], 1
jmp 0x4f02ec
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x4f0309
push 0x50
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_strcore.cpp
call fcn.004053b0
test eax, eax
je 0x4f0309
int3
cmp dword [ebp - 4], 0
jne 0x4f0315
call fcn.004d7c10
nop
xor eax, eax
jne 0x4f02cd
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0079f990
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, 0xa
div ecx
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4f0353
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jae 0x4f0372
imul ecx, dword [ebp - 8], 0x1000193
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
movsx eax, byte [edx]
xor ecx, eax
mov dword [ebp - 8], ecx
jmp 0x4f034a
mov eax, dword [ebp - 8]
add esp, 0x18
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 4
Function at 0x4f8bf0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
cmp dword [ebp + 0xc], 0
jne 0x4f8c23
push 0x12
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCdoccore.cpp
call fcn.004053b0
test eax, eax
je 0x4f8c23
int3
cmp dword [ebp + 0x10], 0
jne 0x4f8c3a
push 0x13
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCdoccore.cpp
call fcn.004053b0
test eax, eax
je 0x4f8c3a
int3
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
call fcn.007a4250
add esp, 4
test eax, eax
je 0x4f8c71
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp esi, esp
call fcn.00784930
nop
jmp 0x4f8caa
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s_X.tmp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0040bfd0
add esp, 0x18
mov esi, esp
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, esp
call fcn.00784930
cmp eax, 0xffffffff
jne 0x4f8c41
push edx
mov ecx, ebp
push eax
lea edx, [0x4f8ccc]
call fcn.007848d0
pop eax
pop edx
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret
Function at 0x598440
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7e4ea5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x87fbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00424b70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CMFCPropertyGridProperty.0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.005ae1c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.005ae1c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x28], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00405a30
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00405a30
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x6c], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x88
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00412700
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x8c
call fcn.0040be70
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.0040be70
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.0040be70
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.0040be70
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
mov dword [ebp - 0x18], ecx
push 0xa
mov ecx, dword [ebp - 0x18]
call fcn.006da5a0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x10]
add edx, 0xcc
mov dword [ebp - 0x1c], edx
push 0xa
mov ecx, dword [ebp - 0x1c]
call fcn.00597750
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 1
mov ecx, dword [ebp - 0x10]
call fcn.0059cd60
mov ecx, dword [ebp - 0x10]
call fcn.005aa220
nop
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0xc