joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51434c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5b9850]
jne 0x514356
repz ret
jmp fcn.005145fd

Function at 0x514f13
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x5b9830], 0
mov byte [0x5b9834], 0
mov dword [0x5b9824], 0x19f5
mov dword [0x5b982c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x514f73
mov eax, dword [0x5b9824]
mov ecx, dword [0x5b9828]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x514fd6
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x5b9824]
add eax, 0x1e60
mov dword [0x5b9828], eax
mov esi, dword [0x5b982c]
add esi, 1
mov dword [0x5b982c], esi
cmp esi, 0x100
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], esi
jl 0x514f73
mov dword [0x5b9824], 0x1a82
mov eax, 0x1a82
xor ecx, ecx
mov dword [0x5b982c], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov dword [0x5b9838], 0
add eax, 0xffffe1b1
mov dword [0x5b9828], eax
mov eax, dword [0x5b9830]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x34], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x5b9838], ebx
mov eax, ebx
cdq
idiv esi
mov dword [0x5b9830], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x5b9834], bl
mov esi, dword [ebp - 0x34]
add esi, 0xffffe791
mov dword [0x5b9828], esi
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x5b9834]
mov ecx, dword [0x5b9830]
mov byte [esi + ecx], bl
mov ecx, dword [0x5b982c]
add ecx, 1
mov dword [0x5b982c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x20], ecx
jl 0x514f5a
mov dword [0x5b9828], 0x2635
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x51509f
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]
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [0x5b9824], 0x2249
mov dword [0x5b9828], 0x1ad5
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0x11c
mov ebx, esi
add ebx, edi
add ebx, 0x68
mov edi, dword [ebx]
imul ebx, eax, 0x11c
add esi, ebx
add esi, 0x50
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x3dc
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
jne 0x5150d8
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x573dde]
mov dl, byte [eax + 0x573daf]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x515139
lea eax, [ebp - 0x12c]
mov dword [0x5b9824], 0x179a
mov dword [ebp - 0x144], eax
call fcn.0051603c
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.00514c1f
mov ecx, eax
mov dword [0x5b9844], 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, 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, 0x11c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x11c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x11c
add edx, ebx
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.00515c62
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x3dc
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x5151d6
lea eax, [0x573dbd]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x3f652
mov edi, dword [ebp - 0x148]
add edi, 0x1ab84
mov dword [0x5b9824], 0x1695
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.00514f13
mov dword [0x5b9828], 0x1967
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.005155d0
xor eax, eax
mov dword [0x5b9828], 0x15ce
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x16c]
mov dword [ecx], edx
mov dword [ecx + 4], 0x117c00
mov edx, dword [ebp - 0x160]
mov dword [ecx + 8], edx
mov dword [0x5b9824], 0xe3a
mov dword [ecx + 0xc], 0x2010
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x515386
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x5b9824], 0x15d2
mov dword [0x5b9828], 0x1167
mov dword [ebp - 0x10], eax
call fcn.00514a95
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x5153d6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x5b9828], 0xfffffc1e
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x5b9824], 0x901
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x5154fd
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x5b9828], 0x1167
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x5154a5
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x515454
mov al, byte [ebp - 0x52]
test al, 1
jne 0x5154d8
jmp 0x5154ae
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jb 0x515430
jmp 0x5154fd
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x5b9828], 0x1d20
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5155d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x5b982c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, 0x2448
mov dword [0x5b9830], 0
mov dword [0x5b983c], 0
mov dword [0x5b9824], 0x2448
mov edx, dword [ebp - 0x10]
cmp edx, 0
mov esi, eax
mov edi, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x51576b
jmp 0x515661
mov eax, dword [0x5b982c]
mov ecx, dword [0x5b9824]
mov edx, dword [0x5b9830]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov edi, 0x100
mov dword [0x5b9828], 0x264a
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x5b982c], edx
mov ecx, dword [ebp - 0x38]
add ecx, 0xffffffa9
mov dword [0x5b9824], ecx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x5b9830], edx
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x5b9834], cl
mov dword [0x5b9828], 0x20ef
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x5b9834]
mov edx, dword [0x5b9830]
mov byte [edi + edx], cl
mov edx, dword [0x5b9824]
mov ebx, edx
add ebx, 0xffffe99b
mov dword [0x5b9828], ebx
mov ebx, dword [0x5b982c]
movzx ebx, byte [edi + ebx]
mov ecx, dword [0x5b9830]
movzx ecx, byte [edi + ecx]
add ecx, ebx
and ecx, 0xff
mov dword [0x5b983c], ecx
mov dword [0x5b9828], 0x1562
mov cl, byte [edi + ecx]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
mov ch, byte [ebx + esi]
add edx, 0x5a6
mov dword [0x5b9828], edx
xor ch, cl
mov byte [0x5b9840], ch
mov dword [0x5b9824], 0x6a8
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x30], esi
jne 0x515641
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x515816
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [0x5b9824]
add edx, 0xffffef19
mov dword [0x5b9828], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.0051509f
lea ecx, [0x515ee9]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], 0x117c00
mov edx, dword [0x5b9810]
mov dword [esp + 0x74], edx
mov edx, dword [0x5b9814]
mov dword [esp + 0x8c], edx
mov edx, dword [0x5b9818]
mov dword [esp + 0x78], edx
mov edx, dword [0x5b981c]
mov dword [esp + 0x38], edx
mov edx, dword [0x5b9820]
mov dword [esp + 0x7c], edx
mov dword [0x5b9828], 0x717
mov dword [0x5b9824], 0x127a
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x5158e2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x5158f6
jmp 0x5158e2
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x5158b5
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov dword [0x5b9824], 0x25db
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
call fcn.0051596b
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x5158da
mov dword [0x5b9824], 0xf39
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
call fcn.00515d85
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x10], eax
jmp 0x5158da
Function at 0x51596b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x5b9824], 0xea1
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x5b9824], 0x12cc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x515a05
mov eax, 0x19cd
mov ecx, dword [ebp - 0x18]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jl 0x515a05
jmp 0x515a23
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x28], eax
je 0x515a6c
jmp 0x515ae7
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x28], eax
je 0x515a52
jmp 0x515ae7
mov eax, dword [ebp - 0x14]
mov ecx, 0x1bd2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
jne 0x5159ac
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [0x5b9828], ecx
mov dword [0x5b9824], 0x6b6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x5159ec
jmp 0x515ae7
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x28], eax
je 0x5159cf
jmp 0x515ae7
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x28], eax
jne 0x515ae7
mov dword [0x5b9824], 0xffffe770
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x2c]
cmp word [ecx], 0x6c
mov dword [ebp - 0x28], eax
jne 0x515ae7
mov dword [0x5b9824], 0x251c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x2e], dx
xor eax, eax
mov cx, word [ebp - 0x2e]
cmp cx, 0x6c
mov dword [ebp - 0x28], eax
jne 0x515ae7
mov eax, 1
mov dword [0x5b9828], 0x369d
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x2c
pop esi
pop ebp
ret
Function at 0x515d85
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x5b9824]
add esi, 0xffffe61c
mov dword [0x5b9828], esi
mov dword [0x5b9824], 0x1cc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x515dc3
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x573dde]
mov dl, byte [eax + 0x573daf]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x515dc3
lea eax, [ebp - 0x24]
mov dword [0x5b9824], 0x179a
mov dword [ebp - 0x34], eax
call fcn.0051603c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov ecx, dword [ebp - 0x34]
mov dword [esp + 4], ecx
call fcn.00514c1f
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x515dbb
mov eax, dword [ebp - 0x3c]
mov dword [0x5b9828], 0x12d8
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x5b9828]
add ecx, 0x206f
mov dword [0x5b9824], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.00514dbf
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x5b9824], 0x22f9
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x5b9828], 0x2203
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x28], ecx
mov esi, dword [0x5b9824]
add esi, 0xffffe791
mov dword [0x5b9824], esi
add ecx, 0x1ac7
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x515ee0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x772cd8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
shl dl, 7
and edx, 0xeda712b9
mov edx, dword [ebp + 8]
cmc
stc
sub esp, 0x114
cmp si, bx
test di, 0xb812
push esi
clc
test edx, edx
jmp 0x9432a9
ret
test esi, esi
jmp 0x8838f9
jmp 0x971953
push ebx
clc
push edi
cmp cl, 0xbd
jmp 0x9ce4db
ja 0x9a82de
mov eax, esi
stc
sub eax, dword [ecx + edx + 0x10]
jmp 0x80584b
mov eax, dword [edx + 0x3c]
lea eax, [eax + edx]
cmp ax, 0xc80a
cmp dword [eax], 0x4550
jne 0x903b01
mov ecx, dword [eax + 0x78]
test esp, eax
cmc
clc
mov dword [ebp - 4], ecx
stc
jmp 0x9374fa
je 0x903b01
mov eax, 0x5a4d
jmp 0x937eee
je 0x841ec0
xor eax, eax
mov esi, ebx
not esi
pop esi
mov esp, ebp
not bp
mov ebp, 0x4db52dae
pop ebp
jmp 0x775dab
test ecx, ecx
je 0x903b01
mov eax, dword [eax + 0x7c]
jmp 0x80585e
cmp word [edx], ax
jmp 0x903afb
je 0x903b01
mov esi, dword [ebp + 0xc]
jmp 0x7a0772
je 0x97195d
mov eax, dword [ecx + edx + 0x20]
jmp 0x798b25
mov dword [ebp - 8], 0xffffffff
test ebx, esp
cmc
test bp, 0x2334
cmp esi, 0xffff
jmp 0x8216d2
mov edi, dword [ecx + edx + 0x18]
test edi, edi
jmp 0x96f08e
mov dword [ebp - 0x10], eax
jmp 0x991bd9

Function at 0x884587
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
sub dword [esp], 0x181e680a
ror dl, 1
pop ecx
call fcn.00849f85
push 0x6fa3ef86
mov ebp, dword [ebp]
lea esp, [esp + 4]
jmp fcn.0091f0ef
mov word [edi], dx
jmp 0x7e7a50
lea esp, [esp + 8]
jmp fcn.0081aede
add edi, 2
push 0xcd06498c
jmp 0x7d56d8
rol word [esp + 2], 0xc2
add esi, 1
mov ecx, dword [esp]
lea ecx, [ecx + ecx*8 - 0x53fe276b]
ror ecx, 0x8d
xor dl, bl
sub cl, ch
inc dl
inc word [esp + 1]
jns 0x7706f9
mov eax, dword [ebp]
mov ecx, 0x198c1b06
and ecx, 0xc39d7035
mov cl, byte [ecx + ebp - 0x18c1000]
call fcn.008576eb
push ebp
mov ebp, esp
cmp si, 0x5b8b
stc
sub esp, 0x10c
push ebx
push esi
cmp di, 0x5a8
push edi
sub di, bp
sbb di, 0x2786
mov edi, eax
cmp dx, 0x431a
bsr ax, sp
bts ax, si
lea eax, [ebp - 0x10c]
sub edx, edx
sub edi, eax
jmp fcn.0084e257
call fcn.009d0058
push 0x7112f820
movzx edx, byte [esi]
ror byte [esp], 0x84
jae 0x884542
jmp 0x813203
Function at 0x401370
Capabilities:
Allocate or change rwx memory
Parse pe header

Disassembly:
mov ecx, dword [esp + 8]
push ebp
cmp ecx, 0x40
push esi
jb 0x4014f9
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
jne 0x4014f9
mov esi, dword [eax + 0x3c]
lea edx, [esi + 0xf8]
cmp ecx, edx
jl 0x4014f9
mov edx, dword [esi + eax]
add esi, eax
cmp edx, 0x4550
jne 0x4014f9
test byte [esi + 0x17], 0x20
jne 0x4014f9
cmp word [esi + 0x14], 0xe0
jne 0x4014f9
lea ebp, [esi + 0xf8]
push ebp
push esi
push ecx
push eax
call fcn.004012c0
mov ecx, dword [esp + 0x30]
add esp, 0x10
test eax, eax
mov dword [ecx], eax
je 0x4014f9
push ebx
push edi
push 0x40
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, dword [esp + 0x24]
test eax, eax
mov dword [ebx], eax
je 0x4014ef
mov edi, dword [esi + 0x54]
xor ecx, ecx
mov cx, word [esi + 6]
test ecx, ecx
jle 0x401428
lea esi, [ebp + 0x14]
mov edx, dword [esi]
test edx, edx
je 0x401422
cmp edx, edi
jae 0x401422
mov edi, edx
add esi, 0x28
dec ecx
jne 0x401416
mov edx, dword [esp + 0x14]
push edi
push edx
push eax
call fcn.00401b70
mov eax, dword [ebx]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [edi], eax
add eax, 0xf8
mov dword [ebp], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x54]
push edx
push eax
call fcn.004012a0
mov ecx, dword [ebx]
mov esi, eax
add esi, ecx
mov ecx, dword [edi]
xor ebx, ebx
add esp, 0x14
cmp word [ecx + 6], bx
mov dword [esp + 0x18], ebx
jbe 0x4014ef
mov edx, dword [ebp]
lea eax, [ebx + edx]
mov edx, dword [ebx + edx + 0xc]
test edx, edx
je 0x401489
mov esi, dword [esp + 0x24]
add edx, dword [esi]
mov esi, edx
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4014c5
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x14]
add eax, ecx
push edx
push eax
push esi
call fcn.00401b70
mov ecx, dword [ebp]
mov edx, dword [edi]
add esp, 0xc
lea eax, [ebx + ecx]
mov ecx, dword [ebx + ecx + 8]
mov eax, dword [eax + 0x10]
cmp ecx, eax
jae 0x4014be
mov ecx, dword [edx + 0x38]
push ecx
push eax
jmp 0x4014cd
mov eax, dword [edx + 0x38]
push eax
push ecx
jmp 0x4014cd
mov ecx, dword [ecx + 0x38]
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.004012a0
mov ecx, dword [edi]
add esi, eax
mov eax, dword [esp + 0x20]
xor edx, edx
mov dx, word [ecx + 6]
add esp, 8
inc eax
add ebx, 0x28
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x401473
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
ret
pop esi
xor eax, eax
pop ebp
ret
Function at 0x401690
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x74
push ebp
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
push edx
push eax
push eax
push 4
push eax
push eax
mov dword [esp + 0x34], eax
push eax
mov eax, dword [esp + 0xa0]
push eax
push 0
mov dword [esp + 0x60], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebp, eax
test ebp, ebp
je 0x401771
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
push ebx
mov dword [edi], ecx
mov ecx, dword [esp + 0x94]
push esi
mov esi, dword [esp + 0x8c]
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
push esi
mov dword [ecx], edx
mov dword [esi], 0x10007
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov edx, dword [esi + 0xa4]
mov ebx, dword [esp + 0x9c]
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push 4
add edx, 8
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [ebx]
mov edx, dword [edi]
lea ecx, [esp + 0x24]
push 0x1c
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov eax, dword [ebx]
sub esi, eax
mov eax, dword [esp + 0xa0]
mov dword [eax], esi
pop esi
pop ebx
mov eax, ebp
pop edi
pop ebp
add esp, 0x74
ret
mov eax, ebp
pop edi
pop ebp
add esp, 0x74
ret
Function at 0x4043b0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
lea eax, [ebp - 0x54]
mov dword [ebp - 8], 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], 0x101
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404400
sub eax, edx
xor ecx, ecx
sar eax, 1
mov edx, 2
push esi
push edi
lea esi, [eax + 0xa]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004179ba
push dword [ebp + 8]
mov edi, eax
push esi
push edi
call fcn.0041dea4
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edi
mov esi, eax
call fcn.004179c3
add esp, 4
test esi, esi
pop edi
pop esi
je 0x404484
push 0xea60
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
test eax, eax
je 0x40448a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret