joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4951f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 0x20
push edi
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esi + 0x78], 0
cmova eax, ecx
mov dword [esi + 0x7c], 0
mov dword [esi + 0x54], eax
xor ecx, ecx
mov eax, dword [esi]
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x58], 0
cmp eax, dword [esi + 0x20]
je 0x495309
lea ebx, [esi + 0xd0]
lea ebp, [ecx + 0x20]
mov edx, dword [ebx]
test edx, edx
je 0x4952e5
mov dword [ebx], 0
nop
mov eax, dword [ebx - 8]
mov edi, dword [edx]
mov eax, dword [eax + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov edx, edi
test edi, edi
jne 0x4952d0
add ebx, 0x28
sub ebp, 1
jne 0x4952c2
mov edx, dword [esi + 0x5c]
test edx, edx
je 0x495301
mov eax, dword [esi + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov dword [esi + 0x5c], ebp
mov eax, dword [esi]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
lea eax, [ecx + 5]
lea eax, [eax + eax*4]
mov dword [esi + 0x9c], 0
lea ebx, [esi + eax*8]
mov dword [esi + 0xa0], 0
lea eax, [ecx + 1]
mov dword [esi + 0xa4], 0
lea ecx, [ebx + 0x20]
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x58], eax
call fcn.0049a900
mov ebp, eax
test ebp, ebp
jne 0x4953f8
lea ecx, [ebx + 0x1c]
call fcn.0049a900
mov ebp, eax
test ebp, ebp
jne 0x4953f8
lea ecx, [ebx + 0x20]
call fcn.0049aa00
mov ebp, eax
test ebp, ebp
jne 0x4953f8
lea ecx, [ebx + 0x1c]
call fcn.0049aa00
mov ebp, eax
test ebp, ebp
jne 0x4953f8
push ebx
call fcn.00496800
mov ebp, eax
test ebp, ebp
je 0x49540a
mov dword [esi + 0x44], 0
lea edi, [esi + 0xe4]
mov dword [esp + 0x10], 0x20
nop
cmp dword [edi - 4], 0
je 0x4953dd
lea ecx, [edi + 4]
call fcn.0049aa00
mov ecx, edi
call fcn.0049aa00
lea ecx, [edi - 4]
call fcn.0049acb0
mov ecx, edi
call fcn.0049aa30
lea ecx, [edi + 4]
call fcn.0049aa30
add edi, 0x28
sub dword [esp + 0x10], 1
jne 0x4953c0
test ebp, ebp
jle 0x495403
movzx ebp, bp
or ebp, 0x80070000
test ebp, ebp
je 0x49540a
mov dword [esi + 0x40], ebp
cmp dword [esi + 0x38], 0
jne 0x495423
cmp dword [esi + 0x40], 0
jne 0x495423
cmp dword [esi + 0x3c], 0
jne 0x495423
mov dword [esi + 0x44], 0
xor eax, eax
cmp dword [esi + 0x44], eax
pop edi
cmovne ebp, eax
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x497280
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
mov eax, dword [edi]
movzx ecx, byte [ebx + 1]
add word [eax + 2], 4
add ecx, 4
movzx eax, byte [ebx - 5]
mov dword [esp + 8], ecx
mov byte [ebx + 1], cl
cmp ecx, eax
jbe 0x4972d3
cmp dword [esp + 8], 0x7c
lea ecx, [ebx - 6]
mov eax, dword [ecx]
mov edx, dword [ebx]
push esi
mov si, word [ebx + 4]
mov dword [ebx], eax
mov ax, word [ecx + 4]
mov dword [ecx], edx
mov word [ecx + 4], si
mov word [ebx + 4], ax
mov dword [edi + 8], ecx
pop esi
jbe 0x4972d3
mov ecx, edi
call fcn.00496e90
mov eax, dword [edi + 8]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
cmp dword [edi + 0xc], 0
jne 0x4972f7
cmp ecx, dword [edi + 0x40]
jbe 0x4972f7
mov dword [edi], ecx
mov dword [edi + 4], ecx
pop edi
pop ebx
pop ecx
ret
mov ecx, edi
pop edi
pop ebx
add esp, 4
jmp fcn.004973c0

Function at 0x497310
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [ebp]
movzx ebx, byte [edi + 1]
movzx edx, word [esi + 2]
lea ecx, [ebx + ebx]
cmp edx, ecx
sbb eax, eax
add ebx, 4
neg eax
add dword [ebp + 0x20], eax
mov dword [ebp + 0x14], eax
lea eax, [edx + 4]
mov word [esi + 2], ax
mov byte [edi + 1], bl
cmp ebx, 0x7c
jbe 0x49734c
mov ecx, ebp
call fcn.00496e90
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
cmp dword [ebp + 0xc], 0
jne 0x497372
cmp ecx, dword [ebp + 0x40]
jbe 0x497372
pop edi
pop esi
mov dword [ebp], ecx
mov dword [ebp + 4], ecx
pop ebp
pop ebx
ret
pop edi
pop esi
mov ecx, ebp
pop ebp
pop ebx
jmp fcn.004973c0

Function at 0x497380
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
mov eax, dword [edi + 0x24]
movzx edx, byte [esi + 1]
mov dword [edi + 0x20], eax
add edx, 4
mov eax, dword [edi]
add word [eax + 2], 4
mov byte [esi + 1], dl
cmp edx, 0x7c
jbe 0x4973a8
call fcn.00496e90
mov ecx, edi
pop edi
pop esi
jmp fcn.004973c0
Function at 0x498e20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x130
push 0
mov dword [esp + 0x18], edi
lea eax, [edi + 0x100]
push eax
call fcn.004a5da0
mov eax, dword [edi + 0x30]
add esp, 0xc
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x10100ff
mov dword [ecx + 8], 0
nop dword [eax + eax]
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x498ec0
xor ebp, ebp
lea edx, [edi + 0x1048]
mov dword [esp + 0x14], ebp
xor ebx, ebx
mov dword [esp + 0x18], edx
nop dword [eax]
lea ecx, [edi + 0x330]
add ecx, ebx
movzx eax, byte [ecx]
cmp eax, ebp
jne 0x498f0c
nop
movzx eax, byte [ecx + 1]
lea ecx, [ecx + 1]
inc ebx
cmp eax, ebp
je 0x498f00
lea ebp, [ebx + 1]
mov esi, edx
xor edi, edi
movzx eax, word [edi + 0x4c1550]
xor edx, edx
div ebp
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop word [eax + eax]
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x498f30
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x498f13
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc ebp
mov edi, dword [esp + 0x10]
sub edx, 0xffffff80
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
cmp ebp, 0x19
jb 0x498ef0
mov eax, dword [esp + 0x10]
xor edx, edx
lea edi, [edx + 3]
lea ebx, [eax + 0x448]
lea ebp, [edx + 0x18]
nop word [eax + eax]
lea ecx, [eax + 0x333]
movzx eax, byte [ecx + edx]
add ecx, edx
cmp eax, edi
jne 0x498f9c
movzx eax, byte [ecx + 1]
lea ecx, [ecx + 1]
inc edx
cmp eax, edi
je 0x498f90
mov esi, edx
mov eax, ebx
shl esi, 4
mov ecx, 0x20
add esi, 0x28
nop dword [eax + eax]
mov word [eax], si
lea eax, [eax + 4]
mov word [eax - 2], 0x703
sub ecx, 1
jne 0x498fb0
mov eax, dword [esp + 0x10]
inc edi
sub ebx, 0xffffff80
sub ebp, 1
jne 0x498f80
pop edi
pop esi
pop ebp
mov dword [eax + 0x444], 0x40070000
pop ebx
add esp, 0xc
ret

Function at 0x49ac10
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push 0
push dword [esp + 0x14]
push edx
push 0
push 0
call fcn.004a8cde
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x49ac39
xor eax, eax
pop ecx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
pop ecx
ret 4
Function at 0x49ac50
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
mov esi, ecx
push eax
push 4
push dword [esp + 0x18]
push edx
push 0
push 0
call fcn.004a8cde
mov edi, eax
add esp, 0x18
mov dword [esi], edi
test edi, edi
je 0x49ac94
push dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x49ac94
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
pop edi
cmovne ecx, eax
mov eax, ecx
pop esi
pop ecx
ret 8

Function at 0x49adb0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
sub edx, 1
je 0x49add8
sub edx, 3
je 0x49adc9
sub edx, 6
jne 0x49addf
add ecx, 0x10
jmp fcn.004a2bd0
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 0xc], 0xffffffff
ret
mov dword [ecx + 4], 0xffffffff
ret
Function at 0x4a2260
Capabilities:
Hash data using sha1

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov edi, dword [esi + 8]
and edi, 0x3f
mov byte [edi + esi + 0x40], 0x80
inc edi
cmp edi, 0x38
jbe 0x4a22ad
cmp edi, 0x40
je 0x4a2299
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edi
add ecx, edi
push eax
push 0
push ecx
call fcn.004a5da0
add esp, 0xc
mov eax, dword [esi]
lea ebp, [esi + 0x40]
lea ebx, [esi + 0x20]
mov edx, ebp
push 1
mov ecx, ebx
call eax
xor edi, edi
jmp 0x4a22b3
lea ebp, [esi + 0x40]
lea ebx, [esi + 0x20]
mov eax, 0x38
sub eax, edi
push eax
lea eax, [esi + 0x40]
add eax, edi
push 0
push eax
call fcn.004a5da0
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, ebp
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebx
push 1
call eax
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
bswap eax
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 0x24]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x28]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x2c]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x30]
bswap eax
mov dword [ecx + 0x10], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x24], 0xefcdab89
mov dword [esi + 0x28], 0x98badcfe
mov dword [esi + 0x2c], 0x10325476
mov dword [esi + 0x30], 0xc3d2e1f0
pop esi
pop ebp
mov dword [ebx], 0x67452301
pop ebx
pop ecx
ret

Function at 0x4a23c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [0x4d6344]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret

Function at 0x4a2400
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret
Function at 0x4a2ae0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, edx
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x4a2b2a
cmp edx, 0x40
je 0x4a2b16
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.004a5da0
add esp, 0xc
mov eax, dword [esi]
lea ebx, [esi + 0x40]
lea ebp, [esi + 0x20]
mov edx, ebx
push 1
mov ecx, ebp
call eax
xor edx, edx
jmp 0x4a2b30
lea ebx, [esi + 0x40]
lea ebp, [esi + 0x20]
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call fcn.004a5da0
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, ebx
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebp
push 1
call eax
mov edx, ebp
mov ebx, 4
mov ecx, dword [edx + 4]
lea edi, [edi + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [edi - 8], eax
bswap ecx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x4a2b70
pop edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
mov dword [ebp], 0x6a09e667
pop ebp
pop ebx
ret

Function at 0x4a2bd0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x4d6348]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x4a2c20
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x4ab290
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ab106
Function at 0x401714
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4017e9
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4017e9
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x4017e9
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x40176f
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x4017e9
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4017b4
test dl, dl
je 0x4017b0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4017b4
add ecx, 2
add eax, 2
test dl, dl
jne 0x401794
xor eax, eax
jmp 0x4017b9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4017cb
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x4017d6
inc esi
cmp esi, ebp
jae 0x4017e9
mov edx, dword [esp + 0x10]
jmp 0x40178a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x401a4d
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x401a58
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x401a6c
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x401a70
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x401aa9
cmp dword [edi + ecx], 0x4550
jne 0x401aa9
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x401aa9
test byte [edi + ecx + 0x16], 2
je 0x401aa9
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x401aae
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x401aea
xor eax, eax
jmp 0x401acd
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x401af3
inc edx
movzx eax, dx
cmp eax, edi
jl 0x401acd
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x401af9
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x401b31
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x401b3f
add edx, 0x20
cmp eax, edx
jne 0x401b50
test bx, bx
je 0x401b85
add esi, 2
add edi, 2
jmp 0x401b21
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x401b5e
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x401b6c
add edx, 0x20
sub ecx, edx
je 0x401b85
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x401b1a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x401b9e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x401c77
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x401c77
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x401c77
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x401bfd
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x401c77
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401c42
test dl, dl
je 0x401c3e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401c42
add ecx, 2
add eax, 2
test dl, dl
jne 0x401c22
xor eax, eax
jmp 0x401c47
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401c59
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x401c64
inc esi
cmp esi, ebp
jae 0x401c77
mov edx, dword [esp + 0x10]
jmp 0x401c18
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x401c93
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x401dbb
xor eax, eax
mov word [esp + 0x54], ax
mov byte [esp + 0x38], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x65006b
mov dword [esp + 0x44], 0x6e0072
mov dword [esp + 0x48], 0x6c0065
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov dword [esp + 0x2c], 0x4d746547
mov dword [esp + 0x30], 0x6c75646f
mov dword [esp + 0x34], 0x6e614865
mov dword [esp + 0x38], 0x41656c64
mov dword [esp + 0x14], 0x65657246
mov dword [esp + 0x18], 0x7262694c
mov dword [esp + 0x1c], 0x797261
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x466c6175
mov dword [esp + 0x28], 0x656572
call fcn.00401ef5
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00401dc7
mov ebp, eax
test ebp, ebp
je 0x401dbb
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00401dc7
mov edi, eax
test edi, edi
je 0x401dbb
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00401dc7
mov ebx, eax
test ebx, ebx
je 0x401dbb
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x401d97
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x401d97
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.00401ea8
add esp, 0xc
push 0x8000
push 0
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret 4

Function at 0x401dc7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x401e9c
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x401e9c
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x401e9c
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x401e22
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x401e9c
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401e67
test dl, dl
je 0x401e63
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401e67
add ecx, 2
add eax, 2
test dl, dl
jne 0x401e47
xor eax, eax
jmp 0x401e6c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401e7e
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x401e89
inc esi
cmp esi, ebp
jae 0x401e9c
mov edx, dword [esp + 0x10]
jmp 0x401e3d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x401ef5
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x401f2d
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x401f3b
add edx, 0x20
cmp eax, edx
jne 0x401f4c
test bx, bx
je 0x401f81
add esi, 2
add edi, 2
jmp 0x401f1d
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x401f5a
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x401f68
add edx, 0x20
sub ecx, edx
je 0x401f81
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x401f16
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4052fd
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x405334
mov esp, ebp
pop ebp
ret

Function at 0x40e2b7
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x80000005
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40e2d5
mov eax, 0x4eed11
push eax
push 1
mov ebx, 0x418660
call fcn.0041807f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40e2ff
mov eax, 0
jmp 0x40e373
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40e360
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40e349
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40e338
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40e329
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4