joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x436015
lea edi, [esi - 0x35015]
push edi
jmp 0x45d7ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45d7d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45d7c0
mov eax, 1
add ebx, ebx
jne 0x45d7e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45d7d8
jne 0x45d7f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45d7d8
xor ecx, ecx
sub eax, 3
jb 0x45d808
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45d87a
mov ebp, eax
add ebx, ebx
jne 0x45d813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45d820
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45d844
inc ecx
add ebx, ebx
jne 0x45d830
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45d825
jne 0x45d841
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45d825
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45d864
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45d855
jmp 0x45d7c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45d864
add edi, ecx
jmp 0x45d7c6
pop esi
lea edi, [esi + 0x5b000]
mov eax, dword [edi]
or eax, eax
je 0x45d8c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d25c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d2d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45d881
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d2d8]
or eax, eax
je 0x45d8bd
mov dword [ebx], eax
add ebx, 4
jmp 0x45d89e
call dword [esi + 0x5d2d4]
mov ebp, dword [esi + 0x5d2dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45d8f7
sub esp, 0xffffff80
jmp 0x435f30

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x2623467e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x9b94465
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4036ef
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
mov eax, dword [0x471040]
xor eax, esp
mov dword [esp + 0x410], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], edx
jne 0x40387b
xor edi, edi
inc edi
cmp dword [ebp + 0xc], 0x110
push 2
pop edx
jne 0x403796
push ecx
push ecx
mov dword [esi + 0x98], edi
call fcn.004038dd
mov dword [ebx], eax
cmp dword [esi + 0x98], 0
jne 0x4037bb
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00402b25
add esp, 0xc
test eax, eax
jne 0x4037bb
cmp dword [ebp + 0xc], 0x111
mov eax, dword [esi + 0x50]
mov dword [esp + 0x14], eax
jne 0x403824
cmp di, word [ebp + 0x10]
jne 0x40384e
push edi
push dword [esi + 4]
mov dword [esi + 0x50], edi
call dword [sym.imp.USER32.dll_EndDialog]
and dword [ebx], 0
jmp 0x403848
cmp dword [ebp + 0xc], 0x111
jne 0x403749
mov eax, dword [ebp + 0x10]
movzx eax, ax
mov ecx, eax
cmp dx, ax
jne 0x4037c2
push edx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor edi, edi
inc edi
mov dword [ebx], edi
mov eax, edi
jmp 0x40387d
cmp di, cx
jne 0x40380a
push 0x400
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0041d550
add esp, 0xc
lea eax, [esp + 0x18]
push 0x200
push eax
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x80]
call fcn.004022f0
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4037b9
push 0x4d
pop eax
cmp ax, cx
jne 0x403749
sub esp, 0x10
mov ecx, esi
call fcn.00403d30
mov dword [ebx], eax
jmp 0x4037bb
cmp dword [ebp + 0xc], 0x10
jne 0x403831
push 2
jmp 0x403782
cmp dword [ebp + 0xc], 0x110
jne 0x40384e
push ecx
push ecx
mov ecx, esi
mov dword [esi + 0x50], edi
call fcn.00402a18
mov dword [ebx], eax
cmp dword [esi + 0x50], 0
jne 0x403868
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00402b25
add esp, 0xc
test eax, eax
je 0x403874
mov eax, dword [esp + 0x14]
mov dword [esi + 0x50], eax
jmp 0x4037bb
mov eax, dword [esp + 0x14]
mov dword [esi + 0x50], eax
xor eax, eax
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041b825
mov esp, ebp
pop ebp
ret 0x18

Function at 0x407917
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x451140
call fcn.0041c12e
mov esi, ecx
push 4
xor ebx, ebx
call fcn.0041b864
mov edx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [eax], edx
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push eax
push 0x407d0d
push ebx
push ebx
call fcn.004274fd
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x40795e
mov eax, esi
call fcn.0041c0fc
ret 4
push 6
mov dword [edi], ebx
call fcn.0041a8c0
int3
Function at 0x4085ce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
xor ebx, ebx
test ecx, ecx
je 0x4085f1
cmp word [ecx], bx
je 0x4085f1
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4085f1
push 1
test al, 0x10
movzx ebx, bl
pop ecx
cmove ebx, ecx
mov al, bl
pop ebx
ret

Function at 0x4086ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x471040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
push 0xa
pop ecx
push dword [ebp + 8]
lea edi, [ebp - 0x2c]
mov esi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push 0x4677c0
push eax
call fcn.004068f0
add esp, 0xc
lea eax, [ebp - 0x2c]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40875c
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40875c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40875c
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x40875c
lea eax, [esi + 1]
cmp eax, dword [ebx + 0x10]
ja 0x40873c
mov dword [ebx + 0x10], eax
mov edx, ebx
cmp dword [ebx + 0x14], 0xf
jbe 0x408735
mov edx, dword [ebx]
xor ecx, ecx
mov byte [edx + eax], cl
jmp 0x408748
sub eax, dword [ebx + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00408ec2
push ecx
mov ecx, ebx
call fcn.00406844
push esi
push edi
call fcn.00402212
xor ecx, ecx
inc ecx
jmp 0x40875e
xor ecx, ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b825
leave
ret

Function at 0x40876f
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x4512b4
call fcn.0041c197
mov esi, edx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push eax
mov dword [ebp - 0x1c], eax
call fcn.0041baea
pop ecx
mov edi, eax
xor eax, eax
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push eax
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4087f3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4676b8
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4087f3
mov ax, word [ecx + 0xa]
mov word [esi], ax
mov ax, word [ecx + 8]
mov word [esi + 2], ax
mov ax, word [ecx + 0xe]
mov word [esi + 4], ax
mov ax, word [ecx + 0xc]
mov word [esi + 6], ax
xor esi, esi
inc esi
test edi, edi
je 0x40880c
push edi
call fcn.0041bae5
pop ecx
jmp 0x40880c
mov eax, esi
call fcn.0041c0fc
ret
Function at 0x408819
Capabilities:
Get common file path

Disassembly:
push 0x854
mov eax, 0x4512ec
call fcn.0041c161
mov ebx, ecx
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0041d550
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.00401b54
and dword [ebp - 4], 0
lea edi, [ebp - 0x828]
xor eax, eax
stosd dword es:[edi], eax
push 7
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov ecx, edi
mov word [ebp - 0x828], ax
mov dword [ebp - 0x814], ecx
mov byte [ebp - 4], 1
and dword [ebp - 0x818], 0
lea eax, [ebp - 0x828]
cmp ecx, edi
lea edx, [ebp - 0x828]
push 0xa
cmova eax, dword [ebp - 0x828]
xor ecx, ecx
mov word [eax], cx
pop ecx
call fcn.0040a2a2
lea eax, [ebp - 0x828]
push eax
lea edx, [ebp - 0x840]
lea ecx, [ebp - 0x858]
call fcn.004091e3
pop ecx
cmp dword [eax + 0x14], edi
jbe 0x4088d5
mov eax, dword [eax]
push 0
push eax
call fcn.00426ec8
pop ecx
pop ecx
lea ecx, [ebp - 0x858]
mov esi, eax
call fcn.004025c7
test esi, esi
jne 0x4088f8
mov ecx, dword [ebp - 0x814]
jmp 0x40888c
lea eax, [ebp - 0x828]
push eax
lea edx, [ebp - 0x840]
lea ecx, [ebp - 0x858]
call fcn.004091e3
pop ecx
push eax
mov ecx, ebx
call fcn.00401b1d
lea ecx, [ebp - 0x858]
call fcn.004025c7
cmp dword [ebx + 0x14], edi
jbe 0x40892b
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x814]
cmp eax, edi
jbe 0x40897f
mov ecx, dword [ebp - 0x828]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x85c], eax
mov dword [ebp - 0x860], ecx
cmp eax, 0x1000
jb 0x408976
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.00402577
mov eax, dword [ebp - 0x85c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x860]
push eax
push ecx
call fcn.0041b833
pop ecx
pop ecx
and dword [ebp - 0x818], 0
lea ecx, [ebp - 0x840]
xor eax, eax
mov dword [ebp - 0x814], edi
mov word [ebp - 0x828], ax
call fcn.004025c7
mov eax, ebx
call fcn.0041c110
ret
Function at 0x4089a8
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0x844
mov eax, 0x45135a
call fcn.0041c161
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x84c], ebx
mov dword [ebp - 0x844], ebx
call fcn.0040556e
mov edx, str.JaqKKLKJSDKTn9NPjHsGku6Tny6RJL6TSDpRjHcSkm6NJLrSoarRj1IJXuMOcLbSSL_RrabSkuMRau6T
lea ecx, [ebp - 0x840]
call fcn.0040c4c4
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x828]
call fcn.0040a18e
cmp dword [eax + 0x14], 7
jbe 0x4089f5
mov eax, dword [eax]
lea ecx, [ebp - 0x844]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x828]
call fcn.004025c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.004022ba
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0041d550
add esp, 0xc
mov dword [ebp - 0x848], 0x400
cmp dword [ebp - 0x844], 0
je 0x408aff
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x850]
push eax
push ebx
push str.TEMP
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408af3
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004022f0
push ebx
push dword [0x4996c4]
mov ecx, esi
call fcn.00408e8a
mov edi, eax
cmp edi, 0xffffffff
je 0x408af3
push 0x400
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x408af3
push dword [0x4996c4]
call fcn.0042956a
pop ecx
lea edx, [ebp - 0x810]
mov ecx, eax
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x84c]
jne 0x408acf
sub edx, ebx
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.00408f1c
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041c110
ret
Function at 0x408bcf
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x870
mov eax, 0x4513aa
call fcn.0041c161
mov esi, ecx
mov dword [ebp - 0x874], esi
push 0x800
xor ebx, ebx
mov dword [ebp - 0x874], esi
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0041d550
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00401b54
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x858]
mov eax, dword [ebp - 0x848]
push 7
pop ebx
cmp dword [ebp - 0x844], ebx
cmova ecx, dword [ebp - 0x858]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x408c5e
push 0x4676b8
lea ecx, [ebp - 0x858]
call fcn.00401f01
xor eax, eax
lea edi, [ebp - 0x840]
stosd dword es:[edi], eax
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x82c], ecx
mov word [ebp - 0x840], ax
lea edi, [ebp - 0x828]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x814], ebx
mov word [ebp - 0x828], ax
mov byte [ebp - 4], 2
xor edi, edi
cmp ecx, ebx
mov dword [ebp - 0x830], edi
lea eax, [ebp - 0x840]
cmova eax, dword [ebp - 0x840]
lea edx, [ebp - 0x840]
xor ecx, ecx
push 8
mov word [eax], cx
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], ebx
mov dword [ebp - 0x818], edi
cmova eax, dword [ebp - 0x828]
mov word [eax], cx
pop ecx
call fcn.0040a2a2
push eax
lea edx, [ebp - 0x858]
lea ecx, [ebp - 0x870]
call fcn.004091e3
pop ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00401b1d
lea ecx, [ebp - 0x870]
call fcn.004025c7
cmp dword [ebp - 0x814], ebx
lea ecx, [ebp - 0x828]
cmova ecx, dword [ebp - 0x828]
call fcn.004085f5
test al, al
je 0x408d2f
mov ecx, dword [ebp - 0x82c]
jmp 0x408c9a
cmp dword [ebp - 0x814], ebx
lea eax, [ebp - 0x828]
cmova eax, dword [ebp - 0x828]
push eax
call fcn.00428381
pop ecx
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.00401e45
mov eax, dword [ebp - 0x814]
cmp eax, ebx
jbe 0x408dab
mov ecx, dword [ebp - 0x828]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x874], ecx
cmp eax, 0x1000
jb 0x408da2
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x874]
push eax
call fcn.00402577
mov eax, dword [ebp - 0x878]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x874]
push eax
push ecx
call fcn.0041b833
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x818], edi
mov word [ebp - 0x828], ax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x814], ebx
cmp eax, ebx
jbe 0x408e14
mov ecx, dword [ebp - 0x840]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x878], ecx
cmp eax, 0x1000
jb 0x408e0b
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.00402577
mov eax, dword [ebp - 0x874]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x878]
push eax
push ecx
call fcn.0041b833
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x830], edi
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x82c], ebx
mov word [ebp - 0x840], ax
call fcn.004025c7
mov eax, esi
call fcn.0041c110
ret
Function at 0x40a20b
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
xor bl, bl
push 0xb1
mov ecx, esi
call fcn.0040a88b
jmp 0x40a290
call fcn.004220cb
push 0x24
cdq
pop ecx
idiv ecx
cmp edx, 9
ja 0x40a239
add dl, 0x30
jmp 0x40a23c
add dl, 0x57
mov byte [ebp - 4], dl
lea eax, [edx - 0x30]
test edi, edi
jne 0x40a24e
cmp al, 9
jbe 0x40a290
test edi, edi
je 0x40a25e
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x40a258
mov ecx, dword [esi]
cmp byte [edi + ecx - 1], dl
je 0x40a290
test bl, bl
jne 0x40a284
cmp al, 9
ja 0x40a26a
inc bl
jmp 0x40a284
cmp dword [esi + 0x10], 0xb0
jne 0x40a284
call fcn.004220cb
push 0xa
cdq
pop ecx
idiv ecx
add dl, 0x30
mov byte [ebp - 4], dl
push dword [ebp - 4]
mov ecx, esi
push 1
call fcn.0040a8ec
mov edi, dword [esi + 0x10]
cmp edi, 0xb1
jb 0x40a224
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x40c0ec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
add eax, 4
cmp dword [eax + 0x14], 7
jbe 0x40c100
mov eax, dword [eax]
push esi
push 0x467710
push eax
call fcn.00421be3
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40c17f
push ebx
push edi
mov ecx, esi
call fcn.00408664
mov ebx, eax
push ebx
call fcn.0041baea
push ebx
mov edi, eax
push 0
push edi
call fcn.0041d550
push esi
push 1
push ebx
push edi
call fcn.00427f75
push esi
call fcn.00422021
mov ecx, dword [ebp - 4]
add esp, 0x24
cmp dword [ecx + 0x2c], 0
je 0x40c167
add ecx, 0x1c
cmp dword [ecx + 0x14], 0xf
jbe 0x40c157
mov ecx, dword [ecx]
mov esi, dword [ebp + 8]
mov edx, edi
push esi
push ebx
call fcn.0040c7ae
pop ecx
pop ecx
jmp 0x40c173
mov esi, dword [ebp + 8]
mov ecx, esi
push ebx
push edi
call fcn.00402212
push edi
call fcn.0041bae5
mov eax, dword [esi + 0x10]
pop ecx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x40d130
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x44
mov eax, 0x451bf9
call fcn.0041c161
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x48]
mov dword [ebp - 4], ebx
push eax
push 0x455520
push 1
push ebx
push 0x455530
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40d218
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov edx, str.nyrRpmqOeqbTn0
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x4c], eax
call fcn.0040c4c4
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040a18e
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
jbe 0x40d1a8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040695e
mov byte [ebp - 4], 4
mov eax, dword [eax]
test eax, eax
je 0x40d1bf
mov eax, dword [eax]
jmp 0x40d1c1
mov eax, ebx
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.0040534e
lea ecx, [ebp - 0x2c]
call fcn.004025c7
lea ecx, [ebp - 0x44]
call fcn.004022ba
test esi, esi
js 0x40d218
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x40d213
mov dword [edi + 4], ebx
mov byte [ebp - 4], 7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
sete bl
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x40d22c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
call fcn.0041c110
ret
Function at 0x4109a7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4522fb
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.0041c8e0
mov eax, dword [0x471040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00410600
mov ebx, 0x800
mov esi, eax
push ebx
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0041d550
xor eax, eax
push ebx
push eax
mov dword [ebp - 0x1044], eax
mov dword [ebp - 0x104c], eax
mov dword [ebp - 0x1048], eax
lea eax, [ebp - 0x810]
push eax
call fcn.0041d550
add esp, 0x18
lea ecx, [ebp - 0x1040]
mov edx, str.3eoB
call fcn.0040c4c4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1028]
mov edx, eax
call fcn.0040a18e
lea ecx, [ebp - 0x1040]
call fcn.004022ba
cmp dword [ebp - 0x1014], 7
lea ecx, [ebp - 0x810]
mov edx, 0x400
lea eax, [ebp - 0x1028]
cmova eax, dword [ebp - 0x1028]
push edx
push ecx
lea ecx, [ebp - 0x1048]
push ecx
lea ecx, [ebp - 0x104c]
push ecx
lea ecx, [ebp - 0x1044]
push ecx
push edx
lea ecx, [ebp - 0x1010]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [ebp - 0x1044]
mov edx, esi
push edi
call fcn.00410907
pop ecx
lea ecx, [ebp - 0x1028]
call fcn.004025c7
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b825
leave
ret
Function at 0x41407b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0xc], esi
mov ebx, dword [esi + 0x2c]
lea ecx, [esi + 0x38]
mov dword [ebp - 0x18], ebx
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x3c]
add eax, 0xfffffefa
sub edi, dword [esi + 0x74]
add eax, ebx
sub edi, dword [esi + 0x6c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x6c], eax
jb 0x41413f
mov ecx, dword [ecx]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.0041cfd0
mov ecx, dword [esi + 0x4c]
add esp, 0xc
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
sub dword [esi + 0x5c], ebx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
mov edi, dword [ebp - 8]
movzx ecx, bx
mov dword [ebp - 4], ecx
lea esi, [esi - 2]
movzx eax, word [esi]
mov edx, eax
sub eax, ecx
xor ecx, ecx
movzx eax, ax
cmp edx, ebx
cmovae ecx, eax
mov word [esi], cx
mov ecx, dword [ebp - 4]
sub edi, 1
jne 0x4140e2
mov esi, dword [ebp - 0xc]
mov edi, ebx
movzx ecx, bx
mov dword [ebp - 8], ecx
mov eax, dword [esi + 0x40]
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
movzx eax, word [esi]
mov edx, eax
sub eax, ecx
xor ecx, ecx
movzx eax, ax
cmp edx, ebx
cmovae ecx, eax
mov word [esi], cx
mov ecx, dword [ebp - 8]
sub edi, 1
jne 0x414112
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
add edi, ebx
lea ecx, [esi + 0x38]
mov dword [ebp - 8], ecx
mov ebx, dword [esi]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx + 4]
test eax, eax
je 0x41420f
mov ebx, dword [esi + 0x74]
mov edx, dword [esi + 0x6c]
add ebx, edx
add ebx, dword [ecx]
cmp eax, edi
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
cmovbe edi, eax
test edi, edi
jne 0x41416c
xor edi, edi
jmp 0x4141cb
sub eax, edi
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x41418d
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x30]
push edi
call fcn.00414abf
pop ecx
mov ecx, dword [ebp - 8]
jmp 0x4141ac
mov dword [ebp - 4], ecx
cmp eax, 2
jne 0x4141b2
mov edx, dword [ebx]
test edx, edx
jne 0x41419f
xor eax, eax
jmp 0x4141a9
mov ecx, dword [ebx + 0x30]
push edi
call fcn.00411c46
pop ecx
lea ecx, [esi + 0x38]
mov dword [ebp - 4], ecx
mov dword [ebx + 0x30], eax
push edi
push dword [ebx]
push dword [ebp - 0x14]
call fcn.0041cfd0
add dword [ebx], edi
add esp, 0xc
add dword [ebx + 8], edi
mov edx, dword [esi + 0x6c]
mov ecx, dword [ebp - 4]
add edi, dword [esi + 0x74]
mov dword [esi + 0x74], edi
cmp edi, 3
jb 0x4141f4
mov eax, dword [ecx]
mov ecx, dword [esi + 0x58]
movzx edx, byte [eax + edx]
mov dword [esi + 0x48], edx
shl edx, cl
mov ecx, dword [esi + 0x6c]
movzx eax, byte [eax + ecx + 1]
xor edx, eax
and edx, dword [esi + 0x54]
mov dword [esi + 0x48], edx
cmp edi, 0x106
jae 0x41420f
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x41420f
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
jmp 0x414092
pop edi
pop esi
pop ebx
leave
ret