joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457f50
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xffffffff
jne 0x457f7e
push 0x2719
mov ecx, dword [ebp + 0xc]
call fcn.0040bc30
or eax, 0xffffffff
jmp 0x4580df
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x220], 0
jmp 0x457fa3
mov eax, dword [ebp - 0x220]
add eax, 1
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
cmp ecx, dword [ebp - 0x218]
jae 0x457fc7
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp + edx*4 - 0x214]
cmp eax, dword [ebp + 8]
jne 0x457fc5
jmp 0x457fc7
jmp 0x457f94
mov ecx, dword [ebp - 0x220]
cmp ecx, dword [ebp - 0x218]
jne 0x457ffd
cmp dword [ebp - 0x218], 0x40
jae 0x457ffd
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x214], eax
mov ecx, dword [ebp - 0x218]
add ecx, 1
mov dword [ebp - 0x218], ecx
xor edx, edx
jne 0x457f88
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x224], 0
jmp 0x458026
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
cmp ecx, dword [ebp - 0x110]
jae 0x45804a
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp + edx*4 - 0x10c]
cmp eax, dword [ebp + 8]
jne 0x458048
jmp 0x45804a
jmp 0x458017
mov ecx, dword [ebp - 0x224]
cmp ecx, dword [ebp - 0x110]
jne 0x458080
cmp dword [ebp - 0x110], 0x40
jae 0x458080
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x10c], eax
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
xor edx, edx
jne 0x45800b
call fcn.0043d860
mov eax, dword [ebp + 0xc]
push eax
push 0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0045b9d0
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jl 0x4580d9
lea ecx, [ebp - 0x22c]
call fcn.00402da0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
Function at 0x458460
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x45847e
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x45847e
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
jmp 0x458485
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x4584a3
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx]
test edx, edx
je 0x4584a3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x4584aa
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0x10], ecx
call fcn.0043d860
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.004582f0
add esp, 8
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x45ba00
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_connect]
pop ebp
ret

Function at 0x45dba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7e50
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x61c850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push 0x45e1c0
mov ecx, dword [ebp - 0x10]
call fcn.00403af0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 8]
mov byte [eax + 0x20], cl
lea edx, [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0045e050
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
add edx, 0x38
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0045d920
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46b730
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d882
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00469030
add esp, 8
mov byte [ebp - 4], 2
lea edx, [ebp + 0x24]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.00469030
add esp, 8
mov byte [ebp - 4], 3
push 0x3c
push 0
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00496f40
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x40], 0x5b52f0
lea ecx, [ebp - 0x68]
call fcn.00405ee0
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x84]
call fcn.00405ee0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x40
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x46b839
mov eax, dword [ebp + 0x40]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.00405ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x88]
jmp 0x46b88a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
sub ecx, eax
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.00405ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x8c]
jmp 0x46b88a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
Function at 0x46db00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405ee0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x46dcb2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0048aca4
add esp, 4
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 8], edx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405ee0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x46dcb2
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0x5b5440
mov edx, dword [ebp - 8]
push edx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x46dca8
cmp dword [ebp - 0x224], 0
jbe 0x46dca8
mov eax, dword [ebp - 0x224]
shr eax, 2
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 1
je 0x46dc2a
mov dword [ebp - 0x214], 0
jmp 0x46dcba
push 0x5b5474
mov ecx, dword [ebp - 0x220]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x220]
movzx ecx, word [eax]
push ecx
push str.StringFileInfo_04x_04x_s
push 0x100
lea edx, [ebp - 0x210]
push edx
call fcn.00498bbb
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x46dc9c
cmp dword [ebp - 0x21c], 0
jbe 0x46dc9c
mov dword [ebp - 0x214], 1
jmp 0x46dca6
mov dword [ebp - 0x214], 0
jmp 0x46dcb2
mov dword [ebp - 0x214], 0
xor ecx, ecx
jne 0x46db3c
cmp dword [ebp - 0x214], 0
je 0x46dce3
push 0x5b54c4
mov edx, dword [ebp - 4]
push edx
call fcn.00498b30
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x234], eax
jmp 0x46dced
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 8], 0
je 0x46dd17
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x230]
push edx
call fcn.00496fba
add esp, 4
cmp dword [ebp - 0x214], 0
setne al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
Function at 0x46eee0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e116
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x84]
call fcn.004056c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.004056c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp + 0x24]
push edx
call fcn.0046df50
add esp, 0xc
movzx eax, al
test eax, eax
je 0x46f05e
lea ecx, [ebp - 0x84]
push ecx
call fcn.0046e730
add esp, 4
test eax, eax
jne 0x46f05e
push 0
lea edx, [ebp + 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00469030
add esp, 8
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
call fcn.00405ee0
push eax
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00469030
add esp, 8
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xa0]
call fcn.00405ee0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.00405ea0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
cmp dword [ebp - 0x88], 0
je 0x46f048
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.004058b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.004058b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x8c]
jmp 0x46f0a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
sub edx, eax
mov dword [ebp - 0x68], edx
js 0x46f05e
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.004058b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.004058b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x90]
jmp 0x46f0a8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
Function at 0x470470
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e4af
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00469030
add esp, 8
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
call fcn.00405ee0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00469030
add esp, 8
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
call fcn.00405ee0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
Function at 0x470e40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e6c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00469030
add esp, 8
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x34]
call fcn.00405ee0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x470ebe
mov byte [ebp - 0xcd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405ea0
mov al, byte [ebp - 0xcd]
jmp 0x470fc9
mov eax, dword [ebp - 0x38]
add eax, 0x10
push eax
call fcn.004981df
add esp, 4
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 0
lea ecx, [ebp - 0x34]
call fcn.00405ee0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc0]
push ecx
push 0x5b55e0
mov edx, dword [ebp - 0xcc]
push edx
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0xc0], 0
jne 0x470f43
mov eax, dword [ebp - 0xcc]
push eax
call fcn.00496008
add esp, 4
mov byte [ebp - 0xce], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405ea0
mov al, byte [ebp - 0xce]
jmp 0x470fc9
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov edx, dword [ebp - 0x10]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax + 2], dx
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
mov word [ecx + 4], ax
mov edx, dword [ebp - 0x10]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax + 6], dx
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.00496008
add esp, 4
mov byte [ebp - 0xcf], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405ea0
mov al, byte [ebp - 0xcf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
Function at 0x471010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e6fe
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x23c], ax
push 0x208
push 0
lea ecx, [ebp - 0x23a]
push ecx
call fcn.00496f40
add esp, 0xc
push 0x104
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00469030
add esp, 8
mov byte [ebp - 4], 1
push 1
lea edx, [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00405ee0
push eax
call fcn.004ac063
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x23d], al
mov al, byte [ebp - 0x23d]
mov byte [ebp - 0x23e], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004058b0
mov al, byte [ebp - 0x23e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret

Function at 0x471100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e74d
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], 0
xor eax, eax
mov word [ebp - 0x23c], ax
push 0x208
push 0
lea ecx, [ebp - 0x23a]
push ecx
call fcn.00496f40
add esp, 0xc
lea edx, [ebp - 0x23c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405df0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00469210
add esp, 8
mov eax, dword [ebp - 0x240]
or eax, 1
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
Function at 0x4711d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e79c
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], 0
xor eax, eax
mov word [ebp - 0x23c], ax
push 0x208
push 0
lea ecx, [ebp - 0x23a]
push ecx
call fcn.00496f40
add esp, 0xc
push 0x104
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405df0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00469210
add esp, 8
mov eax, dword [ebp - 0x240]
or eax, 1
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
Function at 0x471590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e8b7
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c8], 0
xor eax, eax
mov word [ebp - 0x2a4], ax
push 0x206
push 0
lea ecx, [ebp - 0x2a2]
push ecx
call fcn.00496f40
add esp, 0xc
lea ecx, [ebp - 0x2c4]
call fcn.004056c0
mov dword [ebp - 4], 1
push 0
push 5
lea edx, [ebp - 0x2a4]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
jge 0x47165a
lea eax, [ebp - 0x2c]
push eax
call fcn.0046e400
add esp, 4
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2d0]
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00405880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004058b0
jmp 0x4716bd
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x48]
call fcn.00405df0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.00469210
add esp, 8
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2d8]
push ecx
lea ecx, [ebp - 0x2c4]
call fcn.00405880
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004058b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00405ea0
push 0x5b55ec
lea ecx, [ebp - 0x80]
call fcn.00405770
mov byte [ebp - 4], 5
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0046dd30
add esp, 0xc
mov dword [ebp - 0x2dc], eax
mov edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00405880
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
call fcn.004058b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.004058b0
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x471742
lea edx, [ebp - 0x2c4]
push edx
call fcn.0046e730
add esp, 4
lea eax, [ebp - 0x2c4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004057f0
mov ecx, dword [ebp - 0x2c8]
or ecx, 1
mov dword [ebp - 0x2c8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.004058b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
Function at 0x4794b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f77d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 1
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00469030
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405ee0
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x479555
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x34]
jmp 0x4795f8
lea ecx, [ebp - 0x2c]
call fcn.00405ee0
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x47957e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4795bb
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x38]
jmp 0x4795f8
mov eax, dword [ebp - 0x30]
cdq
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret 0x38

Function at 0x487540
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret