joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ae20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x130], eax
push esi
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41aeac
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41aea5
push dword [ebp - 0x130]
lea eax, [ebp - 0x108]
push eax
call fcn.0045f54b
add esp, 8
test eax, eax
jne 0x41ae94
mov eax, dword [ebp - 0x124]
mov dword [ebx + esi*4], eax
inc esi
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41ae71
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8

Function at 0x41aed0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41af3b
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41af3b
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0045f54b
add esp, 8
test eax, eax
je 0x41af4f
lea ecx, [ebp - 0x12c]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41af16
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x124]
xor ecx, ebp
pop edi
pop esi
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 4

Function at 0x41b230
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x41b27f
cmp dword [ebp - 0x94], 5
jb 0x41b27f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret
Function at 0x41f070
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 5
lea eax, [ebp - 0x1c]
mov ebx, ecx
push eax
push dword [0x5211f0]
call fcn.0045fbb9
push 5
lea eax, [ebp - 0xc]
push eax
push dword [0x5211f4]
call fcn.0045fbb9
push 5
lea eax, [ebp - 0x14]
push eax
push dword [0x5211f8]
call fcn.0045fbb9
add esp, 0x24
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmp dword [ebx + 0x454], 0
lea ecx, [ebp - 0xc]
lea eax, [ebx + 0x4af0]
lea edi, [ebx + 0x42f0]
push 0x4a735c
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0x560890
push 0x55e82c
push 0x534618
push 0x516290
push 0x5162b8
jne 0x41f13a
push 0x52c8dc
push 0x4a7088
push 0x514998
push 0x539f44
push 0x515e90
push str.Mozilla_5.0___s__AppleWebKit_537.36_Chrome_84.0.4147.30_Edg__s__SecureBrowser__s__s__s_s__s__TS__s__UUID__s___s_DKM:_s._s._s__FP__s_
push eax
call esi
lea eax, [ebx + 0x1ce4]
push eax
push 0x4a7088
push 0x479860
push edi
call esi
add esp, 0x50
jmp 0x41f166
push 0x4a7088
push 0x514998
push 0x539f44
push 0x515e90
push str.Mozilla_5.0___s__AppleWebKit_537.36_Chrome_84.0.4147.30_Edg__s__SecureBrowser__s__s_s__s__TS__s__UUID__s___s_DKM:_s._s._s__FP__s_
push eax
call esi
push 0x4a7088
push 0x478918
push edi
call esi
add esp, 0x48
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push 0x52f6e8
push 0
push 0xfde9
call edi
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push eax
push 0xffffffffffffffff
mov dword [ebx + 0xf360], eax
lea eax, [ebx + 0x4af0]
push eax
push 0
push 0xfde9
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d06d
mov esp, ebp
pop ebp
ret
Function at 0x4210d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42113b
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x42113b
lea eax, [ebp - 0x108]
push 0x47da90
push eax
call fcn.0045f54b
add esp, 8
test eax, eax
je 0x42114c
lea ecx, [ebp - 0x12c]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x421112
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x42113b
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044d06d
mov esp, ebp
pop ebp
ret

Function at 0x4211f0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
mov edi, ecx
push 0x47b1f0
push 5
push eax
call fcn.0040e9e0
add esp, 0x10
cmp dword [edi + 0x107a8], 0
je 0x421274
add edi, 0x107ac
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 2
push 4
push 0
push 2
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x42126a
push 0
lea eax, [ebp - 0x218]
push eax
push 0x64
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xc]
push eax
push edi
jmp 0x421314
lea eax, [ebp - 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x421322
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00453332
push str.ITSExitCode.log
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0045338c
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 2
push 4
push 0
push 2
push 0xc0000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x421309
push 0
lea eax, [ebp - 0x218]
push eax
push 0x64
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push dword [0x514990]
call fcn.00449480
add esp, 0xc
cmp dword [0x55f074], 0
pop edi
pop esi
je 0x42133e
push 1
push 0x55ec74
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 4
Function at 0x421400
Capabilities:
Create process on windows
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.cmd__c_mklink__J__]
mov eax, dword [0x47d2d4]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov ax, word [0x47d2d8]
movups xmmword [ebp - 0x444], xmm0
push 0x418
movups xmm0, xmmword [0x47d2c4]
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push 0
push eax
mov dword [ebp - 0x448], esi
movups xmmword [ebp - 0x434], xmm0
call fcn.004500f0
push 0x40
lea eax, [ebp - 0x498]
mov dword [ebp - 0x49c], 0x44
push 0
push eax
call fcn.004500f0
add esp, 0x18
xorps xmm0, xmm0
cmp word [ebx], 0
movups xmmword [ebp - 0x458], xmm0
je 0x4215b4
cmp word [esi], 0
je 0x4215b4
mov edx, esi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4214a5
push edi
lea edi, [ebp - 0x444]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4214c0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x444]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4214e3
mov eax, dword [0x47d2dc]
mov esi, ebx
mov dword [ecx], eax
mov eax, dword [0x47d2e0]
mov dword [ecx + 4], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x421500
lea edi, [ebp - 0x444]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x421516
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x444]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x421540
mov eax, dword [0x479e80]
push dword [ebp - 0x448]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x49c]
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
lea eax, [ebp - 0x444]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x4215b4
push 0xffffffffffffffff
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x458]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x454]
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
Function at 0x4215d0
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.004500f0
add esp, 0xc
mov dword [ebp - 0xd4], 0xc8
cmp word [0x562b30], 0
jne 0x42172f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xd0]
push edi
push eax
push 0x20019
push 0
push str.SOFTWAREWOW6432NodeMicrosoftEdgeUpdateClients56EB18F8_B008_4CBD_B6D2_8C97FE7E9062
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421660
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0x47d39c
push dword [ebp - 0xd0]
call edi
test eax, eax
je 0x4216a5
lea eax, [ebp - 0xd0]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftEdgeUpdateClients56EB18F8_B008_4CBD_B6D2_8C97FE7E9062
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x42171a
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0x47d39c
push dword [ebp - 0xd0]
call edi
test eax, eax
jne 0x42171a
push 0
push 0x2a
push 0x562b30
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, 0x562b30
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4216c0
mov ecx, 0xe
lea edx, [ebp - 0xcc]
mov esi, str.MicrosoftEdgeApplication_
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4216e2
mov edi, 0x562b30
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x421700
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, 0x562b30
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x562b30
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret
Function at 0x4322a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47597d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0x200
call fcn.004534d7
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x432343
push esi
push 0x482124
push 1
push dword [0x514990]
call fcn.00449450
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432330
sub ecx, edx
sar ecx, 1
push ecx
push esi
jmp 0x43235f
push 0x482148
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
push 0
push 0x478b6c
lea ecx, [ebp - 0x28]
call fcn.0040da40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push esi
mov dword [edi], eax
call fcn.004534bc
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x4323ba
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4323b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4323d9
push edx
push ecx
call fcn.0044d09e
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
call fcn.00458530
int3
Function at 0x4323e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47597d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0x200
call fcn.004534d7
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x432483
push esi
push 0x48216c
push 1
push dword [0x514990]
call fcn.00449450
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432470
sub ecx, edx
sar ecx, 1
push ecx
push esi
jmp 0x43249f
push 0x482190
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
push 0
push 0x478b6c
lea ecx, [ebp - 0x28]
call fcn.0040da40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push esi
mov dword [edi], eax
call fcn.004534bc
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x4324fa
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4324f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432519
push edx
push ecx
call fcn.0044d09e
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
call fcn.00458530
int3

Function at 0x433650
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov ecx, 0x52abf8
call fcn.0041b230
test eax, eax
je 0x4336ae
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
shrd ecx, eax, 0x14
push ecx
push 0x4821d0
push 1
push dword [0x514990]
call fcn.00449450
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
shrd ecx, eax, 0x14
mov dword [esi], ecx
jmp 0x4336e0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
push eax
push 0x4821d0
push 1
push dword [0x514990]
call fcn.00449450
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
mov dword [esi], eax
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
Function at 0x4344f0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x52abf8
push esi
push dword [eax]
call fcn.00417ee0
cmp dword [0x5211fc], 0
mov esi, eax
je 0x434540
push 0x55e28c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x55e28c
mov ecx, 0x52abf8
call fcn.00418a20
push esi
push 0x55e28c
jmp 0x4345ad
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4345bb
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00453332
push 0x4827d4
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0045338c
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x108]
mov ecx, 0x52abf8
push eax
call fcn.00418a20
push esi
lea eax, [ebp - 0x108]
push eax
push dword [0x514990]
call fcn.00449480
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
Function at 0x447190
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4471c1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4471b0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4479b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x1505
push esi
movsx esi, byte [edx]
test esi, esi
je 0x4479d6
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, esi
movsx esi, byte [edx]
add eax, ecx
test esi, esi
jne 0x4479c3
pop esi
pop ebp
ret

Function at 0x447a60
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
test ebx, ebx
je 0x447ab7
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x447ab7
movsx edx, byte [edi]
mov eax, 0x1505
push esi
mov esi, edi
test edx, edx
je 0x447a95
mov ecx, eax
lea esi, [esi + 1]
shl eax, 5
add eax, edx
movsx edx, byte [esi]
add eax, ecx
test edx, edx
jne 0x447a82
xor edx, edx
div dword [ebx]
mov eax, dword [ebx + 4]
push edi
lea eax, [eax + edx*8]
push eax
call fcn.00447960
add esp, 8
pop esi
test eax, eax
je 0x447ab7
pop edi
mov eax, 1
pop ebx
pop ebp
ret
pop edi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x447ac0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x447b75
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x447b75
movsx edx, byte [edi]
mov esi, edi
mov eax, 0x1505
test edx, edx
je 0x447b03
nop word [eax + eax]
mov ecx, eax
lea esi, [esi + 1]
shl eax, 5
add eax, edx
movsx edx, byte [esi]
add eax, ecx
test edx, edx
jne 0x447af0
xor edx, edx
div dword [ebx]
mov eax, dword [ebx + 4]
push edi
lea eax, [eax + edx*8]
push eax
call fcn.00447960
add esp, 8
test eax, eax
je 0x447b75
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x447b41
cmp dword [ebp + 0x14], edx
jne 0x447b75
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447b30
sub ecx, edx
pop edi
pop esi
pop ebx
lea eax, [ecx + 1]
pop ebp
ret
mov esi, dword [eax + 4]
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447b50
mov eax, dword [ebp + 0x14]
sub ecx, edi
cmp ecx, eax
jae 0x447b75
push esi
push eax
push edx
call fcn.00453332
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x460630
Capabilities:
Parse pe header

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

Function at 0x468178
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x493120
push 0x493118
push 0x4908dc
push 0x1f
call fcn.00468040
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4681ac
push dword [ebp + 8]
mov ecx, esi
call dword [0x47847c]
call esi
jmp 0x4681b2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4681f6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x493130
push 0x493128
push 0x490900
push 0x21
call fcn.00468040
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46822d
push dword [ebp + 8]
mov ecx, esi
call dword [0x47847c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x468235
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x493138
push 0x493130
push 0x490914
push 0x22
call fcn.00468040
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46826f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x47847c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4685a0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5caa70]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4685e0
cmp byte [ebx], 0xa
jne 0x4685e0
or byte [edi + eax + 0x28], 4
jmp 0x4685e5
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4686e4
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4686c7
inc eax
cmp dl, 0xd
je 0x468611
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x468637
cmp eax, ecx
jae 0x468645
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4685f9
jmp 0x4686e4
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4686c2
cmp dword [ebp - 0x10], 0
je 0x4686c2
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x5caa70]
test byte [eax + edi + 0x28], 0x48
je 0x46869c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x468687
mov byte [esi], dl
jmp 0x468698
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5caa70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4686e4
cmp byte [ebp - 1], 0xa
jne 0x4686ab
cmp esi, ebx
jne 0x4686ab
mov byte [esi], 0xa
jmp 0x4686e3
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00468fef
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4686e4
mov byte [esi], 0xd
jmp 0x4686e3
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x5caa70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4686e1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4686e4
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret