joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d370
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x45a780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43d46b
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x43d46b
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x43d3ca
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x43d3a8
jmp 0x43d46b
cmp edx, 0x200
jae 0x43d4d1
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x43d46b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x43d46a
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x43d46a
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x43d4b3
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x43d450
pop edi
mov eax, dword [0x45b828]
test eax, eax
jne 0x43d491
push str.setlocale
call fcn.0043dd20
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x43d48c
or eax, 0xffffffff
mov dword [0x45b828], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x43d4bf
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435b6e
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x43d46a
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00435b6e
mov esp, ebp
pop ebp
ret
call fcn.00435e05
int3
Function at 0x10155ca7
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [0x102a1d4c], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x10]
add ecx, 0x3c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov esi, dword [0x102a1d4c]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x102a1d4c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
jmp 0x10155d28
xor eax, eax
mov dword [0x102a1d4c], 0x2505
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x28], eax
je 0x10155da6
jmp 0x10155e26
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
je 0x10155d55
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], eax
jl 0x10155d28
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
add edx, 0xfffff5a8
mov dword [0x102a1d4c], edx
mov edx, dword [ebp - 0x1c]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x10155e26
xor eax, eax
mov dword [0x102a1d4c], 0x28f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x28], eax
je 0x10155d01
jmp 0x10155e26
mov dword [0x102a1d50], 0x870
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x28], eax
jne 0x10155e26
xor eax, eax
mov dword [0x102a1d4c], 0x264f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x28], eax
jne 0x10155e26
xor eax, eax
mov dword [0x102a1d4c], 0x1f9e
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x28], eax
jne 0x10155e26
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
jne 0x10155e26
mov eax, 1
mov dword [0x102a1d4c], 0x536
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop esi
pop edi
pop ebp
ret
Function at 0x101560c5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102a1d58], 0
mov byte [0x102a1d5c], 0
mov dword [0x102a1d50], 0x247e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x102a1d54], 0
mov dword [ebp - 0x1c], eax
jmp 0x101561ff
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102a1d60], 0
mov edx, dword [0x102a1d4c]
mov esi, edx
add esi, 0xffffd965
mov dword [0x102a1d50], esi
mov esi, dword [0x102a1d58]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x102a1d60], ebx
mov dword [0x102a1d50], 0x162a
mov eax, ebx
cdq
idiv ecx
mov dword [0x102a1d58], edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x26f4
mov dword [0x102a1d4c], ecx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x102a1d5c], cl
mov dword [0x102a1d4c], 0x8fc
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x102a1d4c], 0x721
mov cl, byte [0x102a1d5c]
mov ebx, dword [0x102a1d58]
mov byte [edi + ebx], cl
mov dword [0x102a1d50], 0x15d4
mov ebx, dword [0x102a1d54]
add ebx, 1
mov dword [0x102a1d54], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x1015610f
jmp 0x10156227
mov dword [0x102a1d54], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1015610f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102a1d54]
add eax, 1
mov dword [0x102a1d54], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101561ff
jmp 0x101561eb
mov dword [0x102a1d4c], 0x71f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10156239
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x10159713]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x102a1d4c]
add ebx, 0x1e99
mov dword [0x102a1d4c], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.10156018
mov eax, dword [0x102a1d4c]
add eax, 0xfffffc44
mov dword [0x102a1d50], eax
mov dword [0x102a1d4c], 0x6c2
call fcn.1015681e
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10155e6f
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [0x102a1d4c], 0x236d
mov ecx, dword [ebp - 0x40]
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x10156392
mov eax, dword [ebp - 0x40]
mov dword [0x102a1d4c], 0x1258
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x102a1d4c]
add ecx, 0x194b
mov dword [0x102a1d50], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.10156710
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 8], ecx
mov dword [0x102a1d4c], 0x341
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x50], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x10156392
mov eax, dword [ebp - 0x48]
add eax, 0x2150
mov dword [0x102a1d50], 0x1ddf
mov dword [0x102a1d4c], 0xffffefc9
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
jmp 0x10156392
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101563f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x102a1d4c]
add ecx, 0xffffea42
mov dword [0x102a1d50], ecx
mov dword [ebp - 0x10], eax
call fcn.10156ffa
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x102a1d4c], 0x1516
mov esi, dword [eax + esi + 0x78]
mov dword [0x102a1d4c], 0x11d0
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x102a1d50], 0x6c2
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1015656d
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add edx, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x101564fc
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x101564ab
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x10156541
jmp 0x10156505
mov eax, 0xffffeebe
xor ecx, ecx
mov dword [0x102a1d4c], 0x10da
mov edx, dword [ebp - 0x3c]
add edx, 2
mov esi, dword [ebp - 0x38]
add esi, 1
mov edi, dword [ebp - 0x18]
cmp esi, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], ecx
jb 0x1015648b
jmp 0x1015656d
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x40]
mov dword [0x102a1d50], edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x1c]
add ebx, dword [esi + ecx*4]
mov dword [0x102a1d4c], 0x1a69
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10156caa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102a1d50], 0x26bd
mov dword [0x102a1d4c], 0xe95
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0x84
mov esi, dword [edi]
imul edi, eax, 0xc8
add edx, edi
add edx, 0x3c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x1bf
mov ecx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x10156cd7
lea eax, [0x10159713]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x102a1d50], 0x130b
mov dword [0x102a1d4c], 0x1346
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.10156018
mov dword [0x102a1d50], 0xb5d
mov dword [0x102a1d4c], 0x6c2
call fcn.1015681e
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.10155e6f
mov ecx, eax
mov dword [0x102a1d6c], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
imul esi, ecx, 0xc8
mov edi, edx
add edi, esi
imul esi, ecx, 0xc8
mov ebx, edx
add ebx, esi
add ebx, 0x3c
mov esi, dword [ebp - 0x48]
add esi, eax
mov dword [ebp - 0x54], eax
imul eax, ecx, 0xc8
add edx, eax
add edx, 0x84
add ecx, 1
mov eax, dword [edx]
mov edx, dword [edi]
movzx edi, word [ebx]
xor edi, eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], ecx
call fcn.10156ec6
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov edx, dword [ebp - 0x5c]
cmp edx, 0x1bf
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
jne 0x10156dba
mov dword [0x102a1d50], 0x9b1
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.10156578
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x28e66
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov ecx, dword [0x102a1d4c]
add ecx, 0x183c
mov dword [0x102a1d4c], ecx
mov dword [edx + 4], 0x116e00
mov dword [0x102a1d50], 0x13e1
mov ecx, dword [ebp - 0x48]
add ecx, 0x16564
mov dword [edx + 8], ecx
mov ecx, dword [0x102a1d4c]
add ecx, 0x1510
mov dword [0x102a1d4c], ecx
mov dword [edx + 0xc], 0x20a0
mov ecx, dword [0x102a1d50]
add ecx, 0xfffff7d7
mov dword [0x102a1d50], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10157182
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x4207
mov dword [0x102a1d54], 0
mov dword [0x102a1d58], 0
mov dword [0x102a1d64], 0
mov dword [0x102a1d50], 0x222c
mov dword [0x102a1d4c], 0x4207
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10157326
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0xfffff351
mov dword [0x102a1d4c], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102a1d54], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102a1d58], edx
mov dword [0x102a1d4c], 0x1bda
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102a1d5c], cl
mov dword [0x102a1d4c], 0x297
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102a1d4c], 0x2f0
mov cl, byte [0x102a1d5c]
mov edx, dword [0x102a1d58]
mov byte [edi + edx], cl
mov edx, dword [0x102a1d54]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102a1d58]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102a1d50], 0xffffe4ab
and ebx, 0xff
mov dword [0x102a1d64], ebx
mov dword [0x102a1d4c], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x102a1d69], ch
mov byte [0x102a1d6a], cl
xor ch, cl
mov byte [0x102a1d68], ch
mov dword [0x102a1d50], 0xffffef26
mov dword [0x102a1d4c], 0x15f1
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10157326
mov eax, dword [0x102a1d4c]
mov ecx, dword [0x102a1d54]
mov edx, dword [0x102a1d58]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x101571f7
mov dword [0x102a1d50], 0x23ec
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10157338
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10156caa
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
mov dword [0x102a1d50], 0x1082
add ecx, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
lea eax, [0x101566b3]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0x116e00
mov edx, dword [0x102a1d38]
mov dword [esp + 0x58], edx
mov edx, dword [0x102a1d3c]
mov dword [esp + 0x70], edx
mov edx, dword [0x102a1d40]
mov dword [esp + 0x8c], edx
mov edx, dword [0x102a1d44]
mov dword [esp + 0x6c], edx
mov edx, dword [0x102a1d48]
mov dword [esp + 0x38], edx
mov dword [0x102a1d4c], 0xffffe113
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x101573f2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x10157406
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x101573cf
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov dword [0x102a1d4c], 0x1516
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x80], edx
mov dword [0x102a1d50], 0x3a6
call fcn.10155ca7
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x1015747f
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10156239
mov dword [0x102a1d50], 0x2491
mov dword [esp + 8], eax
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 8]
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4b00c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5b000]
push edi
or ebp, 0xffffffff
jmp 0x4b00e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b00e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b00d8
mov eax, 1
add ebx, ebx
jne 0x4b00fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b010c
jne 0x4b012b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b012b
dec eax
add ebx, ebx
jne 0x4b0118
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b00f0
add ebx, ebx
jne 0x4b0127
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b017d
xor ecx, ecx
sub eax, 3
jb 0x4b0143
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b01b2
sar eax, 1
mov ebp, eax
jmp 0x4b014e
add ebx, ebx
jne 0x4b014e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b011c
inc ecx
add ebx, ebx
jne 0x4b015c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b011c
add ebx, ebx
jne 0x4b0169
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b015e
jne 0x4b017a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b015e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b019c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b018e
jmp 0x4b00de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b019c
add edi, ecx
jmp 0x4b00de
pop esi
mov edi, esi
mov ecx, 0x743
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b01ba
cmp byte [edi], 1
jne 0x4b01ba
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 0x4b01bf
lea edi, [esi + 0xaa000]
mov eax, dword [edi]
or eax, eax
je 0x4b022e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdd490]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdd558]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b01ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdd55c]
or eax, eax
je 0x4b0228
mov dword [ebx], eax
add ebx, 4
jmp 0x4b0209
call dword [esi + 0xdd56c]
mov ebp, dword [esi + 0xdd560]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4b0262
sub esp, 0xffffff80
jmp 0x40bbf4
Function at 0x100064b0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x100064cb
bts eax, 7
shr ecx, 1
test cl, 1
je 0x100064d6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x100064e1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x100064ec
bts eax, 4
shr ecx, 1
test cl, 1
je 0x100064f7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10006502
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000650d
bts eax, 1
test cl, 2
je 0x10006516
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x100065b2
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x100065a3
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x100064c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100065e0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10138040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1012a074
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp - 8], 0
call fcn.100dfac1
add esp, 0xc
test eax, eax
je 0x10006630
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087e2f
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100dfb08
add esp, 4
mov ebx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
test ebx, ebx
jne 0x10006666
call fcn.100dfd4f
add esp, 4
xor al, al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087e2f
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100dff58
add esp, 0x10
test eax, eax
je 0x100066bb
push esi
nop dword [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 0xc]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10006682
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push 0x400
push 1
push ebx
call fcn.100dff58
add esp, 0x10
test eax, eax
jne 0x10006680
pop esi
push ebx
call fcn.100e0093
push dword [ebp - 8]
call fcn.100dfd4f
mov ecx, dword [ebp - 4]
add esp, 8
not dword [edi]
xor ecx, ebp
mov al, 1
pop ebx
pop edi
call fcn.10087e2f
mov esp, ebp
pop ebp
ret 0xc