joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c8570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c86c4
sub esp, 0x28
lea eax, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.005b1e70
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c85da
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x72a555]
mov dword [eax], ecx
lea ecx, [0x79d538]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
add esp, 0x28
ret
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5c86b0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x1b], 0
lea eax, [esp + 0x2c]
mov dword [esp], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x1b]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call fcn.005b26a0
movzx eax, byte [esp + 0x10]
test al, al
je 0x5c867d
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
movzx esi, byte [esp + 0x1b]
xor esi, 0xffffff80
xchg esi, eax
movzx eax, al
xchg esi, eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x5c85da
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
add esp, 0x28
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x72a0ec]
mov dword [eax], ecx
lea ecx, [0x79d538]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
add esp, 0x28
ret
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
add esp, 0x28
ret
call fcn.00461f40
jmp fcn.005c8570
Function at 0x5d3b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d3d8f
sub esp, 0x6c
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00463615
lea ecx, [0x5d3da0]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x94]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x58], ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x64], edx
lea ebx, [esp + 0x88]
mov dword [esp + 0x68], ebx
mov ebx, dword [edx + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.005c5c80
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
xor eax, eax
jmp 0x5d3c85
mov dword [esp + 0x14], eax
mov ebx, dword [ecx + eax*4]
mov ebp, dword [esp + 0x40]
mov dword [esp], 2
mov dword [esp + 4], ebx
lea edx, [esp + 0x40]
call ebp
mov eax, dword [esp + 0x14]
inc eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
cmp eax, edx
jl 0x5d3c5c
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.005c5c80
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
xor edx, edx
jmp 0x5d3ce2
mov dword [esp + 0x14], edx
mov ecx, dword [eax + edx*4]
mov ebx, dword [esp + 0x40]
mov dword [esp], 1
mov dword [esp + 4], ecx
lea edx, [esp + 0x40]
call ebx
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jl 0x5d3cb7
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x5d3d07
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x5d3d8b
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x5d3d8b
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
lea eax, [0x6f4260]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00408f80
mov eax, dword [esp + 8]
lea ecx, [0x79d9e8]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x6c
ret
call fcn.00461f40
jmp fcn.005d3b60
Function at 0x64c3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64c587
sub esp, 0x38
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00437730
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test edx, edx
je 0x64c4b1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
lea eax, [0x6dcbe0]
mov dword [esp], eax
call fcn.00409500
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x64c572
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x64c472
mov edx, dword [ecx + 0x2c]
mov edx, dword [edx + 0x30]
mov dword [esp + 0x1c], edx
lea edi, [esp + 0x24]
xor eax, eax
call fcn.0046361b
jmp 0x64c4c4
lea eax, [0x6d8a80]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00409460
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [0x9b1930]
test eax, eax
jne 0x64c4a5
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
jmp 0x64c4b1
lea edi, [ecx + 4]
mov eax, dword [esp + 0x14]
call fcn.00463350
add esp, 0x38
ret
lea edi, [esp + 0x24]
xor eax, eax
call fcn.0046361b
mov edx, dword [esp + 0x1c]
mov dword [esp], edx
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004054e0
movzx eax, byte [esp + 8]
test al, al
jne 0x64c4b5
nop
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x64c4f5
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x2c], 0
jmp 0x64c503
mov ecx, dword [esp + 0x3c]
lea edi, [ecx + 0x2c]
xor eax, eax
call fcn.00463350
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov edx, dword [0x9b1930]
test edx, edx
jne 0x64c524
mov dword [ecx + 0x70], 0
jmp 0x64c52e
lea edi, [ecx + 0x70]
xor eax, eax
call fcn.00463350
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov edx, dword [0x9b1930]
test edx, edx
jne 0x64c559
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x7c], 0
jmp 0x64c472
lea edi, [ecx + 0x20]
xor eax, eax
call fcn.00463350
lea edi, [ecx + 0x7c]
xor eax, eax
call fcn.00463350
jmp 0x64c472
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.00437060
nop
call fcn.00461f40
jmp fcn.0064c3f0
Function at 0x66a6a0
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66a8d5
sub esp, 0x20
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
lea eax, [0x71a243]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xb
call fcn.004e8830
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x66a7f4
movzx ebx, byte [ecx + eax - 1]
cmp bl, 0x2e
ja 0x66a783
cmp bl, 0x2a
ja 0x66a739
cmp bl, 0x26
ja 0x66a726
cmp bl, 0x21
je 0x66a7e2
cmp bl, 0x25
jb 0x66a7de
jmp 0x66a7c2
cmp bl, 0x28
je 0x66a7aa
cmp bl, 0x2a
jne 0x66a7de
jmp 0x66a7c2
cmp bl, 0x2c
ja 0x66a745
cmp bl, 0x2b
je 0x66a74a
jmp 0x66a7c2
cmp bl, 0x2d
jne 0x66a752
lea edx, [ecx - 1]
jmp 0x66a89e
cmp ecx, 1
je 0x66a77a
lea edx, [ecx - 2]
cmp ecx, edx
jbe 0x66a895
movzx eax, byte [ecx + eax - 2]
cmp al, 0x30
jb 0x66a77a
cmp al, 0x39
ja 0x66a77a
mov byte [esp + 0x34], 1
add esp, 0x20
ret
mov byte [esp + 0x34], 0
add esp, 0x20
ret
cmp bl, 0x5e
ja 0x66a7b3
cmp bl, 0x3f
ja 0x66a79e
lea ebp, [ebx - 0x3a]
xchg ebp, eax
cmp al, 1
xchg ebp, eax
jbe 0x66a7cb
cmp bl, 0x3c
jb 0x66a7de
jmp 0x66a7c2
cmp bl, 0x5b
je 0x66a7aa
cmp bl, 0x5e
jne 0x66a7de
jmp 0x66a7c2
mov byte [esp + 0x34], 0
add esp, 0x20
ret
cmp bl, 0x7c
ja 0x66a7d4
cmp bl, 0x7b
je 0x66a7cb
cmp bl, 0x7c
jne 0x66a7de
mov byte [esp + 0x34], 0
add esp, 0x20
ret
mov byte [esp + 0x34], 0
add esp, 0x20
ret
cmp bl, 0x7d
je 0x66a7eb
cmp bl, 0x7e
je 0x66a7e2
mov ebx, ecx
jmp 0x66a803
mov byte [esp + 0x34], 0
add esp, 0x20
ret
mov byte [esp + 0x34], 0
add esp, 0x20
ret
movzx eax, byte [esp + 0x30]
mov byte [esp + 0x34], al
add esp, 0x20
ret
mov ecx, ebp
test ecx, ecx
jle 0x66a835
lea ebp, [ecx - 1]
cmp ebx, ebp
jbe 0x66a88c
movzx esi, byte [ecx + eax - 1]
cmp esi, 0x24
je 0x66a801
lea edi, [esi - 0x30]
cmp edi, 9
jbe 0x66a801
lea edi, [esi - 0x41]
cmp edi, 0x19
jbe 0x66a801
cmp esi, 0x5f
je 0x66a801
add esi, 0xffffff9f
cmp esi, 0x19
jbe 0x66a801
cmp ecx, ebx
ja 0x66a883
mov ebp, dword [0x98915c]
lea esi, [0x6d08c0]
mov dword [esp], esi
mov dword [esp + 4], ebp
sub edx, ecx
neg edx
sar edx, 0x1f
and edx, ecx
add eax, edx
mov dword [esp + 8], eax
sub ebx, ecx
mov dword [esp + 0xc], ebx
call fcn.0040fa50
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
je 0x66a87a
mov byte [esp + 0x34], 0
add esp, 0x20
ret
mov byte [esp + 0x34], 1
add esp, 0x20
ret
mov eax, ecx
mov ecx, ebx
call fcn.00463430
mov eax, ebp
mov ecx, ebx
call fcn.004633d0
mov eax, edx
call fcn.004633d0
mov edx, ebp
test edx, edx
jle 0x66a8b1
lea ebp, [edx - 1]
cmp ecx, ebp
jbe 0x66a8cd
lea esi, [edx + eax - 1]
cmp byte [esi], bl
je 0x66a89c
sub ecx, edx
test ecx, 1
je 0x66a8c4
mov byte [esp + 0x34], 0
add esp, 0x20
ret
mov byte [esp + 0x34], 1
add esp, 0x20
ret
mov eax, ebp
call fcn.004633d0
nop
call fcn.00461f40
jmp fcn.0066a6a0
Function at 0x41c998
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push ebx
call sub.ADVAPI32.DLL_CryptAcquireContextA
add esp, 0xc
test eax, eax
je 0x41c9d4
sub esp, 0xc
lea eax, [ebx + 4]
push eax
push 0
push 0
push 0x8003
push dword [ebx]
call sub.ADVAPI32.DLL_CryptCreateHash
add esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x408130
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa1960b21
mov ecx, 0x18b71962
rorx edx, eax, 0xb
sarx ecx, ecx, ecx
mulx eax, edx, ecx
xor eax, edx
mov ecx, 0xf5f7ffbe
pext eax, eax, ecx
cmp eax, 0x22f270c
sete al
ret

Function at 0x408980
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x47c22e
call fcn.004569c5
mov esi, ecx
mov dword [ebp - 0x34], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], esi
push str.C:Program_FilesCCleaner
mov dword [ebp - 0x38], ebx
call fcn.0040933a
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
push 0x20119
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsccleaner.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4089eb
lea eax, [ebp - 0x2c]
push eax
push 0x20219
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsccleaner.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x2c], 0
je 0x408a63
push ecx
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x34], ebx
call fcn.004092a3
mov dword [ebp - 4], 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push eax
push ebx
push str.Path
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x30], 0
je 0x408a58
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0040933a
mov byte [ebp - 4], 2
mov ecx, esi
push eax
call fcn.00409303
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040abc9
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.004095f6
mov eax, esi
call fcn.00456974
ret
Function at 0x44e8b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x34], 0
lea esi, [eax + 0x60]
mov word [eax + 0x1e], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], 0xffffffff
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x44e8f6
pop esi
pop ebp
ret

Function at 0x4506f0
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.0046d5d1
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x45071b
xor eax, eax
mov esp, ebp
pop ebp
ret
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

Function at 0x45676a
Capabilities:
Parse pe header

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

Disassembly:
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0046383d
push eax
push esi
push dword [ebp + 8]
call fcn.004637f2
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0046383d
push eax
push esi
push dword [ebp + 8]
call fcn.004637f2
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0046382d
mov eax, 0x887fd640
popfd
jl 0x463cb2
invalid
invalid

Function at 0x464068
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [edx + 0x51fffffc], esi
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
insd dword es:[edi], dx
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
test dword [esp + edi*8 - 0x17af0001], ebp
insb byte es:[edi], dx
idiv edi
call [ecx + 0x50]
Function at 0x4736e1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0047365d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x473859
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x473859
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x473808
jg 0x47373a
test eax, eax
je 0x4737fe
push 1
push 0x1000
call fcn.0047293e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x473760
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4737f5
push 0x8000
push ebx
call fcn.0046ecac
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x47378c
jg 0x473787
cmp ecx, 0x1000
jb 0x47378c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004649be
add esp, 0x10
cmp eax, 0xffffffff
je 0x4737d1
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x473787
jl 0x4737b8
test ecx, ecx
jne 0x473779
push dword [ebp - 0xc]
push ebx
call fcn.0046ecac
push esi
call fcn.00471291
add esp, 0xc
xor edi, edi
jmp 0x47386a
cmp byte [edi + 0x24], 0
je 0x4737e8
cmp dword [edi + 0x20], 5
jne 0x4737e8
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4737f3
mov edi, dword [edi + 0x18]
jmp 0x4737f5
xor edi, edi
push esi
call fcn.00471291
pop ecx
jmp 0x47386a
test ecx, ecx
jg 0x4737ca
jl 0x473808
test eax, eax
jae 0x4737ca
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00464068
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x47382b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4737ca
jmp 0x473862
push ebx
call fcn.004735f3
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4737ca
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x47386a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x473867
mov edi, dword [edi + 0x18]
jmp 0x47386a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00464068
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402270
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4022aa
mov edx, dword [esp + 0x10]
mov edi, 0x1505
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
test ebx, ebx
je 0x4022b1
mov eax, edi
shl eax, 5
add eax, edi
add eax, ebx
inc esi
mov edi, eax
cmp ecx, esi
jne 0x402290
jmp 0x4022b3
mov eax, 0x1505
jmp 0x4022b3
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0x4029d0
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402b76
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x402b6f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
mov eax, edx
jmp 0x402a65
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov eax, 0x15b0
je 0x402b6f
xor ebx, ebx
cmp eax, 8
mov dword [esp], eax
mov dword [esp + 8], esi
jb 0x402ae2
mov ebx, eax
and ebx, 0x1ff8
mov edx, 7
movzx eax, byte [ebp + edx - 7]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx - 6]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx - 5]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx - 4]
add esi, eax
mov eax, ecx
xor eax, esi
and ecx, esi
movzx edi, byte [ebp + edx - 3]
add edi, esi
movzx esi, byte [ebp + edx - 2]
add esi, edi
add edi, eax
lea ecx, [edi + ecx*2]
movzx eax, byte [ebp + edx - 1]
add eax, esi
add ecx, esi
movzx edi, byte [ebp + edx]
add edi, eax
add ecx, eax
mov eax, dword [esp]
add ecx, edi
add edx, 8
cmp edx, eax
jb 0x402a80
add ebp, edx
add ebp, 0xfffffff9
mov esi, dword [esp + 8]
mov edx, ebx
sub edx, eax
jae 0x402a2d
mov dword [esp + 0xc], edx
and eax, 3
mov dword [esp + 4], ebx
je 0x402b20
neg eax
xor ebx, ebx
mov edx, ebp
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x402b00
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402a20
jmp 0x402b2f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402a20
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x402b40
jmp 0x402a20
shl ecx, 0x10
or ecx, edi
jmp 0x402b7b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret