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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x456018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x214], 7
xor esi, esi
mov word [ebp - 0x228], ax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], esi
call fcn.004023d2
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x22c]
push ecx
push 0x2001f
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402ef6
push 0x208
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00421280
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
lea eax, [ebp - 0x230]
xor edi, edi
push eax
push 4
push esi
lea eax, [ebp - 0x210]
inc edi
push eax
push dword [ebp - 0x22c]
mov dword [ebp - 0x230], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x22c]
test eax, eax
cmove esi, edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x228]
call fcn.00402393
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041f653
leave
ret

Function at 0x403461
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x458378], eax
test eax, eax
je 0x4034ae
push esi
lea eax, [ebp - 4]
push eax
push edi
push 0x458348
push 0x4034b1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x4034ab
push dword [0x458378]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x458378], edi
mov eax, esi
pop esi
pop edi
leave
ret
Function at 0x4041c1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x456018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
cmp dword [0x4582ec], esi
jne 0x404306
push 0x208
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00421280
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x404236
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSystemDirectory_failed__when_dyn_load_version_dll_errcode_d
push 0x1c
push str.VersionProxy::DynLoadVersionDll
push str.D:jenkinsworkspaceThunderPCThunderPC_AP_Gray_Pack_Pipelinechannel_trunk_build_setupOnlineInstallOnlineInstallVersionProxy.cpp
push 2
call fcn.00402aff
add esp, 0x18
jmp 0x404309
push str.version.dll
lea eax, [ebp - 0x210]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4582ec], eax
test eax, eax
jne 0x40428a
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadLibrary_failed__when_dyn_load_version_dll_errcode_d__path_s
push 0x24
push str.VersionProxy::DynLoadVersionDll
push str.D:jenkinsworkspaceThunderPCThunderPC_AP_Gray_Pack_Pipelinechannel_trunk_build_setupOnlineInstallOnlineInstallVersionProxy.cpp
push 2
call fcn.00402aff
add esp, 0x1c
jmp 0x404309
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetFileVersionInfoSizeW
push eax
call edi
mov dword [0x4582e8], eax
test eax, eax
jne 0x4042b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_of_GetFileVersionInfoSizeW_failed__when_dyn_load_version_dll_errcode_d
push 0x2b
jmp 0x40421d
push str.GetFileVersionInfoW
push dword [0x4582ec]
call edi
mov dword [0x4582e4], eax
test eax, eax
jne 0x4042dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_of_GetFileVersionInfoW_failed__when_dyn_load_version_dll_errcode_d
push 0x32
jmp 0x40421d
push str.VerQueryValueW
push dword [0x4582ec]
call edi
mov dword [0x4582e0], eax
test eax, eax
jne 0x404306
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_of_VerQueryValueW_failed__when_dyn_load_version_dll_errcode_d
push 0x39
jmp 0x40421d
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041f653
leave
ret
Function at 0x409be0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x409bfb
xor eax, eax
jmp 0x409c83
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x409c16
mov dword [ebp - 0xc], 0x400000
jmp 0x409c1c
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 0x14], 0
jne 0x409c73
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x409c83
cmp dword [ebp - 8], 0
jne 0x409c7b
jmp 0x409c81
cmp dword [ebp - 4], 0
ja 0x409c04
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x409c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x409cab
xor eax, eax
jmp 0x409d33
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x409cc6
mov dword [ebp - 0xc], 0x400000
jmp 0x409ccc
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 0x14], 0
jne 0x409d23
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x409d33
cmp dword [ebp - 8], 0
jne 0x409d2b
jmp 0x409d31
cmp dword [ebp - 4], 0
ja 0x409cb4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40a2c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x40a2d8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x40a32b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x40a2f9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x40a31c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x40a2f0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x4584c0], eax
jmp 0x40a2cf
jmp 0x40a336
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x40a36e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x4580c0]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x4584c0]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x4584c0], edx
jmp 0x40a32d
mov dword [0x4583a4], fcn.0040b380
call fcn.0040b670
test eax, eax
jne 0x40a38b
mov dword [0x4583a4], 0x40b490
mov esp, ebp
pop ebp
ret
Function at 0x40fe60
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x456018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 1
push 0x23
lea eax, [ebp - 0x108]
mov esi, ecx
push eax
mov dword [ebp - 0x10c], esi
push 0
mov dword [ebp - 0x10c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x40feab
push str.c:windows_temp
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [ebp - 0x108]
push edi
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 0xffffffff
jne 0x40fed2
push 0
lea eax, [ebp - 0x108]
push eax
call edi
push str.Thunder_Network
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x40fefd
push 0
lea eax, [ebp - 0x108]
push eax
call edi
push str.DownloadLib
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x40ff28
push 0
lea eax, [ebp - 0x108]
push eax
call edi
lea ecx, [ebp - 0x108]
mov dword [esi + 0x10], 0
pop edi
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
pop ebx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ff44
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
mov ecx, esi
call fcn.004128a0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041f653
mov esp, ebp
pop ebp
ret
Function at 0x41ca60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x456018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, esi
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x41ca87
mov eax, dword [esi]
push 0x64
mov byte [eax], 0
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00421280
add esp, 0xc
lea eax, [ebp - 0x80]
push 0
push 0
push 0
push 0
push eax
push 0x64
lea eax, [ebp - 0x7c]
push eax
push 0x452260
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x41cacc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f653
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x80]
mov eax, ecx
shr eax, 0x18
push 0
push 0
push eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
push eax
lea eax, [ebp - 0x18]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.0041ca20
lea edx, [ebp - 0x18]
add esp, 0x20
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41cb06
sub edx, ecx
lea eax, [ebp - 0x18]
push edx
push eax
mov ecx, esi
call fcn.004128a0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0041f653
mov esp, ebp
pop ebp
ret
Function at 0x41d560
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4418a0
mov eax, dword fs:[0]
push eax
mov eax, 0x2b1c
call fcn.004206c0
mov eax, dword [0x456018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
mov byte [ebp - 0x2b1c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x2b28], ebx
cmp ebx, 0xffffffff
je 0x41d78e
push 0x2710
lea eax, [ebp - 0x2b08]
mov dword [ebp - 0x2b0c], 0
push 0
push eax
mov dword [ebp - 0x2b14], 0
mov dword [ebp - 0x2b10], 0
call fcn.00421280
add esp, 0xc
mov dword [ebp - 0x2b24], 0
lea eax, [ebp - 0x2b24]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2b08]
push eax
push 0xc
lea eax, [ebp - 0x2b14]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41d787
mov edx, dword [ebp - 0x2af0]
lea eax, [ebp - 0x3f8]
push eax
push ecx
lea ecx, [ebp - 0x2b08]
call fcn.0041d3f0
movsx eax, byte [ebp - 0x3f8]
push eax
call fcn.0042bb3a
add esp, 0xc
test eax, eax
jne 0x41d678
movsx eax, byte [ebp - 0x3e5]
push eax
call fcn.0042bb3a
add esp, 4
test eax, eax
je 0x41d787
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d681
sub ecx, edx
lea eax, [ebp - 0x3f8]
push ecx
push eax
mov ecx, esi
call fcn.004128a0
mov edi, dword [esi + 0x14]
mov eax, esi
cmp edi, 0x10
jb 0x41d6a5
mov eax, dword [esi]
lea ecx, [esi + 0x10]
mov dword [ebp - 0x2b20], ecx
mov ecx, dword [ecx]
add eax, ecx
mov dword [ebp - 0x2b18], eax
mov eax, esi
cmp edi, 0x10
jb 0x41d6c1
mov eax, dword [esi]
lea ebx, [ecx + eax]
mov ecx, esi
jb 0x41d6ca
mov ecx, dword [esi]
mov eax, ebx
sub eax, ecx
push eax
push 0x20
push ecx
call fcn.004219d0
add esp, 0xc
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov eax, ecx
cmp ecx, ebx
je 0x41d702
inc ecx
cmp ecx, ebx
je 0x41d702
nop dword [eax]
mov dl, byte [ecx]
cmp dl, 0x20
je 0x41d6fa
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, ebx
jne 0x41d6f0
mov edi, dword [esi + 0x14]
mov dword [ebp - 4], 0
mov ecx, esi
cmp edi, 0x10
jb 0x41d712
mov ecx, dword [esi]
mov edx, dword [ebp - 0x2b20]
mov ebx, eax
sub ebx, ecx
mov edx, dword [edx]
cmp edx, ebx
jb 0x41d7b0
mov ecx, dword [ebp - 0x2b18]
sub ecx, eax
mov eax, edx
sub eax, ebx
cmp eax, ecx
cmovb ecx, eax
mov dword [ebp - 0x2b18], ecx
cmp edi, 0x10
jb 0x41d744
mov esi, dword [esi]
mov eax, dword [ebp - 0x2b18]
lea ecx, [esi + ebx]
mov esi, dword [ebp - 0x2b20]
sub edx, eax
add eax, ecx
mov dword [esi], edx
sub edx, ebx
inc edx
push edx
push eax
push ecx
call fcn.00420d00
mov eax, dword [ebp - 0x2b1c]
add esp, 0xc
cmp dword [esi], 0
mov ecx, 1
mov ebx, dword [ebp - 0x2b28]
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x2b1c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x2b1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f653
mov esp, ebp
pop ebp
ret
call fcn.00416700
int3
Function at 0x4fa3c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xaf000]
push edi
or ebp, 0xffffffff
jmp 0x4fa3e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4fa3e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa3d8
mov eax, 1
add ebx, ebx
jne 0x4fa3fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4fa40c
jne 0x4fa42b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa42b
dec eax
add ebx, ebx
jne 0x4fa418
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4fa3f0
add ebx, ebx
jne 0x4fa427
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4fa47d
xor ecx, ecx
sub eax, 3
jb 0x4fa443
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4fa4b2
sar eax, 1
mov ebp, eax
jmp 0x4fa44e
add ebx, ebx
jne 0x4fa44e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa41c
inc ecx
add ebx, ebx
jne 0x4fa45c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa41c
add ebx, ebx
jne 0x4fa469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4fa45e
jne 0x4fa47a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4fa45e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4fa49c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4fa48e
jmp 0x4fa3de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4fa49c
add edi, ecx
jmp 0x4fa3de
pop esi
mov edi, esi
mov ecx, 0x4adf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4fa4ba
cmp byte [edi], 0x1d
jne 0x4fa4ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4fa4bf
lea edi, [esi + 0xf7000]
mov eax, dword [edi]
or eax, eax
je 0x4fa52e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x107bb4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x107c90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4fa4ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x107c94]
or eax, eax
je 0x4fa528
mov dword [ebx], eax
add ebx, 4
jmp 0x4fa509
call dword [esi + 0x107ca4]
mov ebp, dword [esi + 0x107c98]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4fa562
sub esp, 0xffffff80
jmp 0x4a90e0

Function at 0x43b639
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
dec edx
add edi, edi
call fcn.0043b66b
dec edx
xor dword [ebx], ecx
mov edi, edx
dec edx
inc ebx
add edx, 0xc501540f
sub edi, 0x954233b5
mov edx, edx
cmp ebx, esi
jne fcn.0043b639
inc edx
ret
Function at 0x4014c5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x20], ecx
call fcn.004014ab
push esi
xor edx, edx
add eax, 0x70
push edi
push 8
mov ecx, edx
pop esi
mov edi, ecx
and edi, 1
dec edi
not edi
and edi, 0xedb88320
shr ecx, 1
xor ecx, edi
dec esi
jne 0x4014e7
mov dword [eax], ecx
inc edx
add eax, 4
cmp edx, 0x100
jb 0x4014e2
pop edi
pop esi
pop ebp
ret

Function at 0x404daa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, 0x100
push edi
mov ebx, eax
or esi, eax
shl dword [ebp + 0x10], 1
mov eax, esi
shr eax, 7
and eax, 1
push eax
mov eax, ebx
and eax, dword [ebp + 0x10]
mov ecx, esi
add eax, ebx
shr ecx, 8
add ecx, eax
mov eax, dword [ebp + 0xc]
lea edi, [eax + ecx*2]
mov eax, dword [ebp + 8]
call fcn.00404d1e
add esi, esi
mov eax, esi
xor eax, dword [ebp + 0x10]
pop ecx
not eax
and ebx, eax
cmp esi, 0x10000
jb 0x404dbb
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404e42
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
or ecx, 0x100
push esi
mov esi, dword [ebp + 8]
mov edx, ecx
shr edx, 8
movzx edx, word [esi + edx*2]
mov esi, ecx
shr esi, 7
and esi, 1
neg esi
sar esi, 4
and esi, 0x7f
shr edx, 4
xor edx, esi
mov esi, dword [ebp + 0xc]
add eax, dword [esi + edx*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x404e4e
pop esi
pop ebp
ret

Function at 0x404e82
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x100
push esi
xor eax, eax
or edx, ecx
push edi
shl dword [ebp + 0xc], 1
mov esi, ecx
and esi, dword [ebp + 0xc]
mov edi, edx
add esi, ecx
shr edi, 8
add edi, esi
mov esi, dword [ebp + 8]
movzx esi, word [esi + edi*2]
mov edi, edx
shr edi, 7
and edi, 1
neg edi
shr esi, 4
sar edi, 4
and edi, 0x7f
xor esi, edi
mov edi, dword [ebp + 0x10]
add eax, dword [edi + esi*4]
add edx, edx
mov esi, edx
xor esi, dword [ebp + 0xc]
not esi
and ecx, esi
cmp edx, 0x10000
jb 0x404e90
pop edi
pop esi
pop ebp
ret

Function at 0x404f8a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
push esi
mov esi, eax
xor eax, eax
inc edx
test esi, esi
je 0x404fc9
push ebx
push edi
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
movzx edi, word [edi + edx*2]
shr dword [ebp + 0xc], 1
and ecx, 1
mov ebx, ecx
neg ebx
sar ebx, 4
and ebx, 0x7f
shr edi, 4
xor edi, ebx
mov ebx, dword [ebp + 0x10]
add eax, dword [ebx + edi*4]
add edx, edx
or edx, ecx
dec esi
jne 0x404f9b
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x407552
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.00466dd4
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.00407509
add esp, 0x1c
leave
ret
Function at 0x41846b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 4]
push ecx
mov dword [ebp + 0xc], eax
push eax
jmp 0x4184a5
mov eax, dword [ebp - 4]
add ebx, eax
sub dword [ebp + 0xc], eax
je 0x4184ca
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x418492
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile_Faild_with_lastError:__u
push 0x4c1dc0
call fcn.00448b55
add esp, 0xc
jmp 0x4184d1
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret

Function at 0x419520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
test byte [0x4c1638], 1
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, 0x4c1634
jne 0x41956b
or dword [0x4c1638], 1
push 0x4c1160
mov ecx, esi
call fcn.004237f4
push 0x48aaed
call fcn.00469879
pop ecx
mov eax, dword [0x4c1634]
cmp dword [eax - 0xc], 0
jne 0x4195cb
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4195c6
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00468f76
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00417d8b
push esi
call fcn.004461ac
mov edi, str.drivers_
push edi
call fcn.00468f76
pop ecx
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00417d0b
pop edi
mov eax, dword [0x4c1634]
add eax, 0xfffffff0
push eax
call fcn.00417b88
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ebx], eax
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00466576
leave
ret

Function at 0x419af7
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 4
mov eax, 0x48781d
call fcn.00468a6e
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00418067
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x419b36
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00417891
mov eax, esi
call fcn.00468b46
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x419b20
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x419b20
lea eax, [ebp - 0x10]
push eax
call fcn.00445ed1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
pop ecx
jne 0x419b6f
xor esi, esi
jmp 0x419b23
push eax
call fcn.00419af7
pop ecx
test eax, eax
je 0x419b6b
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x419b20
call edi
cmp eax, ebx
jne 0x419b6b
jmp 0x419b20

Function at 0x41e8a7
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret