joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005bbec
Capabilities:
Accept command line arguments

Disassembly:
push 0x50
mov eax, 0x100f16ae
call fcn.10082248
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x48]
xor ebx, ebx
mov esi, ebx
call fcn.100547e9
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x1005bc1e
push edi
jmp 0x1005bc25
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x48]
call fcn.10054dea
lea ecx, [ebp - 0x48]
call fcn.10048b1a
cmp eax, 1
jne 0x1005bc44
call fcn.1005bbaa
jmp 0x1005bd2d
push str._d8ff35af6eb5
lea ecx, [ebp - 0x48]
call fcn.10054f0e
test al, al
je 0x1005bd2d
mov edi, str._bb30dfdd89c5
lea ecx, [ebp - 0x48]
push edi
call fcn.10054f0e
test al, al
je 0x1005bd2d
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.10054806
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x1005bc88
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10047e7e
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 3
jb 0x1005bca0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x48]
call fcn.10054e75
lea ecx, [ebp - 0x28]
call fcn.10001ee0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.10001ee0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
call fcn.100548ce
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
mov eax, ebx
sub eax, ecx
push 0x18
pop edi
cdq
idiv edi
mov dword [ebp - 0x5c], edi
test eax, eax
je 0x1005bd2d
xor edi, edi
lea eax, [edi + ecx]
cmp dword [eax + 0x10], 0
je 0x1005bd09
cmp dword [eax + 0x14], 8
jb 0x1005bcf6
mov eax, dword [eax]
push eax
call fcn.1005ba8d
mov esi, eax
pop ecx
test esi, esi
jne 0x1005bd22
mov ebx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
push 0x18
pop eax
add edi, eax
inc dword [ebp - 0x4c]
mov eax, ebx
sub eax, ecx
cdq
idiv dword [ebp - 0x5c]
cmp dword [ebp - 0x4c], eax
jb 0x1005bce5
test esi, esi
je 0x1005bd2d
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x58]
call fcn.100375de
lea ecx, [ebp - 0x48]
call fcn.10045658
call fcn.100821f2
ret
Function at 0x1005be71
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005bf36
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x1005bf36
push esi
push edi
call fcn.100b5d21
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x1005befc
push esi
push edi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1005befc
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x100f58d0
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1005befc
mov esi, dword [ebp - 4]
lea edi, [ebp - 0x44]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x44], 0xfeef04bd
mov esi, dword [ebp - 0x10]
sete al
mov bl, al
push esi
call fcn.100b5d1c
pop ecx
pop esi
test bl, bl
je 0x1005bf36
mov edx, dword [ebp - 0x3c]
mov ecx, edx
mov eax, dword [ebp + 0xc]
shr ecx, 0x10
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
movzx ecx, dx
mov edx, dword [ebp - 0x38]
mov dword [eax], ecx
mov ecx, edx
mov eax, dword [ebp + 0x14]
shr ecx, 0x10
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
movzx ecx, dx
mov dword [eax], ecx
mov al, 1
jmp 0x1005bf38
xor al, al
pop edi
pop ebx
leave
ret
Function at 0x1005d7c5
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x280
mov eax, 0x100f176b
call fcn.10082248
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x284], eax
xor eax, eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 7
mov word [edi], ax
inc eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], cl
push 0x208
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push ecx
push eax
call fcn.100a25c0
add esp, 0xc
lea ecx, [ebp - 0x280]
call fcn.10038661
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x1005d9a2
mov ecx, dword [ebp - 0x284]
cmp dword [ecx + 0x10], 0
jbe 0x1005d9a2
test ebx, ebx
je 0x1005d9a2
cmp dword [esi + 0x14], 0x10
jb 0x1005d872
mov esi, dword [esi]
push eax
push esi
call fcn.1005b7a5
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10034579
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x1005d891
mov eax, dword [eax]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.10001ee0
test esi, esi
je 0x1005d9a2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005d8d3
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
push 0x100fcad0
lea ecx, [ebp - 0x230]
call fcn.100187f0
push 0
call fcn.100b60a4
pop ecx
push edx
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x280]
call fcn.100395fd
push 7
push str.content
lea ecx, [ebp - 0x230]
call fcn.100187f0
push dword [ebp - 0x284]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x280]
call fcn.10039032
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x280]
call fcn.1003be71
push eax
lea ecx, [ebp - 0x230]
call fcn.100343d9
lea ecx, [ebp - 0x248]
call fcn.10003d90
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10041c9a
add esp, 0xc
test eax, eax
jne 0x1005d9a2
and dword [edi + 0x10], eax
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x1005d98f
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.1003768b
lea ecx, [ebp - 0x280]
call fcn.1003871c
lea ecx, [ebp - 0x230]
call fcn.10003d90
mov eax, edi
call fcn.100821f2
ret 0x10
Function at 0x1005e0d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2ef0
call fcn.100821b0
mov eax, dword [0x1012931c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
lea eax, [ebp - 0x7d4]
xor esi, esi
push 0x7d0
push eax
inc esi
call fcn.1000db20
add esp, 0x10
lea eax, [ebp - 0x2ee8]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x7d4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1005e135
push 2
pop eax
jmp 0x1005e195
lea eax, [ebp - 0x2eec]
mov dword [ebp - 0x2eec], 0x2710
push eax
lea eax, [ebp - 0x2ee4]
push eax
lea eax, [ebp - 0x2ef0]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x2ee8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1005e187
push 4
lea eax, [ebp - 0x2ee4]
push str.pci_
push eax
call fcn.100b9748
add esp, 0xc
neg eax
sbb eax, eax
and esi, eax
push dword [ebp - 0x2ee8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10081454
leave
ret
Function at 0x1005e1a2
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2b5c
call fcn.100821b0
mov eax, dword [0x1012931c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x13
pop ecx
mov esi, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2b58]
push eax
push 0x20119
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x54]
xor esi, esi
xor edi, edi
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1005e1f7
push 2
pop eax
jmp 0x1005e376
push ebx
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x2b50]
mov dword [ebp - 0x2b50], 0x3e8
push eax
lea eax, [ebp - 0x43c]
mov ebx, esi
push eax
push esi
push dword [ebp - 0x2b58]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1005e357
lea eax, [ebp - 0x2b54]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x2b58]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1005e32b
lea eax, [ebp - 0x2b50]
mov dword [ebp - 0x2b50], 0x2710
push eax
lea eax, [ebp - 0x2b4c]
push eax
lea eax, [ebp - 0x2b5c]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x2b54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1005e323
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2b4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e2ba
test dl, dl
je 0x1005e2b6
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e2ba
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e29a
xor eax, eax
jmp 0x1005e2be
sbb eax, eax
or eax, edi
test eax, eax
jne 0x1005e323
lea eax, [ebp - 0x2b50]
mov dword [ebp - 0x2b50], 0x2710
push eax
lea eax, [ebp - 0x2b4c]
push eax
lea eax, [ebp - 0x2b5c]
push eax
push 0
push str.MatchingDeviceId
push dword [ebp - 0x2b54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1005e323
lea eax, [ebp - 0x2b4c]
push eax
push str.MatchingDeviceId:___s__n
call fcn.10028f80
push 4
lea eax, [ebp - 0x2b4c]
push str.pci_
push eax
call fcn.100b9748
add esp, 0x14
test eax, eax
je 0x1005e361
push dword [ebp - 0x2b54]
call esi
xor eax, eax
mov dword [ebp - 0x2b50], 0x3e8
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x2b50]
inc ebx
push eax
lea eax, [ebp - 0x43c]
push eax
push ebx
push dword [ebp - 0x2b58]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1005e22e
jmp 0x1005e36b
push dword [ebp - 0x2b54]
call esi
xor edi, edi
push dword [ebp - 0x2b58]
call esi
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10081454
leave
ret
Function at 0x1005e7da
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30fc
call fcn.100821b0
mov eax, dword [0x1012931c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.100a25c0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.100a25c0
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str.._c:
push eax
call fcn.1005b4f5
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005e869
mov al, 1
jmp 0x1005e972
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.100a25c0
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.100a25c0
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.100a25c0
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1005e8eb
mov bl, 2
jmp 0x1005e969
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.1005e981
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.1005e981
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e92c
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
push edi
call fcn.10064db1
lea ecx, [ebp - 0x9dc]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e94f
sub ecx, edx
lea eax, [ebp - 0x9dc]
push ecx
push eax
push edi
call fcn.10064db1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10081454
leave
ret
Function at 0x10064329
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x100643aa
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100fd744
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x100643aa
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
jmp 0x100643ac
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x10066187
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp byte [edx + 4], 0
je 0x100661b7
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x100661b6
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x100661a6
pop edi
pop esi
pop ebp
ret 8

Function at 0x100663d8
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x100f1b9a
call fcn.10082214
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x1006655f
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x100664a8
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x101292ac], 0x10
mov ecx, 0x10129298
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x10129298]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.1003793b
inc edi
cmp edi, 4
jl 0x10066470
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10066412
mov dword [ebp + 0x10], edi
test edi, edi
je 0x1006655f
mov eax, edi
cmp edi, esi
jge 0x100664de
cmp eax, esi
jae 0x10066568
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x100664c6
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x1006654a
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x101292ac], 0x10
mov ecx, 0x10129298
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x10129298]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.1003793b
inc ebx
cmp ebx, edi
jl 0x1006651b
mov edi, dword [ebp + 0x10]
push 3
pop esi
cmp edi, esi
jge 0x1006655f
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.1003793b
sub esi, 1
jne 0x10066550
mov eax, dword [ebp + 8]
call fcn.100821dd
ret
call fcn.10081f79
int3
Function at 0x10085094
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100d9727
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d932f

Function at 0x100d9732
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d94b0

Function at 0x100e3a25
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e32d1

Function at 0x100e3a30
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e350c

Function at 0x100e9573
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e93b1
Function at 0x404c00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x404c61
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x404c44
cmp edi, 2
jb 0x404c44
cmp byte [esi], cl
jne 0x404c44
cmp byte [esi + 1], cl
jne 0x404c44
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43f6c0]
jmp 0x404c15
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43f6c0]
test edi, edi
jne 0x404c15
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404c90
cmp cl, 0x23
jne 0x404c77
cmp byte [esi], cl
jne 0x404c77
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x43f6c0]
test cl, cl
jne 0x404c68
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x404da0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x404db4
mov dword [ebx], 0
mov edx, 0x43f4a0
call fcn.00404ca0
mov esi, eax
test esi, esi
je 0x404ea2
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x404e98
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x404e98
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x404e98
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x404e98
mov eax, dword [0x446684]
test eax, eax
je 0x404e2c
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x404e98
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x404e7d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x446684]
add esp, 4
test eax, eax
je 0x404e6a
dec dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x404e8f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43f6c0]
sub esi, 1
jne 0x407633
mov eax, dword [0x446684]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x407662
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x407671
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x40768a
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.00417de0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043d4f4
mov esp, ebp
pop ebp
ret 4

Function at 0x4076a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0xe0]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0xe4]
subss xmm0, xmm1
mov ecx, dword [edx + 0xc4]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xcc]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x43f6c0]
sub edi, 1
jne 0x407720
mov eax, dword [0x446684]
not edx
cmp dword [eax + 0x1be0], edx
jne 0x40774f
mov dword [eax + 0x1be4], edx
cmp dword [eax + 0x1c1c], edx
jne 0x40775e
mov byte [eax + 0x1c20], 1
mov ecx, dword [ebp - 8]
mov eax, edx
pop edi
xor ecx, ebp
pop esi
call fcn.0043d4f4
mov esp, ebp
pop ebp
ret 4
Function at 0x40be60
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40be9d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40be83
cmp byte [esi], bl
jne 0x40be83
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x43f6c0]
test bl, bl
jne 0x40be74
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040be00

Function at 0x411460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x446684]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1ba8]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43f6c0]
sub esi, 1
jne 0x4114a1
mov eax, dword [0x446684]
not ebx
cmp dword [eax + 0x1bc8], ebx
jne 0x4114db
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.00417de0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x411506
inc esi
test ecx, ecx
je 0x4114f4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x4114f9
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.004187e0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043d4f4
mov esp, ebp
pop ebp
ret