joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eadc
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [0x410634]
mov eax, dword [edi]
mov edx, 0x8000
call fcn.0040ead4
add eax, 2
call fcn.004028a4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x40ebf2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jle 0x40ebd7
lea eax, [ebp - 4]
push eax
push 0
mov eax, dword [edi]
mov edx, 0x8000
call fcn.0040ead4
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [0x410458]
call fcn.0040bab8
mov eax, dword [edi]
mov edx, 0x8000
call fcn.0040ead4
cmp eax, dword [ebp - 4]
jbe 0x40eb55
call fcn.004038f4
jmp 0x40ebf9
mov eax, dword [ebp - 4]
sub dword [edi], eax
mov eax, dword [0x410624]
mov ax, word [eax + 6]
and ax, 1
cmp ax, 1
jne 0x40eb9a
mov esi, dword [ebp - 4]
dec esi
test esi, esi
jl 0x40eb9a
inc esi
xor ebx, ebx
call fcn.0040d8ec
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx]
xor al, dl
mov edx, dword [ebp - 8]
mov byte [edx + ebx], al
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx]
call fcn.0040d818
inc ebx
dec esi
jne 0x40eb78
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4105f4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 4]
call fcn.0040e958
mov ecx, dword [0x410544]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0040eab0
cmp dword [edi], 0
jg 0x40eb19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ebf9
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004028d4
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402531
Capabilities:
Terminate process

Disassembly:
jmp 0x43e7b1
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x43e7c2
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004038d2
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4025bd
Capabilities:
Query environment variable

Disassembly:
jmp 0x441c5e
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x441c6f
pop esi
ret
push ebx
push edi
push esi
call fcn.00441b45
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402ab8
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x441c97
push ebx
push esi
push edi
call fcn.0040379c
add esp, 0xc
push 0
call fcn.00403daa
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x40380a
Capabilities:
Parse pe header

Disassembly:
jmp 0x408148
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408187
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408187
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408187
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408187
cmp dword [ecx + 0x74], 0xe
jbe 0x408187
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4174b9
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
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 0x43fbd3
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044013f
test al, al
jne 0x43fbcd
sub edx, 2
cmp edx, edi
jne 0x43fbb3
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x43fbf5
lea eax, [edi + 2]
cmp edx, eax
je 0x43fbf5
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043f781
add esp, 0x10
jmp 0x43fcef
push esi
lea ecx, [ebp - 0x255]
call fcn.0044013f
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 0x43fc38
push dword [ebp - 0x25c]
jmp 0x43fbe5
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 0x43fc75
cmp word [ebp - 0x226], 0
je 0x43fc96
cmp word [ebp - 0x226], ax
jne 0x43fc75
cmp word [ebp - 0x224], 0
je 0x43fc96
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043f781
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43fce2
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x43fc4f
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x43fcca
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43fcef
push 0x43f067
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004036ac
add esp, 0x10
jmp 0x43fcbf
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.00402225
leave
ret

Function at 0x447909
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00402ca2
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 0x447978
cmp esi, dword [ebp - 4]
je 0x447973
cmp dword [ebp + 0xc], 0
je 0x447973
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x447950
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00447331
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x44797a
xor eax, eax
inc eax
jmp 0x44797a
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4580eb
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 + 0x475170]
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 0x45812b
cmp byte [ebx], 0xa
jne 0x45812b
or byte [edi + eax + 0x28], 4
jmp 0x458130
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 0x45822f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x458212
inc eax
cmp dl, 0xd
je 0x45815c
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x458182
cmp eax, ecx
jae 0x458190
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 0x458144
jmp 0x45822f
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 0x45820d
cmp dword [ebp - 0x10], 0
je 0x45820d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x475170]
test byte [eax + edi + 0x28], 0x48
je 0x4581e7
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4581d2
mov byte [esi], dl
jmp 0x4581e3
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x475170]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x45822f
cmp byte [ebp - 1], 0xa
jne 0x4581f6
cmp esi, ebx
jne 0x4581f6
mov byte [esi], 0xa
jmp 0x45822e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040150a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x45822f
mov byte [esi], 0xd
jmp 0x45822e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x475170]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x45822c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x45822f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x45828b
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 + 0x475170]
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 0x4582d1
cmp word [ebx], dx
jne 0x4582d1
or byte [eax + edi + 0x28], 4
jmp 0x4582d6
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 0x458439
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 0x458419
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x458317
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x45834d
cmp eax, edx
jae 0x45835b
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 0x4582f2
jmp 0x458439
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 0x458414
cmp dword [ebp - 0x18], 0
je 0x458414
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x475170]
test byte [eax + edi + 0x28], 0x48
je 0x4583ea
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 0x4583ae
mov word [esi], cx
jmp 0x4583e5
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x475170]
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 + 0x475170]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x475170]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x458439
pop eax
cmp word [ebp - 4], ax
jne 0x4583fa
cmp esi, ebx
jne 0x4583fa
mov word [esi], ax
jmp 0x458436
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040150a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x458439
push 0xd
pop eax
jmp 0x4583f5
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x475170]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x458433
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x458439
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 0x10040520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x2b476d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 3
mov byte [ebp - 0x1e], 0x8a
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 3
mov byte [ebp - 0x1b], 0xff
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 5
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0xc
mov byte [ebp - 0x15], 0x29
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0x50
mov byte [ebp - 0x12], 0x56
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xf], 0xf2
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x45
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 9], 0x53
mov byte [ebp - 8], 0xff
mov byte [ebp - 7], 0xff
mov byte [ebp - 6], 0xff
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 2]
cmp ecx, 0x20
jne 0x100405d3
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 3]
cmp eax, 0x52
jne 0x100405d3
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 4]
cmp edx, 0x41
jne 0x100405d3
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 5]
cmp ecx, 0x53
jne 0x100405d3
mov al, 1
jmp 0x10040695
mov dword [ebp - 0x24], 0
jmp 0x100405e5
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
imul eax, eax, 3
movzx ecx, byte [ebp + eax - 0x20]
cmp ecx, 0xff
je 0x1004063f
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 3
movzx edx, byte [ebp + ecx - 0x20]
cmp eax, edx
jne 0x1004063d
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
mov edx, dword [ebp - 0x24]
imul edx, edx, 3
movzx eax, byte [ebp + edx - 0x1f]
cmp ecx, eax
jne 0x1004063d
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 2]
mov eax, dword [ebp - 0x24]
imul eax, eax, 3
movzx ecx, byte [ebp + eax - 0x1e]
cmp edx, ecx
jne 0x1004063d
mov al, 1
jmp 0x10040695
jmp 0x100405dc
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 3]
test eax, eax
jne 0x10040678
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 4]
cmp edx, 0x30
jne 0x10040678
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 5]
test ecx, ecx
jne 0x10040678
call fcn.1006b790
xor edx, edx
mov ecx, 0x64
div ecx
cmp eax, 4
jne 0x10040678
mov al, 1
jmp 0x10040695
push 6
push 0x2b20d8c
mov edx, dword [ebp + 8]
push edx
call fcn.100ce760
add esp, 0xc
test eax, eax
jne 0x10040693
mov al, 1
jmp 0x10040695
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cdbfc
mov esp, ebp
pop ebp
ret
Function at 0x10053400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x2b476d0]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [0x2b1f320]
push 0x2b504b0
lea ecx, [ebp - 0x118]
push ecx
call fcn.100cdd60
add esp, 8
push 0x2b21ba4
lea edx, [ebp - 0x118]
push edx
call fcn.100d1b5f
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005345a
xor eax, eax
jmp 0x100534ca
mov dword [ebp - 8], 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.100d1f8e
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100d1e99
add esp, 4
cmp eax, 4
jne 0x100534a6
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.100d1f8e
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
push 1
push 4
lea ecx, [ebp - 8]
push ecx
call fcn.100d1a80
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call fcn.100d1768
add esp, 4
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100534c7
lea ecx, [ebp - 0x118]
push ecx
call dword [0x2b1f330]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100cdbfc
mov esp, ebp
pop ebp
ret
Function at 0x100815a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1007fa00
add esp, 0xc
pop ebp
ret
Function at 0x10092bf0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1380], 0x270
jne 0x10092c14
push 0
mov ecx, dword [ebp - 8]
call fcn.10093080
jmp 0x10092c2d
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x1380], 0x4e0
jl 0x10092c2d
push 1
mov ecx, dword [ebp - 8]
call fcn.10093080
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1380]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1380]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x1380], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shl edx, 0xf
and edx, 0xefc60000
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shr eax, 0x12
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10093080
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0x80000000
mov dword [ebp - 8], 0x7fffffff
cmp dword [ebp + 8], 0
jne 0x10093115
mov dword [ebp - 0xc], 0x270
jmp 0x100930af
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x4e0
jge 0x10093110
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + ecx*4 - 0x9c0]
and eax, 0x80000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + ecx*4 - 0x9bc]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
shr edx, 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
xor edx, dword [ecx + eax*4 - 0x38c]
mov eax, dword [ebp - 0x10]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov dword [eax + ecx*4], edx
jmp 0x100930a6
jmp 0x1009325b
cmp dword [ebp + 8], 1
jne 0x1009325b
mov dword [ebp - 0x18], 0
jmp 0x10093131
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0xe3
jge 0x10093194
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4 + 0x9c0]
and ecx, 0x80000000
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + edx*4 + 0x9c4]
and edx, 0x7fffffff
or ecx, edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
shr eax, 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
xor eax, dword [edx + ecx*4 + 0xff4]
mov ecx, dword [ebp - 0x1c]
and ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor eax, ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + edx*4], eax
jmp 0x10093128
mov dword [ebp - 0x20], 0xe3
jmp 0x100931a6
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x26f
jge 0x10093208
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + eax*4 + 0x9c0]
and edx, 0x80000000
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + eax*4 + 0x9c4]
and eax, 0x7fffffff
or edx, eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
shr ecx, 1
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
xor ecx, dword [eax + edx*4 - 0x38c]
mov edx, dword [ebp - 0x24]
and edx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov dword [edx + eax*4], ecx
jmp 0x1009319d
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x137c]
and ecx, 0x80000000
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
and eax, 0x7fffffff
or ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 1
mov edx, dword [ebp - 0x28]
xor ecx, dword [edx + 0x630]
mov eax, dword [ebp - 0x14]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x9bc], ecx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x1380], 0
mov esp, ebp
pop ebp
ret 4
Function at 0x100932f0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
movzx eax, byte [0x2b55860]
test eax, eax
je 0x10093307
jmp 0x100933b5
mov dword [ebp - 8], 0x80000000
mov byte [ebp - 2], 0x80
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], 0x80
jmp 0x1009332b
mov cl, byte [ebp - 0xd]
shr cl, 1
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x10093375
movzx eax, byte [ebp - 1]
movzx ecx, byte [ebp - 0xd]
and eax, ecx
je 0x1009334b
mov edx, dword [ebp - 0xc]
xor edx, 0x80000000
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 0x80000000
je 0x1009336b
mov ecx, dword [ebp - 0xc]
shl ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
xor edx, 0x4c11db7
mov dword [ebp - 0xc], edx
jmp 0x10093373
mov eax, dword [ebp - 0xc]
shl eax, 1
mov dword [ebp - 0xc], eax
jmp 0x10093323
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10093060
add esp, 4
mov esi, eax
mov dl, byte [ebp - 1]
push edx
call fcn.10093440
add esp, 4
movzx eax, al
mov dword [eax*4 + 0x2b55460], esi
mov cl, byte [ebp - 1]
add cl, 1
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x10093316
mov byte [0x2b55860], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10093500
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0x1380], 1
jmp 0x1009353c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1380]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x1380], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1380], 0x270
jge 0x1009358e
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1380]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1380]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx*4 - 4]
shr ecx, 0x1e
mov eax, dword [ebp - 8]
xor ecx, dword [eax + edx*4 - 4]
imul ecx, ecx, 0x6c078965
mov edx, dword [ebp - 8]
add ecx, dword [edx + 0x1380]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1380]
mov eax, dword [ebp - 8]
mov dword [eax + edx*4], ecx
jmp 0x10093527
mov esp, ebp
pop ebp
ret 4
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219