joyce8/EMBER2024-capa huggingface dataset:
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_x64_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_x64_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 0x48bc30
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_x64_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_x64_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 0x48bc30
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_x64_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 0x48e454
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_x64_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 0x48e4b4
lea eax, [ebp - 0x6c]
push eax
call fcn.004417dd
int3
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_x64_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 0x48e338
push eax
call fcn.004417dd
int3
Function at 0x42b9d6
Capabilities:
Get file version info

Disassembly:
push 0xe8
mov eax, 0x46b587
call fcn.0043fa2a
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], esi
call fcn.004028df
xor eax, eax
lea edi, [esi + 0x18]
mov dword [ebp - 4], eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x3c], eax
mov eax, esi
mov byte [ebp - 4], 1
jb 0x42ba17
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x42badd
lea ecx, [ebp - 0x35]
push ecx
push eax
mov ecx, edi
call fcn.00416084
mov eax, dword [edi + 4]
mov ecx, esi
sub eax, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x42ba44
mov ecx, dword [esi]
push dword [edi]
push eax
push dword [ebp - 0x3c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x42bad3
push 0x487
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x5c]
call fcn.00402aa6
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoA
push 0x472a88
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.004028df
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.00402c0e
mov byte [ebp - 4], 7
push str.GetFileVersionInfo_
mov ecx, eax
call fcn.00402070
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040a7be
mov ecx, eax
call fcn.00402070
push eax
lea ecx, [ebp - 0x50]
call fcn.0042bffd
mov byte [ebp - 4], 9
jmp 0x42bb57
mov eax, esi
call fcn.0043f9d9
ret 4
push 0x47e
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x50]
call fcn.00402aa6
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x472a88
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.004028df
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.00402c0e
mov byte [ebp - 4], 3
push str.GetFileVersionInfoSize_
mov ecx, eax
call fcn.00402070
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040a7be
mov ecx, eax
call fcn.00402070
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042bffd
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00419a93
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x48bc30
push eax
call fcn.004417dd
int3

Function at 0x42bebd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x42bec9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42bedc
test al, 0x10
je 0x42bedc
mov al, 1
ret
xor al, al
ret

Function at 0x42bedf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x42beeb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
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 0x471c30
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_x64_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 0x473038
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 0x48f028
push eax
call fcn.004417dd
int3
Function at 0x437fda
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x46d826
call fcn.0043f9f7
push 0x476eac
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 0x48a170
lea eax, [ebp - 0x38]
push eax
call fcn.004417dd
int3
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 + 0x477f18]
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 0x47c6c8
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 0x4522f9
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x45233c
call fcn.00444f3a
mov dword [eax], 0xf
call fcn.00444f4d
mov dword [eax], 0xd
call fcn.00444e4f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f9b7
leave
ret
test eax, eax
jne 0x452343
inc eax
jmp 0x452330
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x45232e
xor eax, eax
cmp ecx, 1
setne al
jmp 0x452330

Function at 0x458732
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47ead4
push 0x47eacc
push str.FlsAlloc
push 0x1f
call fcn.0045859d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x458766
push dword [ebp + 8]
mov ecx, esi
call dword [0x46e400]
call esi
jmp 0x45876c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4587b0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47eae4
push 0x47eadc
push str.FlsGetValue
push 0x21
call fcn.0045859d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4587e7
push dword [ebp + 8]
mov ecx, esi
call dword [0x46e400]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4587ef
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47eaec
push 0x47eae4
push str.FlsSetValue
push 0x22
call fcn.0045859d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x458829
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x46e400]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x462106
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00457255
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00457255
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x46217d
cmp word [ecx], dx
je 0x46217d
mov eax, dword [0x47f614]
push edi
dec eax
push eax
push 0x47f500
call fcn.004620a5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4621f0
cmp word [eax], dx
je 0x4621f0
mov eax, dword [edi]
test eax, eax
je 0x4621a1
cmp word [eax], dx
je 0x4621a1
lea eax, [ebp - 0x10]
push eax
call fcn.00461a88
jmp 0x4621aa
lea eax, [ebp - 0x10]
push eax
call fcn.00461b23
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x46221a
mov eax, dword [0x47f4fc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x47f1f0
call fcn.004620a5
add esp, 0xc
test al, al
je 0x46221a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4621e5
cmp word [eax], di
je 0x4621e5
lea eax, [ebp - 0x10]
push eax
call fcn.00461a88
pop ecx
jmp 0x46221c
lea eax, [ebp - 0x10]
push eax
call fcn.00461b23
jmp 0x4621e2
mov eax, dword [edi]
test eax, eax
je 0x462207
cmp word [eax], dx
je 0x462207
lea eax, [ebp - 0x10]
push eax
call fcn.00461a3d
pop ecx
jmp 0x46221a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4622e5
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00461f2a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4622e5
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4622e5
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4622e5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x462272
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0045892f
test ebx, ebx
je 0x4622e0
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0045892f
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4622e5
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4622e5
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0045d23c
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4622e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f9b7
leave
ret