joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce140
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4ce173
push esi
call fcn.004dc500
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4ce16c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4ce1f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4ce1e2
mov eax, dword [esi + 8]
test eax, eax
je 0x4ce197
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4ce1de
cmp eax, 2
je 0x4ce1e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4ce18a
cmp eax, 3
je 0x4ce1bd
cmp eax, 1
jne 0x4ce18a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4ce18a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4ce18a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004ce220
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4ce208
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004ce220
add esp, 4
pop esi
ret

Function at 0x4ceaa0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4ceac1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4ceac1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4ceac1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess_1]
Function at 0x4ea4c0
Capabilities:
Check os version

Disassembly:
mov edx, dword [0xae22b0]
sub esp, 0x23c
test edx, edx
push esi
push edi
jne 0x4ea506
push 0xa12bac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
test edx, edx
mov dword [0xae22b0], edx
jne 0x4ea506
push eax
push 0xa12b94
push 0xa12b84
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor eax, eax
pop esi
add esp, 0x23c
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress_1]
mov ecx, 0x46
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x11c
push str.RtlGetVersion
rep stosd dword es:[edi], eax
push edx
call esi
test eax, eax
je 0x4ea549
lea ecx, [esp + 8]
push ecx
call eax
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov al, byte [esp + 0x122]
jmp 0x4ea5c3
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x128]
lea edx, [esp + 0x128]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x12c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4ea4fb
mov eax, dword [0xae22b0]
push str.RtlGetNtVersionNumbers
push eax
call esi
lea ecx, [esp + 0x134]
lea edx, [esp + 0x130]
push ecx
lea ecx, [esp + 0x130]
push edx
push ecx
call eax
mov al, byte [esp + 0x24e]
mov esi, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
mov edi, dword [esp + 0x140]
add esp, 0xc
mov byte [esp + 0x122], al
mov edx, dword [esp + 0x248]
test edx, edx
je 0x4ea5e6
mov dword [edx + 8], edi
mov edi, dword [esp + 0x122]
and edi, 0xff
mov dword [edx], esi
mov dword [edx + 4], ecx
mov dword [edx + 0xc], edi
cmp esi, 5
jne 0x4ea65e
test ecx, ecx
jne 0x4ea5fd
pop edi
mov eax, 0x14
pop esi
add esp, 0x23c
ret
cmp ecx, 1
jne 0x4ea610
pop edi
mov eax, 0x13
pop esi
add esp, 0x23c
ret
cmp ecx, 2
jne 0x4ea4fb
cmp al, 1
jne 0x4ea62b
pop edi
mov eax, 0x12
pop esi
add esp, 0x23c
ret
cmp word [esp + 0x120], 0x8000
jne 0x4ea645
pop edi
mov eax, 0xf
pop esi
add esp, 0x23c
ret
xor eax, eax
pop edi
cmp word [esp + 0x118], ax
pop esi
setne al
add eax, 0x10
add esp, 0x23c
ret
cmp esi, 6
jne 0x4ea6c5
test ecx, ecx
jne 0x4ea679
dec al
pop edi
neg al
sbb eax, eax
pop esi
add eax, 0xd
add esp, 0x23c
ret
cmp ecx, 1
jne 0x4ea690
dec al
pop edi
neg al
sbb eax, eax
pop esi
add eax, 0xb
add esp, 0x23c
ret
cmp ecx, 2
jne 0x4ea6a7
dec al
pop edi
neg al
sbb eax, eax
pop esi
add eax, 9
add esp, 0x23c
ret
cmp ecx, 3
jne 0x4ea4fb
xor edx, edx
cmp al, 1
setne dl
add edx, 6
pop edi
mov eax, edx
pop esi
add esp, 0x23c
ret
cmp esi, 0xa
jne 0x4ea4fb
test ecx, ecx
jne 0x4ea4fb
dec al
pop edi
neg al
sbb eax, eax
pop esi
and al, 0xfe
add eax, 5
add esp, 0x23c
ret

Function at 0x4ec4c0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [ecx]
test eax, eax
jne 0x4ec4cb
pop ecx
ret 8
mov edx, dword [esp + 0xc]
lea ecx, [esp]
push 0
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile_1]
pop ecx
ret 8
Function at 0x4ec7c0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov word [ebp], di
je 0x4ec91c
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x4ec91c
push 0xf0000000
push 1
push edi
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA_1]
test eax, eax
je 0x4ec8f3
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edi
push edi
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash_1]
test eax, eax
je 0x4ec8f3
mov eax, dword [esp + 0x20]
push edi
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData_1]
test eax, eax
je 0x4ec8f3
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam_1]
lea ecx, [esp + 0x18]
push edi
push ecx
push edi
push 2
push edx
mov dword [esp + 0x2c], 4
call esi
test eax, eax
je 0x4ec8f3
mov eax, dword [esp + 0x18]
push eax
call fcn.006af7f7
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x4ec8f3
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push edi
push ecx
push ebx
push 2
push edx
call esi
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x4ec8ea
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x4ec8ba
mov eax, ebx
mov ecx, ebp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x4ec8e6
mov ecx, eax
mov esi, ebx
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x10
lea edi, [ebp + eax*2]
sub ecx, eax
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor edi, edi
mov word [ebp + 0x20], di
push ebx
call fcn.006af70e
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x4ec902
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash_1]
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4ec912
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext_1]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4ec930
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
test eax, eax
je 0x4ec957
cmp word [eax], 0x5a4d
jne 0x4ec957
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4ec957
test word [eax + 4], 0x14c
jne 0x4ec95f
xor eax, eax
add esp, 0xc
ret 8
mov edx, dword [eax + 0x54]
mov cx, word [eax + 6]
push ebx
mov dword [esp + 4], edx
push ebp
xor edx, edx
mov dx, word [eax + 0x14]
push esi
mov esi, dword [eax + 0x50]
push edi
mov edi, dword [esp + 0x24]
mov word [esp + 0x14], cx
lea ecx, [edx + eax + 0x18]
mov eax, dword [edi]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x4ec9a8
cmp esi, dword [0x993cf4]
jne 0x4ec998
xor esi, esi
push 0
push esi
mov ecx, edi
call fcn.004ea070
mov edx, dword [edi]
mov dword [edx], esi
jmp 0x4ec9e6
mov ebx, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, esi
jae 0x4ec9c2
lea eax, [eax + esi + 0x1000]
push 0
push eax
mov ecx, edi
call fcn.004ea070
mov ecx, dword [edi]
cmp esi, ebx
mov dword [ecx], esi
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov byte [edx + eax], 0
ja 0x4ec9e6
jae 0x4ec9e6
mov ecx, dword [edi]
inc esi
cmp esi, ebx
mov edx, dword [ecx + 8]
mov byte [edx + esi - 1], 0
jb 0x4ec9d7
mov edi, dword [edi]
test edi, edi
je 0x4ec9f1
mov ebp, dword [edi + 8]
jmp 0x4ec9f3
xor ebp, ebp
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x24], ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
test cx, cx
jbe 0x4eca74
mov ebx, dword [esp + 0x18]
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x14]
add ebx, 0x10
and ecx, 0xffff
mov dword [esp + 0x10], ecx
mov edi, dword [eax]
test edi, edi
je 0x4eca60
mov ecx, dword [ebx]
test ecx, ecx
je 0x4eca60
mov esi, dword [edx]
add edi, ebp
add esi, dword [esp + 0x20]
mov ebp, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0x24]
and ecx, 3
add ebx, 0x28
add edx, 0x28
add eax, 0x28
rep movsb byte es:[edi], byte [esi]
jmp 0x4eca69
add ebx, 0x28
add edx, 0x28
add eax, 0x28
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x10], ecx
jne 0x4eca2f
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x516fc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 1
mov ebx, 0x184
call fcn.006471f0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x517005
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 4
push dword [ebp - 4]
push 0x23
push 0
xor eax, eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
nop
nop
cmp dword [ebp - 8], esp
je 0x517044
push 0x36
push 0x4368986
push 6
call fcn.00645a6f
add esp, 0xc
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x517057
mov eax, 0xa13344
push eax
push 1
mov ebx, 0x9dc
call fcn.00647990
add esp, 0x10
jmp 0x51706f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x517080
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x51f358
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push dword [ebp + 0x10]
call fcn.004efb10
push eax
call fcn.004efcd0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x51f39b
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov dword [ebp - 4], eax
fild dword [ebp + 0x10]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0xa132ac]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.004ef9d0
push eax
call fcn.004efb10
push eax
call fcn.004efcd0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x51f3dc
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov dword [ebp - 8], eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x51f3f3
mov eax, 0xa13344
push eax
push 1
mov ebx, 0x24c
call fcn.00648030
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x51f425
push 0
push dword [ebp + 8]
call fcn.004efb2c
jmp 0x51f4cd
lea eax, [ebp - 8]
push eax
call fcn.0051f4f4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0051f610
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51f44a
push ebx
call fcn.00645a87
add esp, 4
fild dword [ebp + 0x10]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0xa1332c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.004ef9d0
push eax
call fcn.004efe18
and eax, 1
xor eax, 1
push reloc.oleaut32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.00647990
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.kernel32.dll_CopyFileA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x51f4bf
push 0x1bc
push 0x425e75b
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004efb2c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x51f4dd
push ebx
call fcn.00645a87
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x51f4ed
push ebx
call fcn.00645a87
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x51f5bc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 4], esp
je 0x51f5f3
push 0x24
push 0x425e7b3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
mov eax, 0
sete al
jmp 0x51f607
mov esp, ebp
pop ebp
ret 4

Function at 0x522bd4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x522c95
test ecx, ecx
je 0x522c95
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x522c95
test ebx, ebx
je 0x522c95
mov ebx, eax
add ebx, edx
je 0x522c95
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x522c95
cmp dword [edx + eax + 0x14], 0
je 0x522c95
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x522c95
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x522c85
test dl, dl
je 0x522c81
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x522c85
add edi, 2
add esi, 2
test dl, dl
jne 0x522c65
xor eax, eax
jmp 0x522c8a
sbb eax, eax
or eax, 1
test eax, eax
je 0x522ca1
inc ebp
cmp ebp, dword [esp + 4]
jb 0x522c52
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x53dfbc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x2c
call fcn.00645a7b
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebx], 0xa13bc0
push dword [ebp + 0x10]
call fcn.004f2d74
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x80000006
jne 0x53e061
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
call fcn.004fd814
push reloc.oleaut32.dll_SysStringLen
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x9dc
call fcn.00647990
add esp, 0x10
mov dword [ebp - 0xc], eax
jmp 0x53e090
cmp dword [ebp - 4], 0x80000301
jne 0x53e07e
push dword [ebp + 0x10]
call fcn.004efb10
mov dword [ebp - 0xc], eax
jmp 0x53e090
push 0
push dword [ebp + 8]
call fcn.004efb2c
jmp 0x53e17f
fild dword [ebp + 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0xa132ac]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.004ef9d0
push eax
call fcn.004efb10
mov dword [ebp - 0x10], eax
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0xa1336c]
fstp qword [ebp - 0x30]
push 1
push dword [ebp - 0xc]
fld qword [ebp - 0x30]
call fcn.004ef9d0
push eax
push 3
push dword [ebp - 0x10]
push dword [ebp + 0x10]
call fcn.0053e198
mov dword [ebp - 0x14], eax
push reloc.oleaut32.dll_SysStringLen
push 0
push 0x541373
push 1
mov ebx, 0x9dc
call fcn.00647990
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push 0
push 0
xor eax, eax
call dword [sym.imp.kernel32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x53e148
push 0x26f
push 0x42a7983
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x53e174
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.004f3428
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00645a87
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x559d88
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
call fcn.004efb10
push eax
call fcn.004efcd0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x559dbd
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 8], esp
je 0x559ded
push 0x6b
push 0x425a6fb
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x10
jne 0x559e17
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004f10cd
jmp 0x559eb9
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 1
push 1
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0xa13700
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004fad24
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x559e5e
push ebx
call fcn.00645a87
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x14]
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x559e7b
mov eax, 0xa13344
push eax
push 2
mov ebx, 0x134
call fcn.00647aa0
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.004f10cd
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x559eb9
push ebx
call fcn.00645a87
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x559ec9
push ebx
call fcn.00645a87
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5964bc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x596520
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x596509
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x5964f8
xor ecx, eax
xor edx, ebx
dec edi
jne 0x5964e9
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x5bcc34
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 0x5bd0cf
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0xa826e0
call fcn.005bce0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5bcc78
mov eax, 0
jmp 0x5bce05
mov eax, dword [0xa826e4]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push 0x3d
push 0
xor eax, eax
call dword [0xa82854]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5bccbd
push 0x9c
push 0x43681f6
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5bcdfd
pushal
mov edx, dword [ebp + 0xc]
cmp edx, 0x80
jg 0x5bcdab
cmp edx, 0
jl 0x5bcdab
shl edx, 2
mov ebx, dword [ebp]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx]
mov ecx, ebx
mov ebx, dword [ebx]
mov eax, dword [ebp + 8]
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
test ebx, ebx
cmp ebx, 1
jl 0x5bcdab
mov esi, dword [ebp - 8]
mov dword [esi], 0x6aec8b55
xor al, al
cmp dword [ebp + 0x1c], 1
je 0x5bcd23
mov al, dl
mov byte [esi + 4], al
mov dword [esi + 5], 0x6a575653
mov dword [esi + 9], 0x243cd900
mov dword [esi + 0xd], 0x68e3db
mov dword [esi + 0x10], ecx
mov word [esi + 0x14], 0xc48b
add esi, 0x16
cmp edx, 0
je 0x5bcd81
mov byte [esi], 0xb9
mov dword [esi + 1], edx
mov dword [esi + 5], 0x758de12b
mov dword [esi + 9], 0x243c8d08
mov dword [esi + 0xd], 0x8ba4f3fc
mov dword [esi + 0x11], 0x758bf84d
mov dword [esi + 0x15], 0xf07d8bf4
add esi, 0x19
cmp dword [ebp + 0x14], 0
je 0x5bcd8e
mov byte [esi], 0x51
inc esi
mov word [esi], 0xb850
mov dword [esi + 2], ebx
mov byte [esi + 6], 0x68
mov ecx, dword [ebp - 4]
mov dword [esi + 7], ecx
mov word [esi + 0xb], 0xe0ff
jmp 0x5bcdb2
mov dword [ebp - 4], 0
popal
cmp dword [ebp - 4], 0
jne 0x5bcdfd
mov dword [ebp - 0xc], esp
push 0x8000
push 0
push dword [ebp - 8]
xor eax, eax
call dword [0xa82858]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5bcdf3
push 0x96e
push 0x43681f6
push 6
call fcn.00645a6f
add esp, 0xc
mov eax, 0
jmp 0x5bce05
mov eax, dword [ebp - 8]
jmp 0x5bce05
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x5e85c4
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0xf0000000
push 0x18
push 0xa13344
push 0xa13344
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5e861c
push 0x24
push 0x4367c4a
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5e8681
mov dword [ebp - 0xc], esp
push 0
push 0x18
push 0xa13344
push 0xa13344
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5e866a
push 0x7d
push 0x4367c4a
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5e8681
mov eax, 0xa13348
jmp 0x5e86fa
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.005e8714
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5e86a6
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5e86db
push 0x120
push 0x4367c4a
push 6
call fcn.00645a6f
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x5e86f5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00645a7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x5e86fa
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5e870b
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8