joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f2470
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x100f254a
mov eax, dword [ebp + 8]
mov ebx, dword [edi + 0x10]
dec ebx
mov esi, ebx
mov eax, dword [eax]
mov edx, eax
shr edx, 0x10
xor edx, eax
imul ecx, edx, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov dword [ebp - 4], ecx
and esi, ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
cmp eax, 0xffffffff
je 0x100f24e4
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x28]
mov esi, dword [ecx]
lea esp, [esp]
lea ecx, [eax + eax*2]
cmp esi, dword [edx + ecx*4]
je 0x100f254d
mov eax, dword [edx + ecx*4 + 8]
cmp eax, 0xffffffff
jne 0x100f24d0
mov ecx, dword [ebp - 4]
sar ebx, 1
mov dword [ebp - 8], ebx
cmp ebx, dword [edi + 0x48]
jl 0x100f254a
mov esi, ebx
and esi, ecx
cmp esi, dword [edi + 0x40]
jl 0x100f254a
test esi, esi
js 0x100f2500
cmp esi, dword [edi + 0x14]
jl 0x100f251d
push str.bitNum___0__bitNum___this__Size__
push 0x14a
push str.c:_buildslave_steam_rel_client_win32_build_srcpublic_tier1_bitstring.h
call dword [sym.imp.tier0_s.dll_public:_static_bool___cdecl_AssertMsgHelper_1_::AssertFailed_char_const___unsigned_int__char_const__]
add esp, 0xc
test al, al
jne 0x100f251d
int3
cmp dword [edi + 0x18], 1
lea ebx, [edi + 0x1c]
je 0x100f2529
mov ebx, dword [edi + 0x20]
mov eax, esi
mov ecx, esi
and ecx, 0x1f
sar eax, 5
mov edx, 1
shl edx, cl
test dword [ebx + eax*4], edx
jne 0x100f254a
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
jmp 0x100f24b6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100fa300
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
movzx ebx, byte [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
dec ebx
push edi
mov edi, dword [ebp + 0xc]
or ebx, 0xdfdfdfdf
shr edi, 2
lea edx, [eax + edi*4]
mov dword [ebp + 0x10], edx
test edi, edi
je 0x100fa394
mov ecx, edx
lea eax, [edi*4]
and ecx, 3
sub edx, eax
mov dword [ebp + 0x14], ecx
add edx, 2
jmp 0x100fa340
test ecx, ecx
jne 0x100fa349
mov eax, dword [edx - 2]
jmp 0x100fa36a
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx - 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx - 2]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 0x14]
and eax, ebx
add edx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
rol esi, 0xd
add esi, 0xfaddaf14
lea esi, [esi + esi*4]
sub edi, 1
jne 0x100fa340
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, edi
and eax, 3
sub eax, 1
je 0x100fa3bd
sub eax, 1
je 0x100fa3b4
sub eax, 1
jne 0x100fa3d5
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
and eax, ebx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, edi
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret

Function at 0x100facb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x102004fc
mov dword [ebp - 4], 0
call fcn.100fb4d0
lea ecx, [ebp - 0xc]
call fcn.100fb2f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x100facf7
push eax
call fcn.10021980
add esp, 4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100fad07
push ecx
call fcn.10021980
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100faf00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x102004fc
mov dword [ebp - 4], 0
call fcn.100fb4d0
lea ecx, [ebp - 0xc]
call fcn.100fb2f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100faf3e
test al, 0x10
je 0x100faf3e
mov bl, 1
jmp 0x100faf40
xor bl, bl
mov eax, dword [ebp - 4]
test eax, eax
je 0x100faf50
push eax
call fcn.10021980
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x100faf60
push eax
call fcn.10021980
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100fc670
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov cl, 1
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x100fc4c8
push eax
push 1
push 0xd
push str.Log_stopped._n
call fcn.101bdedc
add esp, 0x10
cmp eax, 1
je 0x100fc457
push str.1__ret
push 0xb3e
push str.c:_buildslave_steam_rel_client_win32_build_srccommonlogger.cpp
call dword [sym.imp.tier0_s.dll_public:_static_bool___cdecl_AssertMsgHelper_1_::AssertFailed_char_const___unsigned_int__char_const__]
add esp, 0xc
test al, al
jne 0x100fc457
int3
add dword [esi + 0x120], 0xd
mov eax, dword [esi + 0x11c]
adc dword [esi + 0x124], 0
add dword [esi + 0x128], 0xd
push ebx
adc dword [esi + 0x12c], 0
test eax, eax
je 0x100fc495
push eax
call fcn.101ba069
add esp, 4
test eax, eax
sete bl
test bl, bl
jne 0x100fc497
mov al, bl
pop ebx
pop esi
ret
mov bl, 1
push dword [esi + 0x11c]
call fcn.101bce93
add esp, 4
mov dword [esi + 0x11c], 0
mov al, bl
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
pop ebx
pop esi
ret
mov al, cl
pop esi
ret
push ebx
mov ebx, ecx
call dword [sym.imp.tier0_s.dll_ThreadInMainThread]
test al, al
jne 0x100fc69a
push str.ThreadInMainThread__
push 0xadd
push str.c:_buildslave_steam_rel_client_win32_build_srccommonlogger.cpp
call dword [sym.imp.tier0_s.dll_public:_static_bool___cdecl_AssertMsgHelper_1_::AssertFailed_char_const___unsigned_int__char_const__]
add esp, 0xc
test al, al
jne 0x100fc69a
int3
call dword [sym.imp.tier0_s.dll_ThreadInMainThread]
test al, al
jne 0x100fc6c1
push str.ThreadInMainThread__
push 0xae7
push str.c:_buildslave_steam_rel_client_win32_build_srccommonlogger.cpp
call dword [sym.imp.tier0_s.dll_public:_static_bool___cdecl_AssertMsgHelper_1_::AssertFailed_char_const___unsigned_int__char_const__]
add esp, 0xc
test al, al
jne 0x100fc6c1
int3
mov ecx, ebx
pop ebx
jmp 0x100fc410

Function at 0x100fdf90
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x44]
mov dword [ebp - 0xa0], 0x67452301
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x9c], 0xefcdab89
mov dword [ebp - 0x98], 0x98badcfe
mov dword [ebp - 0x94], 0x10325476
mov dword [ebp - 0x90], 0xc3d2e1f0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
call fcn.100fe040
test al, al
jne 0x100fdffd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xb4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb0]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 0x10], eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10164bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
call fcn.10107c90
mov eax, dword [esi]
lea ecx, [ebp - 4]
push edi
push str.ListPanel.TextColor
push ecx
mov ecx, esi
call dword [eax + 0x78]
push edi
mov ecx, dword [eax]
mov eax, dword [esi]
push ecx
mov dword [esi + 0x254], ecx
lea ecx, [ebp - 4]
push str.ListPanel.DisabledTextColor
push ecx
mov ecx, esi
call dword [eax + 0x74]
push edi
push dword [esi + 0x254]
lea ecx, [ebp - 4]
mov eax, dword [eax]
mov dword [esi + 0x258], eax
mov eax, dword [esi]
push str.ListPanel.SelectedTextColor
push ecx
mov ecx, esi
call dword [eax + 0x74]
push edi
push dword [esi + 0x254]
lea ecx, [ebp - 4]
mov eax, dword [eax]
mov dword [esi + 0x25c], eax
mov eax, dword [esi]
push str.ListPanel.DisabledSelectedTextColor
push ecx
mov ecx, esi
call dword [eax + 0x74]
push edi
push str.ListPanel.SelectedBgColor
lea ecx, [ebp - 4]
mov eax, dword [eax]
mov dword [esi + 0x260], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x78]
push edi
push str.ListPanel.SelectedOutOfFocusBgColor
lea ecx, [ebp - 4]
mov eax, dword [eax]
mov dword [esi + 0x264], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x78]
mov ecx, dword [esi + 0x274]
mov eax, dword [eax]
mov dword [esi + 0x268], eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
test eax, eax
je 0x10164cc7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
test eax, eax
je 0x10164cc7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [esi + 0x204], eax
test eax, eax
je 0x10164cc7
cmp byte [esi + 0x218], 0
je 0x10164cc7
push 0
mov ecx, esi
call fcn.1016b7c0
mov dword [ebp + 8], 0xa
call fcn.10100240
mov edx, dword [esi]
mov ebx, eax
mov ecx, dword [ebx]
mov edi, dword [ecx + 0x3c]
mov ecx, esi
call dword [edx + 0x64]
lea ecx, [ebp + 8]
push ecx
push 0x101dfd9c
push str.ListPanel.PostSectionLeading
push eax
mov ecx, ebx
call edi
push eax
call fcn.100218e0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp eax, dword [esi + 0x2a4]
je 0x10164d22
push 0
mov dword [esi + 0x2a4], eax
mov ecx, esi
mov eax, dword [esi]
push 0
push 0
mov byte [esi + 0x1df], 1
call dword [eax + 0x48]
xor ebx, ebx
cmp byte [esi + 0xfb], bl
jbe 0x10164d6d
lea esp, [esp]
movzx eax, bl
imul ecx, eax, 0x134
add ecx, dword [esi + 0xec]
cmp byte [ecx + 0x18], 0
je 0x10164d61
movzx eax, byte [esi + 0x1dc]
cmp ebx, dword [esi + 0x1d4]
mov ecx, dword [ecx]
push eax
sete al
movzx eax, al
push eax
call fcn.1016bb00
movzx eax, byte [esi + 0xfb]
inc ebx
cmp ebx, eax
jl 0x10164d30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x101a3bd0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx]
test eax, eax
je 0x101a3be5
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebx + 8]
lea esi, [ebx + 8]
mov dword [ebx], 0
test eax, eax
je 0x101a3c02
cmp byte [ebx + 4], 0
je 0x101a3c02
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0xc]
mov dword [esi], 0
mov byte [ebx + 5], 0
test edi, edi
je 0x101a3c2e
push 0
push 0
push 0xf0004
push esi
mov byte [ebx + 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp + 8]
push edi
jmp 0x101a3c56
cmp byte [ebp + 0x14], 0
je 0x101a3c6f
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov byte [ebx + 4], 1
call esi
mov edi, eax
call esi
push 0
push 0
push 0xf0004
lea esi, [ebx + 8]
push esi
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x101a3c8e
mov eax, dword [esi]
test eax, eax
jne 0x101a3c78
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov byte [ebx + 4], 0
mov dword [esi], eax
push dword [ebp + 0x10]
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx], eax
test eax, eax
jne 0x101a3c97
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0x10
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0x10

Function at 0x101a5da0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.101a5db0

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
test edx, edx
jne 0x101a6043
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
not eax
cmp esi, 8
jb 0x101a60fe
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10221b08]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10221b08]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10221b08]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10221b08]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10221b08]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10221b08]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10221b08]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10221b08]
sub edi, 1
jne 0x101a6057
pop edi
test esi, esi
je 0x101a611c
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10221b08]
sub esi, 1
jne 0x101a6102
not eax
pop esi
pop ebp
ret
Function at 0x101a7b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x101a7cc0
cmp dword [esi + 0x20], 0
je 0x101a7cc0
cmp dword [esi + 0x24], 0
je 0x101a7cc0
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x101a7cc0
cmp dword [edi], esi
jne 0x101a7cc0
mov eax, dword [edi + 4]
cmp eax, 0x2a
je 0x101a7b98
cmp eax, 0x39
je 0x101a7b98
cmp eax, 0x45
je 0x101a7b98
cmp eax, 0x49
je 0x101a7b98
cmp eax, 0x5b
je 0x101a7b98
cmp eax, 0x67
je 0x101a7b98
cmp eax, 0x71
je 0x101a7b98
cmp eax, 0x29a
jne 0x101a7cc0
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov eax, dword [edi + 8]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x14], 0
test eax, eax
jns 0x101a7bcd
neg eax
mov dword [edi + 0x18], eax
cmp eax, 2
jne 0x101a7bd7
lea ecx, [eax + 0x37]
jmp 0x101a7be6
test eax, eax
mov ecx, 0x71
mov edx, 0x2a
cmovne ecx, edx
mov dword [edi + 4], ecx
push 0
push 0
push 0
cmp eax, 2
jne 0x101a7bfb
call fcn.101a6030
jmp 0x101a7c00
call fcn.101a5da0
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0
push edi
call fcn.101a8c30
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push dword [esi + 0x44]
call fcn.101a8710
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x10221f52]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x10221f50]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x10221f54]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x10221f56]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop ebp
ret
pop edi
mov eax, 0xfffffffe
pop esi
pop ebp
ret

Function at 0x101c8563
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101c83d9
Function at 0x403360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403393
call fcn.00403340
test eax, eax
je 0x403393
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403400
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403434
call fcn.00403340
cmp eax, 7
jb 0x403434
mov edx, 7
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403440
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403473
call fcn.00403340
test eax, eax
je 0x403473
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403570
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x89e474]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x4035b9
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4035b9
push 0xc00
call eax
test eax, eax
jne 0x40364e
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x40364e
cmp ecx, 0x104
ja 0x40364e
cmp word [ebp + ecx*2 - 0x2d6], 0x5c
je 0x4035f2
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x2d4], ax
inc ecx
mov al, byte [str.userenv]
push esi
mov esi, str.userenv
test al, al
je 0x40364d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + ecx*2]
mov ecx, edi
inc esi
movzx eax, al
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
mov al, byte [esi]
inc esi
test al, al
jne 0x403615
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
mov al, byte [esi]
test al, al
jne 0x403612
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004484ed
mov esp, ebp
pop ebp
ret
Function at 0x408b30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x98
push 0
lea eax, [edi + 0x110]
push eax
call fcn.00449c40
mov eax, dword [edi + 0x30]
add esp, 0xc
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x1010100
mov dword [ecx + 8], 0
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x408bc7
lea eax, [edi + 0x9fc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
nop word [eax + eax]
mov esi, eax
xor edi, edi
movzx eax, word [edi + 0x459570]
lea ecx, [ebx + 2]
xor edx, edx
div ecx
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x408c10
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x408bf4
mov eax, dword [ebp - 4]
inc ebx
sub eax, 0xffffff80
mov dword [ebp - 4], eax
cmp ebx, 0x80
jb 0x408bf0
mov edi, dword [ebp + 8]
mov edx, 0x50
pop ebx
lea esi, [edi + 0x3bc]
nop dword [eax + eax]
mov eax, esi
mov ecx, 0x10
nop word [eax + eax]
mov word [eax], dx
lea eax, [eax + 4]
mov word [eax - 2], 0x403
sub ecx, 1
jne 0x408c60
add edx, 0x28
add esi, 0x40
cmp edx, 0x438
jb 0x408c50
mov dword [edi + 0x3b8], 0x40070000
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x409c30
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x409c7b
cmp edx, 0x40
je 0x409c67
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.00449c40
add esp, 0xc
mov eax, dword [esi]
lea edi, [esi + 0x40]
lea ebx, [esi + 0x20]
mov edx, edi
push 1
mov ecx, ebx
call eax
xor edx, edx
jmp 0x409c81
lea edi, [esi + 0x40]
lea ebx, [esi + 0x20]
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call fcn.00449c40
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, edi
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebx
push 1
call eax
mov edi, dword [ebp + 0xc]
mov edx, ebx
mov ebx, 4
mov ecx, dword [edx + 4]
lea edi, [edi + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [edi - 8], eax
bswap ecx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x409cc4
pop edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebx
pop ebp
ret 8

Function at 0x409d30
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [0x89e44c]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
pop ebp
ret 4

Function at 0x40a4e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.0044c597
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x40a50d
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 0xc