joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bcdb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4580
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fb614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x30
mov byte [esi], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
mov dword [esi + 0x10], 0x24
xorps xmm0, xmm0
mov dword [esi + 0x14], 0x2f
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov byte [eax + 0x24], 0
mov dword [esi], eax
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4bce2e
mov eax, dword [esi]
movsx ecx, byte [eax]
mov eax, esi
add ecx, 0x9656dd
cmp dword [esi + 0x14], 0x10
jb 0x4bce41
mov eax, dword [esi]
sub edi, eax
mov dword [ebp - 0x10], edi
mov edi, 0x24
mov esi, dword [ebp - 0x10]
nop
mov edx, ecx
lea eax, [eax + 1]
imul ecx, ecx, 0xdcf5
shr edx, 8
xor dl, byte [esi + eax - 1]
mov byte [eax - 1], dl
add ecx, 0x7a2bcd2
sub edi, 1
jne 0x4bce50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4be000
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
or eax, ecx
test al, 3
je 0x4be022
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x10]
mov eax, ebx
shr eax, 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
test eax, eax
je 0x4be0d6
mov eax, edi
lea ebx, [ecx + 4]
sub eax, ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
nop dword [eax]
mov esi, dword [ebx - 4]
mov eax, 0xc6ef3720
mov edi, dword [ebx]
mov dword [ebp - 4], 0x20
mov ebx, dword [ebp + 0x14]
mov edx, esi
shr edx, 5
mov ecx, esi
shl ecx, 4
xor edx, ecx
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
add ecx, eax
add eax, 0x61c88647
xor edx, ecx
sub edi, edx
mov edx, edi
mov ecx, edi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
add ecx, eax
xor edx, ecx
sub esi, edx
sub dword [ebp - 4], 1
jne 0x4be061
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
mov dword [eax + ecx*8], esi
inc ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov dword [eax + ebx], edi
add ebx, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], ebx
cmp ecx, eax
jb 0x4be050
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea esi, [eax*8]
cmp ebx, esi
jbe 0x4be107
push ecx
push dword [ebp + 0x14]
lea eax, [esi + ecx]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004be120
mov ecx, ebx
lea eax, [ebp - 0x18]
sub ecx, esi
push ecx
push eax
lea ecx, [esi + edi]
push ecx
call fcn.004d1d90
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4be120
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, 0xc6ef3720
mov dword [ebp - 4], 0x20
nop dword [eax + eax]
mov ebx, dword [ebp + 0x10]
mov edx, esi
shr edx, 5
mov ecx, esi
shl ecx, 4
xor edx, ecx
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
add ecx, eax
add eax, 0x61c88647
xor edx, ecx
sub edi, edx
mov edx, edi
mov ecx, edi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
add ecx, eax
xor edx, ecx
sub esi, edx
sub dword [ebp - 4], 1
jne 0x4be140
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c0a80
Capabilities:
Hash data using sha256

Disassembly:
push 0x40
lea eax, [ecx + 0x18]
mov dword [ecx + 8], 0
push 0
push eax
mov dword [ecx + 0x11c], 0x6a09e667
mov dword [ecx + 0x120], 0xbb67ae85
mov dword [ecx + 0x124], 0x3c6ef372
mov dword [ecx + 0x128], 0xa54ff53a
mov dword [ecx + 0x12c], 0x510e527f
mov dword [ecx + 0x130], 0x9b05688c
mov dword [ecx + 0x134], 0x1f83d9ab
mov dword [ecx + 0x138], 0x5be0cd19
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x118], 0
call fcn.004d0920
add esp, 0xc
ret 4
Function at 0x4c7aa0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
mov dword [ebp - 8], eax
push esi
mov ecx, dword [eax + 4]
lea ebx, [eax + 0xc]
mov eax, dword [ebx]
inc eax
push edi
test ecx, ecx
jne 0x4c7aca
mov ecx, 0x4ef9c8
push 0
push 0
push eax
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar_1]
mov esi, eax
lea eax, [esi + esi]
call fcn.004e40e0
mov ecx, dword [ebp - 8]
mov edi, esp
mov edx, dword [ebx]
mov eax, 0x4ef9c8
push esi
inc edx
mov ecx, dword [ecx + 4]
test ecx, ecx
push edi
push edx
cmovne eax, ecx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar_1]
push 0
push 0x80
push 3
push 0
push 7
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW_1]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
cmp ebx, 0xffffffff
jne 0x4c7b4e
mov ecx, eax
call fcn.004c48e0
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0
push eax
push dword [ebp + 0xc]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx_1]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
mov dword [ebp - 8], eax
cmp esi, dword [ebp - 0x10]
jne 0x4c7b81
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0xc]
jne 0x4c7b81
mov ecx, 1
jmp 0x4c7b83
xor ecx, ecx
and edi, ecx
je 0x4c7b9a
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
mov esi, eax
jmp 0x4c7b9d
mov esi, dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
test edi, edi
jne 0x4c7bc3
mov ecx, esi
call fcn.004c48e0
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
ret
Function at 0x4c8790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4580
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4fb614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push 0x30
mov byte [edi], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
push 0x2c
mov esi, eax
mov dword [edi + 0x10], 0x2c
push 0
push esi
mov dword [edi + 0x14], 0x2f
call fcn.004d0920
mov byte [esi + 0x2c], 0
add esp, 0xc
mov dword [edi], esi
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x4c880c
mov eax, esi
movsx edx, byte [eax]
mov eax, edi
add edx, 0xaa2d09
cmp dword [edi + 0x14], 0x10
jb 0x4c881f
mov eax, dword [edi]
sub ebx, eax
mov esi, 0x2c
nop word [eax + eax]
mov ecx, edx
lea eax, [eax + 1]
imul edx, edx, 0xe4f5
shr ecx, 6
xor cl, byte [ebx + eax - 1]
mov byte [eax - 1], cl
add edx, 0x8a49d0e
sub esi, 1
jne 0x4c8830
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c8870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4580
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4fb614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
xorps xmm0, xmm0
mov dword [esi + 0x14], 0xf
mov eax, esi
mov byte [esi], 0
mov dword [esi + 0x10], 0xf
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp dword [esi + 0x14], 0x10
jb 0x4c88d7
mov eax, dword [esi]
movsx edx, byte [eax]
mov eax, esi
add edx, 0x6b9d40
cmp dword [esi + 0x14], 0x10
jb 0x4c88ea
mov eax, dword [esi]
sub ebx, eax
mov edi, 0xf
mov ecx, edx
lea eax, [eax + 1]
imul edx, edx, 0xc7f5
shr ecx, 5
xor cl, byte [ebx + eax - 1]
mov byte [eax - 1], cl
add edx, 0x5774fd9
sub edi, 1
jne 0x4c88f1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c8930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4580
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4fb614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
xorps xmm0, xmm0
mov dword [esi + 0x14], 0xf
mov eax, esi
mov byte [esi], 0
mov dword [esi + 0x10], 0xb
movq qword [esi], xmm0
mov dword [esi + 8], 0
cmp dword [esi + 0x14], 0x10
jb 0x4c8990
mov eax, dword [esi]
movsx edx, byte [eax]
mov eax, esi
add edx, 0x6b9d40
cmp dword [esi + 0x14], 0x10
jb 0x4c89a3
mov eax, dword [esi]
sub ebx, eax
mov edi, 0xb
nop word [eax + eax]
mov ecx, edx
lea eax, [eax + 1]
imul edx, edx, 0xc3f5
shr ecx, 5
xor cl, byte [ebx + eax - 1]
mov byte [eax - 1], cl
add edx, 0x5774fd9
sub edi, 1
jne 0x4c89b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c89f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4580
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fb614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x20
mov byte [esi], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
mov dword [esi + 0x10], 0x12
xorps xmm0, xmm0
mov dword [esi + 0x14], 0x1f
movups xmmword [eax], xmm0
mov word [eax + 0x10], 0
mov byte [eax + 0x12], 0
mov dword [esi], eax
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4c8a69
mov eax, dword [esi]
movsx ecx, byte [eax]
mov eax, esi
add ecx, 0x67095d
cmp dword [esi + 0x14], 0x10
jb 0x4c8a7c
mov eax, dword [esi]
sub edi, eax
mov dword [ebp - 0x10], edi
mov edi, 0x12
mov esi, dword [ebp - 0x10]
nop dword [eax]
mov edx, ecx
lea eax, [eax + 1]
imul ecx, ecx, 0xcaf5
shr edx, 8
xor dl, byte [esi + eax - 1]
mov byte [eax - 1], dl
add ecx, 0x53bcd52
sub edi, 1
jne 0x4c8a90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4c8ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4580
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4fb614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
xorps xmm0, xmm0
mov dword [esi + 0x14], 0xf
mov eax, esi
mov byte [esi], 0
mov dword [esi + 0x10], 0xb
movq qword [esi], xmm0
mov dword [esi + 8], 0
cmp dword [esi + 0x14], 0x10
jb 0x4c8b30
mov eax, dword [esi]
movsx edx, byte [eax]
mov eax, esi
add edx, 0x67095d
cmp dword [esi + 0x14], 0x10
jb 0x4c8b43
mov eax, dword [esi]
sub ebx, eax
mov edi, 0xb
nop word [eax + eax]
mov ecx, edx
lea eax, [eax + 1]
imul edx, edx, 0xc3f5
shr ecx, 8
xor cl, byte [ebx + eax - 1]
mov byte [eax - 1], cl
add edx, 0x53bcd52
sub edi, 1
jne 0x4c8b50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c8b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4580
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fb614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x20
mov byte [esi], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
mov dword [esi + 0x10], 0x13
xorps xmm0, xmm0
mov dword [esi + 0x14], 0x1f
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [esi], eax
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4c8c06
mov eax, dword [esi]
movsx ecx, byte [eax]
mov eax, esi
add ecx, 0x594db4
cmp dword [esi + 0x14], 0x10
jb 0x4c8c19
mov eax, dword [esi]
sub edi, eax
mov dword [ebp - 0x10], edi
mov edi, 0x13
mov esi, dword [ebp - 0x10]
nop word [eax + eax]
mov edx, ecx
lea eax, [eax + 1]
imul ecx, ecx, 0xcbf5
shr edx, 8
xor dl, byte [esi + eax - 1]
mov byte [eax - 1], dl
add ecx, 0x48945bd
sub edi, 1
jne 0x4c8c30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4c8c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4580
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4fb614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
xorps xmm0, xmm0
mov dword [esi + 0x14], 0xf
mov eax, esi
mov byte [esi], 0
mov dword [esi + 0x10], 0xb
movq qword [esi], xmm0
mov dword [esi + 8], 0
cmp dword [esi + 0x14], 0x10
jb 0x4c8cd0
mov eax, dword [esi]
movsx edx, byte [eax]
mov eax, esi
add edx, 0x594db4
cmp dword [esi + 0x14], 0x10
jb 0x4c8ce3
mov eax, dword [esi]
sub ebx, eax
mov edi, 0xb
nop word [eax + eax]
mov ecx, edx
lea eax, [eax + 1]
imul edx, edx, 0xc3f5
shr ecx, 8
xor cl, byte [ebx + eax - 1]
mov byte [eax - 1], cl
add edx, 0x48945bd
sub edi, 1
jne 0x4c8cf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4dc0da
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dbf50

Function at 0x4dd38d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dd00a
Function at 0x633280
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x1ea000]
push edi
jmp 0x63329a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6332a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x633290
mov eax, 1
add ebx, ebx
jne 0x6332b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6332c4
jne 0x6332e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6332e3
dec eax
add ebx, ebx
jne 0x6332d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6332a8
add ebx, ebx
jne 0x6332df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x633335
xor ecx, ecx
sub eax, 3
jb 0x6332fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x63336a
sar eax, 1
mov ebp, eax
jmp 0x633306
add ebx, ebx
jne 0x633306
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6332d4
inc ecx
add ebx, ebx
jne 0x633314
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6332d4
add ebx, ebx
jne 0x633321
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x633316
jne 0x633332
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x633316
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x633354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x633346
jmp 0x633296
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x633354
add edi, ecx
jmp 0x633296
pop esi
mov edi, esi
mov ecx, 0x3d0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x633372
cmp byte [edi], 7
jne 0x633372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x633377
lea edi, [esi + 0x231000]
mov eax, dword [edi]
or eax, eax
je 0x6333e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x247ad0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x247b3c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6333a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x247b44]
or eax, eax
je 0x6333e0
mov dword [ebx], eax
add ebx, 4
jmp 0x6333c1
call dword [esi + 0x247b40]
mov ebp, dword [esi + 0x247b48]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x63341a
sub esp, 0xffffff80
jmp 0x401540
Function at 0x40d1a7
Capabilities:
Parse pe header

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

Function at 0x40fc6d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x48aca0
push str.FlsAlloc
push 0x1f
call fcn.0040f93f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40fca1
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x40fca7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40fceb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x48acc4
push str.FlsGetValue
push 0x21
call fcn.0040f93f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40fd22
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40fd2a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x48acd8
push str.FlsSetValue
push 0x22
call fcn.0040f93f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40fd64
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4121d0
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4ae294]
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 0x41221b
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041242c
test al, al
jne 0x412215
sub edx, 2
cmp edx, edi
jne 0x4121fb
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41223d
lea eax, [edi + 2]
cmp edx, eax
je 0x41223d
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00411e97
add esp, 0x10
jmp 0x412337
push esi
lea ecx, [ebp - 0x255]
call fcn.0041242c
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 0x412280
push dword [ebp - 0x25c]
jmp 0x41222d
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 0x4122bd
cmp word [ebp - 0x226], 0
je 0x4122de
cmp word [ebp - 0x226], ax
jne 0x4122bd
cmp word [ebp - 0x224], 0
je 0x4122de
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00411e97
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41232a
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x412297
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x412312
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x412337
push 0x4118e7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004198d0
add esp, 0x10
jmp 0x412307
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.00409c3f
leave
ret

Function at 0x41503a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040e51b
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 0x4150a9
cmp esi, dword [ebp - 4]
je 0x4150a4
cmp dword [ebp + 0xc], 0
je 0x4150a4
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x415081
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00414b8c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4150ab
xor eax, eax
inc eax
jmp 0x4150ab
xor eax, eax
pop edi
pop esi
leave
ret