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

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x404bf9
repz ret
jmp fcn.0040883b

Function at 0x4060f3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004029c4
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x4061a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406255
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406255
push eax
call fcn.00402952
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x4061a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061fc
cmp dword [0x40e55c], ebx
je 0x4061fc
push eax
call fcn.004029cd
push dword [0x40e55c]
mov esi, eax
call fcn.004029cd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061fc
test edi, edi
je 0x4061fc
call esi
test eax, eax
je 0x4061f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061f3
test byte [ebp - 0xc], 1
jne 0x4061fc
or dword [ebp + 0x10], 0x200000
jmp 0x406235
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406235
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.004029cd
pop ecx
test eax, eax
je 0x406255
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406257
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x100d5257
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101677d0]
jne 0x100d5261
repz ret
jmp fcn.100d6d4b

Function at 0x100d803f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100d535c
and dword [ebp - 4], 0
cmp dword [0x10168c88], 0
mov ebx, eax
jne 0x100d80f0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100d81a1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100d81a1
push eax
call fcn.100d52ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10168c88], eax
call esi
push eax
call fcn.100d52ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10168c8c], eax
call esi
push eax
call fcn.100d52ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10168c90], eax
call esi
push eax
call fcn.100d52ea
pop ecx
mov dword [0x10168c98], eax
test eax, eax
je 0x100d80f0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100d52ea
pop ecx
mov dword [0x10168c94], eax
mov eax, dword [0x10168c94]
cmp eax, ebx
je 0x100d8148
cmp dword [0x10168c98], ebx
je 0x100d8148
push eax
call fcn.100d5365
push dword [0x10168c98]
mov esi, eax
call fcn.100d5365
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100d8148
test edi, edi
je 0x100d8148
call esi
test eax, eax
je 0x100d813f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100d813f
test byte [ebp - 0xc], 1
jne 0x100d8148
or dword [ebp + 0x10], 0x200000
jmp 0x100d8181
mov eax, dword [0x10168c8c]
cmp eax, ebx
je 0x100d8181
push eax
call fcn.100d5365
pop ecx
test eax, eax
je 0x100d8181
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100d8181
mov eax, dword [0x10168c90]
cmp eax, ebx
je 0x100d8181
push eax
call fcn.100d5365
pop ecx
test eax, eax
je 0x100d8181
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10168c88]
call fcn.100d5365
pop ecx
test eax, eax
je 0x100d81a1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100d81a3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100d9aec
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10167260], 0
mov byte [0x10167264], 0
mov dword [0x10167258], 0x37b
mov dword [0x1016725c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100d9b66
mov eax, dword [0x10167258]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x100d9ba2
xor eax, eax
mov ecx, 0xfffff8ce
mov dword [0x10167254], 0x6f3
mov dword [0x1016725c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x100d9ba2
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10167254], 0x195
mov dword [0x10167258], 0xfffff8ce
mov eax, dword [0x1016725c]
add eax, 1
mov dword [0x1016725c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100d9b66
jmp 0x100d9b43
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xffffe110
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10167268], 0
mov edi, dword [0x10167260]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10167268], esi
mov edx, dword [ebp - 0x2c]
mov dword [0x10167254], edx
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x10167260], edx
mov dword [0x10167258], 0x2010
mov bl, byte [ebx + ecx]
mov byte [0x10167264], bl
mov dword [0x10167254], 0x21db
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10167264]
mov ecx, dword [0x10167260]
mov byte [esi + ecx], bl
mov ecx, dword [0x1016725c]
add ecx, 1
mov dword [0x1016725c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x20], ecx
jl 0x100d9b33
mov dword [0x10167254], 0x1374
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d9d31
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10167254]
add esi, 0xffffce9a
mov dword [0x10167258], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x100d9d65
xor eax, eax
add esp, 0x4c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1015594e]
mov dl, byte [eax + 0x1015591f]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x100d9d65
call fcn.100db029
lea ecx, [ebp - 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100db0db
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x100d9d5d
mov eax, dword [0x10167258]
mov ecx, dword [ebp - 0x34]
add eax, 0xffffeafe
mov dword [0x10167254], eax
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.100da607
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x5c], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov dword [0x10167254], 0x1ac0
mov dword [0x10167258], 0x1c7f
add ecx, 0x124c
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x100d9e4d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x100d9e56
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 ecx, dword [0x10167254]
add ecx, 0x262c
mov dword [0x10167258], ecx
mov dword [ebp - 0x10], eax
call fcn.100da8f5
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 0x100d9ea4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x10167258], 0x1f67
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10167254], 0x1d30
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 0x100d9f26
jmp 0x100d9f57
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 [0x10167258], 0xd8c
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
jmp 0x100d9f26
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x100d9f6b
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], eax
jb 0x100d9f0a
jmp 0x100d9f26
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x100d9f0a
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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
je 0x100d9fc2
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x54], eax
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov dl, byte [ebp - 0x4e]
and dl, cl
mov esi, dword [ebp - 0x54]
cmp esi, 0x20
setb cl
and dl, cl
test dl, 1
mov dword [ebp - 0x48], esi
jne 0x100d9f6b
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x100d9ee5
jmp 0x100d9f31
Function at 0x100da477
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
call fcn.100d990a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x100da50d
jmp 0x100da4b9
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x100da4c3
jmp 0x100da5b7
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x58], esi
mov dword [0x10167254], 0x1a5a
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100d9d31
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x18], eax
jmp 0x100da4b1
lea eax, [esp + 0x38]
mov dword [0x10167254], 0x1e10
mov dword [esp + 0x14], eax
call fcn.100daa7a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x100da4b1
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.100da080
lea ecx, [0x100da35f]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x78], 0x12de00
mov dword [0x10167258], 0x2482
mov edx, dword [0x10167240]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10167244]
mov dword [esp + 0x60], edx
mov edx, dword [0x10167248]
mov dword [esp + 0x80], edx
mov edx, dword [0x1016724c]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10167250]
mov dword [esp + 0x64], edx
mov dword [0x10167254], 0x9a0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x100da498
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
jmp 0x100da5a4
Function at 0x100da744
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1016725c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x10167260], 0
mov dword [0x1016726c], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x100da8d2
xor eax, eax
mov ecx, dword [0x10167254]
add ecx, 0xfffff828
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
mov ebx, edx
add ebx, 1
add esi, 1
mov dword [0x10167254], ecx
mov dword [ebp - 0x30], eax
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1016725c], edx
mov dword [0x10167258], 0x9f5
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x10167260], edx
mov dword [0x10167254], 0x1445
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10167264], cl
mov dword [0x10167254], 0x110d
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10167258]
add edx, 0x792
mov dword [0x10167254], edx
mov cl, byte [0x10167264]
mov edx, dword [0x10167260]
mov byte [edi + edx], cl
mov dword [0x10167258], 0x22b1
mov edx, dword [0x1016725c]
movzx edx, byte [edi + edx]
mov ecx, dword [0x10167260]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1016726c], ecx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
mov dl, byte [edx + esi]
xor dl, byte [edi + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov dword [0x10167254], 0x9ed
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x3c], ebx
je 0x100da8d2
mov eax, dword [0x1016725c]
mov dword [ebp - 0x40], eax
mov eax, 0x215
mov ecx, dword [0x10167260]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
jmp 0x100da7af
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100daa7a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10167254]
add eax, 0xfffffa27
mov dword [0x10167254], eax
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 [0x10167254], 0x195f
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100dab28
xor eax, eax
mov dword [0x10167258], 0x2029
mov dword [ebp - 0x14], eax
jmp 0x100dabcb
mov dword [0x10167254], 0x2293
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100dab76
jmp 0x100daabf
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100dab9d
jmp 0x100daabf
mov dword [0x10167254], 0x2220
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jge 0x100dab3e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jne 0x100dab07
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x100daabf
mov dword [0x10167254], 0x11fd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100daad3
jmp 0x100daabf
mov eax, dword [0x10167258]
add eax, 0xc29
mov dword [0x10167254], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x100daaf2
jmp 0x100daabf
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100daabf
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
jne 0x100daabf
mov eax, dword [ebp - 0x14]
add esp, 0x20
pop ebp
ret
Function at 0xc3627d
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00c3627d
ret
Function at 0x40e4fb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40e5ae
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x45f020
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x52228b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0051449a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x45f0a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005119e0
mov eax, dword [eax]
push 0x1c83d60
push eax
call fcn.00503374
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00514725
test bl, bl
je 0x45f0a2
push 0x1c83d60
lea ecx, [esp + 0xc]
call fcn.00514b01
push 0x1c83d6c
lea ecx, [esp + 0xc]
call fcn.00514b01
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x45f0de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00514725
jmp 0x45f1a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x45f162
lea edx, [esp + 0x7c]
push 0x1c83d68
push edx
call fcn.00503374
add esp, 8
test eax, eax
je 0x45f162
lea eax, [esp + 0x7c]
push 0x1c83d64
push eax
call fcn.00503374
add esp, 8
test eax, eax
je 0x45f162
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45f0f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00514725
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x45f9a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x45fa02
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x45fa10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x52230b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1c9d8e0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x45fb48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x45fa76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00514725
xor eax, eax
jmp 0x45fbbf
push 0x1c83da8
lea ecx, [esp + 0xc]
call fcn.005148ae
push esi
lea ecx, [esp + 0xc]
call fcn.00514b3d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x1c83da0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45fb9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x1c83d98
push SysReAllocStringLen
call fcn.0045f9a0
test eax, eax
jne 0x45fb9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x1c83d84
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.0045f9a0
test eax, eax
jne 0x45fb9d
lea eax, [esp + 0x14]
push 0x1c83d7c
push eax
call fcn.00504590
mov esi, eax
add esp, 8
test esi, esi
jne 0x45fb7c
lea ecx, [esp + 0x14]
push 0x1c83d78
push ecx
call fcn.00504510
mov esi, eax
add esp, 8
test esi, esi
jne 0x45fb7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45fb7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0051485e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45fa8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00514725
xor eax, eax
jmp 0x45fbbf
mov byte [esi], 0
push 0x1c83d74
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00514725
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x469f16
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x469f3e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret