joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433e38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x433e7a
call fcn.00439ba3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x433e7a
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x433e71
xor eax, eax
jmp 0x433e82
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00433e88
pop edi
pop esi
pop ebx
ret 4

Function at 0x436951
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x436981
push edi
call ebx
push eax
call fcn.00436a7e
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x4369ab
test byte [ebp - 4], 1
je 0x4369ab
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
test eax, eax
jne 0x4369ab
push edi
call ebx
push eax
call fcn.00436a7e
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x436a51
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0043689e
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x4369dd
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0043689e
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x4369f3
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0043689e
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x436a1d
push 0
call ebx
push eax
call fcn.00436a7e
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
test eax, eax
jne 0x436a3b
push eax
call ebx
push eax
call fcn.00436a7e
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x436a4f
push eax
call ebx
push eax
call fcn.00436a7e
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x436a78
test byte [ebp - 4], 1
jne 0x436a78
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
test eax, eax
jne 0x436a78
push edi
call ebx
push eax
call fcn.00436a7e
pop edi
pop ebx
leave
ret 8
Function at 0x43a911
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43a93f
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x43a95d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043a877
jmp 0x43a95d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43a95d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0043a877
test edi, edi
mov eax, edi
jne 0x43a947
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403ec8
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
xor eax, eax
mov edx, dword [eax*4 + 0x8097b0]
movsx ecx, byte [edx + 0x2a8]
test ecx, ecx
jne 0x4040ca
inc eax
cmp eax, 4
jl 0x403ecd
je 0x40409d
cmp dword [0x809d30], 0
jl 0x404099
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov esi, eax
mov edi, dword [esi*4 + 0x8097b0]
cmp dword [edi + 0x2a4], 0
jne 0x403f4e
xor ebp, ebp
mov dword [edi + 0x2ac], ebp
mov dword [edi + 0x2b0], ebp
mov edx, 1
mov byte [edi + 0x2b4], dl
mov byte [edi + 0x2b5], dl
jmp 0x404080
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
lea ebx, [esp + 0x10]
push ebx
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, dword [esi*4 + 0x8097b0]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x2ac], ecx
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x2b0], edx
test esi, esi
jne 0x403fe2
mov edx, dword [0x8092f8]
sub ecx, edx
mov dword [ebx + 0x2ac], ecx
mov ecx, dword [0x8092fc]
sub dword [ebx + 0x2b0], ecx
mov ecx, dword [0x809464]
test ecx, ecx
je 0x403fc5
mov eax, dword [ebx + 0x2ac]
imul eax, dword [ebx + 0xc]
cdq
idiv ecx
mov dword [ebx + 0x2ac], eax
mov ecx, dword [0x809468]
test ecx, ecx
je 0x403fe2
mov eax, dword [ebx + 0x2b0]
imul eax, dword [ebx + 0x10]
cdq
idiv ecx
mov dword [ebx + 0x2b0], eax
xor edx, edx
mov byte [ebx + 0x2b4], dl
mov byte [ebx + 0x2b5], dl
mov edx, dword [ebx + 0x2ac]
test edx, edx
jl 0x40400e
mov ecx, dword [ebx + 0x2b0]
test ecx, ecx
jl 0x40400e
cmp edx, dword [ebx + 0xc]
jge 0x40400e
cmp ecx, dword [ebx + 0x10]
jl 0x404080
mov byte [ebx + 0x2b4], 1
mov ecx, dword [0x8092f8]
mov ebp, dword [0x8092fc]
mov edi, dword [0x809464]
test edi, edi
je 0x404038
mov edx, dword [ebx + 0xc]
imul ecx, edx
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov edi, dword [0x809468]
test edi, edi
je 0x40404f
mov edx, dword [ebx + 0x10]
imul ebp, edx
mov eax, ebp
cdq
idiv edi
mov ebp, eax
mov edx, dword [ebx + 0x2ac]
mov edi, ecx
neg edi
cmp edx, edi
jl 0x404079
mov eax, dword [ebx + 0x2b0]
mov edi, ebp
neg edi
cmp eax, edi
jl 0x404079
add ecx, dword [ebx + 0xc]
cmp edx, ecx
jge 0x404079
add ebp, dword [ebx + 0x10]
cmp eax, ebp
jl 0x404080
mov byte [ebx + 0x2b5], 1
inc esi
cmp esi, 4
jl 0x403f1a
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
mov ebp, dword [esp]
add esp, 0x20
ret
mov dword [0x809d30], 0xffffffff
push 0x400
push 0x685c40
call dword [0x5d3480]
add esp, 8
push 0x685b40
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x403eef
mov dword [0x809d30], eax
push 0x685c40
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x403eef
Function at 0x40d79c
Capabilities:
Get file attributes

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x40d7b2
cmp eax, 0xffffffff
je 0x40d7b2
mov eax, 1
ret
xor eax, eax
ret
Function at 0x40d7c0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x23c
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], eax
mov edi, edx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x40d7ec
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x40d7e4
mov ecx, eax
xor eax, eax
xor eax, ecx
mov edx, dword [esp + 0x12c]
cmp ecx, 4
jl 0x40d824
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add edx, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x40d7fe
cmp ecx, 3
je 0x40d835
cmp ecx, 2
je 0x40d83e
cmp ecx, 1
je 0x40d847
jmp 0x40d852
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx edx, byte [edx]
xor eax, edx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
mov edx, dword [0x809604]
test edx, edx
jle 0x40da23
xor ebx, ebx
mov ebp, eax
mov ecx, dword [0x809608]
cmp ebp, dword [ecx + ebx*4]
jne 0x40d9a8
mov byte [esp + 0xc], 0
movsx edx, byte [0x809368]
test edx, edx
jne 0x40d8aa
lea esi, [esp + 0xc]
mov edi, 0x683560
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x40d8a0
mov ecx, dword [0x80960c]
mov edx, dword [ecx + ebx*4]
mov esi, dword [0x8095fc]
lea edi, [esp + 0xc]
mov edx, dword [esi + edx*4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x40d8ca
mov ecx, dword [0x80960c]
mov esi, dword [ecx + ebx*4]
mov edi, dword [esp + 0x130]
mov dword [edi + 0x10], esi
lea eax, [esp + 0x114]
lea edx, [esp + 0xc]
call fcn.004609c4
movsx edx, byte [esp + 0x11c]
test edx, edx
je 0x40da27
mov edx, dword [0x809610]
mov ecx, dword [edx + ebx*4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
lea eax, [esp + 0x114]
call fcn.0040da3c
lea eax, [esp + 0x114]
call fcn.0040da60
movzx eax, al
neg eax
movzx esi, byte [eax + 0x682cdf]
lea eax, [esp + 0x114]
lea edx, [esp + 0x134]
mov ecx, esi
call fcn.00460a40
mov byte [esp + esi + 0x134], 0
test esi, esi
jle 0x40d97a
xor edx, edx
movzx eax, byte [esp + edx + 0x134]
neg eax
dec eax
mov byte [esp + edx + 0x134], al
inc edx
cmp edx, esi
jl 0x40d963
lea edx, [esp + 0x134]
push edx
mov ecx, dword [esp + 0x130]
push ecx
call fcn.0046af30
add esp, 8
test eax, eax
je 0x40d9e0
lea eax, [esp + 0x114]
call fcn.00460a54
mov edx, dword [0x809604]
inc ebx
cmp ebx, edx
jl 0x40d878
cmp ebx, edx
jge 0x40d9d3
mov edx, dword [esp + 0x130]
mov dword [edx + 0xc], ebx
mov byte [edx + 8], 2
mov eax, 2
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [esp + 0x114]
call fcn.0040da60
mov edx, dword [esp + 0x130]
mov byte [edx + 9], al
lea eax, [esp + 0x114]
call fcn.0040da7c
mov ecx, dword [esp + 0x130]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
lea eax, [esp + 0x114]
call fcn.00460a54
mov edx, dword [0x809604]
jmp 0x40d9b1
xor ebx, ebx
jmp 0x40d9b1
mov eax, 0xfffffffe
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x40da60
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 1
push edx
push dword [eax]
call fcn.0046b6fe
movsx eax, byte [esp + 0xc]
add esp, 0x10
ret
Function at 0x4149ec
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov esi, edx
mov ebx, dword [eax]
mov edx, ecx
xor eax, eax
xor eax, ecx
mov edi, esi
cmp ecx, 4
jl 0x414a2e
mov dword [esp], ecx
imul ebp, dword [edi], 0x5bd1e995
mov ecx, ebp
shr ecx, 0x18
xor ebp, ecx
imul ecx, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edi, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x414a05
mov ecx, dword [esp]
cmp edx, 3
je 0x414a3f
cmp edx, 2
je 0x414a48
cmp edx, 1
je 0x414a51
jmp 0x414a5c
movzx edx, byte [edi + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [edi + 1]
shl edx, 8
xor eax, edx
movzx edi, byte [edi]
xor eax, edi
imul eax, eax, 0x5bd1e995
mov edi, eax
shr edi, 0xd
xor eax, edi
imul edi, eax, 0x5bd1e995
mov eax, edi
shr eax, 0xf
xor edi, eax
and edi, 0x7fffffff
add edi, 0x80000000
test ebx, ebx
je 0x414aa4
mov ebp, ecx
cmp edi, dword [ebx + 0x1c]
jne 0x414a9d
cmp ebp, dword [ebx + 0x18]
jne 0x414a9d
push ebp
push esi
push dword [ebx + 0x14]
call fcn.0046bd40
add esp, 0xc
test eax, eax
je 0x414aa4
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x414a82
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x41b0bc
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebx
sub esp, 0x108
push 0x105
push 0x683200
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x683200
call fcn.00461098
lea edx, [esp + 4]
xor eax, eax
push eax
push eax
push edx
push 0x683560
push 0x683200
call fcn.0046bf6a
add esp, 0x14
mov edi, 0x683560
lea edx, [esp + 4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x41b10f
mov eax, 0x683560
call fcn.00461098
mov edx, 0x683560
movsx eax, byte [edx]
test eax, eax
je 0x41b156
movzx esi, al
movzx ecx, byte [esi + 0x5b60a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x41b292
cmp eax, 0x2f
jne 0x41b14e
mov byte [edx], 0x5c
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x41b12f
mov edi, 0x683560
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x41b16d
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x41b165
mov ecx, eax
test ecx, ecx
jle 0x41b1a1
xor edx, edx
lea eax, [ecx - 1]
movzx esi, byte [edx + 0x683560]
movzx ebx, byte [esi + 0x5b60a0]
inc ebx
movsx edi, bl
add edx, edi
cmp edx, eax
jne 0x41b19d
cmp byte [edx + 0x683560], 0x5c
je 0x41b27b
cmp edx, ecx
jl 0x41b178
xor eax, eax
test eax, eax
jne 0x41b1c5
mov edi, 0x683560
mov edx, 0x80f2f8
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x41b1bb
mov esi, 0x683320
mov edi, 0x683200
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x41b1cf
mov edx, 0x683320
movsx eax, byte [edx]
test eax, eax
je 0x41b20c
movzx esi, al
movzx ecx, byte [esi + 0x5b60a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x41b28a
cmp eax, 0x5c
jne 0x41b204
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x41b1e5
mov esi, 0x683440
mov edi, 0x683560
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x41b216
mov edx, 0x683440
movsx eax, byte [edx]
test eax, eax
je 0x41b24f
movzx esi, al
movzx ecx, byte [esi + 0x5b60a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x41b285
cmp eax, 0x5c
jne 0x41b247
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x41b22c
xor eax, eax
push eax
push 0x1a
push 0x6837a0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
push eax
push 5
push 0x6838c0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0x108
pop ebx
pop esi
pop edi
ret
mov eax, 1
jmp 0x41b1a3
add edx, 2
jmp 0x41b248
add edx, 2
jmp 0x41b205
add edx, 2
jmp 0x41b14f
Function at 0x41b6a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
sub esp, 0x38
mov dword [esp], 0x3003
mov dword [esp + 4], 0x422374
mov ecx, dword [0x809358]
mov dword [esp + 0x10], ecx
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [0x5b6790]
mov dword [esp + 0x24], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
push 0x2711
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x41b713
mov eax, 1
add esp, 0x38
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push dword [0x809998]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
movsx eax, dx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
movsx ebp, cx
mov edx, dword [0x5b6790]
xor ecx, ecx
push ecx
push dword [0x809358]
push ecx
push dword [0x809998]
push ebp
push eax
push ecx
push ecx
push 0x56000000
push edx
push edx
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x809994], eax
test eax, eax
je 0x41b709
xor eax, eax
add esp, 0x38
pop ebp
ret

Function at 0x41d018
Capabilities:
Create process on windows

Disassembly:
push ebx
sub esp, 0x54
mov ebx, eax
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [esp], 0x44
mov edx, 5
mov word [esp + 0x30], dx
xor eax, eax
lea edx, [esp]
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
push eax
push 0x20
push eax
push eax
push eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x54
pop ebx
ret

Function at 0x421428
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x5b66d8]
cmp eax, 0x270
jl 0x4214f6
xor edx, edx
mov eax, dword [edx*4 + 0x5e8fa0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5e8fa4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5e95d4]
xor ecx, dword [eax*4 + 0x58e6d8]
mov dword [edx*4 + 0x5e8fa0], ecx
inc edx
cmp edx, 0xe3
jl 0x42143a
cmp edx, 0x26f
jge 0x4214c2
mov eax, dword [edx*4 + 0x5e8fa0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5e8fa4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5e8c14]
xor ecx, dword [eax*4 + 0x58e6d8]
mov dword [edx*4 + 0x5e8fa0], ecx
inc edx
cmp edx, 0x26f
jl 0x421482
mov edx, dword [0x5e995c]
and edx, 0x80000000
mov eax, dword [0x5e8fa0]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5e95d0]
and edx, 1
xor ecx, dword [edx*4 + 0x58e6d8]
mov dword [0x5e995c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x5b66d8], edx
mov eax, dword [eax*4 + 0x5e8fa0]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x4221fc
Capabilities:
Get file version info

Disassembly:
push edi
push ebp
push ebx
sub esp, 0xc
mov edi, edx
mov ebp, eax
test ebp, ebp
je 0x42229d
test edi, edi
je 0x42229d
lea ecx, [esp + 8]
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jbe 0x422291
mov dword [esp + 4], eax
push eax
call fcn.0046c770
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4222a9
push ebx
push dword [esp + 8]
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42228a
mov dword [esp], 0
lea ebp, [esp]
lea ecx, [esp + 4]
push ecx
push ebp
push 0x80f2f8
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42228a
mov ecx, dword [esp]
test ecx, ecx
je 0x42228a
mov ecx, dword [ecx + 8]
mov dword [edi + 4], ecx
mov ebp, dword [esp]
mov ecx, dword [ebp + 0xc]
mov dword [edi], ecx
push ebx
call fcn.0046c77e
xor eax, eax
add esp, 0x10
pop ebx
pop ebp
pop edi
ret
push ebx
call fcn.0046c77e
pop ecx
mov eax, 0x80004005
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
mov eax, 0x80070057
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
mov eax, 0x8007000e
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
Function at 0x43876d
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov ebx, edx
mov edx, eax
test ebx, ebx
je 0x4388f9
mov eax, ebx
call fcn.00462fac
mov dword [esp + 0x10], eax
mov ecx, eax
test ecx, ecx
je 0x4388d2
movsx ecx, byte [ebx]
test ecx, ecx
je 0x4388f2
xor ebp, ebp
mov ecx, ebx
movsx edx, byte [ecx]
cmp edx, 0x2f
je 0x4387c2
movzx edx, dl
movzx ecx, byte [edx + 0x5b60a0]
inc ecx
movsx esi, cl
add ebp, esi
jmp 0x4387c7
lea ebx, [ecx + 1]
xor ebp, ebp
lea ecx, [ebp + ebx]
movsx edx, byte [ecx]
test edx, edx
jne 0x4387ab
push 0x38
call fcn.00403564
pop ecx
mov esi, eax
test esi, esi
je 0x4388dc
lea ecx, [ebp + 1]
push ecx
call fcn.0046adec
pop ecx
mov dword [esi + 0x14], eax
test eax, eax
je 0x4388c3
push ebp
push ebx
push eax
call dword [0x5d348c]
add esp, 0xc
mov ecx, dword [esi + 0x14]
xor edx, edx
mov byte [ecx + ebp], dl
mov ecx, ebp
xor edx, ebp
cmp ebp, 4
jl 0x43883c
imul eax, dword [ebx], 0x5bd1e995
mov edi, eax
shr edi, 0x18
xor eax, edi
imul edi, eax, 0x5bd1e995
imul edx, edx, 0x5bd1e995
xor edx, edi
add ebx, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x438816
cmp ecx, 3
je 0x43884d
cmp ecx, 2
je 0x438856
cmp ecx, 1
je 0x43885f
jmp 0x43886a
movzx ecx, byte [ebx + 2]
shl ecx, 0x10
xor edx, ecx
movzx ecx, byte [ebx + 1]
shl ecx, 8
xor edx, ecx
movzx ecx, byte [ebx]
xor edx, ecx
imul edx, edx, 0x5bd1e995
mov ebx, edx
shr ebx, 0xd
xor edx, ebx
imul edx, edx, 0x5bd1e995
mov edi, edx
shr edi, 0xf
xor edx, edi
and edx, 0x7fffffff
mov ecx, dword [esp + 0x14]
mov ebx, ecx
shl ebx, 0x1f
add ebx, edx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebp
mov byte [esi + 0x30], cl
mov ebp, dword [esp + 0x34]
mov dword [esi + 0x28], ebp
mov edx, dword [esp + 0x38]
mov dword [esi + 0x2c], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
mov edx, esi
call fcn.00463044
mov eax, esi
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x186aa
call fcn.00467ed0
add esp, 8
xor eax, eax
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x186aa
call fcn.00467ed0
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret
xor ebp, ebp
jmp 0x4387d2
push 1
push 0xdbbb4
call fcn.00467ed0
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x43f2ac
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x43f333
je 0x43f362
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b61a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b61a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b61a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b61a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x43f2cf
mov edi, dword [esp]
jmp 0x43f338
mov eax, 0xffffffff
test ecx, ecx
je 0x43f35c
je 0x43f35c
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5b61a0]
inc ebx
cmp ebx, ecx
jb 0x43f340
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x43f338

Function at 0x43f370
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea edx, [esp]
push 8
push edx
push dword [eax]
call fcn.0046b6fe
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 0x14
ret
Function at 0x442210
Capabilities:
Create directory

Disassembly:
sub esp, 0x110
mov edx, eax
movsx ecx, byte [edx]
test ecx, ecx
je 0x442256
xor ecx, ecx
movsx eax, byte [edx]
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x108], esi
mov esi, edx
mov ebx, ecx
cmp eax, 0x5c
je 0x44225f
mov byte [esp + ebx], al
movsx eax, byte [ebx + esi + 1]
inc ebx
test eax, eax
jne 0x442236
mov ebx, dword [esp + 0x10c]
mov esi, dword [esp + 0x108]
xor eax, eax
add esp, 0x110
ret
push ebx
push esi
call fcn.0046d256
add esp, 8
test eax, eax
je 0x442273
movsx eax, byte [ebx + esi]
jmp 0x44223b
xor eax, eax
mov byte [esp + ebx], al
lea edx, [esp]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movsx eax, byte [ebx + esi]
jmp 0x44223b
Function at 0x44d55c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push ebx
sub esp, 8
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
xor edx, edx
mov dword [esp], edx
mov dword [esp + 4], 1
mov byte [ebx], dl
lea eax, [esp]
push eax
push 0xf003f
push edx
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44d59f
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
ret
lea edx, [esp + 4]
lea eax, [esp + 0x24]
push eax
push ebx
push edx
push 0
push ebp
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44d5c6
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
ret
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
pop ebx
pop ebp
ret
Function at 0x44fc7c
Capabilities:
Create directory

Disassembly:
push edi
push esi
sub esp, 0x108
mov ecx, eax
lea esi, [esp]
mov edi, 0x683680
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x44fc8e
lea edi, [esp]
mov edx, ecx
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x44fca7
lea eax, [esp]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0x108
pop esi
pop edi
ret