joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0f28
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x513b94]
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 0x4c0f73
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004c10c3
test al, al
jne 0x4c0f6d
sub edx, 2
cmp edx, edi
jne 0x4c0f53
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4c0f95
lea eax, [edi + 2]
cmp edx, eax
je 0x4c0f95
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004c0e74
add esp, 0x10
jmp 0x4c108f
push esi
lea ecx, [ebp - 0x255]
call fcn.004c10c3
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 0x4c0fd8
push dword [ebp - 0x25c]
jmp 0x4c0f85
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 0x4c1015
cmp word [ebp - 0x226], 0
je 0x4c1036
cmp word [ebp - 0x226], ax
jne 0x4c1015
cmp word [ebp - 0x224], 0
je 0x4c1036
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004c0e74
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4c1082
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4c0fef
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4c106a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4c108f
push 0x4c0ca4
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004c9eb0
add esp, 0x10
jmp 0x4c105f
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.004a0e13
leave
ret

Function at 0x4c4313
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004bc646
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 0x4c4382
cmp esi, dword [ebp - 4]
je 0x4c437d
cmp dword [ebp + 0xc], 0
je 0x4c437d
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4c435a
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004c3e65
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4c4384
xor eax, eax
inc eax
jmp 0x4c4384
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4c43e9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x513b94]
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.004bc646
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.004bc646
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 0x4c4460
cmp word [ecx], dx
je 0x4c4460
mov eax, dword [0x4fb63c]
push edi
dec eax
push eax
push 0x4fb528
call fcn.004c4388
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4c44d3
cmp word [eax], dx
je 0x4c44d3
mov eax, dword [edi]
test eax, eax
je 0x4c4484
cmp word [eax], dx
je 0x4c4484
lea eax, [ebp - 0x10]
push eax
call fcn.004c3d6b
jmp 0x4c448d
lea eax, [ebp - 0x10]
push eax
call fcn.004c3e06
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4c44fd
mov eax, dword [0x4fb524]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4fb218
call fcn.004c4388
add esp, 0xc
test al, al
je 0x4c44fd
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4c44c8
cmp word [eax], di
je 0x4c44c8
lea eax, [ebp - 0x10]
push eax
call fcn.004c3d6b
pop ecx
jmp 0x4c44ff
lea eax, [ebp - 0x10]
push eax
call fcn.004c3e06
jmp 0x4c44c5
mov eax, dword [edi]
test eax, eax
je 0x4c44ea
cmp word [eax], dx
je 0x4c44ea
lea eax, [ebp - 0x10]
push eax
call fcn.004c3d20
pop ecx
jmp 0x4c44fd
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 0x4c45c8
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004c420d
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4c45c8
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4c45c8
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4c45c8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4c4555
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004be3ac
test ebx, ebx
je 0x4c45c3
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004be3ac
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c45c8
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 0x4c45c8
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004b518d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4c45ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e13
leave
ret
Function at 0x4c95eb
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 + 0x519fd0]
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 0x4c962b
cmp byte [ebx], 0xa
jne 0x4c962b
or byte [edi + eax + 0x28], 4
jmp 0x4c9630
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 0x4c972f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4c9712
inc eax
cmp dl, 0xd
je 0x4c965c
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4c9682
cmp eax, ecx
jae 0x4c9690
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 0x4c9644
jmp 0x4c972f
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 0x4c970d
cmp dword [ebp - 0x10], 0
je 0x4c970d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x519fd0]
test byte [eax + edi + 0x28], 0x48
je 0x4c96e7
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4c96d2
mov byte [esi], dl
jmp 0x4c96e3
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x519fd0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4c972f
cmp byte [ebp - 1], 0xa
jne 0x4c96f6
cmp esi, ebx
jne 0x4c96f6
mov byte [esi], 0xa
jmp 0x4c972e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004c958d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4c972f
mov byte [esi], 0xd
jmp 0x4c972e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x519fd0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4c972c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4c972f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4c9738
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 + 0x519fd0]
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 0x4c977e
cmp word [ebx], dx
jne 0x4c977e
or byte [eax + edi + 0x28], 4
jmp 0x4c9783
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 0x4c98e6
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 0x4c98c6
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4c97c4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4c97fa
cmp eax, edx
jae 0x4c9808
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 0x4c979f
jmp 0x4c98e6
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 0x4c98c1
cmp dword [ebp - 0x18], 0
je 0x4c98c1
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x519fd0]
test byte [eax + edi + 0x28], 0x48
je 0x4c9897
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 0x4c985b
mov word [esi], cx
jmp 0x4c9892
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x519fd0]
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 + 0x519fd0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x519fd0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4c98e6
pop eax
cmp word [ebp - 4], ax
jne 0x4c98a7
cmp esi, ebx
jne 0x4c98a7
mov word [esi], ax
jmp 0x4c98e3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004c958d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4c98e6
push 0xd
pop eax
jmp 0x4c98a2
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x519fd0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4c98e0
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4c98e6
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 0x4cab65
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.004caae1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4cacd4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4cacd4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4cac89
jg 0x4cabc1
test eax, eax
je 0x4cac7f
push 1
push 0x1000
call fcn.004bdd54
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4cabe4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4cac76
push 0x8000
push ebx
call fcn.004b9f46
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4cac0d
jg 0x4cac08
cmp ecx, 0x1000
jb 0x4cac0d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004c041f
add esp, 0x10
cmp eax, 0xffffffff
je 0x4cac52
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 0x4cac08
jl 0x4cac39
test ecx, ecx
jne 0x4cabfa
push dword [ebp - 0xc]
push ebx
call fcn.004b9f46
push esi
call fcn.004bcac1
add esp, 0xc
xor ebx, ebx
jmp 0x4cace2
cmp byte [edi + 0x24], 0
je 0x4cac69
cmp dword [edi + 0x20], 5
jne 0x4cac69
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4cac74
mov ebx, dword [edi + 0x18]
jmp 0x4cac76
xor ebx, ebx
push esi
call fcn.004bcac1
pop ecx
jmp 0x4cace2
test ecx, ecx
jg 0x4cac4b
jl 0x4cac89
test eax, eax
jae 0x4cac4b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c958d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4caca9
cmp byte [edi + 0x1c], 0
je 0x4cac4b
jmp 0x4cacda
push ebx
call fcn.004c223c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4cac4b
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 0x4cace2
cmp byte [edi + 0x1c], 0
je 0x4cacdf
mov ebx, dword [edi + 0x18]
jmp 0x4cace2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004c958d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4cb1d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4cb1fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4cb1fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x574b77c7
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x41654fc7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40d82c
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x23c
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], eax
mov edi, edx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x40d858
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x40d850
mov ecx, eax
xor eax, eax
xor eax, ecx
mov edx, dword [esp + 0x12c]
cmp ecx, 4
jl 0x40d890
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add edx, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x40d86a
cmp ecx, 3
je 0x40d8a1
cmp ecx, 2
je 0x40d8aa
cmp ecx, 1
je 0x40d8b3
jmp 0x40d8be
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx edx, byte [edx]
xor eax, edx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
mov edx, dword [0x8017a4]
test edx, edx
jle 0x40da8f
xor ebx, ebx
mov ebp, eax
mov ecx, dword [0x8017a8]
cmp ebp, dword [ecx + ebx*4]
jne 0x40da14
mov byte [esp + 0xc], 0
movsx edx, byte [0x801560]
test edx, edx
jne 0x40d916
lea esi, [esp + 0xc]
mov edi, 0x67f960
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x40d90c
mov ecx, dword [0x8017ac]
mov edx, dword [ecx + ebx*4]
mov esi, dword [0x80179c]
lea edi, [esp + 0xc]
mov edx, dword [esi + edx*4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x40d936
mov ecx, dword [0x8017ac]
mov esi, dword [ecx + ebx*4]
mov edi, dword [esp + 0x130]
mov dword [edi + 0x10], esi
lea eax, [esp + 0x114]
lea edx, [esp + 0xc]
call fcn.0045d8cc
movsx edx, byte [esp + 0x11c]
test edx, edx
je 0x40da93
mov edx, dword [0x8017b0]
mov ecx, dword [edx + ebx*4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
lea eax, [esp + 0x114]
call fcn.0040daa8
lea eax, [esp + 0x114]
call fcn.0040dacc
movzx eax, al
neg eax
movzx esi, byte [eax + 0x67f0df]
lea eax, [esp + 0x114]
lea edx, [esp + 0x134]
mov ecx, esi
call fcn.0045d948
mov byte [esp + esi + 0x134], 0
test esi, esi
jle 0x40d9e6
xor edx, edx
movzx eax, byte [esp + edx + 0x134]
neg eax
dec eax
mov byte [esp + edx + 0x134], al
inc edx
cmp edx, esi
jl 0x40d9cf
lea edx, [esp + 0x134]
push edx
mov ecx, dword [esp + 0x130]
push ecx
call fcn.004678b0
add esp, 8
test eax, eax
je 0x40da4c
lea eax, [esp + 0x114]
call fcn.0045d95c
mov edx, dword [0x8017a4]
inc ebx
cmp ebx, edx
jl 0x40d8e4
cmp ebx, edx
jge 0x40da3f
mov edx, dword [esp + 0x130]
mov dword [edx + 0xc], ebx
mov byte [edx + 8], 2
mov eax, 2
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [esp + 0x114]
call fcn.0040dacc
mov edx, dword [esp + 0x130]
mov byte [edx + 9], al
lea eax, [esp + 0x114]
call fcn.0040dae8
mov ecx, dword [esp + 0x130]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
lea eax, [esp + 0x114]
call fcn.0045d95c
mov edx, dword [0x8017a4]
jmp 0x40da1d
xor ebx, ebx
jmp 0x40da1d
mov eax, 0xfffffffe
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x40dacc
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 1
push edx
push dword [eax]
call fcn.0046807e
movsx eax, byte [esp + 0xc]
add esp, 0x10
ret
Function at 0x41487c
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov esi, edx
mov ebx, dword [eax]
mov edx, ecx
xor eax, eax
xor eax, ecx
mov edi, esi
cmp ecx, 4
jl 0x4148be
mov dword [esp], ecx
imul ebp, dword [edi], 0x5bd1e995
mov ecx, ebp
shr ecx, 0x18
xor ebp, ecx
imul ecx, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edi, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x414895
mov ecx, dword [esp]
cmp edx, 3
je 0x4148cf
cmp edx, 2
je 0x4148d8
cmp edx, 1
je 0x4148e1
jmp 0x4148ec
movzx edx, byte [edi + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [edi + 1]
shl edx, 8
xor eax, edx
movzx edi, byte [edi]
xor eax, edi
imul eax, eax, 0x5bd1e995
mov edi, eax
shr edi, 0xd
xor eax, edi
imul edi, eax, 0x5bd1e995
mov eax, edi
shr eax, 0xf
xor edi, eax
and edi, 0x7fffffff
add edi, 0x80000000
test ebx, ebx
je 0x414934
mov ebp, ecx
cmp edi, dword [ebx + 0x1c]
jne 0x41492d
cmp ebp, dword [ebx + 0x18]
jne 0x41492d
push ebp
push esi
push dword [ebx + 0x14]
call fcn.004685c0
add esp, 0xc
test eax, eax
je 0x414934
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x414912
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x4210cc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x5b36d8]
cmp eax, 0x270
jl 0x42119a
xor edx, edx
mov eax, dword [edx*4 + 0x5e53a0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5e53a4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5e59d4]
xor ecx, dword [eax*4 + 0x58b698]
mov dword [edx*4 + 0x5e53a0], ecx
inc edx
cmp edx, 0xe3
jl 0x4210de
cmp edx, 0x26f
jge 0x421166
mov eax, dword [edx*4 + 0x5e53a0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5e53a4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5e5014]
xor ecx, dword [eax*4 + 0x58b698]
mov dword [edx*4 + 0x5e53a0], ecx
inc edx
cmp edx, 0x26f
jl 0x421126
mov edx, dword [0x5e5d5c]
and edx, 0x80000000
mov eax, dword [0x5e53a0]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5e59d0]
and edx, 1
xor ecx, dword [edx*4 + 0x58b698]
mov dword [0x5e5d5c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x5b36d8], edx
mov eax, dword [eax*4 + 0x5e53a0]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x43e880
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x43e907
je 0x43e936
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b31a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b31a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b31a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b31a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x43e8a3
mov edi, dword [esp]
jmp 0x43e90c
mov eax, 0xffffffff
test ecx, ecx
je 0x43e930
je 0x43e930
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5b31a0]
inc ebx
cmp ebx, ecx
jb 0x43e914
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x43e90c

Function at 0x43e944
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea edx, [esp]
push 8
push edx
push dword [eax]
call fcn.0046807e
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 0x14
ret