joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10001071
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10001071
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000105a
jmp 0x10001071
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x10002280
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
nop
movsx edx, byte [ecx + str.91__]
dec edx
mov eax, edx
and edx, 7
sar eax, 3
movsx eax, byte [eax + edi]
test dword [edx*4 + 0x10026e80], eax
setne al
mov byte [esi + ecx + 4], al
inc ecx
cmp ecx, 0x38
jl 0x10002290
push 0x60
lea eax, [esi + 0x6074]
push 0
push eax
call fcn.1000bfd0
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp + 8], eax
movsx edi, byte [eax + 0x100270f0]
xor edx, edx
lea ebx, [edi - 0x1c]
nop
cmp edx, 0x1c
mov ecx, edi
sbb eax, eax
and eax, 0xffffffe4
add eax, 0x38
cmp edi, eax
cmovge ecx, ebx
inc edi
inc ebx
mov al, byte [ecx + esi + 4]
mov byte [esi + edx + 0x3c], al
inc edx
cmp edx, 0x38
jl 0x100022e0
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
movsx ecx, byte [eax + 0x100270c0]
mov ebx, dword [ebp + 8]
cmp byte [ecx + esi + 0x3b], 0
je 0x1000233b
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
add edx, ebx
mov cl, byte [ecx*4 + 0x10026e80]
or byte [edx + esi + 0x6074], cl
inc eax
cmp eax, 0x30
jl 0x10002310
mov eax, dword [ebp - 4]
add ebx, 6
inc eax
mov dword [ebp + 8], ebx
mov dword [ebp - 4], eax
cmp ebx, 0x60
jl 0x100022d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10002360
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, ecx
push 0x1000
mov dword [ebp - 4], eax
add eax, 0x5074
push 0
push eax
call fcn.1000bfd0
add esp, 0xc
xor edi, edi
xor ebx, ebx
xor esi, esi
nop word [eax + eax]
xor eax, eax
movsx edx, byte [eax + 0x10026ea0]
dec edx
mov ecx, edx
sar ecx, 3
cmp ecx, edi
jne 0x100023cf
and edx, 7
test dword [edx*4 + 0x10026e80], esi
je 0x100023cf
mov ecx, eax
lea edx, [ebx + esi]
shr ecx, 3
add ecx, dword [ebp - 4]
lea edx, [ecx + edx*4]
mov ecx, eax
and ecx, 7
mov cl, byte [ecx*4 + 0x10026e80]
or byte [edx + 0x5074], cl
inc eax
cmp eax, 0x20
jl 0x10002392
inc esi
cmp esi, 0x100
jl 0x10002390
add ebx, 0x100
inc edi
cmp ebx, 0x400
jl 0x10002385
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002660
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1002a0b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
mov esi, ecx
movlpd qword [ebp - 0xc], xmm0
mov bl, byte [edx]
xor ecx, ecx
test bl, bl
je 0x100026a6
cmp ecx, 0x28
jge 0x100026a6
mov eax, ecx
and eax, 0x80000007
jns 0x1000269a
dec eax
or eax, 0xfffffff8
inc eax
xor byte [ebp + eax - 0xc], bl
inc edx
inc ecx
mov bl, byte [edx]
test bl, bl
jne 0x10002687
push str.:2_
lea eax, [esi + 0x74]
push eax
call fcn.10002400
push 0x1002a9a8
lea eax, [esi + 0x874]
push eax
call fcn.10002400
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.10002280
mov ecx, esi
call fcn.10002220
mov ecx, esi
call fcn.10002360
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a4ed
mov esp, ebp
pop ebp
ret 4

Function at 0x100029e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10002a15
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [edx*4 + 0x1002b6e8]
mov dword [edi], ebx
sub eax, 1
jne 0x100029f3
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x10009110
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1002a0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 8]
mov ebx, ecx
push eax
push 0x40
push 4
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000a4ed
mov esp, ebp
pop ebp
ret

Function at 0x10009160
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1002a0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push edi
push eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1000c180
add esp, 0xc
push 0
push dword [ebp - 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000a4ed
mov esp, ebp
pop ebp
ret

Function at 0x10010ec7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10010f06
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10010f06
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10010f06
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10010f06
cmp dword [ecx + 0x74], 0xe
jbe 0x10010f06
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001223d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1002b210]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001227d
cmp byte [ebx], 0xa
jne 0x1001227d
or byte [edi + eax + 0x28], 4
jmp 0x10012282
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x10012381
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10012364
inc eax
cmp dl, 0xd
je 0x100122ae
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100122d4
cmp eax, ecx
jae 0x100122e2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10012296
jmp 0x10012381
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001235f
cmp dword [ebp - 0x10], 0
je 0x1001235f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1002b210]
test byte [eax + edi + 0x28], 0x48
je 0x10012339
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10012324
mov byte [esi], dl
jmp 0x10012335
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1002b210]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10012381
cmp byte [ebp - 1], 0xa
jne 0x10012348
cmp esi, ebx
jne 0x10012348
mov byte [esi], 0xa
jmp 0x10012380
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10017d70
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10012381
mov byte [esi], 0xd
jmp 0x10012380
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1002b210]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1001237e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10012381
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1001238a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1002b210]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100123d0
cmp word [ebx], dx
jne 0x100123d0
or byte [eax + edi + 0x28], 4
jmp 0x100123d5
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10012538
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10012518
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10012416
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1001244c
cmp eax, edx
jae 0x1001245a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100123f1
jmp 0x10012538
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10012513
cmp dword [ebp - 0x18], 0
je 0x10012513
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1002b210]
test byte [eax + edi + 0x28], 0x48
je 0x100124e9
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100124ad
mov word [esi], cx
jmp 0x100124e4
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1002b210]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1002b210]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1002b210]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10012538
pop eax
cmp word [ebp - 4], ax
jne 0x100124f9
cmp esi, ebx
jne 0x100124f9
mov word [esi], ax
jmp 0x10012535
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10017d70
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10012538
push 0xd
pop eax
jmp 0x100124f4
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1002b210]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10012532
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10012538
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10014fef
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022f14
push 0x10022f0c
push str.FlsAlloc
push 0x1f
call fcn.10014ec9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10015023
push dword [ebp + 8]
mov ecx, esi
call dword [0x100201ac]
call esi
jmp 0x10015029
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001506d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022f24
push 0x10022f1c
push str.FlsGetValue
push 0x21
call fcn.10014ec9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100150a4
push dword [ebp + 8]
mov ecx, esi
call dword [0x100201ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100150ac
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022f2c
push 0x10022f24
push str.FlsSetValue
push 0x22
call fcn.10014ec9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100150e6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100201ac]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100167d0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001686d
push ebx
push esi
call fcn.10016799
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001672d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001681a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001686c
push edi
push eax
call fcn.1001397a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001683a
call fcn.10012d57
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001686b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001672d
add esp, 0x20
test eax, eax
jne 0x10016859
push edi
call fcn.10012d57
jmp 0x10016861
push ebx
call fcn.10012d57
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1001bac1
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1001ba3d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1001bc30
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1001bc30
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1001bbe5
jg 0x1001bb1d
test eax, eax
je 0x1001bbdb
push 1
push 0x1000
call fcn.10014d53
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1001bb40
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001bbd2
push 0x8000
push ebx
call fcn.1001b96e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1001bb69
jg 0x1001bb64
cmp ecx, 0x1000
jb 0x1001bb69
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10018833
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001bbae
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 0x1001bb64
jl 0x1001bb95
test ecx, ecx
jne 0x1001bb56
push dword [ebp - 0xc]
push ebx
call fcn.1001b96e
push esi
call fcn.10012d57
add esp, 0xc
xor ebx, ebx
jmp 0x1001bc3e
cmp byte [edi + 0x24], 0
je 0x1001bbc5
cmp dword [edi + 0x20], 5
jne 0x1001bbc5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1001bbd0
mov ebx, dword [edi + 0x18]
jmp 0x1001bbd2
xor ebx, ebx
push esi
call fcn.10012d57
pop ecx
jmp 0x1001bc3e
test ecx, ecx
jg 0x1001bba7
jl 0x1001bbe5
test eax, eax
jae 0x1001bba7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10017d70
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1001bc05
cmp byte [edi + 0x1c], 0
je 0x1001bba7
jmp 0x1001bc36
push ebx
call fcn.10017c83
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1001bba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001bc3e
cmp byte [edi + 0x1c], 0
je 0x1001bc3b
mov ebx, dword [edi + 0x18]
jmp 0x1001bc3e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10017d70
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001e750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001e77d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001e77d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401220
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc26160]
mov ecx, dword [0xc250b4]
shr eax, 3
sub esp, 0x81c
test eax, eax
jbe 0x401328
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0xc26160], 0x959
jne 0x40130e
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.ducofikinevodugucexejayeyide_jofubupazekatajikuwayoj
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
lea eax, [ebp - 0x81c]
push eax
push 0
push str.lebogegimoramigefunolerulodidi_peyewuvuhicucalikid_suyucedizejabije
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0
push str.kemafuvoriwidekubinujogin
push str.vuvetutijapaliy
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0
push 0
push 0
push str.laduvig_xupewufodarahut
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
push edx
call fcn.00401030
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402570
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8060c8]
jne 0x40257a
repz ret
jmp fcn.00405f0e

Function at 0x405b3b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402ff9
and dword [ebp - 4], 0
cmp dword [0x807b28], 0
mov ebx, eax
jne 0x405bec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405c9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405c9d
push eax
call fcn.00402f87
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x807b28], eax
call esi
push eax
call fcn.00402f87
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x807b2c], eax
call esi
push eax
call fcn.00402f87
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x807b30], eax
call esi
push eax
call fcn.00402f87
pop ecx
mov dword [0x807b38], eax
test eax, eax
je 0x405bec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f87
pop ecx
mov dword [0x807b34], eax
mov eax, dword [0x807b34]
cmp eax, ebx
je 0x405c44
cmp dword [0x807b38], ebx
je 0x405c44
push eax
call fcn.00403002
push dword [0x807b38]
mov esi, eax
call fcn.00403002
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c44
test edi, edi
je 0x405c44
call esi
test eax, eax
je 0x405c3b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c3b
test byte [ebp - 0xc], 1
jne 0x405c44
or dword [ebp + 0x10], 0x200000
jmp 0x405c7d
mov eax, dword [0x807b2c]
cmp eax, ebx
je 0x405c7d
push eax
call fcn.00403002
pop ecx
test eax, eax
je 0x405c7d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405c7d
mov eax, dword [0x807b30]
cmp eax, ebx
je 0x405c7d
push eax
call fcn.00403002
pop ecx
test eax, eax
je 0x405c7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x807b28]
call fcn.00403002
pop ecx
test eax, eax
je 0x405c9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405c9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10023250
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e610b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x10102380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x101d20d8]
test al, 1
jne 0x1002339b
or eax, 1
mov dword [0x101d20d8], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100f5330]
xorps xmm0, xmmword [0x100f5610]
mov dword [ebp - 0x20], 0x2b342b34
mov dword [ebp - 0x1c], 0x4d2b4933
mov word [ebp - 0x18], 0xb3a
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0xb
inc eax
cmp eax, 0x1a
jb 0x100232d3
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023300
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.1002a5c0
mov byte [ebp - 4], 1
mov edx, dword [0x10203c5c]
test edx, edx
je 0x10023329
mov edx, dword [edx + 0x50]
jmp 0x1002332b
xor edx, edx
mov eax, dword [0x10203c54]
test eax, eax
je 0x10023339
mov eax, dword [eax + 0x18]
jmp 0x1002333b
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10022d40
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [0x101d20dc], eax
cmp ecx, 0xf
jbe 0x10023392
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023383
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10023383
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e39b1
mov eax, dword [0x101d20dc]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x100233a0
mov eax, dword [0x101d20dc]
test eax, eax
je 0x100233a8
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret