joyce8/EMBER2024-capa huggingface dataset:
Function at 0x491430
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push 0xf0000040
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x491465
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push dword [ebp + 0x10]
call fcn.00468e00
add esp, 4
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [ebp - 4], 0x10
jne 0x4914b3
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4914c1
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4914d1
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret

Function at 0x492610
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x5be010]
mov edi, eax
add esp, 4
test edi, edi
jne 0x49263d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x492684
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x49268a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4926eb
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x4926b0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x492717
mov eax, dword [esi + 4]
push 1
push 0x54f55d
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x54f55e
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4926f0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4927f0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x492833
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8002
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push dword [ebp + 0x10]
call fcn.00468e00
add esp, 4
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [ebp - 4], 0x10
jne 0x492881
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 8]
test eax, eax
je 0x49288f
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x49289f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret

Function at 0x4984ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4cd0b8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ccf37

Function at 0x4d0801
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d04c1
Function at 0x4dd370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4dd392
push 0
push 0x87
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4dd39d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4dd3af
not al
and al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.004dde30
int3

Function at 0x4dd750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c86e
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5be1ec]
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
mov esi, dword [ebp + 8]
lea ebx, [edi + 4]
push ebx
lea ecx, [ebp - 0x13c]
call fcn.004e4a70
push esi
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0
call fcn.004e4a70
push esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004dce70
mov dword [ebp - 0x5c], vtable.Poco::File.0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004ddc70
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x4dd811
cmp dword [ebp - 0x48], 0
jne 0x4dd7ee
push 0
push 0x9f
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
cmp eax, 0xffffffff
jne 0x4dd80a
lea eax, [ebp - 0x58]
push eax
call fcn.004dde30
shr eax, 4
and al, 1
jne 0x4dd81a
cmp dword [ebp - 0x8c], 0
jne 0x4dd837
lea ecx, [ebp - 0xcc]
call fcn.004e56a0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.004e6680
cmp dword [edi + 0x14], 0
jne 0x4dd856
push 0
push 0x9f
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x4dd861
mov eax, dword [eax]
push eax
call esi
cmp eax, 0xffffffff
jne 0x4dd86f
push ebx
call fcn.004dde30
shr eax, 4
lea ecx, [ebp - 0xcc]
and al, 1
lea eax, [ebp - 0x28]
push eax
je 0x4dd896
call fcn.004e6830
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 3
push eax
call fcn.004dd4f0
jmp 0x4dd8aa
call fcn.004e6830
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 4
push eax
call fcn.004dd910
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4dd8bf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407c40
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], vtable.Poco::File.0
call fcn.004dcfa0
lea ecx, [ebp - 0xcc]
call fcn.004e4cd0
lea ecx, [ebp - 0x13c]
call fcn.004e4cd0
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.004951c6
mov esp, ebp
pop ebp
ret 8
Function at 0x4dd910
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
mov edi, dword [ebp + 8]
jne 0x4dd95e
push 0
push pe_nt_image_headers32
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.004dd440
add esp, 8
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [esi + 0x1c]
cmovae edx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x4dd998
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
and eax, 1
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4dd9b4
lea eax, [esi + 4]
push eax
call fcn.004dde30
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4dd9c9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00443990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 8

Function at 0x4ddb10
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4ddb32
push 0
push 0x183
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
mov ecx, esi
call fcn.004ddc70
test al, al
je 0x4ddb7e
cmp dword [esi + 0x14], 0
jne 0x4ddb5c
push 0
push 0x9f
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4ddb67
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4ddb9a
shr eax, 4
test al, 1
je 0x4ddb7e
xor al, al
pop esi
ret
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4ddb89
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4ddba3
mov al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.004dde30
lea eax, [esi + 4]
push eax
call fcn.004dde30
int3

Function at 0x4ddc70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4ddc8f
push 0
push 0x5e
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4ddc9a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4ddcc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x4ddcbb.4
movzx eax, byte [eax + 0x4ddcdc]
jmp dword [eax*4 + 0x4ddcd4]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.004dde30
nop
ret 0x4ddc
Function at 0x4dde30
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c948
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x4de003
je case.0x4dde8f.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x4dde8f.4
movzx eax, byte [eax + 0x4de098]
jmp dword [eax*4 + 0x4de05c]
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00451450
push 0x5b3a80
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.004511e0
push 0x5b3b58
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00451390
push 0x5b3a38
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00450db0
push 0x5b3ba0
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00450fa0
push 0x5b3cc0
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00452900
push 0x5b3c30
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00452320
push 0x5b3c78
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
push str.sharing_violation
lea ecx, [ebp - 0x28]
call fcn.00406fc0
mov dword [ebp - 4], 0
push esi
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.004512a0
push 0x5b39f4
lea eax, [ebp - 0x68]
push eax
call fcn.004ae11e
push str.lock_violation
lea ecx, [ebp - 0x28]
call fcn.00406fc0
mov dword [ebp - 4], 1
jmp 0x4ddf52
push str.EOF_reached
lea ecx, [ebp - 0x28]
call fcn.00406fc0
push esi
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x68]
call fcn.004522f0
push 0x5b3c78
jmp 0x4ddf65
push str.disk_is_full
lea ecx, [ebp - 0x28]
call fcn.00406fc0
push esi
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.004528d0
push 0x5b3c30
jmp 0x4ddf65
push str.negative_seek
lea ecx, [ebp - 0x28]
call fcn.00406fc0
mov dword [ebp - 4], 4
jmp 0x4ddf52
push esi
push edi
lea ecx, [ebp - 0x68]
call fcn.004520c0
push 0x5b396c
jmp 0x4ddf65
cmp esi, 0x781
je case.0x4dde8f.3
cmp esi, 0x1779
je 0x4de030
push esi
push edi
lea ecx, [ebp - 0x94]
call fcn.004512d0
push 0x5b39f4
lea eax, [ebp - 0x94]
jmp 0x4ddf68
push 0x1779
push edi
lea ecx, [ebp - 0x68]
call fcn.00451510
push 0x5b3b10
jmp 0x4ddf65
push esi
push edi
lea ecx, [ebp - 0x68]
call fcn.00452000
push 0x5b3ac8
jmp 0x4ddf65
Function at 0x4de5c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4de5e2
push 0
push 0x9f
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4de5ed
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4de600
shr eax, 4
and al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.004dde30
int3

Function at 0x4de610
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x4de620
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4de642
push 0
push 0x9f
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4de64d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4de676
shr eax, 4
test al, 1
jne 0x4de672
mov ecx, esi
call fcn.004de4d0
test al, al
jne 0x4de672
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.004dde30
int3

Function at 0x4de680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4de6a2
push 0
push 0xaa
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4de6ad
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4de6ce
and ecx, 0x410
xor eax, eax
cmp ecx, 0x400
pop esi
sete al
ret
lea eax, [esi + 4]
push eax
call fcn.004dde30
int3

Function at 0x4dea80
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x14], 0
jne 0x4deac2
push 0
push 0x160
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [edi + 0x14], 0
jne 0x4deac2
push 0
push 0x9f
push str.d:_sdkpoco_1.10.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00454930
add esp, 0x10
cmp dword [edi + 0x30], 8
lea esi, [edi + 0x1c]
jb 0x4deacf
mov eax, dword [esi]
jmp 0x4dead1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4deb0f
shr eax, 4
test al, 1
je 0x4deaf9
cmp dword [esi + 0x14], 8
jb 0x4deaec
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4deb0c
jmp 0x4deb18
cmp dword [esi + 0x14], 8
jb 0x4deb01
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4deb21
pop edi
pop esi
ret
lea eax, [edi + 4]
push eax
call fcn.004dde30
lea eax, [edi + 4]
push eax
call fcn.004dde30
lea eax, [edi + 4]
push eax
call fcn.004dde30
int3
Function at 0x4e66b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d441
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7fff
mov dword [ebp - 0x58], 0
mov edx, 2
mov dword [ebp - 4], 0
mul edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], 0x7fff
seto cl
mov dword [ebp - 0x68], 0x7fff
neg ecx
mov byte [ebp - 0x60], 1
or ecx, eax
push ecx
call fcn.00511cd3
mov edi, eax
add esp, 4
mov dword [ebp - 0x64], edi
push 0x7fff
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4e6802
push 0x7fff
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x4e677c
push str.Cannot_get_system_directory_long_path_name
lea ecx, [ebp - 0x28]
call fcn.00406fc0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.00452680
push 0x5b3724
lea eax, [ebp - 0x54]
push eax
call fcn.004ae11e
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4e67a2
mov eax, dword [esi]
jmp 0x4e67a4
mov eax, esi
mov byte [eax], 0
push esi
push edi
mov dword [ebp - 0x58], 1
call fcn.004e89b0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x4e67c5
mov eax, dword [esi]
jmp 0x4e67c7
mov eax, esi
cmp byte [eax + ecx - 1], 0x5c
je 0x4e67dc
push 1
push 0x54e26c
mov ecx, esi
call fcn.004076c0
push edi
call fcn.0049523b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret
push 0x23
push str.Cannot_get_temporary_directory_path
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407520
mov byte [ebp - 4], 3
jmp 0x4e6760
Function at 0x4e7530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d638
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5be1ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00414ac0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push edx
mov dword [ebp - 4], 0
mov dword [esi], vtable.Poco::BasicBufferedBidirectionalStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
call fcn.00511cd3
push dword [esi + 0x38]
mov dword [esi + 0x40], eax
call fcn.00511cd3
mov ecx, dword [esi + 0x40]
add esp, 8
mov dword [esi + 0x44], eax
add ecx, 4
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
sub ecx, ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x38]
add edx, ecx
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4e7e40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0xffffffff
je 0x4e7e9a
mov eax, dword [esi + 0x48]
test al, 1
je 0x4e7e9a
test al, 2
je 0x4e7e5d
mov eax, dword [esi]
call dword [eax + 0x34]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4e7e89
lea eax, [esi + 0x50]
push eax
call fcn.004dde20
add esp, 4
mov eax, dword [ebp - 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
mov esp, ebp
pop ebp
ret 0xc
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4e8160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [esi + 0x68]
cmp ecx, 0xffffffff
je 0x4e8202
mov eax, dword [esi + 0x48]
test al, 2
je 0x4e8202
test al, 8
je 0x4e81c5
push 2
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
push 0
push ecx
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x4e81bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4e81b9
lea eax, [esi + 0x50]
push eax
call fcn.004dde20
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x74], eax
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4e81f1
lea eax, [esi + 0x50]
push eax
call fcn.004dde20
add esp, 4
mov eax, dword [ebp - 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
mov esp, ebp
pop ebp
ret 0xc
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e8c30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d613
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5be1ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004e9ec0
lea ecx, [edi + 0x5c]
mov dword [edi], vtable.Poco::MD5Engine.0
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
mov byte [ebp - 4], 1
cmp eax, 0x10
jae 0x4e8c98
push 0x10
call fcn.004e8dd0
push 0x58
lea esi, [edi + 4]
push 0
push esi
call fcn.004aeae0
add esp, 0xc
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov eax, edi
mov dword [esi], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e8d00
Capabilities:
Hash data with md5

Disassembly:
push esi
push edi
mov edi, ecx
push 0x58
push 0
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::MD5Engine.0
push esi
call fcn.004aeae0
add esp, 0xc
mov dword [edi + 0x18], 0
lea ecx, [edi + 0x5c]
mov dword [edi + 0x14], 0
mov dword [esi], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
call fcn.004e8eb0
mov ecx, edi
pop edi
pop esi
jmp fcn.004e9ed0

Function at 0x4e8d60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0x58
push 0
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::MD5Engine.0
push esi
call fcn.004aeae0
add esp, 0xc
mov dword [edi + 0x18], 0
lea ecx, [edi + 0x5c]
mov dword [edi + 0x14], 0
mov dword [esi], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
call fcn.004e8eb0
mov ecx, edi
call fcn.004e9ed0
test byte [ebp + 8], 1
je 0x4e8dc6
push 0x68
push edi
call fcn.004951d7
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x4e90e0
Capabilities:
Hash data with md5

Disassembly:
push esi
push edi
mov edi, ecx
push 0x58
push 0
lea esi, [edi + 4]
push esi
call fcn.004aeae0
add esp, 0xc
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
pop edi
mov dword [esi], 0x67452301
pop esi
ret