joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406937
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x424e96
call fcn.0040893d
mov edi, ecx
mov dword [ebp - 0x30], edi
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x406a63
cmp byte [edi + 0x3d], bl
je 0x406a63
mov eax, dword [edi]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x426278]
mov ecx, edi
call esi
cmp eax, 0xffffffff
jne 0x40697b
xor al, al
jmp 0x406a65
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00404a60
lea eax, [edi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
cmp ecx, 0x10
jb 0x4069b0
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4069ba
mov edx, eax
mov edi, dword [edi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
mov esi, dword [edi]
push eax
push edx
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x20]
call dword [0x426278]
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x4069ea
sub eax, 1
jne 0x406a48
mov edi, dword [ebp - 0x30]
jmp 0x4069f0
mov edi, dword [ebp - 0x30]
mov byte [edi + 0x3d], bl
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x406a00
mov edx, eax
mov esi, dword [ebp - 0x38]
sub esi, edx
je 0x406a2a
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x406a11
mov edx, eax
push dword [edi + 0x4c]
push esi
push 1
push edx
call fcn.004111d0
add esp, 0x10
cmp esi, eax
jne 0x406a53
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
cmp byte [edi + 0x3d], 0
je 0x406a51
test esi, esi
jne 0x4069a2
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.00404a00
jmp 0x40699c
dec eax
sub eax, 1
jne 0x406a57
inc eax
jmp 0x406a55
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.004030a0
mov al, bl
jmp 0x406a65
mov al, 1
call fcn.004088f8
ret
Function at 0x406e1c
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x424eeb
call fcn.0040893d
mov esi, ecx
mov dword [ebp - 0x30], esi
or ebx, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x406e3c
xor eax, eax
jmp 0x406fb5
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x406e6a
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x406e6a
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x406fb5
cmp dword [esi + 0x4c], 0
je 0x406fb3
mov ecx, esi
call fcn.00406c57
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x406ea3
push dword [esi + 0x4c]
movsx eax, al
push eax
call fcn.00410ba8
pop ecx
cmp eax, ebx
mov eax, dword [ebp + 8]
pop ecx
jne 0x406fb5
jmp 0x406fb3
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x29], al
mov dword [ebp - 0x14], 0xf
call fcn.00404a60
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x34], edi
cmp ecx, 0x10
jb 0x406edc
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x406ee6
mov edx, eax
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov esi, dword [edi]
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x29]
push eax
push dword [ebp - 0x38]
call dword [0x426278]
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x406fab
cmp eax, 1
jg 0x406f8d
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x406f31
mov edx, eax
mov edi, dword [ebp - 0x3c]
sub edi, edx
je 0x406f60
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x406f42
mov edx, eax
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push edx
call fcn.004111d0
add esp, 0x10
cmp edi, eax
jne 0x406fab
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
jmp 0x406f63
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x29]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], edx
jne 0x406fa8
test edi, edi
jne 0x406ece
cmp dword [ebp - 0x18], 0x20
jae 0x406fab
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.00404a00
jmp 0x406ec8
cmp eax, 3
jne 0x406fab
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
movsx eax, byte [ebp - 0x29]
push eax
call fcn.00410ba8
pop ecx
pop ecx
cmp eax, ebx
je 0x406fab
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.004030a0
mov eax, ebx
call fcn.004088f8
ret 4

Function at 0x419541
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004193be
Function at 0x403560
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x649008], 0x8088405
inc edx
mov dword [ebx + 0x649008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40d23c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40d2e5
test eax, edx
je 0x40d2e8
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40d265
push edx
mov edx, eax
mov eax, esp
call fcn.0040697c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40d27b
push eax
lea eax, [esp + 8]
call fcn.0040697c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40d28a
movzx eax, word [eax]
sub eax, ecx
jmp 0x40d2b1
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40d2cb
add ecx, 4
js 0x40d2a2
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40d2c8
push eax
mov eax, ecx
mov edx, 2
call fcn.0040571c
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40d2af
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40d2b1
xor eax, eax
ret
test eax, eax
je 0x40d2f8
test edx, edx
jne 0x40d24c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4153f3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405aa8
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.00409bdc
mov edi, eax
cmp edi, 0x104
jbe 0x415416
mov eax, edi
add eax, eax
call fcn.00403104
mov esi, eax
jmp 0x415418
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.00409bdc
push edi
push esi
call fcn.0040a044
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x415451
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41543b
mov eax, esp
cmp esi, eax
je 0x41545e
mov eax, esi
call fcn.00403120
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x415498
cmp bl, 0
je 0x415494
cmp bl, 0x41
jl 0x41548f
cmp bl, 0x5a
jg 0x41548f
or bl, 0x20
xor al, bl
inc esi
jmp 0x415473
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4153d8

Function at 0x4373f8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4373fe
ret
Function at 0x4bfab0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x65b374
test esi, esi
jne 0x4bfaca
xor eax, eax
jmp 0x4bfbbb
cmp dword [ebp], 0
jne 0x4bfad5
call fcn.004bfa40
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4bfb95
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4bfae1
test edi, edi
jbe 0x4bfbb6
movzx eax, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4bfb99
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f811c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov ebx, eax
mov eax, dword [ebx + 0x5c]
mov esi, dword [eax + 0x38]
call fcn.0051ac60
lea edx, [esp + 4]
mov eax, dword [ebx + 0x5c]
call fcn.0051ad70
cmp byte [esp + 0x24], 0
jne 0x4f815d
cmp dword [esp + 0x10], 0xff00ff
jne 0x4f815d
mov eax, dword [ebx + 0x5c]
mov byte [eax + 0x1c], 1
mov byte [esp], 0
jmp 0x4f8216
mov byte [esp], 1
mov edi, dword [ebx + 0x5c]
cmp byte [edi + 9], 0
je 0x4f81a2
mov ebp, dword [ebx + 0x78]
mov eax, dword [ebp + 0x4c]
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, dword [ebp + 0x48]
xor edx, edx
xor eax, eax
call fcn.004095c8
lea eax, [esp + 0x38]
push eax
mov eax, dword [edi + 0x40]
call fcn.0043efec
call fcn.00439e30
mov edx, dword [ebx + 0x78]
mov ecx, dword [edx + 0x6c]
pop edx
call fcn.00523068
jmp 0x4f81ec
push 0
mov eax, dword [esi + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, dword [esi + 0x48]
xor edx, edx
xor eax, eax
call fcn.004095c8
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
call fcn.004095f8
lea eax, [esp + 0x50]
push eax
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x40]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x20]
xor ecx, ecx
mov eax, edi
call fcn.00521864
lea edx, [esp + 0x28]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x40]
call fcn.0043efec
mov ecx, eax
lea edx, [esp + 0x28]
mov eax, ebx
call fcn.004f8224
mov eax, dword [ebx + 0x5c]
mov byte [eax + 0x35], 0
movzx eax, byte [esp]
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x533528
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a449c]
call fcn.004a7768
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0xffffff9e
push 0xffffffffffffffec
mov eax, dword [ebp - 8]
call fcn.00496f10
push eax
call fcn.0040a348
or eax, 0x80
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 8]
call fcn.00496f10
push eax
call fcn.0040a5d8
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004a8798
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004a9670
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0040a368
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00570fe4
push eax
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00570ff8
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.005280f0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call fcn.0040a340
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x53366d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0043efec
call fcn.00439e30
push eax
call fcn.00409d2c
push 0x1fffffff
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004095c8
lea edx, [ebp - 0x30]
mov cl, 0xff
mov eax, dword [ebp - 0x10]
call fcn.0050a1d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533674
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0040a508
ret
Function at 0x569ab8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x65b514
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x569ada
shr eax, 1
xor eax, 0xedb88320
jmp 0x569adc
shr eax, 1
dec edx
jne 0x569ac8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x569ac1
mov byte [0x65b914], 1
pop esi
pop ebx
ret

