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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x1003fc44], 0x1234
mov dword [0x1003fc48], 0x118d
mov dword [ebp - 0x10], eax
call fcn.10002063
xor ecx, ecx
mov edx, eax
mov esi, dword [0x1003fc48]
mov edi, dword [eax + 0x3c]
mov ebx, edx
add ebx, edi
mov edi, dword [eax + edi]
cmp edi, 0x4550
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
je 0x10001d9b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x20]
add ecx, 0x21fc
mov dword [0x1003fc48], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1003fc44], 0x62
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x10001ed1
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [0x1003fc44], 0x1234
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
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 - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x56], cl
je 0x10001e6f
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x56]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x50], eax
jne 0x10001e1e
mov al, byte [ebp - 0x56]
test al, 1
jne 0x10001ea2
jmp 0x10001e78
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jb 0x10001dfa
jmp 0x10001ed1
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov dword [0x1003fc48], 0x185c
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1003fc44], 0x6ff
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100022b3
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x1003fc44], 0x107
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 [0x1003fc48], 0xa4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000231c
mov eax, dword [ebp - 0x14]
mov dword [0x1003fc44], 0xffffff39
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x10002355
jmp 0x100023e6
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edx
je 0x100022f3
mov dword [0x1003fc48], 0x1707
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x1000231c
jmp 0x100022f3
mov dword [0x1003fc44], 0x8c4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100023e6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100023e6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100023e6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x100023a8
jmp 0x100023e6
mov dword [0x1003fc48], 0xffffe667
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x10]
mov word [ebp - 0x24], dx
mov ax, word [ebp - 0x24]
cmp ax, 0x6c
jne 0x100023e6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10002314
xor eax, eax
mov dword [0x1003fc44], 0x1c0f
mov dword [ebp - 0x1c], eax
jmp 0x10002314
Function at 0x1000256f
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]
xor edx, edx
mov dword [0x1003fc48], 0x1c22
mov esi, dword [0x1003fc44]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x10005266]
mov dl, byte [eax + 0x10005237]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x1000259a
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, 0x38a
mov dword [0x1003fc48], ecx
mov dword [ebp - 0x38], eax
mov dword [0x1003fc44], 0x2676
call fcn.10002dc6
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10001edc
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x100026b2
mov dword [0x1003fc48], 0xdf2
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 [0x1003fc48], 0x23a4
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.100030fd
xor eax, eax
mov ecx, dword [ebp - 0x44]
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 + 0x1c], ecx
mov dword [0x1003fc44], 0x2677
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x50], ecx
mov dword [0x1003fc48], 0x680
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x100026b2
mov dword [0x1003fc44], 0x1906
mov eax, dword [ebp - 0x44]
add eax, 0x1f3d
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10002a02
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000109a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x10002b61
lea eax, [esp + 0x38]
mov dword [0x1003fc44], 0x142d
mov dword [esp + 0x20], eax
call fcn.100022b3
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x10002b59
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.100026bb
lea ecx, [0x10002516]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], 0x135400
mov edx, dword [0x1003fc30]
mov dword [esp + 0x38], edx
mov edx, dword [0x1003fc34]
mov dword [esp + 0x84], edx
mov edx, dword [0x1003fc38]
mov dword [esp + 0x6c], edx
mov edx, dword [0x1003fc3c]
mov dword [esp + 0x80], edx
mov edx, dword [0x1003fc40]
mov dword [esp + 0x3c], edx
mov dword [0x1003fc44], 0xca7
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10002adc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10002afa
mov dword [0x1003fc48], 0xfffff8b4
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10002ab9
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x78], esi
mov dword [0x1003fc44], 0x2489
mov dword [0x1003fc48], 0xae5
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1000256f
mov dword [0x1003fc48], 0x74c
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10002b6b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
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 [0x1003fc4c], 0
mov dword [0x1003fc50], 0
mov dword [0x1003fc5c], 0
mov ebx, dword [0x1003fc48]
add ebx, 0xffffeb05
mov dword [0x1003fc44], ebx
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 0x10002cfb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x1003fc44], 0x1641
mov edi, ecx
add edi, 1
add eax, 1
mov dword [0x1003fc48], 0xf08
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x1003fc4c], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1003fc50], edx
mov dword [0x1003fc44], 0x160e
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1003fc54], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1003fc54]
mov edx, dword [0x1003fc50]
mov byte [ebx + edx], cl
mov edx, dword [0x1003fc4c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1003fc50]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1003fc5c], ecx
mov dword [0x1003fc44], 0x2a72
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov edx, dword [0x1003fc48]
add edx, 0xfffff0cb
mov dword [0x1003fc48], edx
mov dl, cl
add dl, byte [0x1003fc61]
mov byte [0x1003fc60], dl
mov byte [0x1003fc61], ch
mov byte [0x1003fc62], cl
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x1003fc44], 0x138b
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x10002cfb
mov eax, dword [0x1003fc4c]
mov ecx, dword [0x1003fc50]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x10002bd6
mov dword [0x1003fc48], 0x232
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002f0a
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 [0x1003fc48], 0x2446
mov dword [0x1003fc50], 0
mov byte [0x1003fc54], 0
mov dword [0x1003fc4c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1003fc44]
add eax, 0xcff
mov dword [0x1003fc48], eax
mov eax, dword [0x1003fc4c]
add eax, 1
mov dword [0x1003fc4c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10002f4f
xor eax, eax
mov dword [0x1003fc44], 0x1e5b
mov dword [0x1003fc4c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1003fc58], 0
mov dword [0x1003fc48], 0x1a8e
mov edx, dword [0x1003fc50]
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 [0x1003fc58], edi
mov dword [0x1003fc44], 0x1721
mov eax, edi
cdq
idiv ecx
mov dword [0x1003fc50], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1003fc54], cl
mov dword [0x1003fc44], 0x1c4e
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1003fc54]
mov edx, dword [0x1003fc50]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1003fc48], 0x257f
mov edx, dword [0x1003fc4c]
add edx, 1
mov dword [0x1003fc4c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10002f9d
mov dword [0x1003fc44], 0x1a3f
mov dword [0x1003fc48], 0x213
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401080
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [0x442ab0], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
test al, al
je 0x401194
push edi
cmp al, 0x20
jg 0x4010ad
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4010a1
mov edi, esi
xor cl, cl
mov al, byte [esi]
cmp al, 0x20
jg 0x4010bf
test al, al
je 0x4010db
test cl, cl
je 0x4010db
cmp al, 0x22
jne 0x4010d8
test cl, cl
je 0x4010d2
test cl, cl
mov byte [esi], 0
sete cl
inc esi
jmp 0x4010b1
inc edi
test cl, cl
sete cl
inc esi
jmp 0x4010b1
cmp byte [edi], 0
je 0x401186
cmp al, 0x20
jne 0x4010ec
mov byte [esi], 0
inc esi
mov al, byte [edi]
cmp al, 0x2f
je 0x4010fa
cmp al, 0x2d
jne 0x401186
mov bl, byte [edi + 1]
inc edi
cmp bl, 0x53
je 0x401139
mov ecx, str.silent
mov eax, edi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401130
test dl, dl
je 0x40112c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401130
add eax, 2
add ecx, 2
test dl, dl
jne 0x401110
xor eax, eax
jmp 0x401135
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401140
mov byte [0x442aa4], 1
movsx eax, bl
push eax
call fcn.0041add1
add esp, 4
cmp eax, 0x75
je 0x40117f
mov eax, str.uninstall
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x401176
test cl, cl
je 0x401172
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x401176
add edi, 2
add eax, 2
test cl, cl
jne 0x401156
xor eax, eax
jmp 0x40117b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401186
mov byte [0x442aa5], 1
mov al, byte [esi]
test al, al
jne 0x4010a1
mov ebx, dword [ebp + 8]
pop edi
cmp byte [0x442aa4], 0
je 0x4011ac
push 0
call fcn.00401520
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push dword [ebp + 0x10]
push 0x4011d0
push 0
push 0x80
push ebx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x401520
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x441080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x442aac]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x40154d
push 0
push eax
call esi
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.0041a0d0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push str.CscHelper
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0041c42a
lea eax, [ebp - 0x108]
push eax
push 0x43d4fc
lea eax, [ebp - 0x298]
push 0x190
push eax
call fcn.00401010
add esp, 0x1c
lea ecx, [ebp - 0x298]
call fcn.00401a40
push str.RtlGetNtVersionNumbers
push str.ntdll.dll
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x29c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40161c
lea ecx, [ebp - 0x29c]
push ecx
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x2a0]
push ecx
call eax
and dword [ebp - 0x29c], 0xfffffff
cmp dword [ebp - 0x2a0], 5
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
ja 0x401719
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x2a4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2ac], eax
test eax, eax
je 0x40166e
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x2ac]
cmp dword [ebp - 0x2a4], 0
jne 0x401719
test edi, edi
je 0x40170a
mov eax, dword [0x442aa0]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
inc eax
push 0
push dword [0x442a94]
mov dword [0x442aa0], eax
push 0x7530
push eax
call esi
push eax
push 0x402
push edi
call ebx
lea edx, [ebp - 0x108]
mov ecx, edi
call fcn.00401790
mov eax, dword [0x442aa0]
push 0
push dword [0x442a94]
inc eax
push 0x7530
push eax
mov dword [0x442aa0], eax
call esi
push eax
push 0x402
push edi
call ebx
mov eax, dword [0x442aa0]
push 0
push dword [0x442a94]
inc eax
push 0x7530
push eax
mov dword [0x442aa0], eax
call esi
push eax
push 0x402
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x401723
lea edx, [ebp - 0x108]
mov ecx, edi
call fcn.00401790
jmp 0x401723
mov ecx, str.This_package_can_only_be_installed_on_32_bit_Windows_XP_or_Windows_2003_Server_operating_systems_...
call fcn.00401a40
mov ecx, 0x43d50c
call fcn.00401a40
mov eax, dword [0x442ab4]
test eax, eax
je 0x401742
push 0x43d514
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test edi, edi
je 0x401755
push 0
push 0x7530
push 0x402
push edi
call ebx
mov eax, dword [0x442aac]
test eax, eax
je 0x401763
push 1
push eax
call esi
mov eax, dword [0x442a9c]
test eax, eax
je 0x401778
push 0
push 0
push 0x404
push eax
call ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041908f
mov esp, ebp
pop ebp
ret 4
Function at 0x401af0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x441080]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x150]
push edi
push str._s.
push eax
call fcn.00402250
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401b56
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0041908f
mov esp, ebp
pop ebp
ret
mov esi, 1
nop dword [eax + eax]
lea eax, [esp + 0x3c]
push eax
push edi
lea eax, [esp + 0x158]
push str._s_s
push eax
call fcn.00402250
add esp, 0x10
test byte [esp + 0x10], 0x10
je 0x401ba8
mov ecx, dword [esp + 0x3c]
cmp cx, 0x2e
je 0x401bb8
and ecx, 0xffffff
cmp ecx, 0x2e2e
je 0x401bb8
lea ecx, [esp + 0x150]
call fcn.00401af0
jmp 0x401bb6
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
test esi, esi
je 0x401bcc
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401b60
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x401bde
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x25c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041908f
mov esp, ebp
pop ebp
ret
Function at 0x402290
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x441080]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x68]
mov dword [esp + 0x18], edi
push dword [edi]
push edx
push str._s_s
push 0x104
push eax
call fcn.00401010
mov eax, dword [edi + 0x18]
add esp, 0x14
mov esi, dword [edi + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x68]
push 0x43f310
push eax
mov byte [esp + 0x17], 1
call fcn.0041c554
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x402399
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.0041c6bb
add esp, 4
push eax
call fcn.0041cfc5
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, dword [esp + 0x58]
jne 0x402385
cmp esi, dword [esp + 0x5c]
jne 0x402385
mov esi, dword [esp + 0x48]
push esi
call fcn.004192ed
add esp, 4
mov edi, eax
mov dword [esp + 0x10], edi
push ebx
push esi
push 1
push edi
call fcn.0041d19c
mov esi, eax
add esp, 0x10
or edx, 0xffffffff
test esi, esi
je 0x40236a
movzx ecx, byte [edi]
lea edi, [edi + 1]
xor ecx, edx
shr edx, 8
movzx eax, cl
xor edx, dword [eax*4 + 0x441a38]
sub esi, 1
jne 0x402350
push dword [esp + 0x10]
not edx
cmp edx, dword [esp + 0x18]
setne byte [esp + 0x13]
call fcn.004192e8
mov edi, dword [esp + 0x1c]
add esp, 4
push ebx
call fcn.0041c5e1
add esp, 4
cmp byte [esp + 0xf], 0
je 0x40247d
mov eax, dword [esp + 0x18]
mov esi, dword [edi + 0x20]
mov edi, dword [edi + 0x1c]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov cl, byte [eax + 8]
mov eax, dword [eax + 4]
push eax
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], eax
call fcn.004192ed
add esp, 4
mov ebx, eax
mov ecx, ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov edx, edi
call fcn.00403270
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, eax
call fcn.00403750
test eax, eax
jne 0x402474
xor esi, esi
mov dword [esp + 0x14], esi
cmp byte [esp + 0xf], al
je 0x40241c
nop dword [eax + eax]
push ecx
lea eax, [esp + 0x18]
mov edx, edi
push eax
push esi
sub edx, esi
lea ecx, [esi + ebx]
call fcn.004024a0
add esp, 0xc
add esi, eax
test eax, eax
jne 0x402400
lea eax, [esp + 0x68]
push 0x43f314
push eax
call fcn.0041c554
mov esi, eax
add esp, 8
test esi, esi
je 0x40244a
push esi
push dword [esp + 0x14]
push 1
push ebx
call fcn.0041c919
push esi
call fcn.0041c5e1
add esp, 0x14
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], ecx
push eax
mov dword [esp + 0x34], ecx
call fcn.0041d50b
add esp, 8
push ebx
call fcn.004192e8
add esp, 4
mov ecx, dword [esp + 0x174]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041908f
mov esp, ebp
pop ebp
ret
Function at 0x4024a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x4024c2
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 8], ebx
nop
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x4024e9
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x4024e6
inc eax
cmp eax, ebx
jb 0x4024d7
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x4025df
cmp edx, 2
jbe 0x402591
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x4025c8
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
sub ebx, ecx
test esi, esi
je 0x402561
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x40255f
mov edx, 0x100
shl edx, cl
mov ecx, dword [ebp + 8]
dec edx
xor ebx, edx
add ecx, edi
sub ebx, ecx
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 8]
add edi, eax
jmp 0x4024d0
mov ecx, edx
shr esi, cl
test esi, esi
je 0x402506
cmp esi, 4
ja 0x4025ba
cmp esi, 3
je 0x4025ba
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x402506
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x4024d0
mov ebx, dword [ebp - 8]
or esi, 8
mov ecx, dword [ebp - 4]
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x4024d0
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret