joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412415
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x98
mov eax, 0x44fd7c
call fcn.0043c7da
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x84], ebx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x88], eax
cmp ecx, ebx
jne 0x41244b
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x412585
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
jb 0x41245b
mov eax, dword [edi]
jmp 0x41245d
mov eax, edi
push ebx
push ebx
lea edx, [ebp - 0x84]
push edx
push ebx
push 1
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4124b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x48]
call fcn.00412094
push eax
lea eax, [ebp - 0x80]
push str.string2binary__phase1__failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00406055
add esp, 0x14
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.0040c515
push 0x466b00
mov eax, esi
push eax
call fcn.0043c341
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
call fcn.0040d4f9
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x4124eb
mov edi, dword [edi]
push ebx
push ebx
lea ecx, [ebp - 0x84]
push ecx
push dword [ebp - 0x98]
push 1
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x412549
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x64]
call fcn.00412094
push eax
lea eax, [ebp - 0x2c]
push str.string2binary__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00406055
add esp, 0x14
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.0040c515
push 0x466b00
mov eax, esi
jmp 0x4124b0
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
call fcn.0040d4f9
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x98]
call fcn.004126ab
cmp dword [ebp - 0x98], ebx
je 0x41257f
push dword [ebp - 0x98]
call fcn.00434c43
pop ecx
mov eax, dword [ebp - 0x88]
call fcn.0043c85d
ret
Function at 0x413970
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0x451ab4
call fcn.0043c7da
cmp dword [0x475304], 1
mov ebx, ecx
jg 0x4139cb
lea eax, [ebp - 0x30]
push str.Executor.exec__:
lea edi, [ebx + 0x38]
push eax
call fcn.00410c44
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Executor::startExecution
push 0x93
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
push 1
mov edx, eax
mov ecx, 0x475304
call fcn.0041299a
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00405e00
push 0x44
pop esi
push esi
lea edi, [ebx + 0x7c]
push 0
push edi
call fcn.004360a0
add esp, 0xc
push 0x10
lea eax, [ebx + 0x6c]
push 0
push eax
mov dword [edi], esi
call fcn.004360a0
add esp, 0xc
cmp dword [ebx + 0xc0], 1
jne 0x413a0f
or dword [ebx + 0xa8], 1
xor eax, eax
mov word [ebx + 0xac], ax
mov dword [ebx + 0x60], 0x8000000
cmp byte [ebx + 0xcd], 0
je 0x413a1f
mov esi, ebx
call fcn.00413eb0
lea eax, [ebx + 0x38]
mov edx, dword [eax + 0x14]
cmp edx, 0x10
jb 0x413a2e
mov esi, dword [eax]
jmp 0x413a30
mov esi, eax
mov ecx, dword [eax + 0x10]
add ecx, esi
cmp edx, 0x10
jb 0x413a3c
mov eax, dword [eax]
push dword [ebp - 0x35]
xor edx, edx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
call fcn.0040fc91
mov dword [ebp - 4], 1
lea eax, [ebp - 0x31]
lea esi, [ebp - 0x24]
mov byte [ebp - 0x31], 0
call fcn.0040a801
cmp dword [ebx + 0x14], 0x10
jb 0x413a75
mov ecx, dword [ebx]
jmp 0x413a77
mov ecx, ebx
lea eax, [ebx + 0x6c]
push eax
push edi
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne bl
cmp dword [ebp - 0x24], 0
je 0x413aac
push dword [ebp - 0x24]
call fcn.00434c43
pop ecx
mov al, bl
call fcn.0043c85d
ret
Function at 0x41420d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450f4f
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x47162c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x47162c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x4142b1
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], str.Destination_buffer_cant_be_NULL
call fcn.004353cd
mov dword [esp + 0x20], vtable.std::invalid_argument.0
mov dword [esp + 0x80], ebx
lea eax, [esp + 0x48]
push eax
lea esi, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_common_share_tstrings.cpp
mov dword [esp + 0x1c], str.tstrings::format
mov dword [esp + 0x20], 0x1b
call fcn.00414e05
lea eax, [esp + 0x4c]
mov dword [esp], 0x466ca0
push eax
call fcn.0043c341
push 0xf
pop esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x80], 1
mov eax, dword [esp + 0x3c]
add eax, 0x100
lea ecx, [esp + 0x2c]
call fcn.00412690
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x4142ec
lea eax, [esp + 0x2c]
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [esp + 0x48]
push eax
call fcn.0043ab8e
add esp, 0x14
cmp eax, 0xffffffff
je 0x4142cb
lea ecx, [esp + 0x2c]
call fcn.00412690
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
lea esi, [esp + 0x2c]
mov byte [edi], bl
call fcn.00405ca7
push ebx
push 1
mov ecx, esi
call fcn.00405e00
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00434c4e
mov esp, ebp
pop ebp
ret
Function at 0x41fd59
Capabilities:
Get file version info

Disassembly:
push 0xf0
mov eax, 0x4529a6
call fcn.0043c7da
mov eax, dword [ebp + 8]
push eax
mov esi, ebx
mov dword [ebp - 0x54], ebx
call fcn.00406f18
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x40], esi
jb 0x41fd95
mov eax, dword [ebx]
jmp 0x41fd97
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x41fe4f
push str.System_error
mov dword [ebp - 0x4c], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x461
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00406f18
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.00409bf6
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 3
call fcn.0040bad0
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.0040b809
mov esi, eax
push 0x461458
push esi
call fcn.0040bad0
pop ecx
pop ecx
mov ecx, dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x60]
call fcn.0042503b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.00419a34
lea eax, [ebp - 0x3c]
mov dword [esp], 0x466cfc
push eax
call fcn.0043c341
mov esi, eax
lea eax, [ebx + 0x1c]
call fcn.0040d4f9
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x41fe6b
mov edx, dword [ebx]
jmp 0x41fe6d
mov edx, ebx
mov edi, dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
push ecx
push eax
push dword [ebp - 0x40]
push edx
call edi
test eax, eax
jne 0x41ff0b
push str.System_error
mov dword [ebp - 0x4c], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x46a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00406f18
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 6
call fcn.00409bf6
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 7
call fcn.0040bad0
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.0040b809
mov esi, eax
push 0x461458
push esi
call fcn.0040bad0
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x60]
call fcn.0042503b
mov byte [ebp - 4], 9
jmp 0x41fe31
mov eax, ebx
call fcn.0043c85d
ret 4
Function at 0x421209
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4536a0
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x47162c]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x47162c]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0xec]
mov ebx, ecx
push eax
mov edi, esi
mov dword [esp + 0x18], ebx
call fcn.0041fa6a
pop ecx
xor edi, edi
push esi
lea eax, [esp + 0x10c]
mov dword [esp + 0x1a4], edi
call fcn.0041fb1e
pop ecx
xor eax, eax
inc eax
mov dword [esp + 0x1a0], eax
cmp dword [esp + 0xfc], edi
je 0x4212e1
push eax
lea eax, [esp + 0xf0]
push eax
lea edi, [esp + 0x148]
call fcn.004206ea
mov byte [esp + 0x1a0], 2
push dword [ebp + 0xc]
lea ecx, [esp + 0x10c]
push ecx
mov ecx, eax
call fcn.00421209
mov esi, edi
mov byte [esp + 0x1a0], 1
call fcn.0042076e
push 0
push 1
lea ecx, [esp + 0x110]
call fcn.00405e00
push 0
jmp 0x42145f
cmp dword [esi + 0x14], 0x10
jb 0x4212eb
mov ecx, dword [esi]
jmp 0x4212ed
mov ecx, esi
mov eax, dword [ebx]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push edi
push ecx
push eax
call ebx
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x4213db
push str.set_dword_value
lea ecx, [esp + 0x128]
call fcn.00405b78
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
push esi
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 4
call fcn.00421c98
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 5
call fcn.004151a7
push str.System_error
push dword [esp + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
lea edi, [esp + 0x34]
mov byte [esp + 0x1ac], 6
call fcn.0042503b
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_jdk8u171_10807_install_src_windows_common_Registry.cpp
mov dword [esp + 0x24], str.Registry::setDword
mov dword [esp + 0x28], 0x173
call fcn.00419a34
lea eax, [esp + 0x16c]
mov dword [esp], 0x466cfc
push eax
call fcn.0043c341
cmp dword [0x475304], edi
jg 0x42144f
mov eax, dword [esp + 0x14]
mov ecx, esi
lea esi, [esp + 0xd0]
call fcn.004209a6
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [esp + 0x12c]
push eax
mov byte [esp + 0x1ac], 8
call fcn.00421e10
add esp, 0xc
push str.Registry::setDword
push 0x176
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_Registry.cpp
push edi
mov edx, eax
mov ecx, 0x475304
mov byte [esp + 0x1b0], 9
call fcn.0041299a
push edi
push 1
lea ecx, [esp + 0x12c]
call fcn.00405e00
push edi
push 1
mov ecx, esi
call fcn.00405e00
push edi
push 1
lea ecx, [esp + 0x110]
call fcn.00405e00
push edi
push 1
lea ecx, [esp + 0xf4]
call fcn.00405e00
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.00434c4e
mov esp, ebp
pop ebp
ret 8
Function at 0x421b0c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x47162c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
mov ebx, ecx
call fcn.0041fa6a
pop ecx
push edi
lea eax, [ebp - 0x20]
call fcn.0041fb1e
xor esi, esi
pop ecx
cmp dword [ebp - 0x2c], esi
je 0x421bfc
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
push esi
or ecx, 0x2001f
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004204f4
mov esi, dword [ebp - 0x70]
add esp, 0x14
test esi, esi
je 0x421ba9
cmp byte [ebp - 0x74], 0
je 0x421b7e
push dword [ebp - 0x78]
mov byte [ebp - 0x74], 0
call fcn.0041dc38
pop ecx
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00405e00
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00405e00
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434c4e
leave
ret 8
push 0x4740a9
lea eax, [ebp - 0x20]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x78]
mov eax, esp
mov dword [eax], ecx
mov cl, byte [ebp - 0x74]
mov byte [eax + 4], cl
mov dword [ebp - 0x68], esp
push ebx
lea ecx, [ebp - 0x3c]
lea edi, [ebp - 0x64]
mov byte [ebp - 0x74], 0
call fcn.00420667
mov ecx, eax
call fcn.00421b0c
lea esi, [ebp - 0x64]
mov edi, eax
call fcn.0042076e
cmp byte [ebp - 0x74], 0
je 0x421bf8
push dword [ebp - 0x78]
mov byte [ebp - 0x74], 0
call fcn.0041dc38
pop ecx
mov esi, edi
jmp 0x421b7e
cmp dword [edi + 0x14], 0x10
jb 0x421c06
mov ecx, dword [edi]
jmp 0x421c08
mov ecx, edi
mov eax, dword [ebx]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0x68], eax
cmp eax, esi
jne 0x421c90
cmp dword [0x475304], esi
jg 0x421c90
lea eax, [ebp - 0x118]
push eax
call fcn.00409bf6
lea eax, [ebp - 0x118]
push str.Deleted__
push eax
call fcn.0040bad0
sub esp, 0x14
mov ecx, edi
mov esi, esp
mov eax, ebx
mov dword [ebp - 0x7c], esp
call fcn.004209a6
lea esi, [ebp - 0x118]
call fcn.0040b809
mov esi, eax
push str.__value
push esi
call fcn.0040bad0
pop ecx
pop ecx
push esi
push 0x1c3
push 0
mov ebx, str.Registry::deleteValue
mov edi, str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_Registry.cpp
mov esi, 0x475304
call fcn.004078b0
lea eax, [ebp - 0x118]
call fcn.00407896
mov esi, dword [ebp - 0x68]
jmp 0x421b7e
Function at 0x425c35
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x120
mov eax, 0x452cd2
call fcn.0043c7da
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x78], eax
mov eax, esi
call fcn.00425c17
mov edi, eax
test edi, edi
jne 0x425ced
push str.cannot_find_resource
lea ecx, [ebp - 0x30]
call fcn.00405b78
and dword [ebp - 4], edi
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.00425b62
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.004151a7
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, esi
push eax
lea edi, [ebp - 0x90]
call fcn.0042503b
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x41
lea ecx, [ebp - 0x58]
push ecx
lea esi, [ebp - 0x84]
mov ecx, eax
call fcn.00419a34
lea eax, [ebp - 0x58]
mov dword [esp], 0x466cfc
push eax
call fcn.0043c341
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push dword [esi + 0x40]
call ebx
test eax, eax
jne 0x425d71
push str.cannot_load_resource
lea ecx, [ebp - 0x30]
call fcn.00405b78
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00425b62
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.004151a7
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, esi
push eax
mov ecx, ebx
lea edi, [ebp - 0x90]
call fcn.0042503b
mov byte [ebp - 4], 7
mov dword [ebp - 0x84], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x46
jmp 0x425ccc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x3c], 6
mov ebx, eax
jne 0x425da1
mov esi, dword [esi + 0x1c]
and esi, 0xf
jbe 0x425d92
dec esi
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
jne 0x425d88
movzx ecx, word [eax]
mov edx, dword [ebp - 0x78]
add ecx, ecx
mov dword [edx], ecx
lea ebx, [eax + 2]
jmp 0x425db0
push edi
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, ebx
call fcn.0043c85d
ret 4
Function at 0x42e4e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4510a5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x47162c]
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.0042acb1
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 0x42e551
push dword [esp + 0x14]
mov byte [esp + 0x1c], bl
call fcn.004339bb
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.004140ac
push edi
mov edi, dword [esp + 0x38]
dec esi
push esi
push 1
push edi
call fcn.0043c046
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, esi
jbe 0x42e5a5
push 0xc8
lea esi, [esp + 0x20]
call fcn.00424a48
push 0x46700c
mov eax, esi
push eax
call fcn.0043c341
push dword [esp + 0x1c]
call fcn.0043bdd4
pop ecx
test eax, eax
je 0x42e5ca
push 0x133
lea esi, [esp + 0x20]
call fcn.00424a48
push 0x46700c
mov eax, esi
jmp 0x42e59f
push dword [esp + 0x1c]
call fcn.0043bdac
pop ecx
test eax, eax
jne 0x42e5ef
push 0x13b
lea esi, [esp + 0x20]
call fcn.00424a48
push 0x46700c
mov eax, esi
jmp 0x42e59f
mov esi, dword [esp + 0x14]
mov ecx, esi
mov eax, edi
call fcn.0042e4b2
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 0x42e61d
sub eax, edi
push eax
push edi
mov ecx, esi
call fcn.00405e63
cmp edi, ebx
je 0x42e628
push edi
call fcn.00434c43
pop ecx
cmp byte [esp + 0x10], bl
je 0x42e638
push dword [esp + 0x1c]
call fcn.004339bb
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 0x42e890
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x47162c]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x450872
call fcn.0043c771
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x2c
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x42e8e6
push 0xc8
lea esi, [ebp - 0x20]
call fcn.00424a48
push 0x46700c
mov eax, esi
push eax
call fcn.0043c341
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.00412f5a
push 0x462dfc
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.004249bf
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0042d5db
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.0041302c
push 1
lea esi, [ebp]
call fcn.0041302c
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.00434c4e
add ebp, 0x244
leave
ret
Function at 0x402000
Capabilities:
Terminate process

Disassembly:
mov eax, 0xffffff07
mov ebx, 5
and eax, ebx
call fcn.00403036
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x4030b4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edi
push 0xfffffffffffffff6
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x4030fe
push 0
lea ecx, [ebp - 4]
push ecx
push 1
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp - 0x10]
inc dword [ebp - 0x10]
dec dword [ebp - 0xc]
cmp byte [edi], 0xd
je 0x4030fb
cmp dword [ebp - 0xc], 0
jne 0x4030d4
mov byte [edi], 0
push 0
lea ecx, [ebp - 4]
push ecx
push 1
lea ecx, [ebp - 0x14]
push ecx
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
cmp byte [ebp - 0x14], 0xa
jne 0x4030fe
popal
add esp, 0x14
pop ebp
ret
Function at 0x10001000
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1000c248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [esi], 0x1000d1a8
mov byte [esi + 4], cl
fdivr qword [0x1000d1a0]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [0x10012a98], edx
mov edx, dword [eax + 0xc]
mov dword [0x10012aa0], edx
mov edx, dword [eax]
mov dword [0x10012aa4], edx
mov edx, dword [eax + 0x14]
mov dword [0x10012aa8], edx
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [0x10012a9c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, esi
fidiv dword [esp + 0x28]
fild dword [esp + 0x30]
fmul qword [0x1000d198]
fdivp st(1)
fstp qword [esi + 0x18]
call fcn.100020e0
test eax, eax
jge 0x100010a7
mov dword [esi + 8], 0xfffffffd
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x10002320
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1000c32b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfac
lea eax, [esp]
mov dword [esp], 0
push eax
call sub.WMVCore.DLL_WMCreateProfileManager
test eax, eax
jl 0x10002443
mov eax, dword [esp + 0xfc4]
push esi
test eax, eax
push edi
jne 0x1000236c
mov esi, 0x80004005
jmp 0x10002435
push ebx
push ebp
push eax
lea ecx, [esp + 0x20]
push 0xfa0
push ecx
push str.profile
push str.audio_wma
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
lea edx, [esp + 0x24]
push 0xffffffffffffffff
push edx
xor bl, bl
push 0
push 0
mov byte [esp + 0x2c], bl
call ebp
mov esi, eax
test esi, esi
je 0x100023ee
lea eax, [esi + esi]
push eax
call fcn.10004b45
add esp, 4
mov edi, eax
lea ecx, [esp + 0x1c]
mov bl, 1
push esi
push edi
push 0xffffffffffffffff
push ecx
push 0
push 0
mov dword [esp + 0x30], edi
mov byte [esp + 0x2c], bl
call ebp
test eax, eax
jne 0x100023f2
push edi
call fcn.100045d2
add esp, 4
xor edi, edi
xor bl, bl
mov dword [esp + 0x18], edi
mov byte [esp + 0x14], bl
jmp 0x100023f2
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xfd0]
push ecx
push edi
mov edx, dword [eax]
push eax
mov dword [esp + 0xfd0], 0
call dword [edx + 0x14]
mov esi, eax
test esi, esi
je 0x1000241b
mov esi, 0x80004005
pop ebp
mov dword [esp + 0xfc0], 0xffffffff
test bl, bl
pop ebx
je 0x10002435
push edi
call fcn.100045d2
add esp, 4
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xfac]
mov dword fs:[0], ecx
add esp, 0xfb8
ret 0xc
Function at 0x10002f80
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
xor ecx, ecx
cmp edx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
je 0x10002fb9
push edx
push 0x20
push eax
push 0x1000f818
push str.audio_wma
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
ret