Function at 0x569af8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x65b914], 0
jne 0x569b0f
call fcn.00569ab8
mov eax, edi
dec eax
test eax, eax
jl 0x569b37
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x65b514]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x569b19
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x56c554
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x56c5ee.0
jmp dword [ecx*4 + 0x56c587]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x56c5b9
sub dl, 8
je 0x56c5c8
jmp case.0x56c5ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c1fc
jmp case.0x56c5ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c254
jmp case.0x56c5ee.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x56c5ee.0
movzx ecx, byte [ecx + 0x56c5f5]
jmp dword [ecx*4 + 0x56c606]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c300
jmp case.0x56c5ee.0
cmp dl, 3
jne 0x56c633
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c358
jmp case.0x56c5ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c314
jmp case.0x56c5ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c39c
jmp case.0x56c5ee.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x56c65e
sub dl, 8
je 0x56c66a
jmp case.0x56c5ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c3c8
jmp case.0x56c5ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c434
jmp case.0x56c5ee.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x56c689
sub dl, 8
je 0x56c695
jmp case.0x56c5ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c4f0
jmp case.0x56c5ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56c518
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x56c737
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0056b700
test eax, eax
je 0x56c737
mov eax, ebx
call fcn.0056c740
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x56c6d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x56c740
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x56c771
dec al
je 0x56c7ac
dec al
je 0x56c7f1
dec al
je 0x56c85a
jmp 0x56c8e4
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x56c8e4
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x56c781
jmp 0x56c8e4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56c8e4
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x56c7bc
jmp 0x56c8e4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56c8e4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x56c820
xor ebp, ebp
jmp 0x56c830
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x56c839
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x56c801
jmp 0x56c8e4
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56c8e4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x56c8b3
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00569b40
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x56c86e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5b758c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5b75ba
mov eax, ebx
call fcn.005b8040
cmp dword [ebx + 0x40], 0
je 0x5b75b3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5b762b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5b761d
cmp dword [ebx + 8], 0
je 0x5b75dc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5b75ee
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5b761d
cmp dword [ebx + 8], 0
je 0x5b75cf
cmp eax, 3
je 0x5b7601
dec eax
jne 0x5b75cf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5b75cf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5b75cf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5b7649
cmp dword [ebx + 0x14], 0xcc
je 0x5b7649
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005b7654
pop ebx
ret
Function at 0x5e4198
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403944
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x61608c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x6160e6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00616080
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0061354c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.006130b0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6160ed
lea eax, [ebp - 4]
call fcn.00406740
ret
Function at 0x66d03f
Capabilities:
Hash data using murmur3

Disassembly:
xchg dword [esp], ecx
pop ecx
cmp eax, 0x83
jne 0x8417e7
jmp 0x67a39d
cdq
mov ebp, dword [eax]
jmp 0x675d37
je 0x675d3e
jmp 0x671d09
jmp 0x67bd3e
jg 0x679ab4
pop eax
test edi, 4
je 0x83c6cd
jmp 0x684768
or edx, edx
jne 0x85ed0d
jmp 0x67584a
jmp 0x67415e
je 0x682405
jmp 0x84db67
push eax
lea eax, [0x682494]
push eax
push eax
mov edx, eax
jmp 0x8545dc
jne 0x82ab53
jmp 0x593bf2
mov esi, dword [ebp - 0x20]
jmp 0x83c6cd
add edx, 0xe859504e
call fcn.008530e7
add edi, 0xf21d8446
xchg dword [esp], edi
jmp 0x839e0c
jmp 0x82b601
push 0xb84f96ea
pop edx
add edx, 0xd9a1502
rol edx, 2
jb 0x8374ea
jmp 0x6795a4
add esp, 0xc
xor edx, edx
push edi
pop eax
push edx
jmp 0x83b944
call fcn.00830eef
xchg edx, eax
call fcn.00665f9f
ret

Function at 0x84a23b
Capabilities:
Hash data using murmur3

Disassembly:
mov eax, dword [ebp - 4]
cmp byte [eax], 0
call fcn.008473a3
jmp 0x85d134
cmp dword [ebp - 8], 0
jne 0x83bd0a
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x83bd0a
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jmp 0x66a8d9
jmp 0x67f501
jno 0x67f50f
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x668d6c
jmp 0x834601
call fcn.008401fb
mov byte [ebp - 0xa], al
jmp 0x83a218
mov dword [esp], edx
pop edx
mov ebp, esp
jo 0x8313c3
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
jmp 0x86349c
jmp 0x8313ae

Function at 0x85923c
Capabilities:
Hash data using murmur3

Disassembly:
jmp 0x8456ca
ret
push ebp
mov ebp, esp
push 0x84715f
jmp 0x837522
jo 0x84ec9b
push ebp
mov ebp, esp
push 0x24acfc14
mov dword [esp], ecx
jmp loc.0068350c

Function at 0x85f24c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
jmp 0x82fc13
push ebx
push ecx
jmp 0x8548d3