joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dc90
Capabilities:
Get file size
Read file via mapping
Write file on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, eax
mov esi, ecx
push edi
mov eax, ebp
mov word [esi], 0
call fcn.004525f0
mov ebx, eax
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x14], ebx
jne 0x44de2c
cmp dword [ebp + 0x414], 0x20
jne 0x44de2c
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
mov eax, esi
call fcn.0044da10
test eax, eax
je 0x44de2c
lea ecx, [esp + 0x24]
call fcn.0044ccf0
mov edi, 0x8000
mov eax, ecx
call fcn.0044ccc0
mov edx, dword [esp + 0x10]
push edx
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
je 0x44de0f
push 0
push 0
push 0x80000000
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44de02
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x463fdc
mov ebp, eax
call fcn.0044f500
add esp, 4
mov eax, esi
call fcn.0044fa20
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push 2
push 0
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x44dde8
push ebp
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x44ddc7
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push edi
push ecx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call ebp
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ebx, dword [esp + 0x14]
jmp 0x44de08
mov edx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ebx, dword [esp + 0x14]
jmp 0x44de08
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebp
mov ebp, dword [esp + 0x34]
cmp word [esi], 0
je 0x44de23
push esi
mov eax, ebp
call fcn.004525f0
mov dword [esp + 0x14], eax
mov ebx, eax
lea ecx, [esp + 0x24]
call fcn.0044cce0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x20
ret 4

Function at 0x44e610
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
push edi
mov edi, eax
xor ecx, ecx
shl eax, 0xd
lea ebp, [eax + 0x46f388]
mov dl, 0xfd
mov esi, ebp
mov al, cl
and al, 0x3f
sub al, 0x56
xor al, dl
movsx dx, al
add ecx, 1
mov word [esi], dx
mov dl, byte [ecx + 0x45f4f0]
add esi, 2
test dl, dl
jne 0x44e624
shl edi, 0xc
add edi, ecx
mov word [edi*2 + 0x46f388], 0
pop edi
pop esi
mov eax, ebp
pop ebp
ret
Function at 0x44e880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x45f820
push 0x32
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44e8bd
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44e8bd
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0xc]
push edi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x44ee80
Capabilities:
Create process on windows

Disassembly:
push 5
push 0x45f4c4
push 0x45f4c4
push eax
push 0x463ea0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, 0x20
cmp edx, eax
sbb eax, eax
neg eax
ret

Function at 0x44f1c0
Capabilities:
Get common file path

Disassembly:
cmp word [0x46ee58], 0
jne 0x44f1df
push 0x104
push 0x46ee58
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [0x46f064], eax
mov edx, dword [esp + 4]
mov eax, 0x46ee58
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x44f1f0
mov eax, dword [0x46f064]
ret

Function at 0x44f210
Capabilities:
Get common file path

Disassembly:
cmp word [0x46ec48], 0
jne 0x44f22f
push 0x104
push 0x46ec48
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [0x46ee54], eax
mov edx, dword [esp + 4]
mov eax, 0x46ec48
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x44f240
mov eax, dword [0x46ee54]
ret

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

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x44f500
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44f529
push 0x104
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, dword [esp + 0x20c]
push esi
push 0
push edx
lea eax, [esp + 0xc]
push eax
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, esi
add esp, 0x208
ret
Function at 0x44f670
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44f6eb
call dword [sym.imp.USER32.dll_EmptyClipboard]
test ebp, ebp
je 0x44f6e5
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44f692
push ebx
sub eax, edx
sar eax, 1
push esi
lea ebx, [eax + eax + 2]
push ebx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x44f6e3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push ebp
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov edi, eax
neg edi
sbb edi, edi
neg edi
pop esi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop ebp
ret

Function at 0x44f9f0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44f9f7
sub eax, esi
push 0
sar eax, 1
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
add eax, eax
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ecx
ret

Function at 0x450390
Capabilities:
Get file size
Open clipboard
Read file on windows
Write clipboard data

Disassembly:
sub esp, 8
push eax
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x450472
push ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x10]
call fcn.0044fa40
mov ebp, eax
cmp ebp, 0xffffffff
je 0x450459
push ebx
push esi
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 2]
push ecx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x450436
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea edx, [esp + 0x18]
push edx
push esi
mov ebx, eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x450436
shr esi, 1
push edi
mov word [ebx + esi*2], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 4]
pop ebp
add esp, 8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 4]
pop ebp
add esp, 8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 4]
pop ebp
add esp, 8
ret
add esp, 8
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x450480
Capabilities:
Get common file path
Get file attributes

Disassembly:
cmp word [0x46f068], 0
jne 0x4504b1
push esi
mov esi, 0x46f068
call fcn.004502c0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
pop esi
je 0x4504b1
push 0x46f068
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, 0x46f068
ret
Function at 0x4531f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
mov esi, eax
call fcn.004531b0
mov ebx, str.advapi32.dll
call fcn.0044faa0
test eax, eax
mov dword [esi + 0x14], eax
je 0x453296
mov ebx, 0xca
call fcn.00454570
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov eax, dword [esi + 0x14]
push eax
call edi
mov ebx, 0xc9
mov dword [esi + 8], eax
call fcn.00454570
mov ecx, dword [esi + 0x14]
push eax
push ecx
call edi
mov ebx, 0xcb
mov dword [esi], eax
call fcn.00454570
mov edx, dword [esi + 0x14]
push eax
push edx
call edi
mov ebx, 0xcc
mov dword [esi + 4], eax
call fcn.00454570
push eax
mov eax, dword [esi + 0x14]
push eax
call edi
mov ebx, 0xcd
mov dword [esi + 0xc], eax
call fcn.00454570
mov ecx, dword [esi + 0x14]
push eax
push ecx
call edi
cmp dword [esi], 0
mov dword [esi + 0x10], eax
je 0x453291
cmp dword [esi + 8], 0
je 0x453291
mov dword [esi + 0x18], 1
mov eax, dword [esi + 0x18]
pop edi
pop esi
pop ebx
ret
call fcn.004531b0
mov eax, dword [esi + 0x18]
pop edi
pop esi
pop ebx
ret
Function at 0x4541a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x18
xor eax, eax
mov dword [esp + 1], eax
mov dword [esp + 5], eax
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov word [esp + 0x15], ax
mov byte [esp + 0x17], al
mov al, 0x18
push esi
mov byte [esp + 8], 0xc1
mov byte [esp + 9], 0x7a
mov byte [esp + 0xa], 0xd9
mov byte [esp + 6], 0xad
mov byte [esp + 7], 0x5e
mov byte [esp + 4], al
mov byte [esp + 5], al
mov byte [esp + 0xb], 0x62
xor ecx, ecx
lea esi, [esp + 0xb]
mov al, cl
mov dl, 0xd
imul dl
xor al, byte [esp + ecx + 4]
add ecx, 1
xor al, byte [esi]
sub esi, 1
cmp ecx, 8
mov byte [esp + ecx + 0xb], al
jl 0x4541f1
xor ecx, ecx
lea esi, [esp + 0xb]
mov al, cl
mov dl, 0xe
imul dl
xor al, byte [esi]
add ecx, 1
xor al, 0x45
mov byte [esp + ecx + 0x13], al
sub esi, 1
cmp ecx, 8
jl 0x454212
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xc]
call fcn.00454c90
add esp, 8
pop esi
add esp, 0x18
ret 4

Function at 0x4549c0
Capabilities:
Encrypt data using des

