joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b720
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 0x47b77a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047b710
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046ad9c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046a99c
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 0x47b781
lea eax, [ebp - 4]
call fcn.00404150
ret

Function at 0x482bcc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x482bfa
mov eax, ebx
call fcn.00483680
cmp dword [ebx + 0x40], 0
je 0x482bf3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x482c6b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x482c5d
cmp dword [ebx + 8], 0
je 0x482c1c
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 0x482c2e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x482c5d
cmp dword [ebx + 8], 0
je 0x482c0f
cmp eax, 3
je 0x482c41
dec eax
jne 0x482c0f
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 0x482c0f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x482c0f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x482c89
cmp dword [ebx + 0x14], 0xcc
je 0x482c89
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.00482c94
pop ebx
ret
Function at 0x493600
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415188]
call fcn.00404adc
xor eax, eax
push ebp
push 0x493744
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4dbe94], 0
jne 0x493653
mov ecx, dword [0x4dc998]
mov dl, 1
mov eax, dword [0x40761c]
call fcn.0040c11c
call fcn.00403b08
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d68
mov eax, ebx
call fcn.0040498c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x493754
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405b74
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040499c
test eax, eax
jle 0x4936eb
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4936e4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004043d8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004043c0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004084c8
test eax, eax
jne 0x4936e4
mov ebx, 0x15
jmp 0x4936f0
mov ebx, 0x10
jmp 0x4936f0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4dbe94]
call fcn.00493558
mov eax, dword [ebp - 8]
call fcn.00493558
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405b8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49374b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404174
lea eax, [ebp - 0x10]
mov edx, dword [0x415188]
call fcn.00404bac
ret
Function at 0x49e1b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404600
mov eax, dword [ebp - 8]
call fcn.00404600
xor eax, eax
push ebp
push 0x49e3cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47be24]
call fcn.0047c30c
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.0047d6c8
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x111]
or al, byte [0x49e3e0]
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x111], al
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x104], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x110], 1
mov eax, dword [ebp - 0x10]
call fcn.0047de34
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
call fcn.0047de34
add eax, 0x5c
mov edx, 0x49e3ec
call fcn.004041a4
mov eax, dword [ebp - 0x10]
call fcn.0047de34
add eax, 0x58
mov edx, 0x49e3fc
call fcn.004041a4
mov eax, dword [ebp - 0x10]
call fcn.0047de34
add eax, 0xc
mov edx, 0x49e414
call fcn.004041a4
mov eax, dword [ebp - 0x10]
call fcn.0047de34
add eax, 4
mov edx, 0x49e428
call fcn.004041a4
mov eax, dword [ebp - 0x10]
call fcn.0047de34
add eax, 0x70
mov edx, 0x49e43c
call fcn.004041a4
mov eax, dword [ebp - 0x10]
call fcn.0047de34
add eax, 0x50
mov edx, 0x49e478
call fcn.004041a4
mov eax, dword [ebp - 0x10]
call fcn.0047de34
add eax, 0x78
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049e0d4
mov edx, dword [ebp - 0x18]
pop eax
call fcn.004041a4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4deff0]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], 0x49dd98
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4deff0]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x49deec
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4deff0]
mov dword [eax + 0x44], edx
mov dword [eax + 0x40], 0x49dda0
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4deff0]
mov dword [eax + 0x4c], edx
mov dword [eax + 0x48], 0x49e05c
mov eax, dword [ebp - 8]
call fcn.00408cdc
test al, al
je 0x49e351
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x416490]
call fcn.0041af34
mov dword [ebp - 0x14], eax
jmp 0x49e368
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x416490]
call fcn.0041af34
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x49e392
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0047c434
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e39c
lea eax, [ebp - 0x14]
call fcn.0040dbbc
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e3d6
lea eax, [ebp - 0x18]
call fcn.00404150
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404174
ret
Function at 0x649fb5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [ebp], eax
mov byte [esp], 0x79
mov byte [esp], 0x8b
mov byte [esp + 4], cl
push edi
lea esp, [esp + 0x18]
jmp 0x649e22

Function at 0x64aab8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [ebp], eax
pushal
mov byte [esp], ch
lea esp, [esp + 0x2c]
jmp 0x649e22

Function at 0x64aace
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea ebp, [ebp + ecx*4]
pushfd
pushfd
push 0x22a48bde
mov dword [ebp], eax
mov byte [esp], ah
mov word [esp], 0x3954
mov byte [esp + 0xc], 0x78
mov dword [esp + 4], ebx
lea esp, [esp + 0x50]
jmp 0x649e22
Function at 0x4029f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x402a54
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 0x402a3d
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x402a2c
xor ecx, eax
xor edx, ebx
dec edi
jne 0x402a1d
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
Function at 0x40d154
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 0x40d229
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x40d229
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x40d229
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 0x40d1af
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 0x40d229
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40d1f4
test dl, dl
je 0x40d1f0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40d1f4
add ecx, 2
add eax, 2
test dl, dl
jne 0x40d1d4
xor eax, eax
jmp 0x40d1f9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40d20b
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x40d216
inc esi
cmp esi, ebp
jae 0x40d229
mov edx, dword [esp + 0x10]
jmp 0x40d1ca
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 0x40d48d
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x40d498
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x40d4ac
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x40d4b0
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x40d4e9
cmp dword [edi + ecx], 0x4550
jne 0x40d4e9
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x40d4e9
test byte [edi + ecx + 0x16], 2
je 0x40d4e9
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x40d4ee
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 0x40d52a
xor eax, eax
jmp 0x40d50d
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x40d533
inc edx
movzx eax, dx
cmp eax, edi
jl 0x40d50d
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x40d539
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 0x40d571
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x40d57f
add edx, 0x20
cmp eax, edx
jne 0x40d590
test bx, bx
je 0x40d5c5
add esi, 2
add edi, 2
jmp 0x40d561
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x40d59e
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x40d5ac
add edx, 0x20
sub ecx, edx
je 0x40d5c5
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x40d55a
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 0x40d5de
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 0x40d6b7
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x40d6b7
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x40d6b7
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 0x40d63d
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 0x40d6b7
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40d682
test dl, dl
je 0x40d67e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40d682
add ecx, 2
add eax, 2
test dl, dl
jne 0x40d662
xor eax, eax
jmp 0x40d687
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40d699
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x40d6a4
inc esi
cmp esi, ebp
jae 0x40d6b7
mov edx, dword [esp + 0x10]
jmp 0x40d658
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 0x40d6d3
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 0x40d7fb
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], str.41:
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.0040d935
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0040d807
mov ebp, eax
test ebp, ebp
je 0x40d7fb
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0040d807
mov edi, eax
test edi, edi
je 0x40d7fb
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.0040d807
mov ebx, eax
test ebx, ebx
je 0x40d7fb
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x40d7d7
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x40d7d7
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.0040d8e8
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 0x40d807
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 0x40d8dc
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x40d8dc
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x40d8dc
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 0x40d862
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 0x40d8dc
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40d8a7
test dl, dl
je 0x40d8a3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40d8a7
add ecx, 2
add eax, 2
test dl, dl
jne 0x40d887
xor eax, eax
jmp 0x40d8ac
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40d8be
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x40d8c9
inc esi
cmp esi, ebp
jae 0x40d8dc
mov edx, dword [esp + 0x10]
jmp 0x40d87d
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 0x40d935
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 0x40d96d
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x40d97b
add edx, 0x20
cmp eax, edx
jne 0x40d98c
test bx, bx
je 0x40d9c1
add esi, 2
add edi, 2
jmp 0x40d95d
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x40d99a
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x40d9a8
add edx, 0x20
sub ecx, edx
je 0x40d9c1
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x40d956
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 0x414301
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, ioctlsocket
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, cl
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
imul esi, esi, 0x666
mov dword [ebp - 4], esi
nop
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
mov eax, dword [ebp - 4]
jmp 0x41439e
mov esp, ebp
pop ebp
ret
Function at 0x4164c4
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x416711
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x41660e
cmp byte [edx + edi], 0xd
jne 0x41660e
cmp byte [edx + edi + 1], 0xa
je 0x416647
mov al, byte [edx + edi]
cmp al, 0xa
je 0x416647
cmp al, 0x3d
jne 0x416623
inc ecx
cmp ecx, 2
ja 0x41671f
cmp al, 0x7f
ja 0x41671f
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x41671f
cmp al, 0x40
jae 0x416646
test ecx, ecx
jne 0x41671f
inc esi
inc edx
cmp edx, ebx
jb 0x4165f8
test esi, esi
je 0x416711
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x416730
cmp dword [ecx], eax
jb 0x416730
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x416700
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x4166fc
cmp al, 0xa
je 0x4166fc
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x4166fc
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x4166e7
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x4166f4
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x4166fc
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x416698
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x42237e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4223b6
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4223a4
mov al, 1
jmp 0x422415
cmp dword [ebx + 0x54], ecx
jne 0x4223ad
mov al, 2
jmp 0x422415
cmp dword [ebx + 0x7c], ecx
jne 0x422415
mov al, 3
jmp 0x422415
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4223cb
mov al, 4
jmp 0x422415
cmp ecx, 5
jne 0x4223eb
cmp ebx, 0
jne 0x4223d9
mov al, 5
jmp 0x422415
cmp ebx, 1
jne 0x4223e2
mov al, 6
jmp 0x422415
cmp ebx, 2
jne 0x4223eb
mov al, 7
jmp 0x422415
cmp ecx, 6
jne 0x422413
cmp ebx, 0
jne 0x4223f9
mov al, 8
jmp 0x422415
cmp ebx, 1
jne 0x422400
mov al, 9
cmp ebx, 2
jne 0x422407
mov al, 0xa
cmp ebx, 3
jne 0x42240e
mov al, 0xb
cmp ebx, 4
jne 0x422415
mov al, 0xc
pop ebx
leave
ret

Function at 0x427a4d
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jmp 0x427a76
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x33
call 0x427a87
add dword [esp], 5
retf
Function at 0x42deac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x42decf
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x42decf
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x42ded9
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x42df1b
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x42df7d
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x42df78
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x42df63
test dl, dl
je 0x42df5f
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x42df63
add ecx, 2
add eax, 2
test dl, dl
jne 0x42df43
xor eax, eax
jmp 0x42df68
sbb eax, eax
or eax, 1
test eax, eax
je 0x42df89
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x42df30
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8