joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5efe83
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 + 0x6b2190]
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 0x5efec9
cmp word [ebx], dx
jne 0x5efec9
or byte [eax + edi + 0x28], 4
jmp 0x5efece
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 0x5f0031
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 0x5f0011
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x5eff0f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x5eff45
cmp eax, edx
jae 0x5eff53
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 0x5efeea
jmp 0x5f0031
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 0x5f000c
cmp dword [ebp - 0x18], 0
je 0x5f000c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x6b2190]
test byte [eax + edi + 0x28], 0x48
je 0x5effe2
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 0x5effa6
mov word [esi], cx
jmp 0x5effdd
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x6b2190]
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 + 0x6b2190]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x6b2190]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x5f0031
pop eax
cmp word [ebp - 4], ax
jne 0x5efff2
cmp esi, ebx
jne 0x5efff2
mov word [esi], ax
jmp 0x5f002e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.005f08bc
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x5f0031
push 0xd
pop eax
jmp 0x5effed
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x6b2190]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x5f002b
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x5f0031
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 0x5f0f0a
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x5f0f4d
call fcn.005dd62d
mov dword [eax], 0xf
call fcn.005dd640
mov dword [eax], 0xd
call fcn.005dd51a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ca888
leave
ret
test eax, eax
jne 0x5f0f54
inc eax
jmp 0x5f0f41
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x5f0f3f
xor eax, eax
cmp ecx, 1
setne al
jmp 0x5f0f41

Function at 0x5f277b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x5f27c6
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.005f2916
test al, al
jne 0x5f27c0
sub edx, 2
cmp edx, edi
jne 0x5f27a6
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x5f27e8
lea eax, [edi + 2]
cmp edx, eax
je 0x5f27e8
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.005f26c7
add esp, 0x10
jmp 0x5f28e2
push esi
lea ecx, [ebp - 0x255]
call fcn.005f2916
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5f282b
push dword [ebp - 0x25c]
jmp 0x5f27d8
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x5f2868
cmp word [ebp - 0x226], 0
je 0x5f2889
cmp word [ebp - 0x226], ax
jne 0x5f2868
cmp word [ebp - 0x224], 0
je 0x5f2889
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.005f26c7
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x5f28d5
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x5f2842
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x5f28bd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x5f28e2
push 0x5f24f7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.005f9b10
add esp, 0x10
jmp 0x5f28b2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ca888
leave
ret
Function at 0x5f31df
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x5f31f0
pop esi
ret
push ebx
push edi
push esi
call fcn.005f31a8
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.005eb1cd
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x5f3218
push ebx
push esi
push edi
call fcn.005cfab0
add esp, 0xc
push 0
call fcn.005eb193
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x5f35e8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005f322d

Function at 0x5f5637
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.005ec6ed
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5f56a6
cmp esi, dword [ebp - 4]
je 0x5f56a1
cmp dword [ebp + 0xc], 0
je 0x5f56a1
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x5f567e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.005f5189
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x5f56a8
xor eax, eax
inc eax
jmp 0x5f56a8
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x5f570d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.005ec6ed
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.005ec6ed
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x5f5784
cmp word [ecx], dx
je 0x5f5784
mov eax, dword [0x6685a4]
push edi
dec eax
push eax
push 0x668490
call fcn.005f56ac
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x5f57f7
cmp word [eax], dx
je 0x5f57f7
mov eax, dword [edi]
test eax, eax
je 0x5f57a8
cmp word [eax], dx
je 0x5f57a8
lea eax, [ebp - 0x10]
push eax
call fcn.005f508f
jmp 0x5f57b1
lea eax, [ebp - 0x10]
push eax
call fcn.005f512a
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x5f5821
mov eax, dword [0x66848c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x668180
call fcn.005f56ac
add esp, 0xc
test al, al
je 0x5f5821
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x5f57ec
cmp word [eax], di
je 0x5f57ec
lea eax, [ebp - 0x10]
push eax
call fcn.005f508f
pop ecx
jmp 0x5f5823
lea eax, [ebp - 0x10]
push eax
call fcn.005f512a
jmp 0x5f57e9
mov eax, dword [edi]
test eax, eax
je 0x5f580e
cmp word [eax], dx
je 0x5f580e
lea eax, [ebp - 0x10]
push eax
call fcn.005f5044
pop ecx
jmp 0x5f5821
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x5f58ec
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.005f5531
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x5f58ec
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x5f58ec
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x5f58ec
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5f5879
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.005ef7cf
test ebx, ebx
je 0x5f58e7
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.005ef7cf
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5f58ec
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5f58ec
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.005e4994
add esp, 0x10
xor eax, eax
inc eax
jmp 0x5f58ee
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ca888
leave
ret
Function at 0x5fa775
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.005fa6f1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x5fa8e4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5fa8e4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5fa899
jg 0x5fa7d1
test eax, eax
je 0x5fa88f
push 1
push 0x1000
call fcn.005eb136
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x5fa7f4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5fa886
push 0x8000
push ebx
call fcn.005e67eb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x5fa81d
jg 0x5fa818
cmp ecx, 0x1000
jb 0x5fa81d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.005eeaf6
add esp, 0x10
cmp eax, 0xffffffff
je 0x5fa862
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 0x5fa818
jl 0x5fa849
test ecx, ecx
jne 0x5fa80a
push dword [ebp - 0xc]
push ebx
call fcn.005e67eb
push esi
call fcn.005eb193
add esp, 0xc
xor ebx, ebx
jmp 0x5fa8f2
cmp byte [edi + 0x24], 0
je 0x5fa879
cmp dword [edi + 0x20], 5
jne 0x5fa879
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x5fa884
mov ebx, dword [edi + 0x18]
jmp 0x5fa886
xor ebx, ebx
push esi
call fcn.005eb193
pop ecx
jmp 0x5fa8f2
test ecx, ecx
jg 0x5fa85b
jl 0x5fa899
test eax, eax
jae 0x5fa85b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.005f08bc
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5fa8b9
cmp byte [edi + 0x1c], 0
je 0x5fa85b
jmp 0x5fa8ea
push ebx
call fcn.005e5b32
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x5fa85b
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 0x5fa8f2
cmp byte [edi + 0x1c], 0
je 0x5fa8ef
mov ebx, dword [edi + 0x18]
jmp 0x5fa8f2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.005f08bc
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5fb150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5fb17d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5fb17d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100026c0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a19b0
push fcn.10047f10
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100a6040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10002755
xor al, al
jmp 0x100027de
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10002780
xor al, al
jmp 0x100027de
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x100027cb
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10045fd0
mov esp, ebp
pop ebp
ret
Function at 0x10003740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081c50
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x100a6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb0], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.10048c00
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.100090b0
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x1009fad0]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x3d4612
nop word [eax + eax]
mov cl, byte [ebp + eax - 0xc3]
xor cl, byte [ebp - 0xc4]
mov byte [ebp + eax - 0xc3], cl
inc eax
cmp eax, 0x12
jb 0x100037d0
lea edx, [ebp - 0xc3]
mov byte [ebp - 0xb1], 0
lea ecx, [ebp - 0xa8]
call fcn.10006db0
mov esi, eax
push 0
push 8
mov eax, dword [esi]
mov eax, dword [eax + 4]
or dword [eax + esi + 0x14], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + esi + 0x14], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.10042400
add esp, 0xc
mov ecx, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov eax, dword [eax + 4]
push ebx
mov byte [eax + esi + 0x40], 0x30
call fcn.100040c0
mov ecx, eax
mov byte [ebp - 0xaa], 0
mov dl, 0x43
mov byte [ebp - 0xaa], 0
mov al, 0x1e
mov byte [ebp - 0xac], dl
xor al, dl
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.10006db0
push edi
lea ecx, [ebp - 0xa8]
call fcn.10006970
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.10008f90
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xac], ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.10041d80
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045fd0
mov esp, ebp
pop ebp
ret
Function at 0x10011330
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100a6040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1009ff30]
push esi
mov esi, ecx
mov dword [ebp - 0x38], 0x467c7d7b
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0x7377607a
xor ecx, ecx
mov word [ebp - 0x30], 0x76
mov al, byte [ebp + ecx - 0x47]
xor al, byte [ebp - 0x48]
mov byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x18
jb 0x10011364
mov byte [ebp - 0x2f], 0
mov dl, 0x72
mov dword [ebp - 0x2c], 0x16061c72
xor ecx, ecx
mov dword [ebp - 0x28], 0x165c1e1e
mov word [ebp - 0x24], 0x1e1e
mov byte [ebp - 0x22], 0
xor byte [ebp + ecx - 0x2b], dl
inc ecx
cmp ecx, 9
jae 0x100113a4
mov dl, byte [ebp - 0x2c]
jmp 0x10011395
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x22], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x47]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100113e4
push 0
push 0x1c
lea ecx, [ebp - 0x20]
push ecx
push 0
push esi
call eax
test eax, eax
jne 0x100113e4
mov eax, dword [ebp - 0x14]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045fd0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10045fd0
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x100a6bf4], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x100a6bf4], edx
inc eax
cmp eax, 0x270
jb 0x10011541
mov dword [0x100a6bf0], 0x270
pop ebp
ret 8
Function at 0x100116d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1001172d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
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 edi, 1
jne 0x100116f0
mov eax, dword [esi]
jmp 0x1001180b
cmp eax, 0x4e0
jb 0x1001180b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
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 [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x10011746
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
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 [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x10011791
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
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 [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret