joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d236
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x5383dc
call fcn.0050d349
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
push eax
call fcn.0044f86d
lea ecx, [ebp - 0x2c]
call fcn.00487ac3
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x47d26c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00450c1b
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00451108
push 1
push esi
push esi
push dword [ebp - 0x30]
push str.Open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x30]
cmp eax, 0x20
setg bl
add ecx, 0xfffffff0
call fcn.00450ce2
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00451108
mov al, bl
call fcn.0050d2f8
ret

Function at 0x47e4be
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x47e65c
mov edx, 0x10000000
cmp eax, 0x7c
je 0x47e65c
cmp eax, 0x29
jne 0x47e4f9
cmp dword [esi + 0x10], 0
jne 0x47e65c
test dword [esi + 0x50], edx
je 0x47e662
cmp eax, 0x2e
jne 0x47e514
push 5
lea ecx, [esi + 0x24]
call fcn.0047e757
mov ecx, esi
call fcn.0047e495
jmp 0x47e644
cmp eax, 0x5c
jne 0x47e56f
mov ecx, esi
call fcn.0047e495
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x47e546
cmp byte [esi + 0x48], 0x62
jne 0x47e546
push 4
lea ecx, [esi + 0x24]
call fcn.0047e757
mov ecx, esi
call fcn.0047e495
jmp 0x47e64b
test eax, eax
je 0x47e563
cmp byte [esi + 0x48], 0x42
jne 0x47e563
push 4
lea ecx, [esi + 0x24]
call fcn.0047e757
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x47e53a
mov ecx, esi
call fcn.0047eacb
jmp 0x47e644
cmp eax, 0x5b
jne 0x47e5cf
mov ecx, esi
call fcn.0047e495
lea ecx, [esi + 0x24]
call fcn.0047f881
cmp dword [esi + 0x4c], 0x5e
jne 0x47e597
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0047e495
test dword [esi + 0x50], 0x20000000
je 0x47e5b7
cmp dword [esi + 0x4c], 0x5d
jne 0x47e5b7
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0047f8cb
mov ecx, esi
call fcn.0047e495
mov ecx, esi
call fcn.0047f62f
cmp dword [esi + 0x4c], 0x5d
je 0x47e508
push 4
jmp 0x47e664
cmp eax, 0x28
jne 0x47e5ec
mov ecx, esi
call fcn.0047e495
mov ecx, esi
call fcn.0047eba7
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x47e639
jmp 0x47e662
cmp eax, 0x5e
jne 0x47e5f8
push 2
jmp 0x47e532
cmp eax, 0x24
jne 0x47e604
push 3
jmp 0x47e532
cmp eax, 0x2a
je 0x47e658
cmp eax, 0x2b
je 0x47e658
cmp eax, 0x3f
je 0x47e658
cmp eax, 0x7b
je 0x47e658
cmp eax, 0x7d
jne 0x47e622
test dword [esi + 0x50], edx
je 0x47e654
cmp eax, 0x5d
jne 0x47e62c
test dword [esi + 0x50], edx
je 0x47e5c8
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0047ed00
mov ecx, esi
call fcn.0047e495
test bl, bl
je 0x47e64b
mov ecx, esi
call fcn.0047ec3d
mov cl, 1
mov bl, cl
jmp 0x47e4c7
push 6
jmp 0x47e664
push 0xa
jmp 0x47e664
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.004f13c5
int3
Function at 0x47e78e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x538596
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, edx
mov ebp, ecx
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0xb4]
mov eax, dword [ecx]
test eax, eax
jne 0x47e7d7
xor al, al
jmp 0x47e8b5
push dword [esp + 0xb8]
xor bl, bl
push dword [eax + 0x14]
push dword [eax + 0x1c]
push eax
lea eax, [ecx + 4]
push eax
push esi
push ebp
lea ecx, [esp + 0x38]
call fcn.0047ee48
mov edi, dword [esp + 0xb0]
and dword [esp + 0xa8], 0
push ecx
push edi
lea ecx, [esp + 0x24]
call fcn.0047f482
test al, al
jne 0x47e870
cmp ebp, esi
je 0x47e882
test byte [esp + 0xb8], 0x40
jne 0x47e882
mov eax, dword [esp + 0x7c]
or eax, 0x100
and eax, 0xffffdfff
mov dword [esp + 0x7c], eax
jmp 0x47e843
mov dword [esp + 0x78], ebp
call fcn.0047f482
test al, al
jne 0x47e86c
push 0
push esi
lea eax, [ebp + 1]
push eax
lea ecx, [esp + 0x28]
call fcn.0047f240
mov ebp, eax
push ecx
lea ecx, [esp + 0x20]
push edi
cmp ebp, esi
jne 0x47e836
mov dword [esp + 0x78], esi
call fcn.0047f482
test al, al
je 0x47e882
mov ebp, dword [esp + 0x18]
mov bl, 1
test edi, edi
je 0x47e882
mov eax, dword [esp + 0xbc]
mov dword [edi], eax
mov dword [edi + 0x14], ebp
cmp dword [esp + 0x5c], 0
je 0x47e8a1
push dword [esp + 0x5c]
call fcn.0050815e
xor eax, eax
pop ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x3c]
call fcn.0047edc2
lea ecx, [esp + 0x1c]
call fcn.0047edc2
mov al, bl
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret

Function at 0x4825bc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [esp + 8], edx
jbe 0x4825e2
push esi
mov esi, dword [esp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [esp + 0xc]
jb 0x4825ce
pop esi
mov eax, ecx
ret
Function at 0x4827db
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
push 0x571098
push dword [esp + 0x144]
mov esi, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
call fcn.0050bbd0
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test eax, eax
jne 0x482848
test esi, esi
je 0x482841
lea ecx, [esp + 0x28]
call fcn.004831a4
push eax
mov ecx, esi
call fcn.004615ca
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00451108
xor al, al
jmp 0x482965
xor ebx, ebx
test ebp, ebp
je 0x482857
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
jmp 0x48285b
mov dword [esp + 0x1c], ebx
push 9
xor eax, eax
lea edi, [esp + 0x46]
pop ecx
mov word [esp + 0x40], ax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
push ebx
stosw word es:[edi], ax
call fcn.00450e01
mov edi, dword [esp + 0x18]
push 2
pop eax
push eax
push ebx
push edi
call fcn.0050e365
add esp, 0xc
push edi
call fcn.0050e778
pop ecx
push ebx
push ebx
push edi
mov dword [esp + 0x20], eax
call fcn.0050e365
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x48291c
mov ebx, eax
push ebx
call fcn.004f13e5
pop ecx
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
push 1
push ebx
push edi
call fcn.0050e22a
push ebx
mov edx, edi
xor ecx, ecx
call fcn.00482f4e
add esp, 0x14
mov ebx, eax
xor ecx, ecx
push 2
pop edx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f13e5
pop ecx
push dword [esp + 0x14]
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.00482f4e
pop ecx
mov ecx, dword [esp + 0x20]
push ebx
push esi
call fcn.00450d41
push esi
call fcn.00508e1f
pop ecx
push edi
call fcn.00508e1f
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
pop ecx
push ebx
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x74]
push str._s_d_bytes_to__d_wide_chars
push eax
call fcn.0050ba99
add esp, 0x14
test esi, esi
je 0x482951
lea eax, [esp + 0x68]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.00450d41
push edi
call fcn.0050ad77
pop ecx
test ebp, ebp
je 0x482963
mov ecx, dword [esp + 0x1c]
mov dword [ebp], ecx
mov al, 1
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00508163
add esp, 0x12c
ret
Function at 0x48297e
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x144]
mov ebp, edx
push 0x5710d8
push dword [esp + 0x144]
mov esi, ecx
mov dword [esp + 0x2c], edi
mov bl, 1
call fcn.0050bbd0
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
jne 0x4829eb
test ebp, ebp
je 0x4829e4
lea ecx, [esp + 0x28]
call fcn.004831a4
push eax
mov ecx, ebp
call fcn.004615ca
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00451108
xor al, al
jmp 0x482af5
test edi, edi
je 0x4829f7
mov edx, dword [edi]
mov dword [esp + 0x18], edx
jmp 0x4829fc
and dword [esp + 0x18], 0
xor eax, eax
lea edi, [esp + 0x42]
push 9
mov word [esp + 0x44], ax
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x482a7f
cmp dword [esi + 0x14], 8
jb 0x482a25
mov edx, dword [esi]
jmp 0x482a27
mov edx, esi
push 0
xor ecx, ecx
call fcn.00482e49
mov edi, eax
pop ecx
lea ecx, [edi + 1]
push ecx
call fcn.004f13e5
cmp dword [esi + 0x14], 8
mov ebx, eax
pop ecx
mov dword [esp + 0x20], ebx
jb 0x482a4b
mov esi, dword [esi]
push edi
mov edx, esi
mov ecx, ebx
call fcn.00482e49
mov esi, dword [esp + 0x18]
pop ecx
push esi
push 1
push edi
push ebx
call fcn.0050a7ce
push dword [esp + 0x30]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.00508e1f
mov eax, dword [esp + 0x30]
add esp, 0x14
jmp 0x482a83
mov esi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x44]
push ecx
push eax
lea eax, [esp + 0x74]
push str._d_wide_chars_to__s_d_bytes
push eax
call fcn.0050ba99
add esp, 0x14
test ebp, ebp
je 0x482ab8
lea eax, [esp + 0x68]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, ebp
push eax
call fcn.00450d41
test bl, bl
jne 0x482ade
test ebp, ebp
je 0x482ade
lea ecx, [esp + 0x28]
call fcn.004831a4
push eax
mov ecx, ebp
call fcn.004615ca
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00451108
push esi
call fcn.0050ad77
mov eax, dword [esp + 0x28]
pop ecx
test eax, eax
je 0x482af3
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov al, bl
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00508163
add esp, 0x12c
ret
Function at 0x485d59
Capabilities:
Move file

Disassembly:
push 0x24
mov eax, 0x538c42
call fcn.0050d349
mov esi, 0x59e568
mov dword [ebp - 0x30], esi
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [0x59e5cc], ebx
je 0x485dbc
push ecx
call fcn.004859dd
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.004856ec
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x485d98
mov ecx, dword [ecx]
cmp dword [0x59e57c], 0x10
mov eax, esi
push ecx
cmovae eax, dword [0x59e568]
push eax
call fcn.00510650
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea87
push ebx
push 1
mov ecx, 0x59e5b0
call fcn.0044ea87
mov ecx, 0x59e580
mov byte [ebp - 4], bl
call fcn.00485493
push ebx
push 1
mov ecx, esi
call fcn.0044ea87
call fcn.0050d2f8
ret

Function at 0x485de6
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x538c6f
call fcn.0050d316
cmp dword [0x59e5c0], 0
jne 0x485e06
push str._simpleLog::Log__log_filename_is_empty_n
call fcn.005105a1
pop ecx
cmp dword [0x59e5c8], 0
mov esi, 0x59e568
jne 0x485e20
push 0x59e5b0
mov ecx, esi
call fcn.0045453f
xor ebx, ebx
mov dword [ebp - 0x18], 0x59e58c
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x14], bl
call fcn.004862d5
push ebx
push ebx
push esi
push 0x4855d6
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.0050ae66
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
je 0x485e5e
lea eax, [ebp - 0x10]
mov ecx, 0x59e580
push eax
call fcn.0048636e
cmp byte [ebp - 0x14], 0
je 0x485e6f
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.0050d2e4
ret
Function at 0x486c65
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x538de2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
xor ebp, ebp
xor eax, eax
inc ebp
mov dword [esp + 0x230], ebp
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
push 0x206
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push ebx
push eax
mov dword [esp + 0x20], ebp
call fcn.0050cd80
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push 0x2e
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x486d6e
lea eax, [esp + 0x1c]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00450d41
mov esi, 0x57209c
push esi
call fcn.00450dae
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0045439e
cmp dword [esp + 0x248], ebx
je 0x486d44
cmp dword [esp + 0x24c], 8
lea esi, [esp + 0x238]
cmovae esi, dword [esp + 0x238]
jmp 0x486d49
mov esi, 0x572084
push esi
call fcn.00450dae
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0045439e
mov esi, 0x5720a4
push esi
call fcn.00450dae
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0045439e
cmp dword [edi + 0x14], 8
jb 0x486d78
mov eax, dword [edi]
jmp 0x486d7a
mov eax, edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
push ebp
lea ecx, [esp + 0x240]
call fcn.00451108
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00508163
add esp, 0x220
ret
Function at 0x486ffd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x538ed3
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
xor eax, eax
mov dword [esp + 0x28], edi
push 0xc6
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push edi
push eax
call fcn.0050cd80
add esp, 0xc
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x1c], edi
call fcn.00486fbd
test al, al
mov edx, 0x200
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
cmovne ecx, edx
push eax
push edi
or ecx, 0x20019
push ecx
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor ebp, ebp
inc ebp
test eax, eax
jne 0x4870d0
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ebp
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push 0x572158
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
call fcn.00450dd2
mov dword [esp + 0x148], edi
cmp dword [esp + 0x3c], 0
jne 0x4870fe
push 0x572154
lea ecx, [esp + 0x60]
call fcn.00450dd2
mov ebx, ebp
jmp 0x48710f
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.0044f86d
push 2
pop ebx
push eax
mov ecx, esi
call fcn.0045056e
or ebx, 4
test bl, 2
je 0x48712d
push edi
push ebp
lea ecx, [esp + 0x4c]
and ebx, 0xfffffffd
call fcn.00451108
test bl, 1
je 0x48713d
push edi
push ebp
lea ecx, [esp + 0x64]
call fcn.00451108
push edi
push ebp
lea ecx, [esp + 0x34]
call fcn.00451108
mov eax, esi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00508163
add esp, 0x138
ret
Function at 0x487ccf
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5390dd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, edx
and dword [esp + 0x1c], 0
cmp dword [ecx + 0x14], 8
jb 0x487d10
mov ecx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
mov ebp, eax
cmp dword [esp + 0x1c], edi
jle 0x487e65
push dword [ebp + edi*4]
lea ecx, [esp + 0x28]
call fcn.00450dd2
and dword [esp + 0x78], 0
lea ecx, [esp + 0x3c]
push 0x57231c
call fcn.00450dd2
push 0x572318
mov byte [esp + 0x7c], 1
call fcn.00450dae
pop ecx
push eax
push 0
push 0x572318
lea ecx, [esp + 0x30]
call fcn.004616d7
mov esi, eax
cmp esi, 0xffffffff
je 0x487dcb
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x54]
sub ecx, esi
dec ecx
push ecx
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00453e03
push eax
lea ecx, [esp + 0x40]
call fcn.004615ca
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.00451108
push esi
push 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00453e03
push eax
lea ecx, [esp + 0x28]
call fcn.004615ca
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.00451108
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00467aa7
mov esi, dword [esp + 0x18]
cmp esi, dword [ebx]
je 0x487df6
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00465dd5
test al, al
je 0x487e26
lea eax, [esp + 0x24]
push ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.004889fa
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.00467b84
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x28]
lea eax, [esp + 0x3c]
cmp ecx, eax
je 0x487e3b
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00451108
or dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x24]
push 0
push 1
call fcn.00451108
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x487d2a
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00508163
add esp, 0x68
ret
Function at 0x487e8d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x539110
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
xor ebp, ebp
push 0x206
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push ebp
push eax
mov dword [esp + 0x3c], ebp
call fcn.0050cd80
add esp, 0xc
mov dword [esp + 0x1c], 0x104
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
push str.SoftwareWondershareWondershare_Creative_Center
call fcn.00450dd2
mov dword [esp + 0x260], ebp
mov edi, ebp
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x2c], 0x200
push dword [esp + 0x1c]
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.00461f62
add esp, 0xc
lea eax, [esp + 0x24]
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
cmovae ecx, dword [esp + 0x34]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + edi*4 + 0x30]
push ebp
or eax, 0x20019
push eax
push ebp
push ebp
push ebp
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x487fb3
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 1
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x28]
push eax
push ebp
push 0x572320
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
test esi, esi
jne 0x487fb3
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x487fbd
inc edi
cmp edi, 2
jl 0x487f21
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.00450dd2
push ebp
push 1
lea ecx, [esp + 0x3c]
call fcn.00451108
mov eax, ebx
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00508163
add esp, 0x250
ret

Function at 0x487fff
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x596700]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00487e8d
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x1c]
push 0
push 1
setne bl
call fcn.00451108
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00508163
mov esp, ebp
pop ebp
ret
Function at 0x48804c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edx + 0x14], 8
jb 0x488058
mov edx, dword [edx]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x488092
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x48807e
mov eax, dword [eax]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x48809f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
cmp dword [edx + 0x14], 8
jb 0x4880b1
mov edx, dword [edx]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4880f8
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4880e0
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x488136
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x539146
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call ebx
xor ecx, ecx
mov edi, eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f13e5
mov esi, eax
pop ecx
test esi, esi
je 0x488209
push edi
push 0
push esi
call fcn.00461f62
add esp, 0xc
push esi
push edi
call ebx
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
test edi, edi
jle 0x488202
mov ebx, esi
push ebx
lea ecx, [esp + 0x18]
call fcn.00450dd2
and dword [esp + 0x38], 0
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4881ea
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.0044fbe9
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
push 0
push 1
call fcn.00451108
add ebx, 8
dec edi
jne 0x4881b5
push esi
call fcn.00508e1f
pop ecx
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
push 0x18
cdq
pop ecx
idiv ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00508163
add esp, 0x28
ret