joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1022f91a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102c4550], 0x132a
mov dword [0x102c454c], 0x3614
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x1022f986
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x10231810]
mov dl, byte [eax + 0x102317e1]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
je 0x1022f9fa
jmp 0x1022f955
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x138
mov edi, edx
add edi, esi
add edi, 0x114
mov esi, eax
add esi, 1
imul eax, eax, 0x138
add edx, eax
add edx, 0x134
mov eax, dword [edx]
movzx edx, word [edi]
xor edx, eax
add edx, ecx
cmp esi, 0x781
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], esi
jne 0x1022f986
xor eax, eax
mov dword [0x102c454c], 0x1177
mov dword [ebp - 0x13c], eax
jmp 0x1022f955
lea eax, [ebp - 0x12c]
mov dword [0x102c4550], 0x156a
mov dword [ebp - 0x144], eax
call fcn.102301c2
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.10230ada
mov ecx, eax
mov dword [0x102c456c], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
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, 0x138
mov edi, edx
add edi, esi
add edi, 0x134
mov esi, dword [edi]
imul edi, eax, 0x138
mov ebx, edx
add ebx, edi
add ebx, 0x110
mov edi, dword [ebx]
imul ebx, eax, 0x138
add edx, ebx
add edx, 0x114
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.10230496
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x781
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x1022fa68
lea eax, [0x102317ef]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x994f4
mov edi, dword [ebp - 0x148]
add edi, 0x171d17
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.1022ff36
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 - 0x140]
mov dword [esp + 0xc], edx
call fcn.10230522
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x160]
mov dword [ecx], edx
mov dword [ecx + 4], 0x13d800
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1f10
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1022fbba
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1022fc3a
jmp 0x1022fc68
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov dword [0x102c454c], 0xfffff682
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10230781
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x102c454c]
add ecx, 0xffffe5c3
mov dword [0x102c4550], ecx
mov dword [esp + 0x18], eax
jmp 0x1022fc72
lea eax, [esp + 0x38]
mov ecx, dword [0x102c454c]
add ecx, 0xffffefd3
mov dword [0x102c454c], ecx
mov dword [esp + 0x14], eax
call fcn.102300a2
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x1022fc90
jmp 0x1022fc72
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x1022fc68
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x1022fd05
jmp 0x1022fd2d
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1022f91a
lea ecx, [0x10230d0c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], 0x13d800
mov dword [0x102c454c], 0x15a6
mov edx, dword [0x102c4538]
mov dword [esp + 0x58], edx
mov edx, dword [0x102c453c]
mov dword [esp + 0x3c], edx
mov edx, dword [0x102c4540]
mov dword [esp + 0x54], edx
mov edx, dword [0x102c4544]
mov dword [esp + 0x44], edx
mov edx, dword [0x102c4548]
mov dword [esp + 0x70], edx
mov dword [0x102c4550], 0x109b
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jmp 0x1022fc7c
mov eax, dword [esp + 0x20]
add eax, 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x1022fbde
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
jmp 0x1022fc7c
Function at 0x1022fdb9
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 [ebp - 0x10], eax
call fcn.102308ba
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 0x1022fdf5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x102c4550], 0x370c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x102c454c], 0x1fed
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 0x1022fee0
jmp 0x1022feeb
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x1022fefd
jmp 0x1022ff2a
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x48]
add edx, 2
mov esi, dword [ebp - 0x30]
cmp ecx, esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], eax
jae 0x1022fee0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
jmp 0x1022fefd
mov eax, dword [ebp - 0x48]
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 [ebp - 0x58], ecx
mov dword [0x102c454c], 0x1415
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
jmp 0x1022fe99
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x54]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x1022fe44
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x1022feb5
jmp 0x1022fe75
Function at 0x1022ff36
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 edi, dword [0x102c4550]
add edi, 0x53c
mov dword [0x102c4550], edi
mov dword [0x102c4558], 0
mov byte [0x102c455c], 0
mov dword [0x102c4554], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1023004f
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102c4560], 0
mov edx, dword [0x102c4558]
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 [0x102c4560], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x102c4558], edx
mov dword [0x102c454c], 0x918
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102c455c], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x102c454c], 0x16c8
mov cl, byte [0x102c455c]
mov edx, dword [0x102c4558]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x102c4554]
add edx, 1
mov dword [0x102c4554], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1022ff88
jmp 0x10230090
xor eax, eax
mov dword [0x102c454c], 0x182
mov dword [0x102c4554], 0
mov dword [ebp - 0x20], eax
jmp 0x1022ff88
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x102c4550], 0x1e35
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102c4550]
add eax, 0x325
mov dword [0x102c4550], eax
mov eax, dword [0x102c4554]
add eax, 1
mov dword [0x102c4554], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1023004f
jmp 0x10230031
mov dword [0x102c454c], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102300a2
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10230131
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10230194
jmp 0x102301ab
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10230160
jmp 0x102301ab
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x102300e6
jmp 0x102301ab
mov eax, dword [0x102c454c]
add eax, 0xfffff36e
mov dword [0x102c454c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10230171
jmp 0x102301ab
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 - 0x18], edx
je 0x102300fa
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jl 0x10230131
jmp 0x102300fa
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10230111
jmp 0x102301ab
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x64
je 0x102300ce
jmp 0x102301ab
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x102301ba
xor eax, eax
mov dword [0x102c454c], 0x982
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x10230522
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]
mov dword [0x102c4554], 0
mov dword [0x102c4558], 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 dword [0x102c4564], 0
mov dword [0x102c454c], 0x53e
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
je 0x102305a0
jmp 0x102305a8
mov eax, dword [0x102c4558]
mov ecx, dword [0x102c4554]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x102305a8
add esp, 0x2c
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 dword [0x102c4550], 0xb88
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102c4554], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102c4558], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102c455c], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x102c454c]
add edx, 0x20cc
mov dword [0x102c454c], edx
mov cl, byte [0x102c455c]
mov edx, dword [0x102c4558]
mov byte [edi + edx], cl
mov edx, dword [0x102c4554]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102c4558]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102c4564], ebx
mov dword [0x102c454c], 0x395
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x2c], edx
je 0x102305a0
jmp 0x10230587
Function at 0x10230781
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x102c4550]
mov esi, edx
add esi, 0xffffdf43
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov dword [0x102c454c], ecx
mov dword [ebp - 0x38], eax
jmp 0x10230886
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 [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10230681
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x102c454c], 0x21cb
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx], ecx
add ecx, 0x12e7
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x10230845
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x58
pop esi
pop ebp
ret
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, 0xffffe336
mov dword [0x102c4550], ecx
mov dword [ebp - 0x4c], eax
call fcn.102301c2
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
call fcn.10230ada
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x102308b2
jmp 0x102307bb
mov eax, dword [ebp - 0x38]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10231810]
mov dh, byte [eax + 0x102317e1]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x38], ecx
je 0x1023084e
jmp 0x10230886
xor eax, eax
add esp, 0x58
pop esi
pop ebp
ret
Function at 0x409931
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417344]
jne 0x40993b
repz ret
jmp fcn.0040e3dc

Function at 0x41260c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c1d2
and dword [ebp - 0x14], 0
cmp dword [0x46a7ec], 0
mov dword [ebp - 0x18], eax
jne 0x4126bf
push 0x403754
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412767
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403748
push ebx
call edi
test eax, eax
je 0x412767
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403738
push ebx
mov dword [0x46a7ec], eax
call edi
push eax
call esi
push 0x403724
push ebx
mov dword [0x46a7f0], eax
call edi
push eax
call esi
push 0x403708
push ebx
mov dword [0x46a7f4], eax
call edi
push eax
call esi
mov dword [0x46a7fc], eax
test eax, eax
je 0x4126bf
push 0x4036f0
push ebx
call edi
push eax
call esi
mov dword [0x46a7f8], eax
mov eax, dword [0x46a7f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412718
cmp dword [0x46a7fc], ecx
je 0x412718
push eax
call esi
push dword [0x46a7fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412718
test ebx, ebx
je 0x412718
call edi
test eax, eax
je 0x41270f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41270f
test byte [ebp - 8], 1
jne 0x412718
or dword [ebp + 0x10], 0x200000
jmp 0x41274b
mov eax, dword [0x46a7f0]
cmp eax, dword [ebp - 0x18]
je 0x41274b
push eax
call esi
test eax, eax
je 0x41274b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41274b
mov eax, dword [0x46a7f4]
cmp eax, dword [ebp - 0x18]
je 0x41274b
push eax
call esi
test eax, eax
je 0x41274b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46a7ec]
call esi
test eax, eax
je 0x412767
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412769
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409931
leave
ret
Function at 0x4145a0
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413be0
cmp dword [0x80a944], 0x37
jne 0x414623
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x403f58
call edi
push 0
lea eax, [esp + 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40401c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
push 0x404048
call edi
push 0
lea edx, [esp + 0xc08]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
pop edi
mov eax, dword [0x80b528]
mov edx, dword [0x8079a4]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x40a17a
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x4016ac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x40a1cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401718
push edi
call esi
push 0x40170c
push edi
mov dword [0x4172a4], eax
call esi
push 0x401700
push edi
mov dword [0x4172a8], eax
call esi
push 0x4016f8
push edi
mov dword [0x4172ac], eax
call esi
mov dword [0x4172b0], eax
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [0x4172a4], ebx
je 0x40a1f2
cmp dword [0x4172a8], ebx
je 0x40a1f2
cmp dword [0x4172ac], ebx
je 0x40a1f2
cmp dword [0x4172b0], ebx
jne 0x40a216
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x4172a8], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x4172a4], 0x409dcb
mov dword [0x4172ac], esi
mov dword [0x4172b0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x41616c], eax
cmp eax, 0xffffffff
je 0x40a289
push dword [0x4172a8]
push eax
call esi
test eax, eax
je 0x40a289
call fcn.00409c86
push dword [0x4172a4]
call fcn.00409ccd
push dword [0x4172a8]
mov dword [0x4172a4], eax
call fcn.00409ccd
push dword [0x4172ac]
mov dword [0x4172a8], eax
call fcn.00409ccd
push dword [0x4172b0]
mov dword [0x4172ac], eax
call fcn.00409ccd
add esp, 0x10
mov dword [0x4172b0], eax
call fcn.0040d8bc
test eax, eax
jne 0x40a28f
call fcn.00409e08
xor eax, eax
pop edi
pop esi
pop ebx
ret
push fcn.00409fb7
push dword [0x4172a4]
call fcn.00409d53
pop ecx
call eax
mov dword [0x416170], eax
cmp eax, 0xffffffff
je 0x40a284
push 0x214
push 1
call fcn.0040ef9d
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x40a284
push esi
push dword [0x416170]
push dword [0x4172ac]
call fcn.00409d53
pop ecx
call eax
test eax, eax
jne 0x40a2e2
push esi
call fcn.00408ab7
pop ecx
jmp 0x40a284
push ebx
push esi
call fcn.00409e4a
or dword [esi + 4], 0xffffffff
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x40a28b

Function at 0x40c69c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cli
adc dword [eax], ebx
pop ebp
lea eax, [ebp - 0x40]
push eax
call fcn.0040c36e
push eax
push esi
push dword [ebp + 8]
call fcn.0040c323
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0040c35e
mov cs, word [edx + 0x458d5b6f]
call 0x51292454
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040c36e
push eax
push esi
push dword [ebp + 8]
call fcn.0040c323
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
invalid
inc ebp
cdq
Function at 0x40c811
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040c35e
aas
cmp eax, 0x858d2e85
jl 0x40c849
invalid
invalid

Function at 0x40ca06
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40ca12
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40ca0d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40c9f7
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40c9ff
invalid
cmp edx, ebx
jne 0x40cb4d
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40c9ce
add eax, dword [eax + 4]
jmp 0x40c9bb
mov dword [ebp + 0xc], ebx
jmp 0x40ca1d

Function at 0x40ca4d
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh