joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000c
call fcn.004219e0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x38], 0
je 0x402eda
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x402eed
mov ecx, dword [esi + 0x30]
lea ebx, [esi + 0x30]
test ecx, ecx
je 0x402eed
cmp byte [esi + 0x34], 0
je 0x402eda
push ecx
push 0x428570
push eax
call fcn.004152d4
add esp, 0xc
test eax, eax
jne 0x402ea1
mov dword [ebp - 0x1000c], str.python3
mov eax, str.py_python3
jmp 0x402eff
push dword [ebx]
push 0x42856c
push dword [esi + 0x2c]
call fcn.004152d4
add esp, 0xc
test eax, eax
jne 0x402ec8
mov dword [ebp - 0x1000c], str.python2
mov eax, str.py_python2
jmp 0x402eff
push dword [esi + 0x2c]
push dword [ebx]
push str._Cannot_select_defaults_for_tag__.s_n
call fcn.00401130
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004064d4
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1000c], str.python
lea ebx, [esi + 0x30]
mov eax, str.py_python
push 0x8000
lea ecx, [ebp - 0x10008]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
jne 0x402f39
mov edx, dword [ebp - 0x1000c]
lea eax, [ebp - 0x10008]
push ecx
push eax
mov ecx, str.defaults
call fcn.00402370
mov edi, eax
add esp, 8
test edi, edi
je 0x402eda
lea eax, [edi*2 + 6]
push eax
call fcn.0041530e
add esp, 4
test eax, eax
je 0x402ff3
mov ecx, dword [esi + 0x44]
mov dword [eax], ecx
lea ecx, [eax + 4]
mov dword [esi + 0x44], eax
mov dword [ebp - 0x1000c], ecx
test ecx, ecx
je 0x402ff3
lea eax, [ebp - 0x10008]
push eax
lea eax, [edi + 1]
push eax
push ecx
call fcn.00414ce8
add esp, 0xc
push 0x2f
push dword [ebp - 0x1000c]
call fcn.00407118
mov edx, eax
add esp, 8
test edx, edx
jne 0x402fba
mov eax, dword [ebp - 0x1000c]
mov cl, 1
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [ebx], edi
mov byte [esi + 0x34], cl
mov byte [esi + 0x35], cl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004064d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1000c]
mov eax, edx
sub eax, ecx
mov dword [esi + 0x24], ecx
sar eax, 1
xor cl, cl
mov dword [esi + 0x28], eax
sub edi, eax
lea eax, [edx + 2]
dec edi
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [ebx], edi
mov byte [esi + 0x34], cl
mov byte [esi + 0x35], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004064d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x68
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004064d4
mov esp, ebp
pop ebp
ret
Function at 0x403510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 6
push dword [ebp + 0xc]
mov ebx, edx
mov edi, ecx
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x403584
push dword [ebp - 4]
call fcn.0041530e
mov esi, eax
add esp, 4
test esi, esi
jne 0x403558
pop edi
lea eax, [esi + 0x68]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push esi
push 0
push 6
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x40357b
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00415234
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
push eax
push 0
push 0
push 6
push 0
mov ebx, edx
mov dword [ebp - 8], ecx
push str.InstallPath
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x403a78
push dword [ebp - 4]
call fcn.0041530e
mov edi, eax
add esp, 4
test edi, edi
jne 0x403a4f
lea eax, [edi + 0x68]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push edi
push 0
push 6
push 0
push str.InstallPath
push ebx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x403a6f
mov dword [esi + 0x18], edi
jmp 0x403a78
push edi
call fcn.00415234
add esp, 4
cmp dword [esi + 0x18], 0
je 0x403bed
mov edi, dword [esi + 0xc]
test edi, edi
je 0x403ace
push 0
push 0
push 0
push 0xffffffffffffffff
push str.PythonCore
push 0xffffffffffffffff
push edi
push 9
push 0x427ee0
call dword [sym.imp.KERNEL32.dll_CompareStringEx]
sub eax, 1
je 0x403ace
sub eax, 1
je 0x403b1d
sub eax, 1
je 0x403ace
push str.PythonCore
push 0xffffffffffffffff
push edi
push 0xffffffffffffffff
push str.Error_comparing__.s_and__.s__compare_
push 0
call fcn.00401200
add esp, 0x18
mov eax, dword [ebp - 8]
lea edi, [esi + 0x1c]
cmp byte [eax + 0x39], 0
je 0x403b8f
push str.WindowedExecutablePath
push str.InstallPath
mov edx, ebx
mov ecx, edi
call fcn.00403510
add esp, 8
test eax, eax
jne 0x403c24
cmp dword [edi], eax
je 0x403b9d
push str.WindowedExecutableArguments
push str.InstallPath
lea ecx, [esi + 0x20]
mov edx, ebx
call fcn.00403510
add esp, 8
jmp 0x403b91
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push str._d._d
push dword [esi + 0x10]
call fcn.00401100
add esp, 0x10
cmp eax, 2
je 0x403b52
push dword [esi + 0x10]
push dword [esi + 0xc]
push str.__s__s_has_an_invalid_version_tag_n
call fcn.00401130
add esp, 0xc
jmp 0x403ace
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x403b77
cmp eax, 3
jne 0x403ace
mov eax, dword [ebp - 0xc]
test eax, eax
js 0x403ace
cmp eax, 5
jg 0x403ace
push dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, ebx
push esi
call fcn.00403670
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
test eax, eax
jne 0x403c24
cmp dword [edi], eax
jne 0x403bf9
push str.ExecutablePath
push str.InstallPath
mov edx, ebx
mov ecx, edi
call fcn.00403510
add esp, 8
test eax, eax
jne 0x403c24
cmp dword [edi], eax
je 0x403bda
push str.ExecutableArguments
push str.InstallPath
lea ecx, [esi + 0x20]
mov edx, ebx
call fcn.00403510
add esp, 8
test eax, eax
jne 0x403c24
cmp dword [edi], eax
jne 0x403bf9
push dword [esi + 0x10]
push dword [esi + 0xc]
push str.__s__s_has_no_executable_path_n
call fcn.00401130
add esp, 0xc
mov eax, 0x67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.SysArchitecture
push 0
lea ecx, [esi + 0x24]
mov edx, ebx
call fcn.00403510
add esp, 8
test eax, eax
jne 0x403c24
push str.DisplayName
push eax
lea ecx, [esi + 0x28]
mov edx, ebx
call fcn.00403510
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403c30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x218], eax
xor edi, edi
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x21c], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x100
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x403e3c
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403e20
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x208]
call fcn.00403010
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov esi, eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esi + 0x14], eax
mov edx, dword [ebp - 0x210]
call fcn.00403a00
add esp, 8
mov edi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0x67
jne 0x403d81
push dword [esi + 0xc]
call fcn.00415234
add esp, 4
push dword [esi + 0x10]
call fcn.00415234
add esp, 4
push dword [esi + 0x18]
call fcn.00415234
add esp, 4
push dword [esi + 0x1c]
call fcn.00415234
add esp, 4
push dword [esi + 0x20]
call fcn.00415234
add esp, 4
push dword [esi + 0x28]
call fcn.00415234
mov ecx, dword [esi]
add esp, 4
call fcn.00403120
mov ecx, dword [esi + 4]
mov dword [esi], 0
call fcn.00403120
push esi
mov dword [esi + 4], 0
call fcn.00415234
mov esi, dword [ebp - 0x20c]
add esp, 4
xor edi, edi
inc ebx
jmp 0x403c71
test edi, edi
jne 0x403e1a
mov ecx, dword [ebp - 0x224]
xor edx, edx
push esi
call fcn.004032d0
mov edi, eax
add esp, 4
test edi, edi
je 0x403e1a
push dword [esi + 0xc]
call fcn.00415234
add esp, 4
push dword [esi + 0x10]
call fcn.00415234
add esp, 4
push dword [esi + 0x18]
call fcn.00415234
add esp, 4
push dword [esi + 0x1c]
call fcn.00415234
add esp, 4
push dword [esi + 0x20]
call fcn.00415234
add esp, 4
push dword [esi + 0x28]
call fcn.00415234
mov ecx, dword [esi]
add esp, 4
call fcn.00403120
mov ecx, dword [esi + 4]
mov dword [esi], 0
call fcn.00403120
push esi
mov dword [esi + 4], 0
call fcn.00415234
mov esi, dword [ebp - 0x20c]
add esp, 4
cmp edi, 0x6e
jne 0x403e20
xor edi, edi
inc ebx
jmp 0x403c71
mov esi, dword [ebp - 0x20c]
inc ebx
test edi, edi
je 0x403c71
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004064d4
mov esp, ebp
pop ebp
ret
cmp eax, 0x103
je 0x403e52
push str.Failed_to_read_installs__tags__from_the_registry
push 0
call fcn.00401200
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004064d4
mov esp, ebp
pop ebp
ret
Function at 0x404880
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x40], 0x3c
mov esi, ecx
mov dword [ebp - 0x3c], 0x8140
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push esi
push str._Installing_with__s__s_n
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 1
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call fcn.00401130
add esp, 0xc
push 0
push 0
push str.PYLAUNCHER_DRYRUN
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, 2
jb 0x4049b3
push str._Exiting_due_to_PYLAUNCHER_DRYRUN_n
call fcn.00401130
add esp, 4
push 1
call fcn.0040eead
add esp, 4
push eax
call fcn.0040f241
add esp, 4
push 0x40000
push 1
call fcn.0040eead
add esp, 4
push eax
call fcn.0041500f
add esp, 4
push eax
call fcn.00414e20
add esp, 8
mov ebx, eax
test edi, edi
je 0x40495a
push edi
push esi
push str.__s___s_n
push 1
call fcn.0040eead
add esp, 4
push eax
call fcn.00401050
add esp, 0x10
jmp 0x404973
push esi
push str.__s__n
push 1
call fcn.0040eead
add esp, 4
push eax
call fcn.00401050
add esp, 0xc
push 1
call fcn.0040eead
add esp, 4
push eax
call fcn.0040f241
add esp, 4
test ebx, ebx
js 0x4049a7
push ebx
push 1
call fcn.0040eead
add esp, 4
push eax
call fcn.0041500f
add esp, 4
push eax
call fcn.00414e20
add esp, 8
mov eax, 0x6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4049cd
mov eax, 0x67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
test eax, eax
je 0x4049a7
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4049a7
mov eax, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0x6f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406de8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406e27
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406e27
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406e27
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406e27
cmp dword [ecx + 0x74], 0xe
jbe 0x406e27
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x415e4b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x415e8a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x415e8a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x415e8a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x415e8a
cmp dword [ecx + 0x74], 0xe
jbe 0x415e8a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x418d93
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4248a4
push 0x42489c
push str.FlsAlloc
push 0x1f
call fcn.00418cce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x418dc7
push dword [ebp + 8]
mov ecx, esi
call dword [0x4221a8]
call esi
jmp 0x418dcd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x418e11
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4248b4
push 0x4248ac
push str.FlsGetValue
push 0x21
call fcn.00418cce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x418e48
push dword [ebp + 8]
mov ecx, esi
call dword [0x4221a8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x418e50
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4248bc
push 0x4248b4
push str.FlsSetValue
push 0x22
call fcn.00418cce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x418e8a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4221a8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x41a3e4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41a42f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041a57f
test al, al
jne 0x41a429
sub edx, 2
cmp edx, edi
jne 0x41a40f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41a451
lea eax, [edi + 2]
cmp edx, eax
je 0x41a451
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041a330
add esp, 0x10
jmp 0x41a54b
push esi
lea ecx, [ebp - 0x255]
call fcn.0041a57f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a494
push dword [ebp - 0x25c]
jmp 0x41a441
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41a4d1
cmp word [ebp - 0x226], 0
je 0x41a4f2
cmp word [ebp - 0x226], ax
jne 0x41a4d1
cmp word [ebp - 0x224], 0
je 0x41a4f2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041a330
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41a53e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41a4ab
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41a526
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41a54b
push 0x41a160
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041eb80
add esp, 0x10
jmp 0x41a51b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004064d4
leave
ret

Function at 0x421610
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42163d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42163d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100034ce
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 6
lea ecx, [ebp + 8]
call fcn.1000e990
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
lea ecx, [ebp + 8]
call fcn.1000e810
pop ebp
ret

Function at 0x100041c6
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
call fcn.10001684
jecxz 0x10004250
mov dword [ebp - 8], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp + 8]
call fcn.1000e990
push eax
call fcn.100016a6
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x10004255
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
add eax, 1
push eax
call fcn.1001255b
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
adc eax, sym.imp.KERNEL32.DLL_CloseHandle
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
lea ecx, [ebp + 8]
call fcn.1000e810
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100073ec
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.1000e770
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.1000e770
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.1000e830
push 0x1001e1c0
call fcn.10001709
add esp, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.1000e890
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp - 0x10]
call fcn.1000e990
push eax
call fcn.100016a6
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x100074f2
push 0
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jbe 0x100074e8
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 1
push ecx
call fcn.1001255b
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x30], edx
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x20]
call fcn.1000e850
push 0
push 0x1001e0f4
call fcn.10001709
add esp, 4
push eax
lea ecx, [ebp - 0x20]
call fcn.1000e9f0
cmp eax, 0xffffffff
je 0x100074d6
mov byte [ebp - 0x24], 1
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.10011354
add esp, 4
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dl, byte [ebp - 0x24]
mov byte [ebp - 0x48], dl
lea ecx, [ebp - 0x10]
call fcn.1000e810
lea ecx, [ebp - 0x20]
call fcn.1000e810
lea ecx, [ebp + 8]
call fcn.1000e810
mov al, byte [ebp - 0x48]
mov esp, ebp
pop ebp
ret

Function at 0x100080ff
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x100256e8]
push eax
push 0
push 0x1f0fff
call dword [0x100256dc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10008139
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [0x100256d8]
test eax, eax
je 0x10008139
mov byte [ebp - 4], 1
mov edx, dword [ebp - 4]
and edx, 0xff
test edx, edx
jne 0x10008162
mov eax, dword [0x100256e8]
push eax
push 0x100080c7
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
mov ecx, 0x10021470
call fcn.1000e990
push eax
call fcn.10002127
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x100081d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dl, byte [eax]
add byte [eax], al
add byte [eax], al
call fcn.10007c88
cmp dword [0x100256e8], 0
je 0x100081d1
call fcn.10007dba
and eax, 0xff
test eax, eax
jne 0x100081d1
xor eax, eax
mov al, byte [0x10025800]
test eax, eax
je 0x100081d1
call fcn.100080ff
pop edi
pop esi
pop ebx
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
call fcn.10001684
jb 0x1000819f
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000e770
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], 0
mov byte [ebp - 0x2e], 0x8a
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 5
mov byte [ebp - 0x2a], 0x11
mov byte [ebp - 0x29], 0x14
mov byte [ebp - 0x28], 1
mov byte [ebp - 0x27], 0x10
mov byte [ebp - 0x26], 0x5b
mov byte [ebp - 0x25], 0x10
mov byte [ebp - 0x24], 0xd
mov byte [ebp - 0x23], 0x10
mov byte [ebp - 0x22], 0x75
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0xb8
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0x37
mov byte [ebp - 0x1b], 0x75
mov byte [ebp - 0x1a], 0x37
mov byte [ebp - 0x19], 0x24
mov byte [ebp - 0x18], 0x2b
mov byte [ebp - 0x17], 0x2e
mov byte [ebp - 0x16], 0x22
mov byte [ebp - 0x15], 0x29
mov byte [ebp - 0x14], 0x33
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x22
mov byte [ebp - 0x11], 0x3f
mov byte [ebp - 0x10], 0x22
mov byte [ebp - 0xf], 0x47
push 0x100214f0
lea ecx, [ebp - 0x40]
call fcn.1000e830
lea ecx, [ebp - 0x30]
push ecx
call fcn.10001709
add esp, 4
push eax
lea ecx, [ebp - 0x40]
call fcn.1000e890
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0xe2
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0x6e
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x33
mov byte [ebp - 5], 0x7a
mov byte [ebp - 4], 0x74
mov byte [ebp - 3], 0x7b
mov byte [ebp - 2], 0x1d
call fcn.10001684
xor eax, 0x6a016ab2
add dword [edx], ebp
sub esp, 0x10
mov ecx, esp
lea edx, [ebp - 0x40]
push edx
call fcn.1000e7a0
sub esp, 0x10
mov esi, esp
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.10001709
add esp, 4
push eax
mov ecx, esi
call fcn.1000e7e0
call fcn.10004099
add esp, 0x2c
and eax, 0xff
test eax, eax
jne 0x10008317
lea ecx, [ebp - 0x40]
call fcn.1000e810
jmp 0x10008332
push 0
lea ecx, [ebp - 0x40]
call fcn.1000e990
push eax
call fcn.10002127
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.1000e810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret