joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102185e2
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 [0x10225468], 0
mov byte [0x1022546c], 0
mov dword [0x1022545c], 0x1f87
mov dword [0x10225464], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1021872c
mov dword [0x1022545c], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10225470], 0
mov dword [0x1022545c], 0x17de
mov edx, dword [0x10225468]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10225470], edi
mov dword [0x10225460], 0x51e
mov dword [0x1022545c], 0xffffe312
mov eax, edi
cdq
idiv ecx
mov dword [0x10225468], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1022546c], cl
mov dword [0x1022545c], 0x1980
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x1022545c]
add ecx, 0x1ff7
mov dword [0x10225460], ecx
mov cl, byte [0x1022546c]
mov edx, dword [0x10225468]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1022545c], 0x5e6
mov edx, dword [0x10225460]
add edx, 0xfffffd1a
mov dword [0x10225460], edx
mov edx, dword [0x10225464]
add edx, 1
mov dword [0x10225464], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1021863e
jmp 0x1021862c
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10225464]
add eax, 1
mov dword [0x10225464], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1021872c
mov dword [0x1022545c], 0xd51
mov dword [0x10225464], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1021863e
Function at 0x1021877b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1022545c], 0xeb4
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]
xor edx, edx
lea esi, section..data
imul edi, ecx, 0x34
mov ebx, esi
add ebx, edi
add ebx, 0x1c
mov edi, ecx
add edi, 1
imul ecx, ecx, 0x34
add esi, ecx
add esi, 0x30
mov ecx, dword [esi]
movzx esi, word [ebx]
xor esi, ecx
add esi, eax
cmp edi, 0x2da
mov eax, esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x140], edx
jne 0x102187aa
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x1021b1a6]
mov dl, byte [eax + 0x1021b177]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x1021880f
lea eax, [ebp - 0x12c]
mov dword [0x1022545c], 0xf0b
mov dword [ebp - 0x144], eax
call fcn.102195c4
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.1021833d
mov ecx, eax
mov dword [0x1022547c], 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 [0x10225460]
add edx, 0xffffd942
mov dword [0x1022545c], 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, 0x34
mov edi, edx
add edi, esi
add edi, 0x1c
mov esi, eax
add esi, 1
imul ebx, eax, 0x34
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, ebx
add eax, 0x30
mov ebx, dword [ebp - 0x154]
imul ebx, ebx, 0x34
add edx, ebx
mov ebx, dword [ebp - 0x148]
add ebx, ecx
mov eax, dword [eax]
mov edx, dword [edx]
movzx edi, word [edi]
xor edi, eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edi
call fcn.10218b00
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
cmp edx, 0x2da
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
jne 0x102188be
lea eax, [0x1021b185]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10225460], 0xe6d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.102185e2
mov eax, dword [ebp - 0x164]
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.102190ed
xor eax, eax
mov dword [0x1022545c], 0x1e27
mov ecx, dword [ebp - 0x148]
add ecx, 0x4fcd3
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x116000
mov ecx, dword [ebp - 0x148]
add ecx, 0x207bc
mov dword [edx + 8], ecx
mov ecx, dword [0x1022545c]
add ecx, 0xffffe53e
mov dword [0x1022545c], ecx
mov dword [edx + 0xc], 0x2000
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10218b8c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [0x10225460], 0x26de
mov dword [ebp - 0x10], eax
call fcn.102181bf
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x10225460], 0xe73
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 0x10218bdc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1022545c], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10218d25
jmp 0x10218cc9
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], eax
jb 0x10218cad
jmp 0x10218d25
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
add eax, dword [ecx + edx*4]
mov dword [0x1022545c], 0x22a3
mov dword [ebp - 0x30], eax
jmp 0x10218d25
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], ch
mov eax, dword [ebp - 0x54]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x55]
and dl, cl
test dl, 1
mov dword [ebp - 0x5c], eax
jne 0x10218ce8
jmp 0x10218d15
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edx
jmp 0x10218ce8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x64], edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x64]
add ecx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x10218cad
mov eax, dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [ebp - 0x60]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
jne 0x10218c77
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x10218c43
jmp 0x10218c1a
mov eax, dword [ebp - 0x30]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10218d84
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1022545c], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10218dd2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10218e67
jmp 0x10218e89
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x10218e09
mov dword [0x1022545c], 0x9f6
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x10218dd2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x10218e89
mov dword [0x1022545c], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10218e89
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10218e89
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10218e89
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10218dba
jmp 0x10218e89
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x1e], dx
mov eax, 1
mov cx, word [ebp - 0x1e]
cmp cx, 0x6c
mov dword [ebp - 0x24], eax
je 0x10218e90
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10218e90
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x10218e98
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x10218fa3
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [0x1022545c], 0x1372
mov dword [ebp - 0x34], eax
call fcn.102195c4
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1021833d
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10218eb5
mov eax, dword [ebp - 0x38]
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 [0x1022545c]
add ecx, 0xffffdbc9
mov dword [0x1022545c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.102184e3
xor eax, eax
mov ecx, dword [0x1022545c]
add ecx, 0xffffe005
mov dword [0x10225460], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc], ecx
mov dword [0x1022545c], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x44], ecx
add ecx, 0x258a
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10218f9a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1021b1a6]
mov dh, byte [eax + 0x1021b177]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x10218ebd
jmp 0x10218fa3
Function at 0x102190ed
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 [0x10225464], 0
mov dword [0x10225468], 0
mov dword [0x10225474], 0
mov edi, dword [0x10225460]
add edi, 0xfffff338
mov dword [0x1022545c], edi
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, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jne 0x10219160
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [0x1022545c], 0x20d1
mov dword [0x10225460], 0x7e7
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10225464], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10225468], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1022546c], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1022546c]
mov edx, dword [0x10225468]
mov byte [ebx + edx], cl
mov dword [0x10225460], 0x2664
mov edx, dword [0x10225464]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10225468]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10225474], ecx
mov dword [0x1022545c], 0x1fb1
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov byte [0x10225479], ch
mov byte [0x1022547a], cl
xor ch, cl
mov byte [0x10225478], ch
mov dword [0x1022545c], 0x251f
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov dword [0x10225460], 0x13d3
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x10219158
mov eax, dword [0x10225464]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x10225468]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x10219160
Function at 0x102193b5
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
call fcn.10001066
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x102194f8
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1022545c], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.1021877b
lea ecx, [0x10218d30]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov dword [esp + 0x8c], 0x116000
mov edx, dword [0x10225448]
mov dword [esp + 0x40], edx
mov edx, dword [0x1022544c]
mov dword [esp + 0x68], edx
mov edx, dword [0x10225450]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10225454]
mov dword [esp + 0x84], edx
mov edx, dword [0x10225458]
mov dword [esp + 0x78], edx
mov dword [0x10225460], 0x4bf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x10219478
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x1021948c
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x10219455
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov dword [0x10225460], 0xe73
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x70], edx
call fcn.10218d84
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x102194f0
lea eax, [esp + 0x38]
mov dword [0x10225460], 0x341
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10218e98
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x4b93d1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c13f0
cmp edx, dword [eax]
je 0x4b93f3
add eax, 8
inc ecx
cmp eax, 0x4c1480
jl 0x4b93e4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c13f0]
jne 0x4b9521
mov eax, dword [0x4c5d80]
cmp eax, 1
je 0x4b94fb
test eax, eax
jne 0x4b9424
cmp dword [0x4c1318], 1
je 0x4b94fb
cmp edx, 0xfc
je 0x4b9521
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b945b
lea eax, [ebp - 0x1a4]
push 0x4be858
push eax
call fcn.004b9db0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba240
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b949e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba240
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be854
push edi
call fcn.004bc110
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4be838
push eax
call fcn.004b9db0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9dc0
lea eax, [ebp - 0xa0]
push 0x4be834
push eax
call fcn.004b9dc0
push dword [esi + 0x4c13f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9dc0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4be80c
push eax
call fcn.004bc084
add esp, 0x2c
pop edi
jmp 0x4b9521
lea eax, [ebp + 8]
lea esi, [esi + 0x4c13f4]
push 0
push eax
push dword [esi]
call fcn.004ba240
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1005a2c2
Capabilities:
Encode data using xor

Disassembly:
call 0x1005a23b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1005a26b
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1005a287
xor edx, 0
jmp 0x1005a292
xor edx, edx
jmp 0x1005a2a9
jmp 0x1005a2b5
xor eax, eax
push 0x8427d7c0
call 0x1005a2c2
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1005a2fe
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1005a2d7
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1005a315
add eax, 0
jno 0x1005a31a
add esi, 0
ret 0x10

Function at 0x1005b083
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1005b0a5
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1005b247
cmp edi, dword [ebp + 0x10]
jb 0x1005b247
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1005ab6f
inc edi
jmp 0x1005b12e
jmp 0x1005b13b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005ab6f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005ab6f
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1005b18f
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1005b173
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1005b1bd
add dword [eax], 0x39
jle 0x1005b199
sub al, 0xf5
mov ch, al
call fcn.1005b1d2
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1005ceaa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1005cec0
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1005ced1
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005cf12
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1005f27e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1005f1c7
add ebx, 0
push ecx
call 0x1005f1dc
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x73acb33c
sub ebx, dword [0x73aeab7b]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73aeab6b
call fcn.1005aca6
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1005a1b4
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005f33a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005f33a
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1005f2f1
mov eax, 1
lock xchg dword [0x73aeab77], eax
push 0x3dd1fc71
call 0x1005f27e
push esi
add esp, 8
cmp eax, 0
jne 0x1005f267
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1005f28d
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005f2a2
cmp ecx, edx
cmp eax, 0
je 0x1005f2c7
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1005f2b1
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005f2e0
dec eax
loope 0x1005f2e3
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73aeab77], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1005f317
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005f32c
jmp 0x1005f337
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005f225
Function at 0x1006639f
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10066675
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73ad77ef
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73ace7b5
push 0xffffffffffffffff
call fcn.1005d59f
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10066409
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10066421
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10066669
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1006663d