joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b25cc
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 + 0x104f98f8]
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 0x100b260c
cmp byte [ebx], 0xa
jne 0x100b260c
or byte [edi + eax + 0x28], 4
jmp 0x100b2611
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 0x100b2710
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100b26f3
inc eax
cmp dl, 0xd
je 0x100b263d
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100b2663
cmp eax, ecx
jae 0x100b2671
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 0x100b2625
jmp 0x100b2710
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 0x100b26ee
cmp dword [ebp - 0x10], 0
je 0x100b26ee
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x104f98f8]
test byte [eax + edi + 0x28], 0x48
je 0x100b26c8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100b26b3
mov byte [esi], dl
jmp 0x100b26c4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x104f98f8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100b2710
cmp byte [ebp - 1], 0xa
jne 0x100b26d7
cmp esi, ebx
jne 0x100b26d7
mov byte [esi], 0xa
jmp 0x100b270f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100bb11d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100b2710
mov byte [esi], 0xd
jmp 0x100b270f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x104f98f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100b270d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100b2710
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100b2719
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 + 0x104f98f8]
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 0x100b275f
cmp word [ebx], dx
jne 0x100b275f
or byte [eax + edi + 0x28], 4
jmp 0x100b2764
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 0x100b28c7
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 0x100b28a7
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100b27a5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100b27db
cmp eax, edx
jae 0x100b27e9
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 0x100b2780
jmp 0x100b28c7
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 0x100b28a2
cmp dword [ebp - 0x18], 0
je 0x100b28a2
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x104f98f8]
test byte [eax + edi + 0x28], 0x48
je 0x100b2878
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 0x100b283c
mov word [esi], cx
jmp 0x100b2873
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x104f98f8]
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 + 0x104f98f8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x104f98f8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100b28c7
pop eax
cmp word [ebp - 4], ax
jne 0x100b2888
cmp esi, ebx
jne 0x100b2888
mov word [esi], ax
jmp 0x100b28c4
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100bb11d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100b28c7
push 0xd
pop eax
jmp 0x100b2883
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x104f98f8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100b28c1
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100b28c7
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 0x100b342b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100c9a64
push 0x100c9a5c
push str.FlsAlloc
push 0x1f
call fcn.100b32aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100b345f
push dword [ebp + 8]
mov ecx, esi
call dword [0x100c531c]
call esi
jmp 0x100b3465
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100b34a9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100c9a74
push 0x100c9a6c
push str.FlsGetValue
push 0x21
call fcn.100b32aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100b34e0
push dword [ebp + 8]
mov ecx, esi
call dword [0x100c531c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100b34e8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100c9a7c
push 0x100c9a74
push str.FlsSetValue
push 0x22
call fcn.100b32aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100b3522
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100c531c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100b84d7
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 0x100b8574
push ebx
push esi
call fcn.100b84a0
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.100b5b7b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100b8521
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b8573
push edi
push eax
call fcn.100b1934
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100b8541
call fcn.100b1982
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b8572
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100b5b7b
add esp, 0x20
test eax, eax
jne 0x100b8560
push edi
call fcn.100b1982
jmp 0x100b8568
push ebx
call fcn.100b1982
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 0x100b8577
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100b8588
pop esi
ret
push ebx
push edi
push esi
call fcn.100b84a0
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100b1934
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100b85b0
push ebx
push esi
push edi
call fcn.100a1e40
add esp, 0xc
push 0
call fcn.100b1982
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100b8980
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b85c5
Function at 0x100be101
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.100be07d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100be270
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100be270
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100be225
jg 0x100be15d
test eax, eax
je 0x100be21b
push 1
push 0x1000
call fcn.100b30e6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100be180
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100be212
push 0x8000
push ebx
call fcn.100bdfae
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100be1a9
jg 0x100be1a4
cmp ecx, 0x1000
jb 0x100be1a9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100ba4ba
add esp, 0x10
cmp eax, 0xffffffff
je 0x100be1ee
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 0x100be1a4
jl 0x100be1d5
test ecx, ecx
jne 0x100be196
push dword [ebp - 0xc]
push ebx
call fcn.100bdfae
push esi
call fcn.100b1982
add esp, 0xc
xor ebx, ebx
jmp 0x100be27e
cmp byte [edi + 0x24], 0
je 0x100be205
cmp dword [edi + 0x20], 5
jne 0x100be205
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100be210
mov ebx, dword [edi + 0x18]
jmp 0x100be212
xor ebx, ebx
push esi
call fcn.100b1982
pop ecx
jmp 0x100be27e
test ecx, ecx
jg 0x100be1e7
jl 0x100be225
test eax, eax
jae 0x100be1e7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100bb11d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100be245
cmp byte [edi + 0x1c], 0
je 0x100be1e7
jmp 0x100be276
push ebx
call fcn.100b9a47
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100be1e7
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 0x100be27e
cmp byte [edi + 0x1c], 0
je 0x100be27b
mov ebx, dword [edi + 0x18]
jmp 0x100be27e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100bb11d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c0940
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100c096d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100c096d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x408720
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, dword [esp + 8]
mov dword [0x446f58], edx
mov eax, 0xfffffd92
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
mov edx, ecx
and edx, 0x93f8769a
mov esi, ecx
and esi, 0x6c078965
or ecx, 0x6c078965
imul ecx, esi
xor esi, 0x6c078965
imul esi, edx
add ecx, esi
lea edx, [eax + ecx]
add edx, 0x26f
mov dword [eax*4 + 0x447914], edx
test eax, eax
je 0x4087af
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
mov edx, ecx
and edx, 0x93f8769a
mov esi, ecx
and esi, 0x6c078965
or ecx, 0x6c078965
imul ecx, esi
xor esi, 0x6c078965
imul esi, edx
add ecx, esi
lea edx, [eax + ecx]
add edx, 0x270
mov dword [eax*4 + 0x447918], edx
add eax, 2
jmp 0x408730
mov dword [0x446f54], 0x270
pop esi
ret

Function at 0x4087f0
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
call fcn.0043afd0
test al, al
je 0x408979
call fcn.00434680
test al, al
je 0x408974
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edi, 0x57394f59
mov esi, 0x3182f69
shrd esi, edi, cl
shr edi, cl
mov edx, 0xa8c6b0a6
mov eax, 0xfce7d096
shrd eax, edx, cl
sar edx, cl
mov ebx, ecx
and bl, 0x20
xor ecx, ecx
test bl, bl
je 0x408851
mov esi, edi
xor edi, edi
mov eax, edx
neg bl
sbb ecx, ecx
or ecx, edx
and ecx, 0xe11507cb
and eax, 0x42c42e86
and esi, 0xbd3bd179
or esi, eax
and edi, 0x1eeaf834
or edi, ecx
xor esi, 0x41dc01ef
xor edi, 0xb62c4892
mov ecx, 0x84661656
mov eax, esi
mul ecx
imul esi, esi, 0x9b41b664
add esi, edx
imul ecx, edi, 0x84661656
add ecx, esi
mov edx, ecx
shld edx, eax, 0x18
mov esi, ecx
shr esi, 8
mov ebx, esi
and ebx, ecx
mov ebp, edx
and ebp, eax
shld ebx, ebp, 1
add ebp, ebp
mov edi, ebp
xor edi, edx
not edx
and edx, ebp
mov ebp, ebx
xor ebp, esi
not esi
and esi, ebx
shld esi, edx, 1
add edx, edx
sub edi, edx
sbb ebp, esi
add edi, eax
adc ebp, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x408950
mov ecx, dword [esp]
and cl, 0xf
mov esi, edi
shrd esi, ebp, cl
mov ebx, ebp
shr ebx, cl
xor esi, edi
xor ebx, ebp
mov ebp, esi
and ebp, 0x5ab7e9a0
mov eax, ebp
xor eax, 0x5ab7e9a0
mov ecx, esi
and ecx, 0xa548165f
mov edi, ebx
and edi, 0x56c97dd5
imul edi, eax
mul ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov edx, ebx
and edx, 0xa936822a
or esi, 0x5ab7e9a0
mov eax, esi
imul esi, edx
xor edx, 0xa936822a
imul ecx, edx
mul ebp
add ecx, dword [esp + 4]
add ecx, edi
add esi, edx
or ebx, 0xa936822a
imul ebx, ebp
add ebx, esi
mov edi, eax
add edi, dword [esp]
adc ebx, ecx
mov ebp, ebx
or ebp, 0x1010101
or edi, 0x1010101
push ebp
push edi
call fcn.00409cc0
add esp, 8
test al, al
je 0x408974
call fcn.0040cdf0
call fcn.0040b670
call fcn.0043b400
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x408990
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x4089f5
mov esi, dword [ecx + 4]
mov eax, 0xfffff640
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax + 0xff8]
shr edx, 1
xor edi, edx
mov dword [ecx + eax + 0x1384], edi
add eax, 4
jne 0x4089b0
mov eax, 0x270
jmp 0x408acf
cmp eax, 0x4e0
jb 0x408acf
mov esi, dword [ecx + 0x9c4]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 + 0xff8]
xor edi, edx
mov dword [ecx + eax*4 + 4], edi
inc eax
cmp eax, 0xe3
jne 0x408a10
mov esi, dword [ecx + 0xd50]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 + 0xd54]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 + 4]
xor edi, edx
mov dword [ecx + eax*4 + 0x390], edi
inc eax
cmp eax, 0x18c
jne 0x408a60
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7ffffffe
mov edx, SysReAllocString
and edx, dword [ecx + 0x1380]
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
xor eax, eax
lea edx, [eax + 1]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
and edx, dword [ecx + 0x1384]
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
pop edi
ret
Function at 0x409cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x22c
mov eax, dword [0x448334]
mov dword [esp + 0x1ac], 0x5f5e555c
xor ecx, ecx
nop
nop
nop
nop
mov edx, ecx
add dl, 0xbc
xor dl, byte [esp + ecx + 0x1ac]
add dl, 0x20
mov byte [esp + ecx + 0x1ac], dl
inc ecx
cmp ecx, 4
jne 0x409ce0
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x1c], 0xcd5fcb5d
mov dword [esp + 0x20], 0xf10fcf1c
mov dword [esp + 0x24], 0xf526f321
mov dword [esp + 0x28], 0xf91cf7d8
mov dword [esp + 0x2c], 0xfd10fb16
mov word [esp + 0x30], 0xfffe
mov edx, 0x2f2d61a
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx - 0x2f2d5fe]
xor esi, edx
add esi, 0xe8694f2f
mov edi, esi
and edi, 1
xor esi, 1
lea ebx, [esi + edi*2]
mov byte [esp + edx - 0x2f2d5fe], bl
inc edx
cmp edx, 0x2f2d630
jne 0x409d40
lea edx, [esp + 0x1c]
push ecx
push 0
push edx
call eax
mov ecx, 0x448338
push eax
call fcn.0043af90
movzx eax, al
mov eax, dword [eax*4 + 0x442320]
mov ecx, 0xb443d3e4
xor ecx, dword [0x442328]
add ecx, eax
inc ecx
xor eax, eax
jmp ecx

Function at 0x40ae40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov esi, esp
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0x3c
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x448310]
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40aeee
sar edx, 1
lea edi, [esi + 0x34]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x442598]
xor eax, eax
jmp 0x40b36d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41eeb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x14
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp], 0x5f5e5db6
xor ecx, ecx
nop
nop
movzx esi, byte [esp + ecx]
mov edi, ecx
or edi, 0xbc
mov edx, 0x43
sub edx, ecx
xor edx, edi
and edx, esi
xor edx, edi
add dl, 0x20
mov byte [esp + ecx], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 4
jb 0x41eee0
lea ecx, [esp + 4]
mov edx, esp
push ecx
push 0x421020
push edx
push dword [eax + 8]
call fcn.004215f0
add esp, 0x24
pop esi
pop edi
ret
Function at 0x421140
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [esp + 0x24]
mov eax, 0xfffffffe
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x421150
cmp eax, 0xffffffed
jge 0x421167
mov eax, 0xffffffff
jmp 0x42116a
add eax, 0x12
push eax
call fcn.00407ff0
add esp, 4
mov esi, eax
mov dword [esp], 0x553f532e
mov dword [esp + 4], 0x59c15733
mov dword [esp + 8], 0x5d725b0e
mov dword [esp + 0xc], 0x41225f3a
mov word [esp + 0x10], 0x4342
xor eax, eax
nop
nop
nop
mov ecx, eax
add cl, 0x42
xor cl, byte [esp + eax]
add cl, 0xf0
mov byte [esp + eax], cl
inc eax
cmp eax, 0x12
jne 0x4211a0
movzx ecx, word [edi]
mov eax, esi
test cx, cx
je 0x4211e1
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x4211d0
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x421211
lea edx, [esp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x421200
mov word [eax], 0
mov eax, esp
push eax
push esi
call fcn.0043d6c0
add esp, 8
mov edi, eax
mov ebx, dword [esp]
jmp dword [0x443bcc]
Function at 0x42348f
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get disk information
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov dword [esp], 0xbd70bb9f
mov dword [esp + 4], 0xa143bf51
mov dword [esp + 8], 0xa548a343
mov dword [esp + 0xc], 0xa938a767
mov dword [esp + 0x10], 0xad68ab3a
mov dword [esp + 0x14], 0x51c4af4f
mov dword [esp + 0x18], 0x557153b3
lea eax, [esp + 0x1c]
mov word [esp + 0x1c], 0x5756
xor ecx, ecx
nop
nop
mov edx, ecx
add dl, 0xea
xor dl, byte [esp + ecx]
add dl, 0xb0
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 0x1e
jne 0x4233f0
lea ebp, [esp + 0x6a]
mov edx, esp
mov ecx, 7
mov edi, ebp
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x86]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x4c]
push edi
push 0
push 0
push 0xe
push ebp
push 0
call dword [0x449658]
mov dword [esp], 0x1f5e5dbf
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx]
mov edx, esi
xor edx, 0x41
mov ebx, ecx
xor ebx, 0xfd
or ebx, edx
xor esi, 0xbe
mov edx, ecx
xor edx, 2
or edx, esi
and edx, ebx
add dl, 0x20
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 4
jne case.default.0x423488
xor ecx, ecx
cmp eax, dword [esp]
setne cl
xor ebx, ebx
jmp dword [ecx*4 + 0x444130]
mov ebx, dword [esp + 0x4c]
test ebx, ebx
jns 0x42349e
mov eax, 0xffffffff
jmp 0x4234a1
lea eax, [ebx + ebx]
push eax
call fcn.00407ff0
add esp, 4
mov esi, eax
push edi
push ebx
push eax
push 0xe
push ebp
push 0
call dword [0x449658]
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x444138]
xor ebx, ebx
jmp dword [0x444140]
push esi
call fcn.00408000
add esp, 4
mov eax, ebx
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x4c]
mov ecx, eax
and ecx, 9
xor eax, 9
lea eax, [eax + ecx*2]
test eax, eax
jns 0x4234fe
mov eax, 0xffffffff
jmp 0x423500
add eax, eax
push eax
call fcn.00407ff0
add esp, 4
mov edi, eax
mov dword [esp], 0xe8c716b9
mov dword [esp + 4], 0xec48ea48
mov dword [esp + 8], 0xe04eee56
mov dword [esp + 0xc], 0xe446e246
mov dword [esp + 0x10], 0xf8e7e656
mov eax, 0x3a8a8afd
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x3a8a8afd]
xor ecx, eax
mov ebx, ecx
and ebx, 0x2a8a8815
mov ebp, ecx
and ebp, 2
mov edx, ebp
xor edx, 2
imul edx, ebx
or ebx, 2
imul ebx, ebp
xor ecx, 0x2baba817
add edx, ecx
add edx, ebx
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
mov byte [esp + eax - 0x3a8a8afd], cl
inc eax
cmp eax, 0x3a8a8b11
jne 0x423540
movzx ecx, word [esi]
mov eax, edi
test cx, cx
je 0x4235b1
lea edx, [esi + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4235a0
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x4235e1
lea edx, [esp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4235d0
mov word [eax], 0
lea eax, [esp + 0x64]
push eax
push edi
call fcn.0043d6c0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x444148]