joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426f64
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4598dc
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x479630]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x479630]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [esp + 0x108]
mov ebx, ecx
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
call fcn.004256de
pop ecx
and dword [esp + 0x1a0], 0
push edi
lea eax, [esp + 0x128]
call fcn.00425792
pop ecx
xor edx, edx
inc edx
mov dword [esp + 0x1a0], edx
cmp dword [esp + 0x118], 0
je 0x42702d
push edx
lea eax, [esp + 0x10c]
push eax
lea edi, [esp + 0x148]
call fcn.0042620d
push esi
lea ecx, [esp + 0x128]
push ecx
mov ecx, eax
mov byte [esp + 0x1a8], 2
call fcn.00426f64
mov esi, edi
mov byte [esp + 0x1a0], 1
call fcn.00426291
jmp 0x4271ba
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x42703e
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x427042
mov dword [esp + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x42704c
mov esi, dword [edi]
jmp 0x42704e
mov esi, edi
mov eax, dword [ebx]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc ecx
push ecx
push dword [esp + 0x14]
push edx
push 0
push esi
push eax
call ebx
mov dword [esp + 0x10], eax
test eax, eax
je 0x42713d
push str.set_string_value
lea ecx, [esp + 0xf0]
call fcn.00405b5f
and dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xf
mov byte [esp + 0xd0], 0
push edi
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 4
call fcn.00427712
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 5
call fcn.00416cfa
push str.System_error
push dword [esp + 0x14]
mov eax, esi
push eax
mov ecx, ebx
lea edi, [esp + 0x34]
mov byte [esp + 0x1ac], 6
call fcn.0042aa6f
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a0], 7
push ecx
lea esi, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u231_13620_install_src_windows_common_Registry.cpp
mov dword [esp + 0x24], str.Registry::setString
mov dword [esp + 0x28], 0x190
call fcn.0041acfa
lea eax, [esp + 0x16c]
mov dword [esp], 0x46d7c8
push eax
call fcn.00441a81
cmp dword [0x47d500], 0
jg 0x4271ba
mov eax, dword [esp + 0x14]
mov ecx, edi
lea esi, [esp + 0xd0]
call fcn.004264c9
xor esi, esi
push esi
push dword [esp + 0x1c]
mov byte [esp + 0x1a8], 8
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00427978
add esp, 0x10
push str.Registry::setString
push 0x193
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u231_13620_install_src_windows_common_Registry.cpp
push esi
mov edx, eax
mov ecx, 0x47d500
mov byte [esp + 0x1b0], 9
call fcn.004147a0
push esi
push 1
lea ecx, [esp + 0xf4]
call fcn.00405e43
push esi
push 1
lea ecx, [esp + 0xd8]
call fcn.00405e43
lea esi, [esp + 0x108]
call fcn.0040b810
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.0043a455
mov esp, ebp
pop ebp
ret 8
Function at 0x4275a9
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x479630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x3c]
push eax
mov edi, esi
mov ebx, ecx
call fcn.004256de
pop ecx
push esi
lea eax, [ebp - 0x20]
call fcn.00425792
xor edi, edi
pop ecx
cmp dword [ebp - 0x2c], edi
je 0x427677
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
push edi
or ecx, 0x2001f
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00426016
add esp, 0x14
cmp dword [ebp - 0x6c], edi
je 0x427639
mov edi, dword [ebp - 0x6c]
cmp byte [ebp - 0x70], 0
je 0x42761e
push dword [ebp - 0x74]
mov byte [ebp - 0x70], 0
call fcn.0042b1f6
pop ecx
lea esi, [ebp - 0x3c]
call fcn.0040b810
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a455
leave
ret 8
push 0x47c2a9
lea eax, [ebp - 0x20]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x74]
mov eax, esp
mov dword [eax], ecx
mov cl, byte [ebp - 0x70]
mov byte [eax + 4], cl
mov dword [ebp - 0x78], esp
push ebx
lea ecx, [ebp - 0x3c]
lea edi, [ebp - 0x64]
mov byte [ebp - 0x70], 0
call fcn.0042618a
mov ecx, eax
call fcn.004275a9
lea esi, [ebp - 0x64]
mov edi, eax
call fcn.00426291
jmp 0x42760b
cmp dword [esi + 0x14], 0x10
jb 0x427681
mov ecx, dword [esi]
jmp 0x427683
mov ecx, esi
mov eax, dword [ebx]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0x78], eax
cmp eax, edi
jne 0x42770a
cmp dword [0x47d500], edi
jg 0x42770a
lea eax, [ebp - 0x118]
push eax
call fcn.00409545
lea eax, [ebp - 0x118]
push str.Deleted__
push eax
call fcn.0040b58e
sub esp, 0x14
mov ecx, esi
mov esi, esp
mov eax, ebx
mov dword [ebp - 0x7c], esp
call fcn.004264c9
lea esi, [ebp - 0x118]
call fcn.0040b3b1
mov esi, eax
push str.__value
push esi
call fcn.0040b58e
pop ecx
pop ecx
push esi
push 0x1d2
push edi
mov ebx, str.Registry::deleteValue
mov edi, str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u231_13620_install_src_windows_common_Registry.cpp
mov esi, 0x47d500
call fcn.004078b6
lea eax, [ebp - 0x118]
call fcn.0040789c
mov edi, dword [ebp - 0x78]
jmp 0x42761e
Function at 0x428cf2
Capabilities:
Check mutex on windows

Disassembly:
push 0xa8
mov eax, 0x458f50
call fcn.00441eb1
push str.Global_MSIExecute
xor esi, esi
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], esi
cmp eax, esi
je 0x428dc4
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], esi
je 0x428da4
cmp dword [0x47d500], 1
jg 0x428da4
lea eax, [ebp - 0xb4]
push eax
call fcn.00409545
lea eax, [ebp - 0xb4]
push str.finish_waiting_for_mutex:
push eax
mov byte [ebp - 4], 1
call fcn.0040b58e
pop ecx
pop ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0xb4]
push eax
call fcn.0040df0e
lea eax, [ebp - 0xb4]
push eax
push 0x1c8
push 1
mov ebx, str.msi::waitForInstallationCompletion
mov edi, str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u231_13620_install_src_windows_common_MsiUtils.cpp
mov esi, 0x47d500
call fcn.004078b6
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0
call fcn.0040789c
cmp dword [ebp - 0x14], 0x102
jne 0x428dc4
xor bl, bl
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call fcn.0042b043
pop ecx
mov al, bl
call fcn.00441f89
ret
mov bl, 1
jmp 0x428daf
Function at 0x4305cb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458192
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x479630]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x479630]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
cmp byte [ecx + 0x38], bl
je 0x43062b
push esi
mov ebx, ecx
call fcn.004302d0
mov eax, esi
jmp 0x430814
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x14]
mov dword [esp + 0xc0], ebx
call fcn.00430407
test al, al
jne 0x4306f8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ebx, [esp + 0x58]
mov byte [esp + 0xc0], 1
call fcn.004331f0
push 0xc8
lea edx, [esp + 0x28]
mov ecx, eax
mov byte [esp + 0xc4], 2
call fcn.00430407
movzx eax, al
push eax
call fcn.00430ae6
pop ecx
pop ecx
push 0
push 1
mov ecx, ebx
mov byte [esp + 0xc8], 1
call fcn.00405e43
push dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push esi
push ebx
push dword [esp + 0x34]
lea ecx, [esp + 0x34]
call fcn.0040f47b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
lea esi, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc0], 0
call fcn.0040d6e4
xor ebx, ebx
mov edi, dword [esp + 0x14]
mov esi, edi
cmp edi, dword [esp + 0x18]
je 0x43075e
push 0x466850
call fcn.0040f07e
pop ecx
test al, al
jne 0x43071c
add esi, 0x1c
cmp esi, dword [esp + 0x18]
jne 0x430704
cmp dword [esp + 0x18], esi
je 0x43075a
cmp edi, esi
je 0x43073f
lea eax, [esi + 0x1c]
push eax
add esi, 0xffffffe4
push esi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040d51c
jmp 0x4306f8
push 0x137
lea esi, [esp + 0x28]
call fcn.0040bf72
push 0x46d660
mov eax, esi
push eax
call fcn.00441a81
cmp edi, dword [esp + 0x18]
sete al
movzx eax, al
push eax
call fcn.00430abe
pop ecx
push dword [esp + 0x14]
lea esi, [esp + 0x40]
add edi, 0x1c
call fcn.00406ec6
mov byte [esp + 0xc0], 4
jmp 0x4307c3
lea eax, [esp + 0x58]
push 0x466a4c
push eax
call fcn.00412a81
pop ecx
pop ecx
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x44]
mov byte [esp + 0xc8], 5
call fcn.004062ba
push ebx
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 4
call fcn.00405e43
add edi, 0x1c
cmp edi, dword [esp + 0x18]
jne 0x430785
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00430287
push dword [esp + 0x38]
mov byte [esp + 0xc4], 6
lea ebx, [esp + 0x78]
mov byte [esp + 0xb0], 1
call fcn.004302d0
call fcn.0042cadf
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00405e43
lea esi, [esp + 0x14]
call fcn.0040d6e4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0043a455
mov esp, ebp
pop ebp
ret
Function at 0x430d02
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455599
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x479630]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x479630]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ecx
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
call fcn.00406ec6
mov byte [esp + 0x3c], bl
mov dword [esp + 0x70], ebx
jmp 0x430daf
lea edx, [esp + 0x20]
add edi, 0xfffffffc
mov ecx, dword [edi]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], edi
call dword [eax + 4]
mov esi, eax
lea edi, [esp + 0x20]
mov byte [esp + 0x70], 1
call fcn.00405cea
mov al, byte [esi + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x44], al
mov byte [esp + 0x78], bl
call fcn.00405e43
cmp byte [esp + 0x3c], bl
jne 0x430db5
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x14]
jne 0x430d66
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
call fcn.00406ec6
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.00405e43
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0043a455
mov esp, ebp
pop ebp
ret 8
Function at 0x433d8a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456fba
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x479630]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.00430892
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [esp + 0x10], cl
mov dword [esp + 0x1c], edi
mov byte [eax + 4], bl
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], cl
mov dword [esp + 0x50], ebx
cmp byte [esp + 0x18], bl
je 0x433df5
push dword [esp + 0x14]
mov byte [esp + 0x1c], bl
call fcn.004391c4
pop ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, 0x100001
lea eax, [esp + 0x34]
mov byte [esp + 0x50], 1
call fcn.00415ddc
push edi
mov edi, dword [esp + 0x38]
dec esi
push esi
push 1
push edi
call fcn.00441786
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, esi
jbe 0x433e49
push 0xc8
lea esi, [esp + 0x20]
call fcn.0040bf72
push 0x46d660
mov eax, esi
push eax
call fcn.00441a81
push dword [esp + 0x1c]
call fcn.00441514
pop ecx
test eax, eax
je 0x433e6e
push 0x133
lea esi, [esp + 0x20]
call fcn.0040bf72
push 0x46d660
mov eax, esi
jmp 0x433e43
push dword [esp + 0x1c]
call fcn.004414ec
pop ecx
test eax, eax
jne 0x433e93
push 0x13b
lea esi, [esp + 0x20]
call fcn.0040bf72
push 0x46d660
mov eax, esi
jmp 0x433e43
mov esi, dword [esp + 0x14]
mov ecx, esi
mov eax, edi
call fcn.00433d56
lea eax, [edi + esi]
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp edi, eax
je 0x433ec1
sub eax, edi
push eax
push edi
mov ecx, esi
call fcn.00405ea6
cmp edi, ebx
je 0x433ecc
push edi
call fcn.0043a44a
pop ecx
cmp byte [esp + 0x10], bl
je 0x433edc
push dword [esp + 0x1c]
call fcn.004391c4
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x435416
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, eax
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jl 0x435496
jg 0x435442
cmp esi, ecx
jbe 0x435496
cmp dword [ebp + 0x14], ecx
jg 0x435442
jl 0x43543e
cmp esi, 0x7fffffff
jae 0x435442
mov eax, esi
jmp 0x435447
mov eax, SysReAllocString
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 4], ecx
je 0x435487
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x435471
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x435491
jmp 0x435487
mov eax, dword [ebp - 4]
test eax, eax
jle 0x435482
add ebx, eax
cdq
sub esi, eax
sbb dword [ebp + 0x14], edx
jmp 0x435422
cmp eax, 0xffffffff
jne 0x435491
call fcn.004406b5
cmp dword [eax], 4
je 0x435422
or eax, 0xffffffff
jmp 0x435498
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x43a455
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479630]
jne 0x43a45f
repz ret
jmp fcn.004446c5

Function at 0x4500bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479630]
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.00446d92
and dword [ebp - 0x14], 0
cmp dword [0x47d1f8], 0
mov dword [ebp - 0x18], eax
jne 0x45016f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x450217
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x450217
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47d1f8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47d1fc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47d200], eax
call edi
push eax
call esi
mov dword [0x47d208], eax
test eax, eax
je 0x45016f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47d204], eax
mov eax, dword [0x47d204]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4501c8
cmp dword [0x47d208], ecx
je 0x4501c8
push eax
call esi
push dword [0x47d208]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4501c8
test ebx, ebx
je 0x4501c8
call edi
test eax, eax
je 0x4501bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4501bf
test byte [ebp - 8], 1
jne 0x4501c8
or dword [ebp + 0x10], 0x200000
jmp 0x4501fb
mov eax, dword [0x47d1fc]
cmp eax, dword [ebp - 0x18]
je 0x4501fb
push eax
call esi
test eax, eax
je 0x4501fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4501fb
mov eax, dword [0x47d200]
cmp eax, dword [ebp - 0x18]
je 0x4501fb
push eax
call esi
test eax, eax
je 0x4501fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47d1f8]
call esi
test eax, eax
je 0x450217
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x450219
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a455
leave
ret
Function at 0x6da370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x6da38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x703074
push ecx
mov edi, eax
call fcn.006ee198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6da3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006ee02e
push esi
call fcn.006edfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6dd850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x6dd8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x708720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6dd8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.006ee1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x6dd8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x708720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6dd92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.006ef082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6dd957
mov word [eax], si
add eax, 2
push eax
call fcn.006ef030
add esp, 4
jmp 0x6dd959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x6dd8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6dd8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6ddff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x6de080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6de0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x703458
push ecx
call fcn.006ee1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006ee1e1
add esp, 0x10
jmp 0x6de0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.006ee20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.006eddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.006de050
mov eax, dword [0x708728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x6de13b
push esi
call fcn.006ddfb0
add esp, 4
mov dword [0x708728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x6de14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.006ddff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x6e1440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x6e14b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x6e148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6e1471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6e147e
add edx, ecx
cmp ebx, edx
jb 0x6e148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6e1467
xor ecx, ecx
jmp 0x6e14a2
test eax, eax
jne 0x6e1492
xor ecx, ecx
jmp 0x6e14a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.006e13c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x6e18f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x6e1921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x6e1946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x6e196e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x6e1993
push ecx
push esi
call fcn.006e14c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret