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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
cmp dword [ebx + 0x10], eax
je 0x5314a5
cmp dword [ebx + 0x10], 0x20
jne 0x5314a5
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov edi, ecx
mov dword [ebp - 0x20], ecx
movlpd qword [ebp - 0xc], xmm0
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x531393
mov eax, dword [ebx]
movzx eax, byte [eax + edi]
push eax
call fcn.00531dcf
pop ecx
cmp al, 0xff
je 0x5314a5
mov ecx, dword [ebp - 0x18]
shl ecx, 4
movzx eax, al
add ecx, eax
inc edi
mov dword [ebp - 0x18], ecx
cmp edi, 8
jl 0x531389
jmp 0x5313ec
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x5313c6
mov eax, dword [ebx]
movzx eax, byte [eax + edi]
push eax
call fcn.00531dcf
pop ecx
cmp al, 0xff
je 0x5314a5
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
movzx eax, al
add cx, ax
inc edi
movzx ecx, cx
mov dword [ebp - 0x1c], ecx
cmp edi, 0xc
jl 0x5313bc
jmp 0x531423
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x5313fd
mov eax, dword [ebx]
movzx eax, byte [eax + edi]
push eax
call fcn.00531dcf
pop ecx
cmp al, 0xff
je 0x5314a5
mov ecx, dword [ebp - 0x20]
shl ecx, 4
movzx eax, al
add cx, ax
inc edi
movzx ecx, cx
mov dword [ebp - 0x20], ecx
cmp edi, 0x10
jl 0x5313f3
xor al, al
mov cl, 1
mov byte [ebp - 0xd], al
mov byte [ebp - 0xe], cl
cmp edi, 0x20
jge 0x531484
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov al, cl
xor al, 1
cmp dword [ebx + 0x14], 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
jb 0x53144e
mov eax, dword [ebx]
movzx eax, byte [eax + edi]
push eax
call fcn.00531dcf
pop ecx
mov cl, byte [ebp - 0xd]
shl cl, 4
add cl, al
cmp byte [ebp - 0xe], 1
mov byte [ebp - 0xd], cl
je 0x531478
mov edx, dword [ebp - 0x14]
xor al, al
mov byte [ebp - 0xd], al
mov byte [edx], cl
inc edx
mov dword [ebp - 0x14], edx
mov cl, byte [ebp - 0xf]
inc edi
mov byte [ebp - 0xe], cl
cmp edi, 0x20
jl 0x53143d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov word [esi + 4], ax
mov eax, dword [ebp - 0x20]
mov word [esi + 6], ax
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0xc], ecx
jmp 0x5314ab
mov eax, dword [ebp - 0x14]
mov byte [eax], 1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d8e5
leave
ret
Function at 0x5363b9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x34
mov eax, 0x627db3
call fcn.0042d958
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push eax
call fcn.00426baa
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
call fcn.00519b45
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.005008ff
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x53640a
test al, 0x10
jne 0x53640a
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.00507bbe
mov al, bl
call fcn.0042d907
ret
Function at 0x54df53
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x54df65
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x54dfaa
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebx
ret

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

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x54e027
pop esi
ret

Function at 0x54e5e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [ebp + 0xc]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x54e5f8
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8
Function at 0x57fe70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x88], 0
je 0x57fec7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x57ff5a
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x8c]
add ecx, 0x28
xor edx, edx
push edx
push ecx
call fcn.005a9d70
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
jne 0x57ff28
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
sub ecx, 1
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x98]
cdq
push edx
push eax
push esi
push ecx
call fcn.004fba10
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.005aba60
add esp, 0x10
mov eax, 7
jmp 0x57ff7d
mov edx, 0x28
shl edx, 0
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov ecx, 0x20
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], cx
mov eax, 1
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1e], ax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
xor eax, eax
pop esi
add esp, 4
cmp ebp, esp
call fcn.0060a114
mov esp, ebp
pop ebp
ret
Function at 0x5bab30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.005a9a40
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5bab6e
mov eax, 7
jmp 0x5bac46
cmp dword [0x6b7f8c], 0
je 0x5bab88
push 0xc8
call fcn.005a0590
add esp, 4
test eax, eax
je 0x5bab9d
xor ecx, ecx
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
jmp 0x5babed
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x5bad10
push 0
push 0
call fcn.005f80ac
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x5babed
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x5bac3c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.0060a114
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov esi, esp
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov edi, esp
mov ecx, dword [ebp - 8]
call dword [0x62c6dc]
cmp edi, esp
call fcn.0060a114
call dword [ebp - 8]
add esp, 4
cmp esi, esp
call fcn.0060a114
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
pop edi
pop esi
add esp, 8
cmp ebp, esp
call fcn.0060a114
mov esp, ebp
pop ebp
ret
Function at 0x5f4620
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005f4630
Function at 0x6022e1
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x671050
push esi
call fcn.00444fea
pop ecx
pop ecx
test eax, eax
jne 0x60230f
xor al, al
jmp 0x60238c
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.00602018
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x602349
push dword [ebp - 0x210]
call fcn.00436e63
xor al, al
jmp 0x60238a
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x60234f
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x60236f
push edx
call fcn.00602217
pop ecx
test al, al
je 0x60233a
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x60237d
mov bl, 1
push dword [ebp - 0x210]
call fcn.00436e63
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042d8e5
leave
ret

Function at 0x6062b1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00605f53

Function at 0x6062bc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006060e2
Function at 0x6066b6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004fbd80
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00447bf3
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x6066f8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x606854
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004fbac0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x6ce428]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0044e623
mov ecx, dword [esi*4 + 0x6ce428]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x60684d
cmp eax, dword [edi + ecx + 0x24]
jne 0x60684d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x60684d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044e623
add esp, 0x14
test edx, edx
jl 0x60684d
jg 0x6067c3
test eax, eax
jb 0x60684d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x60684d
jl 0x6067dd
cmp dword [ebp - 0x1008], eax
ja 0x60684d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x6067fb
test ebx, ebx
je 0x606834
cmp ecx, edi
jae 0x606834
mov al, byte [ecx]
cmp al, 0xd
jne 0x606815
lea eax, [edi - 1]
cmp ecx, eax
jae 0x606821
cmp byte [ecx + 1], 0xa
jne 0x606821
inc ecx
jmp 0x606821
movzx eax, al
movsx eax, byte [eax + 0x6b5950]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x6067fb
cmp edx, ebx
jne 0x6067fb
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x606852
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042d8e5
leave
ret
Function at 0x609441
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.006093bd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x6095b9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x6095b9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x609568
jg 0x60949a
test eax, eax
je 0x60955e
push 1
push 0x1000
call fcn.004407d4
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x6094c0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x609555
push 0x8000
push ebx
call fcn.004384b4
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 0x6094ec
jg 0x6094e7
cmp ecx, 0x1000
jb 0x6094ec
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0044b0b7
add esp, 0x10
cmp eax, 0xffffffff
je 0x609531
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 0x6094e7
jl 0x609518
test ecx, ecx
jne 0x6094d9
push dword [ebp - 0xc]
push ebx
call fcn.004384b4
push esi
call fcn.0043ff78
add esp, 0xc
xor edi, edi
jmp 0x6095ca
cmp byte [edi + 0x24], 0
je 0x609548
cmp dword [edi + 0x20], 5
jne 0x609548
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x609553
mov edi, dword [edi + 0x18]
jmp 0x609555
xor edi, edi
push esi
call fcn.0043ff78
pop ecx
jmp 0x6095ca
test ecx, ecx
jg 0x60952a
jl 0x609568
test eax, eax
jae 0x60952a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044e641
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x60958b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x60952a
jmp 0x6095c2
push ebx
call fcn.004439c3
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x60952a
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 0x6095ca
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x6095c7
mov edi, dword [edi + 0x18]
jmp 0x6095ca
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0044e641
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4214a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x4214b2
pop dword [ebp - 0x20]
mov eax, 0x6c9436cc
sub eax, 0x6c52221a
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x41292
push 0
mov eax, 0xf0dc9d03
add eax, 0xf65b515
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xf5ff626e
sub ecx, 0xf5ff0cf1
mov edi, eax
mov edx, 0x46941fa5
add edx, 0xb9af345b
add edx, dword [ebp - 0x20]
mov esi, 0x5abf9b0b
sub esi, 0x27ba35
add dword [ebp - 4], edi
mov ebx, dword [edx]
xor dword [ebp - 0x10], 0xa6e83887
xor ebx, esi
sub dword [ebp - 0x10], 0x8a2075ad
mov dword [edi], ebx
xor dword [ebp - 0x10], 0xe04c5210
add edi, 4
add edx, 0x4fc06018
add edx, 0xb03f9fec
loop 0x421511
add eax, 0x148c7
mov ebx, eax
add eax, 0x62ba5820
sub eax, 0x62ba581b
mov ecx, 0x6b023285
sub ecx, 0x6ac23285
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0xed0186d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push edi
push esi
call fcn.0ed0154d
test eax, eax
je 0xed0ce83
cmp edi, 1
je 0xed0ce8a
cmp edi, 2
jne 0xed01951
push 0
jmp 0xed0cebd
call fcn.0ed020a1
mov ecx, 0xed3e058
call fcn.0ed0213f
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0xc
cmp edi, 3
jne 0xed021b9
call fcn.0ed01970
push 0
call fcn.0ed021f6
jmp 0xed0cec7
test edi, edi
jne 0xed018b4
mov esi, 0xed3f1bc
mov ecx, dword [esi]
test ecx, ecx
jne 0xed0ced1
add esi, 4
cmp esi, 0xed3f1c8
jl 0xed021c6
push 1
call fcn.0ed021f6
call fcn.0ed01970
call fcn.0ed12391
jmp 0xed0cef5
call fcn.0ed02f4f
jmp 0xed0ce99
call fcn.0ed02fd9
push 0
push esi
push 0xed3f1f8
mov ecx, 0xed3e058
call fcn.0ed0332f
mov dword [0xed3e014], esi
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0xed032f0
call esi
push 0xed03280
mov dword [0xed3e018], eax
call esi
push 0xed032a4
mov dword [0xed3e01c], eax
call esi
push 0xed032c0
mov dword [0xed3e020], eax
call esi
mov dword [0xed3ef54], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0xed0ceb7
xor eax, eax
jmp 0xed018b7
call fcn.0ed10d59
test al, al
je 0xed03213
jmp 0xed0ce83
push 0xed3fa40
push 0xed3fa48
push 0xed10c38
push 0xed0cf1c
call fcn.0ed10c8f
jmp 0xed0321d
mov dword [0xed3f928], eax
push edi
call fcn.0ed018f7
jmp 0xed018b4
call fcn.0ed12391
jmp 0xed018b4
call fcn.0ed1732d
test al, al
je 0xed0cee1
mov ecx, dword [esi]
call fcn.0ed0adb4
mov ecx, dword [esi]
test ecx, ecx
je 0xed0ceed
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi], 0
jmp 0xed021d0
mov eax, dword [0xed3f928]
cmp eax, 0xffffffff
je 0xed0cf0d
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
or dword [0xed3f928], 0xffffffff
push 0xed3fa40
call fcn.0ed10cbb
jmp 0xed018a5
Function at 0xed01d9e
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0xed3f1a8]
cmp eax, 1
jne 0xed039a3
mov eax, dword [0xed3f1ac]
cmp dword [eax], 0
jne 0xed0acf6
mov eax, dword [ebp + 8]
and dword [eax], 0
xor eax, eax
inc eax
pop ebp
ret 4
cmp dword [0xed3f354], 1
jne 0xed0f1aa
mov ecx, dword [0xed3f350]
test ecx, ecx
jne 0xed0f1c7
test eax, eax
jne 0xed0f1c3
cmp dword [0xed3f340], 5
jb 0xed0f1b9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xa0]
push 1
add eax, 0xc
push 0xed3f1a8
mov dword [0xed3f1ac], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0xed01db1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0xed3f1ac]
xor ecx, ecx
cmp dword [edx], eax
mov eax, dword [ebp + 8]
sete cl
mov dword [eax], ecx
jmp 0xed01dc5
push 1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0xed01dc8
mov dword [0xed3f1a8], 2
push 0x32
jmp 0xed0f1ac
pop ebp
jmp ecx
Function at 0xed03696
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0xed3e248]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0ed03769
mov eax, 0xed00000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0xed03738
cmp dword [ebp - 0x94], 5
jb 0xed0370b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0xed03754
call fcn.0ed02055
test eax, eax
jl 0xed0e44c
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0ed01b36
leave
ret
cmp dword [ebp - 0x88], 1
je 0xed0e434
jmp 0xed0370b
cmp dword [ebp - 0x90], 0
jbe 0xed0370b
jmp 0xed03707
cmp dword [ebp - 0x94], 4
ja 0xed03707
je 0xed03747
jmp 0xed0370b
mov byte [0xed3fa1c], 1
jmp 0xed03729

Function at 0xed0a359
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0xed0a36d
sub eax, ecx
sar eax, 1
lea edi, [eax + 0xe]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0ed01ed9
mov esi, eax
pop ecx
cmp esi, ebx
je 0xed0a3d7
push dword [ebp + 0xc]
xor eax, eax
push edi
push esi
mov word [esi], ax
call fcn.0ed0a409
cmp eax, ebx
jl 0xed0a3d7
push 0xed0a3e8
push edi
push esi
call fcn.0ed0a409
cmp eax, ebx
jl 0xed0a3d7
push esi
cmp byte [ebp + 8], bl
jne 0xed0f17c
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 4], eax
push esi
call fcn.0ed01911
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0xed0a3d7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
jmp 0xed0a3d7
Function at 0xed0ac29
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [ebp - 8], ebx
call fcn.0ed0ab69
push dword [ebp - 8]
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
call edi
cmp eax, ebx
jg 0xed0d52a
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0xed0ac82
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
call edi
jmp 0xed0d539
cmp dword [esi + 8], ebx
je 0xed0d55f
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
and eax, 0xffff
or eax, 0x80070000
jmp 0xed0ac62
cmp eax, ebx
jle 0xed0d547
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [esi + 8], ebx
jne 0xed0ac8b
mov ecx, esi
call fcn.0ed176da
jmp 0xed0ac82
cmp dword [ebp - 4], ebx
mov ebx, 0x80004005
jge 0xed0ac8b
mov ebx, dword [ebp - 4]
jmp 0xed0ac8b

Function at 0xed0b182
Capabilities:
Set global application hook

Disassembly:
cmp dword [0xed3ef58], 0
jne 0xed0b1e6
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExW]
push 0
push dword [0xed3e014]
push 0xed02434
push 0xa
call esi
push 0
push dword [0xed3e014]
mov dword [0xed3f8f0], eax
push 0xed01480
push 3
call esi
push 0
push dword [0xed3e014]
mov dword [0xed3f8f4], eax
push 0xed10e91
push 4
call esi
mov dword [0xed3f8f8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0xed3ef58], eax
xor eax, eax
inc eax
pop esi
ret 4
xor eax, eax
jmp 0xed0b1e3