joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419a9a
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x494334]
xor eax, esp
mov dword [esp + 0xa08], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa1c]
lea eax, [esp + 0x110]
push edi
mov ebp, 0x104
xor ebx, ebx
push ebp
push ebx
push eax
call fcn.00442b50
add esp, 0xc
lea eax, [esp + 0x114]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, eax
test edi, edi
je 0x419c2f
cmp edi, ebp
ja 0x419c2f
push ebp
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00442b50
push esi
lea eax, [esp + 0x124]
push eax
push 0x470118
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.00409c6f
add esp, 0x24
test eax, eax
jg 0x419b90
mov esi, 0x800
lea eax, [esp + 0x218]
push esi
push ebx
push eax
call fcn.00442b50
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._snprintf_failed.__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x224]
push esi
push eax
call fcn.00409c6f
add esp, 0x14
cmp eax, esi
jae 0x419cc0
push 3
mov byte [esp + eax + 0x21c], bl
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x419ca5
lea eax, [esp + 0x218]
push eax
push str.JRE_System_LoadLibrary
push 0x50
jmp 0x419c92
cmp eax, ebp
jae 0x419cc0
mov byte [esp + eax + 0x10], bl
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x419c2b
mov esi, 0x800
lea eax, [esp + 0x218]
push esi
push ebx
push eax
call fcn.00442b50
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push eax
push str.LoadLibrary__s__failed.__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push esi
push eax
call fcn.00409c6f
add esp, 0x18
cmp eax, esi
jae 0x419cc0
push 3
mov byte [esp + eax + 0x21c], bl
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x419c2b
lea eax, [esp + 0x218]
push eax
push str.JRE_System_LoadLibrary
push 0x5a
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_AllUtils.cpp
push 3
call fcn.00418a5b
mov ecx, eax
call fcn.00408843
mov eax, edi
jmp 0x419ca7
mov esi, 0x800
lea eax, [esp + 0x218]
push esi
push ebx
push eax
call fcn.00442b50
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.GetSystemDirectory_failed.__Return_Code:__d__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push esi
push eax
call fcn.00409c6f
add esp, 0x18
cmp eax, esi
jae 0x419cc0
push 3
mov byte [esp + eax + 0x21c], bl
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x419ca5
lea eax, [esp + 0x218]
push eax
push str.JRE_System_LoadLibrary
push 0x46
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_AllUtils.cpp
push 3
call fcn.00418a5b
mov ecx, eax
call fcn.00408843
xor eax, eax
mov ecx, dword [esp + 0xa18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044119a
add esp, 0xa0c
ret
call fcn.004410b6
int3
Function at 0x41e820
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
and dword [esp + 4], 0
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0xc
push 0
push eax
xor ebp, ebp
lea edi, [esi + 0xc8]
inc ebp
push edi
lea ebx, [esi + 0xc4]
mov dword [esp + 0x24], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x41e3bc
mov eax, dword [edi]
or dword [esi + 0x9c], 0x100
push 0
push ebp
push dword [ebx]
mov dword [esi + 0xb0], eax
mov dword [esi + 0xac], eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
xor ebx, ebx
inc ebx
push ebx
mov dword [esi + 0x50], ebx
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x41e3b8
push str.Create_pipe_SUCCESS
push str.Executor::createPipe
push 0xe8
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Executor.cpp
push ebx
call fcn.00418a5b
mov ecx, eax
call fcn.00408843
mov al, bl
jmp 0x41e3f0
push ebp
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x41e3ee
push str.Create_pipe_FAILURE
push str.Executor::createPipe
push 0xeb
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Executor.cpp
push ebp
call fcn.00418a5b
mov ecx, eax
call fcn.00408843
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push esi
push edi
mov edi, ecx
push 0x44
push 0
lea esi, [edi + 0x70]
push esi
call fcn.00442b50
push 0x10
lea eax, [edi + 0x60]
mov dword [esi], 0x44
push 0
push eax
call fcn.00442b50
add esp, 0x18
cmp dword [edi + 0xb4], 1
jne 0x41e867
or dword [edi + 0x9c], 1
xor eax, eax
mov word [edi + 0xa0], ax
mov dword [edi + 0x54], 0x8000000
cmp byte [edi + 0xc1], 0
je 0x41e879
mov ecx, edi
pop edi
pop esi
jmp 0x41e322
pop edi
pop esi
ret
Function at 0x41e9a0
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x4691a2
call fcn.0044120d
mov esi, ecx
xor ebx, ebx
lea edi, [esi + 0x30]
inc ebx
push ebx
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x41ea04
push edi
lea eax, [ebp - 0x28]
push str.Executor.exec__:
push eax
call fcn.0041497d
add esp, 0xc
and dword [ebp - 4], 0
push eax
push str.Executor::startExecution
push 0x93
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Executor.cpp
push ebx
call fcn.00418a5b
mov ecx, eax
call fcn.00418cd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408398
mov ecx, esi
call fcn.0041e820
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x41ea15
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
add eax, ecx
cmp dword [edi + 0x14], 0x10
jb 0x41ea22
mov edi, dword [edi]
lea ecx, [ebp - 0x29]
push ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00413163
lea eax, [ebp - 0x29]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x29], 0
call fcn.00413225
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x41ea4d
mov ecx, dword [esi]
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x70]
push eax
push dword [esi + 0x5c]
push dword [esi + 0x58]
push dword [esi + 0x54]
push dword [esi + 0x50]
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
lea ecx, [ebp - 0x1c]
setne bl
call fcn.004130d8
mov al, bl
call fcn.004411bc
ret
Function at 0x41fa10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.0041f182
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041f137
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0041f182
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041f137
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
invalid
test dword [ecx], esp
cld
invalid
Function at 0x428063
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10c
mov eax, 0x46a949
call fcn.0044120d
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.00427fab
mov ebx, eax
test ebx, ebx
je 0x428150
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push dword [esi + 0x38]
call edi
test eax, eax
jne 0x428106
push str.cannot_load_resource
lea ecx, [ebp - 0x28]
call fcn.00402f12
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.00427fca
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.004198a2
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x80]
call fcn.0042d244
mov esi, eax
push 0x46
push str.Resource::getPtr
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Resources.cpp
jmp 0x4281ba
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x34], 6
mov edi, eax
jne 0x428137
mov edx, dword [esi + 0x18]
mov ecx, edi
and edx, 0xf
jbe 0x42812d
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub edx, 1
jne 0x42811f
movzx eax, word [ecx]
lea edi, [ecx + 2]
add eax, eax
jmp 0x428141
push ebx
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov eax, edi
call fcn.004411bc
ret 4
push str.cannot_find_resource
lea ecx, [ebp - 0x28]
call fcn.00402f12
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.00427fca
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.004198a2
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [sym.imp.KERNEL32.dll_FindResourceA]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x74]
call fcn.0042d244
mov esi, eax
push 0x41
push str.Resource::getPtr
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Resources.cpp
call fcn.00403093
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.0041a69e
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x48bc80
push eax
call fcn.00442f9e
int3
Function at 0x428e24
Capabilities:
Check http status code

Disassembly:
push 0x80
mov eax, 0x46aac4
call fcn.0044120d
mov edi, ecx
push 0xffffffffffffffff
push 0x13
call fcn.0042a8e9
mov esi, eax
cmp esi, 0xc8
je 0x428eee
cmp esi, 0xce
je 0x428eee
cmp esi, 0x193
jne 0x428ead
push 0x46fb0e
lea ecx, [ebp - 0x28]
call fcn.00402f12
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push 0x14
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0042ac4b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00408398
push 0
push str.Export_Denied
lea ecx, [ebp - 0x40]
call fcn.0041cb3b
cmp eax, 0xffffffff
jne 0x428ef4
or dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
call fcn.004035ff
push esi
lea ecx, [ebp - 0x8c]
call fcn.00428aac
mov esi, eax
push 0x2ce
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 4
call fcn.00403093
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00428511
add esp, 0xc
push 0x48e4a4
jmp 0x428f2f
call fcn.004411bc
ret
lea ecx, [ebp - 0x8c]
call fcn.00428a6e
mov esi, eax
push 0x2cb
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00403093
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.004284fa
add esp, 0xc
push 0x48e504
lea eax, [ebp - 0x6c]
push eax
call fcn.00442f9e
int3
Function at 0x42b2a5
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x6c
mov eax, 0x46b14b
call fcn.0044120d
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x58]
and dword [ebp - 0x58], 0
push edx
push dword [ebp + 0xc]
push eax
push dword [ecx + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42b2d8
mov eax, dword [ebp - 0x58]
call fcn.004411bc
ret 8
push str.InternetReadFile_failed
lea ecx, [ebp - 0x28]
call fcn.00402f12
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2c9
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x78]
call fcn.00428b2e
mov esi, eax
push 0x2eb
push str.HttpConnection::Response::readContent
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00403093
push eax
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00428528
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x48e388
push eax
call fcn.00442f9e
int3

Function at 0x42b8cc
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x46b239
call fcn.004411da
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
push esi
call fcn.0042b9c0
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
push esi
call fcn.0042b9c0
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
push ecx
push esi
call fcn.0042b9c0
push 0x409
push esi
call fcn.0042b9c0
add esp, 0x10
mov eax, esi
call fcn.004411a8
ret
Function at 0x43982d
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x46d670
call fcn.004411da
push 0x476dac
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
call fcn.00438ffd
add esp, 0xc
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [ebp - 0xd], cl
mov byte [eax + 4], bl
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], cl
xor esi, esi
inc esi
mov dword [ebp - 4], esi
cmp byte [ebp - 0x1c], bl
je 0x439877
push dword [ebp - 0x20]
mov byte [ebp - 0x1c], bl
call fcn.00465da1
pop ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 4], 2
push eax
push 0x100001
lea ecx, [ebp - 0x24]
call fcn.00416934
push edi
push 0x100000
push esi
mov esi, dword [ebp - 0x24]
push esi
call fcn.0044b01d
mov ebx, eax
add esp, 0x10
cmp ebx, 0x100000
ja 0x439948
push edi
call fcn.00453216
pop ecx
test eax, eax
je 0x4398cb
push 0x133
jmp 0x43994d
push edi
call fcn.004531ea
pop ecx
test eax, eax
jne 0x4398dd
push 0x13b
jmp 0x43994d
push ebx
push esi
call fcn.0043a0b4
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xe]
push eax
lea eax, [esi + ebx]
push eax
push esi
call fcn.00416905
test esi, esi
je 0x43992b
mov eax, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x439922
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00407e86
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
pop ecx
pop ecx
push eax
push esi
call fcn.00440d30
pop ecx
pop ecx
cmp byte [ebp - 0xd], 0
mov dword [ebp - 4], 3
je 0x43993f
push edi
call fcn.00465da1
pop ecx
mov eax, dword [ebp + 8]
call fcn.004411a8
ret
push 0xc8
lea ecx, [ebp - 0x38]
call fcn.004104a2
push 0x48a1c8
lea eax, [ebp - 0x38]
push eax
call fcn.00442f9e
int3
Function at 0x43f08c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
push 4
pop edx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x477e18]
sub edx, 1
jne 0x43f093
ret

Function at 0x459ac0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00459936

Function at 0x45fd87
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045fa04

Function at 0x465ed0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x465efd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x465efd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x6f3370
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 0x6f338e
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 0x71c074
push ecx
mov edi, eax
call fcn.00707198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6f33cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0070702e
push esi
call fcn.00706fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6f6850
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 0x6f68ae
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 0x721720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6f68ba
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.007071e1
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 0x6f68ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x721720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6f692a
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.00708082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6f6957
mov word [eax], si
add eax, 2
push eax
call fcn.00708030
add esp, 4
jmp 0x6f6959
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 0x6f68ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6f68b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6f6ff0
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 0x6f7080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6f70c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x71c458
push ecx
call fcn.007071e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.007071e1
add esp, 0x10
jmp 0x6f70d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0070720b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00706dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.006f7050
mov eax, dword [0x721728]
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 0x6f713b
push esi
call fcn.006f6fb0
add esp, 4
mov dword [0x721728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x6f714c
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.006f6ff0
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 0x6fa440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x6fa4b7
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 0x6fa48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6fa471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6fa47e
add edx, ecx
cmp ebx, edx
jb 0x6fa48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6fa467
xor ecx, ecx
jmp 0x6fa4a2
test eax, eax
jne 0x6fa492
xor ecx, ecx
jmp 0x6fa4a2
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.006fa3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x6fa8f0
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 0x6fa921
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 0x6fa946
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 0x6fa96e
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 0x6fa993
push ecx
push esi
call fcn.006fa4c0
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