joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424790
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4247b7
mov eax, dword [esp + 8]
push 0x4411
push 0x2b4
push eax
push 0x10
push str.Doesnt_matter
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
ret 8
mov ecx, dword [esp + 8]
push 0x4410
push 0x2b4
push ecx
push 0x10
push str.Doesnt_matter
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
ret 8

Function at 0x424810
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x4a8ae4]
xor eax, esp
push esi
push edi
mov dword [esp + 0x2bc], eax
call fcn.00476002
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x2c4]
test eax, eax
je 0x42484a
push 0x4001
push 0x2b4
lea eax, [esp + 0x10]
push eax
jmp 0x424859
push 0x4000
push 0x2b4
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x48bb4c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edi, eax
mov eax, dword [esi + 0x174]
test eax, eax
jne 0x4248ed
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x83
push 0
call ebp
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x8c
push 0
mov ebx, eax
call ebp
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebp, eax
cmp dword [esi + 0x13a4], 4
push ebx
jne 0x4248b6
push 1
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push ebp
push 2
jmp 0x4248c2
push 0xffffffffffffffff
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push ebp
push 0xffffffffffffffff
push edi
mov dword [esi + 0xc4], eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0xc8], eax
call ebx
push ebp
call ebx
pop ebp
mov dword [esi + 0x174], 1
pop ebx
mov ecx, dword [esp + 0x2bc]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0044a318
add esp, 0x2b8
ret 4

Function at 0x4249d0
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
push esi
mov esi, dword [esp + 8]
je 0x4249ee
mov eax, dword [esp + 0x10]
push 0x4411
push 0x2b4
push eax
jmp 0x4249fd
mov ecx, dword [esp + 0x10]
push 0x4410
push 0x2b4
push ecx
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop esi
jg 0x424a24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
ret 0xc
Function at 0x42ab40
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42ab66
call fcn.0042ab20
ret 0xc
xor eax, eax
ret 0xc

Function at 0x42abd0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov ecx, dword [ecx]
mov ecx, dword [ecx]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp], eax
jne 0x42abf5
call fcn.0042ab20
test eax, eax
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 8
ret

Function at 0x42b290
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ef48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4a8ae4]
xor eax, esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
push 0x48c768
push 3
push 0x1b6
push str.CSRSUFile::getNextBlock
xor ebx, ebx
push str..SRSUFile.cpp
mov dword [esp + 0x44], eax
mov esi, ecx
mov dword [esp + 0x24], ebx
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov eax, dword [esi + 0x5c]
push eax
mov dword [esp + 0x54], ebx
call fcn.004620d8
add esp, 0x18
push ebx
mov ebp, eax
mov eax, dword [esi + 0x5c]
mov esi, dword [esi]
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42b31f
call fcn.0042ab20
mov eax, dword [esp + 0x10]
cmp eax, ebx
jbe 0x42b332
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.0042b110
push ebp
call fcn.004620d3
push 0x48c718
push 3
push 0x1c3
push str.CSRSUFile::getNextBlock
push str..SRSUFile.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1c]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], bl
call fcn.0040c120
cmp dword [esp + 0x2c], 0x10
jb 0x42b386
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004620d3
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebx
xor ecx, esp
call fcn.0044a318
add esp, 0x30
ret 4
Function at 0x42b3b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ef48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4a8ae4]
xor eax, esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
push 0x48c768
push 3
push 0x1d4
push str.CSRSUFile::getNextBuffer
xor ebx, ebx
push str..SRSUFile.cpp
mov dword [esp + 0x44], eax
mov ebp, ecx
mov dword [esp + 0x24], ebx
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x5c]
push eax
mov dword [esp + 0x54], ebx
call fcn.004620d8
mov edx, dword [esp + 0x60]
mov ebp, dword [ebp]
add esp, 0x18
push ebx
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
mov eax, dword [ebp]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42b443
call fcn.0042ab20
mov eax, dword [esp + 0x10]
cmp eax, ebx
jbe 0x42b456
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.0042b110
push edi
call fcn.004620d3
push 0x48c718
push 3
push 0x1e1
push str.CSRSUFile::getNextBuffer
push str..SRSUFile.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040c120
cmp dword [esp + 0x2c], 0x10
jb 0x42b4aa
mov edx, dword [esp + 0x18]
push edx
call fcn.004620d3
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebx
xor ecx, esp
call fcn.0044a318
add esp, 0x30
ret 8
Function at 0x432b00
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push esi
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push eax
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], 0xfe
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432bac
push 0
lea ecx, [esp + 0x10]
push ecx
push 2
lea edx, [esp + 0x14]
push edx
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0xc], 2
jne 0x432b8a
lea ecx, [esp + 8]
mov dx, word [ecx]
lea eax, [esp + 4]
cmp dx, word [eax]
jne 0x432b8a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x40000000
ja 0x432b8a
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, esi
pop esi
add esp, 0xc
ret
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x432bc0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x210
mov eax, dword [0x4a8ae4]
xor eax, esp
mov dword [esp + 0x20c], eax
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 8], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x432c01
lea edx, [esp + 4]
push str.Unknown_name
push edx
call fcn.0044a5c9
add esp, 8
lea eax, [esp + 4]
push eax
push esi
call fcn.0044a5c9
mov ecx, dword [esp + 0x214]
add esp, 8
xor ecx, esp
mov eax, esi
call fcn.0044a318
add esp, 0x210
ret

Function at 0x432ca0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x4a7230]
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432d1c
push esi
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x48e584
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
test esi, esi
pop esi
jne 0x432d1f
test eax, eax
jge 0x432d1f
cmp eax, 3
jle 0x432d1f
mov eax, 1
add esp, 0x10
ret
mov eax, dword [esp]
add esp, 0x10
ret
Function at 0x432d30
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
shl eax, 1
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432d9d
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x432d75
cmp eax, 2
jne 0x432d8d
test esi, esi
mov eax, dword [esp + 0x14]
je 0x432d97
test al, 1
jne 0x432d8d
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x432d97
pop edi
mov eax, 0xd
pop esi
ret 0xc
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x432df0
Capabilities:
Clear file content
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x4a8ae4]
xor eax, esp
mov dword [esp + 0x210], eax
mov al, byte [0x4a726c]
test al, al
push edi
mov edi, ecx
je 0x432ec1
push 0x4aae18
call fcn.00449da9
add esp, 4
test eax, eax
je 0x432ec1
push esi
lea eax, [esp + 0x10]
push 0x4aae18
push eax
call fcn.0044a5c9
add esp, 8
call fcn.00432db0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x10]
push ecx
call fcn.00432b00
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x432eb4
lea edx, [esp + 8]
push edx
push edi
mov dword [esp + 0x10], 0
call fcn.004329e0
mov edi, dword [esp + 0x10]
add esp, 8
test edi, edi
je 0x432ea6
push edi
call fcn.00449da9
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
shl eax, 1
push eax
push edi
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.004620d3
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00432db0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov ecx, dword [esp + 0x214]
pop edi
xor ecx, esp
call fcn.0044a318
add esp, 0x214
ret
Function at 0x4346b0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ecx
push esi
push edi
push 0
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::SetLogFile_enum_GERSLOG::_PROJECT_CONFIG_
push 0x48c768
push 3
push 0x529
push str.get_entropy_from_CAPI
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
mov esi, dword [esp + 0x28]
add esp, 0x18
test esi, esi
je 0x4347b3
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x4347b3
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x434739
push str.CryptAcquireContext_failed
push 2
push 0x53d
push str.get_entropy_from_CAPI
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
pop edi
mov eax, 0xfffffffe
pop esi
pop ecx
ret
mov ecx, dword [esp + 8]
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
mov eax, dword [esp + 8]
jne 0x434782
test eax, eax
je 0x43475b
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push str.CryptGenRandom_failed
push 2
push 0x54a
push str.get_entropy_from_CAPI
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
pop edi
mov eax, 0xfffffffd
pop esi
pop ecx
ret
test eax, eax
je 0x43478f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x48c718
push 3
push 0x553
push str.get_entropy_from_CAPI
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
pop edi
xor eax, eax
pop esi
pop ecx
ret
push 0x48f1c0
push 2
push 0x52f
push str.get_entropy_from_CAPI
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
Function at 0x4347e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
push esi
push edi
push 0
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::SetLogFile_enum_GERSLOG::_PROJECT_CONFIG_
push 0x48c768
push 3
push 0x57e
push str.RTLGenRandom
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
mov edi, dword [esp + 0x28]
add esp, 0x18
or esi, 0xffffffff
test edi, edi
je 0x4348a6
mov ebp, dword [esp + 0x14]
test ebp, ebp
jle 0x4348a6
push ebx
push 0x48f2c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x434881
push str.SystemFunction036
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434857
push ebp
push edi
call eax
neg al
sbb eax, eax
and eax, 2
add eax, 0xfffffffe
mov esi, eax
jmp 0x43487a
push str.GetProcAddress_NULL
push 2
push 0x59b
push str.RTLGenRandom
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
mov esi, 0xfffffffd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x48c718
push 3
push 0x5a2
push str.RTLGenRandom
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret
push 0x48f1c0
push 2
push 0x584
push str.RTLGenRandom
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
pop edi
pop esi
or eax, 0xffffffff
pop ebp
ret
Function at 0x4361d0
Capabilities:
Access peb ldr_data
Get number of processors
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x47f8f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4a8ae4]
xor eax, esp
push ebx
push esi
mov esi, dword [esp + 0x3c]
push edi
xor ebx, ebx
mov dword [esp + 0xc], ebx
push 0xc8
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x64
call fcn.004620d8
mov edi, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
push ebx
mov dword [esp + 0x40], ebx
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::SetLogFile_enum_GERSLOG::_PROJECT_CONFIG_
push 0x48c768
push 3
push 0x46a
push str.getUserString
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x1c
lea eax, [esp + 0xc]
push eax
push edi
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x436274
push edi
call fcn.00449da9
add esp, 4
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00402410
jmp 0x4362ae
push str.Unknown_User
call fcn.00449da9
add esp, 4
push eax
push str.Unknown_User
lea ecx, [esp + 0x18]
call fcn.00402410
push str.User_Name
push 2
push 0x473
push str.getUserString
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x14
push edi
call fcn.004620d3
push 0x48c718
push 3
push 0x478
push str.getUserString
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
push ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov ecx, esi
mov word [esi + 4], bx
call fcn.00401f80
cmp dword [esp + 0x28], 8
jb 0x436303
mov edx, dword [esp + 0x14]
push edx
call fcn.004620d3
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebx
xor ecx, esp
call fcn.0044a318
add esp, 0x30
ret
Function at 0x436330
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f923
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30c
mov eax, dword [0x4a8ae4]
push ebx
xor eax, ebp
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x24]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x318], eax
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x304], 0x80004005
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::SetLogFile_enum_GERSLOG::_PROJECT_CONFIG_
push 0x48c768
push 3
push 0x724
push str.GetFileInfo
push str..RSUtil.cpp
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x2e4]
push ecx
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x436507
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x2e4]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jbe 0x436507
push esi
call fcn.004620d8
mov ecx, dword [ebp - 0x310]
add esp, 4
mov edi, eax
push edi
push esi
push ecx
lea edx, [ebp - 0x2e4]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x436507
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x314]
push ecx
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 0x308], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4364cc
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x308], ebx
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
lea ecx, [ebp - 0xdc]
push str.StringFileInfo_04x_04x_
push ecx
call fcn.0044ac37
add esp, 0x10
cmp eax, 0xffffffff
je 0x4364cc
lea edx, [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x300]
call fcn.004027f0
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 2
call fcn.00401c60
cmp dword [ebp - 0x2e8], 8
mov eax, dword [ebp - 0x2fc]
jae 0x436490
lea eax, [ebp - 0x2fc]
lea ecx, [ebp - 0x308]
push ecx
lea edx, [ebp - 0x30c]
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4364c1
mov eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x318]
push eax
call fcn.00402830
mov dword [ebp - 0x304], ebx
lea ecx, [ebp - 0x300]
call fcn.00401a60
push edi
call fcn.004620d3
add esp, 4
jmp 0x436507
push 0x48c718
push 3
push 0x773
push str.GetFileInfo
push str..RSUtil.cpp
mov dword [ebp - 4], ebx
call sym.GuardianEdgeRemovableStorageAccess.exe_void___cdecl_GERSLOG::LogMsg_unsigned_short_int_const___unsigned_short_int_const___int__enum_GERSLOG::_TRACE_LEVEL__unsigned_short_int_const__
mov eax, dword [ebp + 0x20]
add esp, 0x14
cmp eax, 8
jb 0x43653c
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004620d3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x304]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a318
mov esp, ebp
pop ebp
ret
Function at 0x438c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47fbfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [0x4a8ae4]
xor eax, esp
push ebx
push esi
push edi
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xe0]
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.0040c120
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], 1
call fcn.00431db0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], 2
mov dword [esp + 0x10], ebx
call fcn.00431130
cmp eax, ebx
jne 0x438e7e
cmp dword [esp + 0xc], 0x3e8
jne 0x438e7e
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea edx, [esp + 0x1c]
push edx
push 0x3e9
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe0], 3
call fcn.00432730
mov edi, eax
cmp edi, ebx
jne 0x438e4c
mov dword [esp + 0x14], ebx
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x438e3f
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x438e3f
cmp dword [esp + 0x14], ebx
jne 0x438e55
mov eax, dword [esp + 0x18]
add eax, esi
push eax
lea ecx, [esp + 0x78]
call fcn.00431db0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 4
mov dword [esp + 0x14], ebx
call fcn.00431130
mov edi, eax
cmp edi, ebx
jne 0x438e1d
cmp dword [esp + 0x10], 0x3ea
jne 0x438e1d
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea edx, [esp + 0x2c]
push edx
push 0x3ed
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe0], 5
call fcn.00432730
mov edi, eax
cmp edi, ebx
jne 0x438e14
lea ecx, [esp + 0x2c]
call fcn.00401160
test eax, eax
jbe 0x438e14
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x2c]
call fcn.0040ca20
lea ecx, [esp + 0x74]
mov byte [esp + 0xd8], 3
call fcn.004313a0
mov eax, dword [esp + 0x18]
inc ebp
add eax, 0x1c
mov dword [esp + 0x18], eax
jmp 0x438d61
cmp dword [esp + 0x14], ebx
jne 0x438e55
mov edi, 0x1f6
jmp 0x438e55
mov esi, dword [esp + 0x20]
mov edi, 0x1f5
cmp esi, ebx
pop ebp
je 0x438e83
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call fcn.0040c2f0
mov eax, dword [esp + 0x2c]
push eax
call fcn.004620d3
add esp, 0x14
jmp 0x438e83
mov edi, 0x1f5
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd4], 1
call fcn.004313a0
cmp dword [esp + 0x50], 0x10
jb 0x438eab
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004620d3
add esp, 4
mov ecx, dword [esp + 0xcc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc0]
pop ebx
xor ecx, esp
call fcn.0044a318
add esp, 0xcc
ret 4