joyce8/EMBER2024-capa huggingface dataset:
Function at 0x16bd0c9
Capabilities:
Encode data using base64
Execute anti-debugging instructions
Parse pe header

Disassembly:
jae 0x565fac
lea eax, [esp + 0x168c]
setl dh
bswap ecx
mov ecx, dword [edi + 0x84]
cmovle dx, sp
mov edx, dword [esp + 0x20]
jmp 0x1867622
jb 0x1764fcc
mov edx, dword [esp + 0x978]
jmp 0x185cb5f
call fcn.0044aa80
push 0xffffffffffffffff
mov cx, dx
push 0
movzx ecx, bx
push eax
seta cl
lea ecx, [esp + 0x1694]
jmp 0x18449ac
push 0x662eff8d
call fcn.016812e0
lea esi, [esp + 0x974]
jmp 0x161cbe0
mov dword [esp + 0x988], 0
jmp 0x185761e
call fcn.004718ab
add esp, 0xc
xchg cx, si
dec al
lahf
mov ecx, dword [esp + 0x3c]
jmp 0x427081
call fcn.004507e1
lea esp, [esp + 4]
cmp dword [esp + 0x16a0], 0x10
cwde
lahf
mov eax, dword [esp + 0x168c]
mov dword [esp + 0x98c], 0xf
jmp 0x16d3b23
inc eax
jmp 0x17ea097
push eax
bswap ax
movzx eax, cx
lea eax, [edx + ecx + 0x1b4]
jmp 0x184da82
call fcn.004064b0
mov byte [esp + 0x1bf0], 0x5e
test ebx, esp
cmp dword [esp + 0x98c], 0x10
jmp 0x15ff4bc
push eax
jmp 0x172ab4b
mov byte [esp + 0x978], 0
jmp 0x565f9a
push edx
jmp 0x1764fc3
push eax
not ax
movsx ax, ch
bswap eax
mov eax, dword [esp + 0x16a0]
jmp 0x176eb1f
Function at 0x173081e
Capabilities:
Encode data using base64
Execute anti-debugging instructions
Parse pe header

Disassembly:
cmp eax, 3
ja 0x1648f77
call fcn.0046e39f
mov esi, dword [esp + 0x38]
stc
clc
cmp dword [esi + 0x6c], 0x10
jmp 0x1762843
add esi, 0x58
push esi
jmp 0x16ede3d
call fcn.0046e5e2
mov ecx, dword [edi + 0x84]
mov edx, dword [esp + 0x18]
jmp 0x43d01d
push 0xe5fbad80
call fcn.016d0b5f
sub ecx, esi
xor eax, edi
ror al, cl
movsx eax, si
mov eax, 0x92492493
shld dx, di, 0x5b
rol dl, 0x2c
imul ecx
stc
cmovle eax, esi
bt ax, 0x25
lea edx, [edx + ecx]
mov ax, bp
sar ax, 0x9c
sar edx, 4
btr ax, dx
or eax, ebp
cbw
mov eax, edx
cmp ebp, 0xa3d7350
shr eax, 0x1f
test si, 0x72a3
cmc
add eax, edx
jmp 0x1648f63
jb 0x1655a44
mov esi, dword [esi + 0x58]
jmp 0x17fc670
jmp 0x1655a47

Function at 0x1735cff
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using base64
Execute anti-debugging instructions
Parse credit card information
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
shl eax, cl
xadd ah, al
and esp, 0xfffffff8
push 0xffffffffffffffff
not al
xchg al, al
cwde
push 0x4e5798
bswap eax
cmovl ax, bx
mov ax, 0x7e41
mov eax, dword fs:[0]
jmp loc.0041ca91

Function at 0x178dd8b
Capabilities:
Hash data with crc32

Disassembly:
lea ecx, [ebp - 0x1c]
jmp 0x169337f
jbe 0x169b880
call dword [ebp - 0x60]
push 0
jmp 0x183cf94
mov esi, ecx
jmp 0x1847823
je 0x18c9528
mov eax, edi
mov dl, 0xeb
lea esi, [eax + 1]
xchg dl, dl
lea esp, [esp]
inc dl
mov dl, cl
mov dl, byte [eax]
inc eax
test si, 0x4bce
test dl, dl
jmp 0x18c94fc
call dword [0x4e7438]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
jmp 0x170262c
inc eax
test di, sp
cmp bx, bx
test cl, cl
jne 0x169b885
sub eax, edx
movsx esi, di
mov ecx, eax
not si
mov esi, 0xffffffff
mov eax, 0
jmp 0x174f0b1
push edi
call fcn.0046ed00
lea esp, [esp + 8]
test eax, eax
je 0x41c4b9
mov ecx, dword [0x529dd4]
call fcn.01634a81
inc eax
movsx esi, ax
push eax
bswap si
jmp 0x5b0772
je 0x17ba3a9
nop
sub edx, 0xad2571
sar bh, cl
movzx edx, byte [eax + edi]
mov ebx, esi
and ebx, 0xff
test ecx, esp
cmp cx, sp
xor edx, ebx
cmp dh, 0x67
shr esi, 8
cmc
cmp cl, 0xe2
test ecx, 0x241503ad
xor esi, dword [edx*4 + 0x521a18]
jmp 0x188f2eb
push 0xcc07fda6
call fcn.01698646
jb 0x572800
mov edx, dword [ebp - 0x58]
cmc
cmp ebp, ecx
test si, di
lea edx, [edx + ecx]
clc
cmp eax, edx
jmp 0x5727fa
jb 0x174f0c0
mov ebx, dword [0x4e7458]
mov ecx, dword [0x529dc8]
call fcn.00415722
not esi
cmp esi, eax
jmp 0x1675233
call ebx
push eax
jmp 0x169b87a
call fcn.0176ec97
add esp, 4
jmp 0x41c4b9
push eax
jmp 0x17447f5
inc eax
clc
cmp eax, ecx
jmp 0x17ba39d
jne 0x167524d
sub eax, esi
cmp eax, 1
jbe 0x18c9528
call fcn.018d3d8c
test eax, eax
je 0x18c9528
call dword [ebp - 0x60]
push 0
call ebx
push eax
call dword [0x4e7438]
lea eax, [ebp - 0x38]
jmp 0x1862bba
Function at 0x17a78f8
Capabilities:
Parse pe header

Disassembly:
push ebx
jmp 0x162672f
push eax
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
jmp 0x18da999
mov byte [ebp - 0xf], 0
jmp 0x180fb8f
push esi
push edi
call fcn.0164f3aa
lea eax, [ebp - 0x18]
jmp 0x574b46
mov byte [ebp - 0x12], 0x64
jmp 0x18ac02b
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], bl
jmp loc.0042b29f
mov byte [ebp - 0x14], 0x6c
jmp 0x182a398
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], 0x72
jmp 0x176855a
push ebp
mov ebp, esp
inc ah
and ah, 0x78
mov eax, ebp
lea esp, [esp - 0x16c]
inc eax
add ax, sp
mov eax, dword [0x51f620]
cmc
jmp 0x17fc25e
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x5696cf
mov byte [ebp - 0x10], 0x6c
jmp 0x5765bc
call edi
lea ecx, [ebp - 0x28]
mov bl, 0x65
bswap esi
jmp 0x1831a0f
mov byte [ebp - 0x13], 0x2e
jmp 0x16d0b4f
push ecx
cmovbe si, si
mov esi, eax
jmp 0x184be8d
mov byte [ebp - 0x28], 0x6b
jmp 0x179a765
mov byte [ebp - 0x11], 0x6c
jmp 0x180c39b
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x6c
jmp 0x176c0bd
Function at 0x1862bdf
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xd3], dl
jmp 0x173b4f9
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x1c], al
jmp 0x18e13d2
mov byte [ebp - 0xd5], 0x47
mov byte [ebp - 0xd4], 0x65
jmp 0x5303c4
mov byte [ebp - 0x154], 0x58
jmp 0x18aaf77
mov byte [ebp - 0xc3], al
jmp 0x163adcc
mov byte [ebp - 0x98], al
jmp 0x16decfc
mov byte [ebp - 0xc9], 0x4e
mov byte [ebp - 0xc8], 0x75
jmp 0x1765863
push esi
push edi
mov edi, ecx
mov cl, 0x69
jmp 0x538308
mov byte [ebp - 0x17], 0
mov byte [ebp - 0xd8], 0x52
mov byte [ebp - 0xd7], dl
jmp 0x53e6a5
mov byte [ebp - 0xc2], 0
jmp 0x18853f1
mov byte [ebp - 0xcc], cl
jmp 0x179a317
push ebx
setns dl
mov al, 0x6c
mov dl, 0x74
mov bl, 0x6f
jmp 0x15eb5df
mov byte [ebp - 0xca], 0x6e
jmp 0x15c4b0c
mov byte [ebp - 0x97], 0x20
mov byte [ebp - 0x96], 0x31
mov byte [ebp - 0x95], 0x31
jmp 0x17eb1ff
mov byte [ebp - 0x9d], cl
jmp 0x176063d
mov byte [ebp - 0xc5], 0x65
jmp 0x1711f52
mov byte [ebp - 0xc4], 0x72
jmp 0x5775ce
mov byte [ebp - 0xd2], 0x4e
mov byte [ebp - 0xd1], dl
mov byte [ebp - 0xd0], 0x56
jmp 0x17db12b
mov byte [ebp - 0xc6], 0x62
jmp 0x1711857
mov byte [ebp - 0xa1], 0x66
jmp 0x17df10e
mov byte [ebp - 0x151], 0
jmp 0x18ed93b
mov byte [ebp - 0x152], 0x32
jmp 0x174eafd
mov byte [ebp - 0x9c], 0x6e
jmp 0x18efc7f
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x1e], 0x64
jmp 0x18c9897
mov byte [ebp - 0x14d], 0
jmp 0x57335f
mov byte [ebp - 0xc7], 0x6d
jmp 0x17446c7
mov byte [ebp - 0xa6], 0x63
mov byte [ebp - 0xa5], 0x72
jmp 0x18d88b4
mov byte [ebp - 0x18], al
jmp 0x181137c
mov byte [ebp - 0xcb], bl
jmp 0x165b0fa
mov byte [ebp - 0x14f], 0x36
mov byte [ebp - 0x14e], 0x34
jmp 0x176101a
mov byte [ebp - 0x9a], bl
jmp 0x18dee29
mov byte [ebp - 0xcf], 0x65
mov byte [ebp - 0xce], 0x72
mov byte [ebp - 0xcd], al
jmp 0x163c1a0
mov byte [ebp - 0xa0], dl
mov byte [ebp - 0x9f], 0x20
mov byte [ebp - 0x9e], 0x57
jmp 0x16edde8
mov byte [ebp - 0x94], 0
jmp loc.0041cad9
mov byte [ebp - 0xd6], al
mov al, 0x73
mov byte [ebp - 0x20], 0x6e
jmp 0x17606a7
mov byte [ebp - 0xa2], bl
jmp 0x1746b33
push ebp
btc ebp, 0xf5
mov ebp, esp
shr ah, 0x6d
rcl al, cl
mov dl, 0xf4
invalid
movsb byte es:[edi], byte [esi]
and al, 0xa0
Function at 0x401385
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4013ba
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4013b7
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4013c3
add edx, 0x28
cmp edx, esi
jne 0x4013a5
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4013c0

Function at 0x401805
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401844
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401844
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401844
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401844
cmp dword [ecx + 0x74], 0xe
jbe 0x401844
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401e70
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401ebb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401eb4
test esi, esi
je 0x401eb4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401e90
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4020a0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4020f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4021c8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40212e
cmp eax, 4
jne 0x402150
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40213e
cmp edx, 4
je 0x40213e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004020a0
Function at 0x1943dc0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1943fa4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x144f000]
push edi
or ebp, 0xffffffff
jmp 0x1943dea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1943df1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1943de0
mov eax, 1
add ebx, ebx
jne 0x1943e03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1943e14
jne 0x1943e33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1943e33
dec eax
add ebx, ebx
jne 0x1943e20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1943df8
add ebx, ebx
jne 0x1943e2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1943e85
xor ecx, ecx
sub eax, 3
jb 0x1943e4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1943eba
sar eax, 1
mov ebp, eax
jmp 0x1943e56
add ebx, ebx
jne 0x1943e56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1943e24
inc ecx
add ebx, ebx
jne 0x1943e64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1943e24
add ebx, ebx
jne 0x1943e71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1943e66
jne 0x1943e82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1943e66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1943ea4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1943e96
jmp 0x1943de6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1943ea4
add edi, ecx
jmp 0x1943de6
pop esi
mov edi, esi
mov ecx, 0xbbab
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1943ec2
cmp byte [edi], 0x2d
jne 0x1943ec2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1943ec7
lea edi, [esi + 0x18e3000]
mov eax, dword [edi]
or eax, eax
je 0x1943f36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1905210]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x190532c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1943ef4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1905330]
or eax, eax
je 0x1943f30
mov dword [ebx], eax
add ebx, 4
jmp 0x1943f11
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1943f67
cmp al, 0xef
ja 0x1943f5a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1943f3c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1943f49
mov ebp, dword [esi + 0x1905334]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1943f9b
sub esp, 0xffffff80
jmp 0x2b6520
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x4013c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x4013f6
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 8], edx
jge 0x40146e
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call fcn.00401160
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x10]
cmp dword [ebp + 0xc], edx
jb 0x401436
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0xc]
jbe 0x40143d
mov eax, 0xc1
jmp 0x401470
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00449d80
add esp, 0xc
jmp 0x4013e4
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401fb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x401fc8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x40201a
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x401fe9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x40200b
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
xor edx, edx
sub edx, ecx
and edx, 0xedb88320
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x401fe0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax*4 + 0x468920], ecx
jmp 0x401fbf
mov dword [ebp - 4], 0x100
jmp 0x40202c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x800
jae 0x402064
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x468520]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov eax, dword [ebp - 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x468920]
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x468920], eax
jmp 0x402023
mov dword [0x468918], 0x4020b0
mov dword [0x468914], 0x4020b0
mov esp, ebp
pop ebp
ret
Function at 0x404830
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x4650c4]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, ax
cmp eax, 6
je 0x40488b
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0
je 0x40488b
push 0xc00
call dword [ebp - 0x2e8]
test eax, eax
je 0x40488b
jmp 0x4049f3
push 0x106
lea ecx, [ebp - 0x2d4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
je 0x4048b8
cmp dword [ebp - 0x2e0], 0x104
jbe 0x4048bd
jmp 0x4049f3
mov edx, dword [ebp - 0x2e0]
movzx eax, word [ebp + edx*2 - 0x2d6]
cmp eax, 0x5c
je 0x4048f2
mov ecx, 0x5c
mov edx, dword [ebp - 0x2e0]
mov word [ebp + edx*2 - 0x2d4], cx
mov eax, dword [ebp - 0x2e0]
add eax, 1
mov dword [ebp - 0x2e0], eax
mov ecx, dword [str.userenv]
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x2e4]
movsx eax, byte [edx]
test eax, eax
je 0x4049f3
mov ecx, dword [ebp - 0x2e0]
lea edx, [ebp + ecx*2 - 0x2d4]
mov dword [ebp - 0x2dc], edx
mov eax, dword [ebp - 0x2e4]
mov cl, byte [eax]
mov byte [ebp - 0x2d5], cl
mov edx, dword [ebp - 0x2e4]
add edx, 1
mov dword [ebp - 0x2e4], edx
movsx eax, byte [ebp - 0x2d5]
test eax, eax
jne 0x40494c
jmp 0x40496e
movzx cx, byte [ebp - 0x2d5]
mov edx, dword [ebp - 0x2dc]
mov word [edx], cx
mov eax, dword [ebp - 0x2dc]
add eax, 2
mov dword [ebp - 0x2dc], eax
jmp 0x404922
mov ecx, 2
imul edx, ecx, 0
mov eax, 0x2e
mov ecx, dword [ebp - 0x2dc]
mov word [ecx + edx], ax
mov edx, 2
shl edx, 0
mov eax, 0x64
mov ecx, dword [ebp - 0x2dc]
mov word [ecx + edx], ax
mov edx, 2
shl edx, 1
mov eax, 0x6c
mov ecx, dword [ebp - 0x2dc]
mov word [ecx + edx], ax
mov edx, 2
imul eax, edx, 3
mov ecx, 0x6c
mov edx, dword [ebp - 0x2dc]
mov word [edx + eax], cx
mov eax, 2
shl eax, 2
xor ecx, ecx
mov edx, dword [ebp - 0x2dc]
mov word [edx + eax], cx
push 8
push 0
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4048fe
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448b77
mov esp, ebp
pop ebp
ret
Function at 0x40ca80
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x20], 0x6a09e667
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x20], 0xbb67ae85
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x20], 0x3c6ef372
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x20], 0xa54ff53a
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x20], 0x510e527f
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x20], 0x9b05688c
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x20], 0x1f83d9ab
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x20], 0x5be0cd19
pop ebp
ret 4

Function at 0x40cfb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call fcn.0044dc77
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0040ccb0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x411800
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456f05
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4650c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x467ed4]
test eax, eax
jne 0x41187f
push 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040f180
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.0040d180
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d110
cmp dword [ebp - 0x1c], 0
je 0x41187d
mov al, 1
jmp 0x4118fd
jmp 0x411893
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x411893
mov al, 1
jmp 0x4118fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4118a4
xor al, al
jmp 0x4118fd
lea ecx, [ebp - 0x60]
call fcn.004112a0
mov dword [ebp - 4], 1
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x60]
call fcn.00412dc0
movzx eax, al
test eax, eax
jne 0x4118e0
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00411350
mov al, byte [ebp - 0xd]
jmp 0x4118fd
lea ecx, [ebp - 0x60]
call fcn.004120b0
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00411350
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x411c50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456f7d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4650c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00413790
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x411cb2
mov ecx, dword [ebp - 0x10]
and ecx, 0x10
jne 0x411cb2
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x411cb2
mov eax, dword [ebp - 0x10]
and eax, 0xfffffffe
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00412780
movzx edx, al
test edx, edx
jne 0x411cb2
xor al, al
jmp 0x411d1b
movzx eax, byte [0x467ed4]
test eax, eax
jne 0x411d07
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040f180
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.0040d180
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d110
cmp dword [ebp - 0x1c], 0
je 0x411d05
mov al, 1
jmp 0x411d1b
jmp 0x411d19
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x411d19
mov al, 1
jmp 0x411d1b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4