joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51c010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57686d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x51c04a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x51c06b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x51c057
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.0040ad60
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x51c09c
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x4924924
je 0x51c1e7
lea eax, [ebx + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x10], 0
call fcn.00521dee
add esp, 4
mov edi, eax
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00427a50
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
movss xmm3, dword [ebx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movd xmm1, eax
addsd xmm0, qword [ecx*8 + 0x59f5a0]
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x59f5a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x51c177
divss xmm0, xmm3
call fcn.0040adf0
call fcn.005403d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x51c15b
cmp eax, 0x200
jae 0x51c159
shl eax, 3
cmp eax, ecx
jae 0x51c15b
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00426e60
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040ad60
mov edx, dword [eax]
jmp 0x51c17a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x51c1ad
mov dword [ecx + eax*8], edi
jmp 0x51c1bf
cmp esi, edx
jne 0x51c1b6
mov dword [ecx + eax*8], edi
jmp 0x51c1c3
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x51c1c3
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0051ff55
int3
Function at 0x51c3e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b6dd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
call fcn.004092f0
mov ecx, eax
test ecx, ecx
je 0x51c535
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x51c48c
lea ecx, [eax - 1]
test ecx, ecx
js 0x51c53f
cmp ecx, eax
jg 0x51c53f
cmp word [edx + ecx*2], 0x5c
jne 0x51c48c
push ecx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0040d090
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push eax
call fcn.00478300
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x51c495
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x51c495
push ebx
lea ecx, [ebp - 0x10]
call fcn.00478300
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, dword [ecx - 0xc]
jge 0x51c504
push 0x5c
push ecx
call fcn.0052387a
add esp, 8
test eax, eax
jne 0x51c4b6
or eax, 0xffffffff
jmp 0x51c4ba
sub eax, dword [edi]
sar eax, 1
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0040d090
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x51c4e6
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0051c3e0
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x51c504
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x51c523
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408fc0
push 0x80070057
call fcn.00408fc0
int3
Function at 0x51da30
Capabilities:
Query service status
Start service

Disassembly:
sub esp, 0x20
mov eax, dword [0x5d8024]
xor eax, esp
mov dword [esp + 0x1c], eax
push edi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x51da67
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00521dac
add esp, 0x20
ret
push esi
push 0x14
push 0x59d5d8
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
call edi
test esi, esi
je 0x51dac4
lea eax, [esp + 8]
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esp + 0x10], xmm0
movq qword [esp + 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x51dac1
cmp dword [esp + 0xc], 4
je 0x51dadb
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x51dadb
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00521dac
add esp, 0x20
ret
push esi
call edi
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
pop edi
xor ecx, esp
call fcn.00521dac
add esp, 0x20
ret

Function at 0x520ffd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5d8024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x521022
xor eax, eax
jmp 0x52107e
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x52104f
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x52104f
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x521103
cmp dword [edi + 0x4c], 0
je 0x521078
mov ecx, edi
call fcn.00520cc3
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x52108e
push dword [edi + 0x4c]
push ebx
call fcn.005208ca
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x52107d
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00521dac
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x5792a4]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x521078
cmp eax, 1
jle 0x5210d6
cmp eax, 3
jne 0x521078
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x52106a
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x5210f3
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.00530285
add esp, 0x10
cmp esi, eax
jne 0x521078
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x521078
mov ax, bx
jmp 0x52107d

Function at 0x539d2d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005399de
Function at 0x539d38
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00539b68
Function at 0x9de210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9de25c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9de222
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9de2c0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9de312
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9de318
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9f6815
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f64d5

Function at 0x9fb60f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009fb48e

Function at 0xa00bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa00bed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa00bed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4027d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40403f], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Salmimo
push str.Limoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402818
xor eax, eax
jmp 0x402833
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x69c908e3
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..rsrc_1
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x57fb6277
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x41425c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, eax
shr edi, 8
mov esi, eax
shr esi, 0x18
and edi, 0xff00
add esi, edi
mov edi, eax
and edi, 0xff00
and eax, 0xff
shl edi, 8
mov ebx, 0x4193f0
shl eax, 0x18
add esi, edi
add esi, eax
mov eax, esi
not eax
jmp 0x4142ad
movzx edi, byte [edx]
mov esi, eax
inc edx
shr esi, 0x18
xor esi, edi
shl eax, 8
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, eax
dec ecx
mov eax, esi
test ecx, ecx
je 0x4142b6
test dl, 3
jne 0x414293
sub edx, 4
cmp ecx, 0x20
jb 0x4144ee

Function at 0xff1c40
Capabilities:
Encode data using xor

Disassembly:
jmp 0xff1c4a
pushal
call 0xff1c50
pop ebp
sub ebp, 0x10
sub ebp, 0xbf1c40
jmp 0xff1c66
mov eax, 0xbf1c40
add eax, ebp
add eax, 0x4c
mov ecx, 0x5dc
mov edx, 0x990945ee
xor byte [eax], dl
inc eax
dec ecx
jne 0xff1c7d
jmp 0xff1c90
and esp, dword gs:[ebp + 0x67]
shr dh, cl
out dx, al
out dx, al
outsd dx, dword [esi]
das
push ss
out dx, al
out dx, al
out dx, al
in eax, dx
and edx, dword [esi - 0x16]
out dx, al
out dx, al
out dx, al
push esp
invalid
Function at 0x455963
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x455973
mov esi, eax
jmp 0x455969
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x45598b
sub edi, 0x10000
jmp 0x45597c
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x455999
jmp 0x45597c
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x45599f
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x4559be
cmp eax, dword [esp + 0x28]
je 0x4559d5
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x4559b5
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x720b6c56
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7c4a5b50
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403860
Capabilities:
Encode data using xor

Disassembly:
push eax
push str._tr__s__th__s_Processing:__th__td__s__5I64d__td__td__s__5I64d__td__td__s__5I64d__td___tr__n
call esi
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4e4131ac]
call 0x4171e4b6
dec esi
pop ss
xor esi, eax
pop ss
inc ecx
mov al, byte [ebx - 0x74a2cf3c]
ja 0x403803
push edx
cmp dword [ecx - 0x5f74afae], ebx
in al, 0x50
push ecx
call fcn.0040b537
push edx
mov al, byte [0xa150dc55]
or ax, word [ecx + 0x22]
push edi
push edx
push ebx
push edi
push edi
push eax
push 0x40f1c8
push 0x30c483d6
push str.__table__n
call esi
sbb ebp, 0xffffffbb
pop edi
cmp al, 0x5b
sti
in eax, 0x5d
ret
push ebp
mov ebp, esp
sub esp, 0xffffffcd
jg 0x403810
mov ecx, 0xd8b0041
adc al, dl
inc eax
add byte [ebx + 0x56], dl
cmp eax, ecx
push edi
jge 0x403a7a
xor eax, 0xdb050875
mov eax, dword [esi]
mov edx, esp
or al, 0x3b
ret
pop edi
mov esi, 0x5d968b5b
ret

Function at 0x40a2d0
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x40a28033
add byte [0xe850068b], cl
adc al, 0xb3
invalid
in eax, dx
pop esi
pop ebp
ret
jno 0x40a25d
pop esp
mov eax, dword [ebp + 8]
mov ebp, dword [esp + eax]
test dword [ebp + esi*2 + 0xcc08310], ecx
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
pop ebp
mov word [ebx + ecx*2], es
mov esp, dword [edi]
or byte [edx - 1], ch
xor dword [edx + 0x15], eax
pushfd
rol byte [eax], 0x4e
sal byte [edx + ebp*8 + 0x33], 0x80
add ah, cl
dec ebp
je 0x40a2e7
invalid
invalid

Function at 0xfde838
Capabilities:
Encode data using xor

Disassembly:
jmp 0xfde842
add al, 0
add byte [eax], al
add byte [eax], al
pushal
call 0xfde848
pop ebp
sub ebp, 0x10
sub ebp, 0xbde838
jmp 0xfde85e
mov eax, 0xbde838
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a8
mov edx, 0xaee4de94
xor byte [eax], dl
inc eax
dec ecx
jne 0xfde875
jmp 0xfde888
pop ds
pop ecx
pop ds
sbb eax, 0x949494a8
adc eax, 0x94946c55
xchg esp, eax
xchg edi, eax
pop ecx
sub al, 0x90
xchg esp, eax
xchg esp, eax
xchg esp, eax
mov esp, 0x63949494
jbe 0xfde83c
pop esp
pop ds
adc eax, 0x94949498
xchg edi, eax
push ecx
invalid
Function at 0x4033c0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x410064
call sym._EnterCriticalSection_4
mov ebx, dword [0x41005c]
sub esp, 4
test ebx, ebx
je 0x40340b
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 0x403404
test esi, esi
je 0x403404
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4033e0
mov dword [esp], 0x410064
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4035f0
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 0x403640
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 0x403718
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40367e
cmp eax, 4
jne 0x4036a0
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 0x40368e
cmp edx, 4
je 0x40368e
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.004035f0
Function at 0x576431
Capabilities:
Encode data using xor

Disassembly:
push dx
jmp 0x5766f1
mov edi, dword [esp + 0xc]
stc
sub esp, 0x1d
lea esp, [esp + 1]
jmp 0x5766af
mov edi, dword [esp]
jmp 0x5764ff
call fcn.00576383
out 0x64, eax
cli
popfd
insb byte es:[edi], dx
fcom qword [ebx]
xchg ecx, eax
add dword [eax - 0x6d], esp
push esp
nop
adc ecx, dword [edx + reloc.KERNEL32.dll_FileTimeToSystemTime]
add al, byte [eax]
add ah, al
dec ebx
fstp xword [esi - 0x139501b3]
bound eax, qword [0x587943f4]
mov ebx, 0xe9500d92
inc esi
add al, byte [eax]
add byte [ecx + 0x26eb8c1e], bl
nop
jmp 0x75de4617
jmp 0x57649a
push eax
jmp 0x5764df
mov dword [esp + 3], esi
jmp 0x576516
inc edi
cmp edi, dword [ebp + 0x10]
call fcn.00576469
lea esp, [esp + 4]
jmp 0x5764c7
pushfd
lea esp, [esp + 4]
mov byte [eax + ecx], 0
call 0x5764a3
dec eax
jns 0x576293
js 0x576240
hlt
mov eax, ebp
lea eax, [eax + 8]
mov ecx, dword [eax]
pop eax
jmp 0x5764b9
pop ebx
jmp 0x57653e
lea esp, [esp + 4]
pop esi
mov ebp, 0xbb3630e4
xchg ebp, ebx
mov bx, ax
jmp 0x5764e9
lea esp, [esp + 8]
test eax, eax
jge 0x576267
jl 0x57627d
cmp ecx, 0x20
jmp 0x5765e6
mov ebp, dword [esp]
lea esp, [esp + 4]
ret
sub esp, 0x1d
lea esp, [esp + 1]
lea esp, [esp + 0x1c]
test eax, eax
call fcn.005765ba
dec esi
invalid
jae 0x543eb2
bsr di, ax
lea edi, reloc.KERNEL32.dll_FileTimeToSystemTime
jmp 0x576619
lea edi, [ebx*4]
mov edi, dword [esp + 0x10]
movzx edi, byte [eax + edi]
call fcn.00576603
add esp, 2
lea esp, [esp + 1]
shl edi, cl
jmp 0x576672
add ecx, 8
call 0x57665c
jge 0x576528
jl 0x543eb2
sub dh, byte [edi + 0xdb14227]
sub al, byte [ebp - 0xc]
out 0x8d, eax
and al, 4
dec eax
test eax, eax
jmp 0x57667a
lea ebx, [ebx*4]
jmp 0x5766b8
push ebx
pushal
mov dword [esp + 0x10], edx
popal
jmp 0x576699
lea ebx, [ebx + edi]
mov dword [ebx], esi
pop ebx
push sp
lea esp, [esp + 2]
jmp 0x576744
pop edi
ret
lea esp, [esp + 2]
mov esi, dword [esp]
call 0x576725
mov ebx, 0xbbd4e2b
sub dword [edi + reloc.KERNEL32.dll_FileTimeToSystemTime], ebp
invalid
lea esp, [esp + 0x14]
cmp edx, 0x41
jb 0x576546
jae 0x543e85
add esp, 0
lea esp, [esp + 8]
jmp 0x57676d
push 0x41
jmp 0x576757
lea esp, [esp + 0x1c]
inc edx
sub esp, 0x12
mov byte [esp + 0x10], al
push word [esp + 2]
jmp 0x576712
pop ecx
mov ax, word [esp]
jmp 0x57685f
cmp edx, 0x41
push ebx
lea esp, [esp + 4]
jae 0x5766db
jmp 0x57672e
rep stosd dword es:[edi], eax
jmp 0x5766db
lea edi, [edi + edx*4]
not ax
xchg ah, al
bswap eax
xor eax, eax
jmp 0x576798
sub ecx, edx
cmp eax, 0xa02cc6b5
lea eax, [edi*4]
neg ax
jmp 0x57680b
Function at 0x62cf1b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, 0x1539c6d8
pop edx
jmp 0x62cf76
mov ebx, 0x1edfe3bf
bsr ebx, edi
bts ecx, esi
sub esp, 0xb
rdtsc
jmp 0x62cf9f
add esp, 0
mov al, ch
setp dl
mov ecx, 0xce5a9d85
not al
cpuid
jmp 0x62cf60
mov edx, dword [esp + 1]
mov word [esp], di
xchg bh, cl
mov byte [esp + 2], bl
jmp 0x62cfb6
bswap ebp
mov si, word [esp]
lea ecx, [edx + esi]
mov cx, 0x5baf
mov word [esp + 2], sp
add esp, 8
jmp 0x62cf89
push dword [esp + 3]
mov bh, ch
lea esi, [edi*4]
cpuid
jmp 0x62d07d
lea ebx, reloc.KERNEL32.dll_FileTimeToSystemTime
mov ecx, dword [esp]
xchg bh, ch
inc cx
push word [esp]
mov eax, esi
jmp 0x62cfdb
push dword [esp + 2]
dec ch
mov word [esp + 6], sp
pop word [esp + 2]
pop bx
stc
jmp 0x62cff1
mov ax, cx
mov word [esp], bp
xchg dword [esp], eax
setle bl
mov word [esp], cx
mov al, 0x9a
jmp 0x62d02d

Function at 0x62d11b
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop bp
mov ebp, 0x85ce75c8
sub esp, 0x1d
mov cx, si
jmp 0x62d0f2
mov byte [esp], bh
push dword [esp + 1]
bswap ecx
bsr edx, ecx
lea esp, [esp + 7]
bswap ebx
jmp 0x62d0c8
btr dx, bx
add esp, 0x1c
not bp
lea eax, reloc.KERNEL32.dll_FileTimeToSystemTime
cpuid
xchg edi, eax
jmp 0x62d138
lea ebx, [esp + 0x56]
std
jmp 0x62d0de
lea ebx, reloc.KERNEL32.dll_FileTimeToSystemTime
mov si, 0x420c
mov bh, 0xf9
mov byte [esp], ch
jmp 0x62d148
lea esp, [esp]
mov dl, 0xd2
rdtsc
bswap ebp
neg edx
mov di, bp
jmp 0x62d122
rcl edi, cl
or ax, si
rdtsc
lea ebx, reloc.KERNEL32.dll_FileTimeToSystemTime
add esp, 0
clc
jmp 0x62d178