Disassembly:
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [0x46b4b0]
mov eax, dword [esi]
xor eax, ecx
push edi
mov edi, eax
mov ebx, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x46ab38]
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x46ad38]
mov ebx, eax
and eax, 0x3f
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x46af38]
add esi, 4
xor edi, dword [eax*4 + 0x46b138]
add esi, 4
xor dword [edx], edi
ror ecx, 4
xor ecx, dword [esi - 4]
mov dword [0x46b4b0], esi
mov eax, ecx
shr eax, 0x18
and eax, 0x3f
mov eax, dword [eax*4 + 0x46aa38]
mov esi, ecx
shr esi, 0x10
and esi, 0x3f
xor eax, dword [esi*4 + 0x46ac38]
mov esi, ecx
shr esi, 8
and esi, 0x3f
xor eax, dword [esi*4 + 0x46ae38]
and ecx, 0x3f
xor eax, dword [ecx*4 + 0x46b038]
pop edi
xor dword [edx], eax
pop esi
pop ebx
ret
Function at 0x455d40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x304
push ebx
mov eax, edi
call fcn.00455c40
xor ebx, ebx
push 0xff
lea eax, [esp + 0xd]
push ebx
push eax
mov byte [esp + 0x14], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push 0xff
lea ecx, [esp + 0x10d]
push ebx
push ecx
mov byte [esp + 0x114], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push 0xff
lea edx, [esp + 0x20d]
push ebx
push edx
mov byte [esp + 0x214], bl
call sub.msvcrt.dll_memset
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
mov dword [esp + 0x118], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x114], edx
mov edx, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x118], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
xor eax, eax
jmp 0x455e00
xor byte [esp + eax + 8], 0x5c
xor byte [esp + eax + 0x108], 0x36
add eax, 1
cmp eax, 0x40
jb 0x455e00
mov edx, dword [esp + 0x310]
mov eax, dword [esp + 0x30c]
lea ecx, [esp + 0x208]
push ecx
push edx
push eax
lea ecx, [esp + 0x114]
push ecx
mov ebx, 0x40
mov eax, edi
call fcn.00455c80
mov edx, dword [esp + 0x314]
push edx
call fcn.00455960
push eax
lea eax, [esp + 0x210]
push eax
lea ecx, [esp + 0x14]
push ecx
mov eax, edi
call fcn.00455c80
pop ebx
add esp, 0x304
ret 0xc

Function at 0x456080
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.0045e1f0
push 0x1fff
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x2018]
add esp, 0xc
push 0
push 0
push 0x1fff
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 4]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4560d0
push 0
sub eax, edx
lea ecx, [esp + 4]
push ecx
push eax
mov eax, dword [esp + 0x2014]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0x2004
ret
Function at 0x4594c0
Capabilities:
Get file size

Disassembly:
push ecx
push ebp
push esi
push edi
xor edi, edi
mov dword [ebx + 0x3d8], edi
call fcn.0044fa40
mov esi, eax
cmp esi, 0xffffffff
je 0x45957d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x64
jbe 0x459509
lea ebp, [ebx + 4]
mov eax, ebp
call fcn.0044ccc0
mov eax, ebp
call fcn.0044cc40
push esi
mov ecx, edi
mov edx, eax
call fcn.0044ebc0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x64
jbe 0x459586
lea ebp, [ebx + 4]
mov eax, ebp
call fcn.0044cc40
cmp dword [eax], 0x61150600
jne 0x459586
mov eax, ebp
call fcn.0044cc40
mov ecx, dword [eax + 0xc]
call fcn.0044e6c0
mov esi, eax
test esi, esi
jbe 0x459586
xor edx, edx
mov eax, edi
div esi
cmp eax, 1
jbe 0x45956a
add eax, 0xffffffff
mov edi, esi
mov dword [esp + 0xc], eax
push esi
mov eax, ebp
call fcn.0044cc40
add eax, edi
push eax
push ebx
call fcn.00458cf0
add edi, esi
sub dword [esp + 0xc], 1
jne 0x459550
mov eax, dword [esp + 0x14]
push eax
mov edi, ebx
call fcn.00459070
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret 4
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 4

Function at 0x45ab10
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
xor esi, esi
mov word [edi], si
mov al, byte [ebx]
test al, al
je 0x45ab52
lea ecx, [ecx]
xor al, 0x42
movzx ax, al
mov ecx, 0xf2
sub ecx, esi
xor ax, cx
movzx edx, ax
push 1
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], edx
call sub.msvcrt.dll_wcsncat
mov al, byte [esi + ebx + 1]
add esi, 1
add esp, 0xc
test al, al
jne 0x45ab20
pop esi
pop ecx
ret
Function at 0x45bde0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x238
push esi
push edi
mov edi, eax
lea eax, [esp + 0x14]
push eax
xor esi, esi
push ebx
mov dword [esp + 0x1c], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edx, eax
test edx, edx
mov dword [esp + 8], edx
jbe 0x45bfc2
mov eax, edi
call fcn.0045bc70
push edx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0xc]
add esp, 4
mov esi, eax
push esi
push ecx
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
push 0x463e4c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45be69
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi], edx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov edx, dword [eax + 0x10]
mov dword [edi + 8], edx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0x28]
mov dword [edi + 0x14], edx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45bed6
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str._4.4X_4.4X
lea ecx, [esp + 0x24]
push 0x14
push ecx
call sub.msvcrt.dll__snwprintf
add esp, 0x14
lea edx, [esp + 0x40]
push edx
push 0x45f4c4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0045bcb0
test eax, eax
jne 0x45bef4
lea esp, [esp]
movzx ecx, word [eax + str.040904E4]
mov word [esp + eax + 0x18], cx
add eax, 2
test cx, cx
jne 0x45bec0
jmp 0x45bef4
xor eax, eax
jmp 0x45bee0
movzx ecx, word [eax + str.040904E4]
mov word [esp + eax + 0x18], cx
add eax, 2
test cx, cx
jne 0x45bee0
lea ecx, [edi + 0x18]
push ecx
push str.ProductName
lea edx, [esp + 0x20]
push edx
push esi
call fcn.0045bcb0
lea eax, [edi + 0x218]
push eax
push 0x468580
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.0045bcb0
lea edx, [edi + 0x418]
push edx
push 0x4685a0
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0045bcb0
lea ecx, [edi + 0x618]
push ecx
push 0x4685b8
lea edx, [esp + 0x20]
push edx
push esi
call fcn.0045bcb0
lea eax, [edi + 0x818]
push eax
push 0x4685d8
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.0045bcb0
lea edx, [edi + 0xa18]
push edx
push 0x4685f0
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0045bcb0
lea ecx, [edi + 0xc18]
push ecx
push 0x46860c
lea edx, [esp + 0x20]
push edx
push esi
call fcn.0045bcb0
add edi, 0xe18
push edi
push str.OriginalFileName
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0045bcb0
push esi
mov edi, 1
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
add esp, 0x238
ret
pop edi
mov eax, esi
pop esi
add esp, 0x238
ret
Function at 0x45de20
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
push ebp
call fcn.0044fa40
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45de9f
push esi
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.0044ccf0
lea edi, [esi + 5]
mov eax, ecx
call fcn.0044ccc0
lea eax, [esp + 0xc]
call fcn.0044cc40
mov edi, eax
push ebp
mov ecx, esi
mov edx, edi
call fcn.0044ebc0
mov eax, dword [esp + 0x20]
mov byte [edi + esi], 0
mov byte [edi + esi + 1], 0
add esp, 4
mov ecx, edi
mov byte [edi + esi + 2], 0
call fcn.0045de00
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call fcn.0044cce0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xc
ret 4
xor eax, eax
pop ebp
add esp, 0xc
ret 4
Function at 0x4013d2
Capabilities:
Encode data using base64

Disassembly:
push 0x18
mov eax, 0x48a709
call fcn.00453498
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 8]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
test eax, eax
je 0x40155d
push 3
pop esi
jmp 0x401413
mov edx, dword [ebp - 0x24]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
mov byte [ebp + edi - 0x14], al
inc edi
mov ch, byte [ebp - 0x12]
inc edx
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov dl, byte [ebp - 0x13]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x4014a6
mov esi, dword [ebp - 0x1c]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x4b1a04], 0x10
mov ecx, 0x4b19f0
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x4b19f0]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004015e8
inc edi
cmp edi, 4
jl 0x40146e
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x401410
mov dword [ebp + 8], edi
test edi, edi
je 0x40155d
mov eax, edi
cmp edi, esi
jge 0x4014dc
cmp eax, esi
jae 0x401566
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x4014c4
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x401548
mov esi, dword [ebp - 0x1c]
mov edi, eax
cmp dword [0x4b1a04], 0x10
mov ecx, 0x4b19f0
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x4b19f0]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004015e8
inc ebx
cmp ebx, edi
jl 0x401519
mov edi, dword [ebp + 8]
push 3
pop esi
cmp edi, esi
jge 0x40155d
sub esi, edi
mov ecx, dword [ebp - 0x1c]
push 0x3d
call fcn.004015e8
sub esi, 1
jne 0x40154e
mov eax, dword [ebp - 0x1c]
call fcn.00453472
ret
call fcn.00452a98
int3

Function at 0x402b37
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x419204
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x41935a
push 0x29
pop ebp
mov edx, 0x10000000
cmp eax, 0x7c
je 0x41935a
cmp eax, ebp
jne 0x419245
cmp dword [esi + 0x10], 0
mov eax, ebp
jne 0x41935a
cmp eax, ebp
jne 0x419245
test dword [esi + 0x50], edx
je 0x419368
cmp eax, 0x2e
jne 0x419260
push 5
lea ecx, [esi + 0x24]
call fcn.0041943f
mov ecx, esi
call fcn.004191dc
jmp 0x419345
cmp eax, 0x5c
jne 0x4192b2
mov ecx, esi
call fcn.004191dc
test byte [esi + 0x50], 0x80
je 0x4192a6
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x41928f
push 4
lea ecx, [esi + 0x24]
call fcn.0041943f
mov ecx, esi
call fcn.004191dc
jmp 0x41934c
cmp al, 0x42
jne 0x4192a6
push 4
lea ecx, [esi + 0x24]
call fcn.0041943f
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x419283
mov ecx, esi
call fcn.00419902
jmp 0x419345
cmp eax, 0x5b
jne 0x4192d2
mov ecx, esi
call fcn.004191dc
mov ecx, esi
call fcn.004198b6
cmp dword [esi + 0x4c], 0x5d
je 0x419254
push 4
jmp 0x41936a
cmp eax, 0x28
jne 0x4192ee
mov ecx, esi
call fcn.004191dc
mov ecx, esi
call fcn.004199e3
mov bl, al
cmp dword [esi + 0x4c], ebp
jne 0x419368
jmp 0x41933a
cmp eax, 0x5e
jne 0x4192f7
push 2
jmp 0x41927b
cmp eax, 0x24
jne 0x419303
push 3
jmp 0x41927b
cmp eax, 0x2a
je 0x419364
cmp eax, 0x2b
je 0x419364
cmp eax, 0x3f
je 0x419364
cmp eax, 0x7b
je 0x419364
cmp eax, 0x7d
jne 0x419321
test dword [esi + 0x50], edx
je 0x419360
cmp eax, 0x5d
jne 0x41932b
test dword [esi + 0x50], edx
je 0x4192cb
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00419ba9
mov bl, 1
mov ecx, esi
call fcn.004191dc
test bl, bl
je 0x41934c
mov ecx, esi
call fcn.00419ad2
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x41921a
pop esi
pop ebp
mov al, cl
pop ebx
ret
push 6
jmp 0x41936a
push 0xa
jmp 0x41936a
push 5
call fcn.00418591
int3