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

Disassembly:
push 0x16c
mov eax, 0x46989a
call fcn.0043fa2a
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push esi
call fcn.0041e750
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x41f9d5
push 1
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.0041e890
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041f97a
lea ecx, [ebp - 0x94]
call fcn.0041e9f3
jmp 0x41fa64
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41f9df
mov eax, dword [esi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 0xc]
push 4
push ecx
push 4
push 0
push eax
push dword [edi]
call ebx
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x41fa7c
xor ebx, ebx
push ebx
call fcn.00418029
mov ecx, eax
call fcn.0041829a
test al, al
je 0x41fa64
push esi
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.0041ed85
push ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041e521
add esp, 0x10
push eax
push str.Registry::setDword
push 0x184
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_Registry.cpp
push ebx
mov byte [ebp - 4], 8
call fcn.00418029
mov ecx, eax
call fcn.004182a6
lea ecx, [ebp - 0x28]
call fcn.00407d8d
lea ecx, [ebp - 0x70]
call fcn.00407d8d
lea ecx, [ebp - 0x40]
call fcn.00407d8d
lea ecx, [ebp - 0x58]
call fcn.00407d8d
call fcn.0043f9d9
ret 8
push str.set_dword_value
lea ecx, [ebp - 0x28]
call fcn.00402913
lea ecx, [ebp - 0xd0]
call fcn.0040296c
push eax
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.0041edb5
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 4
call fcn.00418d99
push str.System_error
push dword [ebp - 0xd4]
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 5
push ebx
push eax
lea ecx, [ebp - 0xe0]
call fcn.0042bffd
mov esi, eax
push 0x181
push str.Registry::setDword
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00402aa6
push eax
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.00419a93
add esp, 0xc
lea eax, [ebp - 0xb8]
push 0x48bc70
push eax
call fcn.004417dd
int3
Function at 0x41fb1e
Capabilities:
Set registry value

Disassembly:
push 0x16c
mov eax, 0x46989a
call fcn.0043fa2a
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0xc]
push edi
call fcn.0041e750
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x41fb7a
push 1
lea eax, [ebp - 0x58]
push eax
push ebx
lea ecx, [ebp - 0x94]
call fcn.0041e890
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041fb1e
lea ecx, [ebp - 0x94]
call fcn.0041e9f3
jmp 0x41fc0e
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x41fb84
mov edx, dword [esi]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x41fb8e
mov ecx, dword [edi]
mov eax, dword [esi + 0x10]
inc eax
push eax
push edx
push 1
push 0
push ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x41fc26
push eax
call fcn.00418029
mov ecx, eax
call fcn.0041829a
test al, al
je 0x41fc0e
push edi
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0041ed85
push 0
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.0041e5f7
add esp, 0x10
push eax
push str.Registry::setString
push 0x193
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_Registry.cpp
push 0
mov byte [ebp - 4], 8
call fcn.00418029
mov ecx, eax
call fcn.004182a6
lea ecx, [ebp - 0x28]
call fcn.00407d8d
lea ecx, [ebp - 0x70]
call fcn.00407d8d
lea ecx, [ebp - 0x40]
call fcn.00407d8d
lea ecx, [ebp - 0x58]
call fcn.00407d8d
call fcn.0043f9d9
ret 8
push str.set_string_value
lea ecx, [ebp - 0x28]
call fcn.00402913
lea ecx, [ebp - 0xd0]
call fcn.0040296c
push eax
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0041edb5
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 4
call fcn.00418d99
push str.System_error
push dword [ebp - 0xd4]
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 5
push dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0xe0]
push eax
call fcn.0042bffd
mov esi, eax
push 0x190
push str.Registry::setString
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00402aa6
push eax
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.00419a93
add esp, 0xc
lea eax, [ebp - 0xb8]
push 0x48bc70
push eax
call fcn.004417dd
int3
Function at 0x427123
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10c
mov eax, 0x46aa47
call fcn.0043fa2a
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.00427056
mov ebx, eax
test ebx, ebx
je 0x427210
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push dword [esi + 0x38]
call edi
test eax, eax
jne 0x4271c6
push str.cannot_load_resource
lea ecx, [ebp - 0x28]
call fcn.00402913
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.00427074
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.00418d99
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.0042bffd
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_jdk8u421_1068_install_src_windows_common_Resources.cpp
jmp 0x42727a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x34], 6
mov edi, eax
jne 0x4271f7
mov edx, dword [esi + 0x18]
mov ecx, edi
and edx, 0xf
jbe 0x4271ed
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub edx, 1
jne 0x4271df
movzx eax, word [ecx]
lea edi, [ecx + 2]
add eax, eax
jmp 0x427201
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.0043f9d9
ret 4
push str.cannot_find_resource
lea ecx, [ebp - 0x28]
call fcn.00402913
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.00427074
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.00418d99
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.0042bffd
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_jdk8u421_1068_install_src_windows_common_Resources.cpp
call fcn.00402aa6
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00419a93
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x48bc70
push eax
call fcn.004417dd
int3
Function at 0x427e6a
Capabilities:
Check http status code

Disassembly:
push 0x80
mov eax, 0x46abc2
call fcn.0043fa2a
mov edi, ecx
push 0xffffffffffffffff
push 0x13
call fcn.0042984e
mov esi, eax
cmp esi, 0xc8
je 0x427f34
cmp esi, 0xce
je 0x427f34
cmp esi, 0x193
jne 0x427ef3
push 0x46fb0e
lea ecx, [ebp - 0x28]
call fcn.00402913
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push 0x14
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00429bb0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00407d8d
push 0
push str.Export_Denied
lea ecx, [ebp - 0x40]
call fcn.0041befa
cmp eax, 0xffffffff
jne 0x427f3a
or dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
call fcn.00403008
push esi
lea ecx, [ebp - 0x8c]
call fcn.00427b2f
mov esi, eax
push 0x2ce
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 4
call fcn.00402aa6
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00427626
add esp, 0xc
push 0x48e494
jmp 0x427f75
call fcn.0043f9d9
ret
lea ecx, [ebp - 0x8c]
call fcn.00427af1
mov esi, eax
push 0x2cb
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00402aa6
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.0042760f
add esp, 0xc
push 0x48e4f4
lea eax, [ebp - 0x6c]
push eax
call fcn.004417dd
int3
Function at 0x428b17
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x58]
push edi
mov edi, dword [ebp + 8]
push 0x3c
pop ebx
push ebx
push 0
push eax
call fcn.00441390
mov dword [ebp - 0x58], ebx
add esp, 0xc
xor ebx, ebx
inc ebx
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x44], ebx
jb 0x428b53
mov edi, dword [edi]
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x428b6a
xor al, al
jmp 0x428ba8
mov eax, dword [ebp - 0x4c]
push 3
pop ecx
sub eax, ecx
je 0x428b81
sub eax, 1
je 0x428b7d
mov dword [esi], ebx
jmp 0x428b87
mov dword [esi], ecx
jmp 0x428b87
mov dword [esi], 2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x48]
call fcn.00402944
push eax
lea ecx, [esi + 4]
call fcn.0040bf06
lea ecx, [ebp - 0x1c]
call fcn.00407d8d
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f9b7
leave
ret
Function at 0x42a219
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x6c
mov eax, 0x46b25a
call fcn.0043fa2a
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 0x42a24c
mov eax, dword [ebp - 0x58]
call fcn.0043f9d9
ret 8
push str.InternetReadFile_failed
lea ecx, [ebp - 0x28]
call fcn.00402913
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.00427bb1
mov esi, eax
push 0x2eb
push str.HttpConnection::Response::readContent
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00402aa6
push eax
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0042763d
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x48e378
push eax
call fcn.004417dd
int3

Function at 0x42a906
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x46b348
call fcn.0043f9f7
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.0042a9fa
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
push esi
call fcn.0042a9fa
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
push ecx
push esi
call fcn.0042a9fa
push 0x409
push esi
call fcn.0042a9fa
add esp, 0x10
mov eax, esi
call fcn.0043f9c5
ret
Function at 0x42f038
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x46c043
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x78]
sub esp, 0x18
mov eax, dword [ebp + 0x7c]
mov ecx, esp
mov dword [ebp + 8], edi
mov dword [ebp + 8], esp
push eax
call fcn.004028df
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
push 1
call fcn.004027f4
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 1
push str.SELECT_Value_FROM_Property_WHERE_Property__
push eax
call fcn.00402085
pop ecx
pop ecx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.0040a7be
mov esi, eax
push 0x471c40
push esi
call fcn.00402085
pop ecx
pop ecx
lea eax, [ebp + 0x54]
push eax
lea ecx, [esi + 4]
call fcn.00408808
lea ecx, [ebp - 0xc4]
call fcn.0040332e
xor esi, esi
mov dword [ebp + 8], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp + 0x54]
push eax
push ebx
lea ecx, [ebp + 0x34]
call fcn.0042eb62
mov byte [ebp - 4], 8
cmp dword [ebp + 8], esi
je 0x42f10d
push dword [ebp + 8]
call fcn.0042d91f
pop ecx
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp + 4]
mov dword [ebp + 4], esi
call fcn.0042ee1a
lea ecx, [ebp + 4]
mov byte [ebp - 4], 9
call fcn.0042ef25
cmp eax, 1
jne 0x42f17f
push eax
push edi
lea ecx, [ebp + 4]
call fcn.0042dd8d
cmp dword [ebp + 4], 0
mov byte [ebp - 4], 0x10
je 0x42f14e
push dword [ebp + 4]
call fcn.0042d91f
pop ecx
lea ecx, [ebp + 0x34]
call fcn.0042ed75
lea ecx, [ebp + 0x54]
call fcn.00407d8d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.0043f9b7
add ebp, 0x70
leave
ret 8
push 0x48
push str.msi::Database::getProperty
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_MsiDb.cpp
lea ecx, [ebp - 0x1c]
call fcn.00402aa6
push eax
push esi
push str.__returned_unexpected_value
sub esp, 0x18
lea eax, [ebp + 0x54]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.004028df
push 0x473048
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x10], esp
push ebx
call fcn.004028df
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xb
call fcn.00402c0e
mov byte [ebp - 4], 0xc
push str.record.getFieldCount_
mov ecx, eax
call fcn.00402070
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0040a7be
mov ecx, eax
call fcn.00402070
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0040a7be
mov ecx, eax
call fcn.00402070
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042d619
push eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xf
push eax
call fcn.0042d423
add esp, 0xc
lea eax, [ebp + 0xc]
push 0x48f068
push eax
call fcn.004417dd
int3

Function at 0x437051
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x437060
mov eax, dword [eax]
push eax
call fcn.004523a8
pop ecx
ret
Function at 0x437fda
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x46d826
call fcn.0043f9f7
push 0x476edc
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
call fcn.00437843
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 0x438024
push dword [ebp - 0x20]
mov byte [ebp - 0x1c], bl
call fcn.00465faa
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.00416084
push edi
push 0x100000
push esi
mov esi, dword [ebp - 0x24]
push esi
call fcn.0044a728
mov ebx, eax
add esp, 0x10
cmp ebx, 0x100000
ja 0x4380f5
push edi
call fcn.00452f0b
pop ecx
test eax, eax
je 0x438078
push 0x133
jmp 0x4380fa
push edi
call fcn.00452edf
pop ecx
test eax, eax
jne 0x43808a
push 0x13b
jmp 0x4380fa
push ebx
push esi
call fcn.00438706
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.00416044
test esi, esi
je 0x4380d8
mov eax, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x4380cf
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004078a4
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
pop ecx
pop ecx
push eax
push esi
call fcn.0043f54d
pop ecx
pop ecx
cmp byte [ebp - 0xd], 0
mov dword [ebp - 4], 3
je 0x4380ec
push edi
call fcn.00465faa
pop ecx
mov eax, dword [ebp + 8]
call fcn.0043f9c5
ret
push 0xc8
lea ecx, [ebp - 0x38]
call fcn.0040fdcc
push 0x48a1b0
lea eax, [ebp - 0x38]
push eax
call fcn.004417dd
int3

Function at 0x438741
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x23c]
sub esp, 0x23c
push 0xffffffffffffffff
push 0x46d99c
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp + 0x238], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x244]
lea eax, [ebp + 0x30]
push eax
xor edi, edi
mov dword [ebp - 0x10], esi
push edi
push edi
push 0x2c
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [ebp - 0x10]
push 0xc8
push eax
push edi
call fcn.00431126
add esp, 0x10
lea eax, [ebp + 0x30]
lea ecx, [ebp]
push eax
call fcn.00417866
push dword [0x494210]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0042c881
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00437068
add esp, 0x14
lea ecx, [ebp + 0x18]
call fcn.00407db3
lea ecx, [ebp]
call fcn.00407db3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x238]
xor ecx, ebp
call fcn.0043f9b7
add ebp, 0x23c
leave
ret
Function at 0x43b698
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, SysReAllocString
push edi
mov edi, dword [esp + 0x24]
test edi, edi
jl 0x43b71c
jg 0x43b6c5
test esi, esi
je 0x43b71c
test edi, edi
jg 0x43b6c5
jl 0x43b6c1
cmp esi, ebp
jae 0x43b6c5
mov eax, esi
jmp 0x43b6c7
mov eax, ebp
and dword [esp + 0x1c], 0
cmp dword [esp + 0x14], 0xffffffff
je 0x43b70d
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43b6f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x43b717
jmp 0x43b70d
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x43b708
add ebx, eax
cdq
sub esi, eax
sbb edi, edx
jmp 0x43b6ad
cmp eax, 0xffffffff
jne 0x43b717
call fcn.00444f4d
cmp dword [eax], 4
je 0x43b6ad
or eax, 0xffffffff
jmp 0x43b71e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43d760
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 + 0x477f50]
sub edx, 1
jne 0x43d767
ret

Function at 0x440511
Capabilities:
Parse pe header

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

Function at 0x44c7e1
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x47c6f8
push esi
call fcn.0045bd7c
pop ecx
pop ecx
test eax, eax
jne 0x44c80f
xor al, al
jmp 0x44c88c
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0044c522
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x44c849
push dword [ebp - 0x210]
call fcn.004455c9
xor al, al
jmp 0x44c88a
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44c84f
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x44c86f
push edx
call fcn.0044c718
pop ecx
test al, al
je 0x44c83a
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x44c87d
mov bl, 1
push dword [ebp - 0x210]
call fcn.004455c9
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043f9b7
leave
ret
Function at 0x44ca7d
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0044c945
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x44cbec
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x44cbec
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x44cba1
jg 0x44cad9
test eax, eax
je 0x44cb97
push 1
push 0x1000
call fcn.00457854
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x44cafc
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x44cb8e
push 0x8000
push ebx
call fcn.00454df6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x44cb25
jg 0x44cb20
cmp ecx, 0x1000
jb 0x44cb25
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0044d769
add esp, 0x10
cmp eax, 0xffffffff
je 0x44cb6a
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x44cb20
jl 0x44cb51
test ecx, ecx
jne 0x44cb12
push dword [ebp - 0xc]
push ebx
call fcn.00454df6
push esi
call fcn.00457540
add esp, 0xc
xor ebx, ebx
jmp 0x44cbfa
cmp byte [edi + 0x24], 0
je 0x44cb81
cmp dword [edi + 0x20], 5
jne 0x44cb81
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x44cb8c
mov ebx, dword [edi + 0x18]
jmp 0x44cb8e
xor ebx, ebx
push esi
call fcn.00457540
pop ecx
jmp 0x44cbfa
test ecx, ecx
jg 0x44cb63
jl 0x44cba1
test eax, eax
jae 0x44cb63
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0045b52e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x44cbc1
cmp byte [edi + 0x1c], 0
je 0x44cb63
jmp 0x44cbf2
push ebx
call fcn.0045279c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44cb63
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x44cbfa
cmp byte [edi + 0x1c], 0
je 0x44cbf7
mov ebx, dword [edi + 0x18]
jmp 0x44cbfa
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0045b52e
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret