joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42af60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586077
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42afa4
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x128], eax
push 0x110
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00557410
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
or esi, 0xffffffff
cmp dword [ebp - 0x120], 5
jne 0x42aff9
xor ebx, ebx
jmp 0x42b153
push str.SoftwareClasses_
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x12c], 0
call fcn.004078b0
push ebx
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call fcn.0040b3f0
add esp, 4
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call fcn.00405d90
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b059
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x134]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b07a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x12c]
push eax
push 0x2003f
push 0
push dword [ebp - 0x128]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42b145
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea ecx, [ebp - 0x130]
call fcn.004078b0
push ebx
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.0040b3f0
add esp, 4
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 4
call fcn.00405d90
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x134]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b0f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b118
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x12c]
push eax
push 0x2003f
push 0
lea eax, [ebp - 0x138]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
je 0x42b147
jmp 0x42b153
xor ebx, ebx
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x42b175
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x42b1a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5860a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x60b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b1e0
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x14], 0
call fcn.00406520
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.Progid
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42b241
xor edi, edi
jmp 0x42b255
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00560b3e
add esp, 8
mov edi, eax
neg edi
sbb edi, edi
inc edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42b274
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42b810
Capabilities:
Check os version
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586158
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or edi, 0xffffffff
mov dword [ebp - 4], 0
test dl, dl
jne 0x42b872
cmp byte [0x613481], dl
jne 0x42b85f
mov byte [0x613481], 1
call fcn.0044ca30
push ecx
push 0
call fcn.0044c090
test al, al
jne 0x42b872
xor esi, esi
jmp 0x42b9b2
push ecx
mov esi, esp
mov dword [ebp - 0x134], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407be0
add eax, 0x10
mov ecx, reloc.WS2_32.dll_accept
mov dword [esi], eax
call fcn.004291f0
mov dword [ebp - 0x134], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407be0
add eax, 0x10
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], eax
call fcn.004291f0
add esp, 4
lea eax, [ebp - 0x130]
push 0x11c
push 0
push eax
call fcn.00557410
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x12c], 0xa
je 0x42b944
call fcn.0042d5f0
test eax, eax
jne 0x42b944
call fcn.0042d570
test eax, eax
je 0x42b999
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
lea ecx, [ebp - 0x134]
call fcn.004078b0
push dword [ebp - 0x134]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 0x134]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b999
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42b999
push ecx
mov esi, esp
mov dword [ebp - 0x134], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407be0
add eax, 0x10
mov ecx, reloc.WS2_32.dll_accept
mov dword [esi], eax
call fcn.004297c0
mov dword [ebp - 0x134], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407be0
add eax, 0x10
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], eax
call fcn.004297c0
add esp, 4
mov edx, str.MasterCAJ
mov ecx, str..pdf
call fcn.0042b290
push 0
push 0
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x42b9d1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 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.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x42d570
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00557410
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x42d5d5
cmp dword [ebp - 0x118], 1
jne 0x42d5d5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret

Function at 0x42d5f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00557410
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x42d65c
mov eax, dword [ebp - 0x118]
cmp eax, 2
je 0x42d649
cmp eax, 3
jne 0x42d65c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x42d9a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5864c1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x60b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0042d670
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x42da04
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00407e10
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.00560f6c
mov edx, eax
add esp, 8
test edx, edx
js 0x42db06
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x42db06
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, edi
call fcn.004078b0
mov dword [ebp - 0x18], 1
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42da69
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push dword [edi]
push dword [ebp + 8]
push str.GetDeaultExeKey_key___s_out___s_path___s_r_n
push eax
call fcn.00406520
mov esi, dword [ebp - 0x14]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dab9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dad7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42daf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402b10
int3
Function at 0x42e540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586640
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x60b9b0]
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, ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00557410
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push 0x104
push eax
push 0x5e6ea4
push dword [ebp + 0xc]
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x42e5ea
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42e5c5
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00407d10
mov edi, 1
jmp 0x42e5ec
xor edi, edi
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e60d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x42e62c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00553c8d
mov esp, ebp
pop ebp
ret
Function at 0x430350
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x430381
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x430370
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x432dd0
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x432f96
cmp eax, 0x7c
je 0x432f96
cmp eax, 0x29
jne 0x432e08
cmp dword [esi + 0x10], 0
jne 0x432f96
test dword [esi + 0x50], 0x10000000
je 0x432f9c
cmp eax, 0x2e
jne 0x432e5f
push 5
lea ecx, [esi + 0x24]
call fcn.00433150
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x432e53
cmp byte [eax], 0x5c
jne 0x432e51
inc eax
cmp eax, ecx
je 0x432e51
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x432e3e
mov dl, byte [eax]
cmp dl, 0x28
je 0x432e4f
cmp dl, 0x29
je 0x432e4f
test cl, 0x10
jne 0x432e51
mov cl, byte [eax]
cmp cl, 0x7b
je 0x432e4f
cmp cl, 0x7d
jne 0x432e51
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00431db0
jmp 0x432f81
cmp eax, 0x5c
jne 0x432ec4
mov ecx, esi
call fcn.00432d80
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x432e91
cmp byte [esi + 0x48], 0x62
jne 0x432e91
push 4
lea ecx, [esi + 0x24]
call fcn.00433150
mov ecx, esi
call fcn.00432d80
jmp 0x432f88
test eax, eax
je 0x432eb8
cmp byte [esi + 0x48], 0x42
jne 0x432eb8
push 4
lea ecx, [esi + 0x24]
call fcn.00433150
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00432d80
jmp 0x432f88
mov ecx, esi
call fcn.00434030
jmp 0x432f81
cmp eax, 0x5b
jne 0x432ee7
mov ecx, esi
call fcn.00432d80
mov ecx, esi
call fcn.00433fa0
push 4
push 0x5d
mov ecx, esi
call fcn.00433f40
jmp 0x432f81
cmp eax, 0x28
jne 0x432f0d
mov ecx, esi
call fcn.00432d80
mov ecx, esi
call fcn.004340f0
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00433f40
test bl, bl
je 0x432f88
jmp 0x432f81
cmp eax, 0x5e
jne 0x432f25
push 2
lea ecx, [esi + 0x24]
call fcn.00433150
mov ecx, esi
call fcn.00432d80
jmp 0x432f88
cmp eax, 0x24
jne 0x432f3d
push 3
lea ecx, [esi + 0x24]
call fcn.00433150
mov ecx, esi
call fcn.00432d80
jmp 0x432f88
cmp eax, 0x2a
je 0x432fb1
cmp eax, 0x2b
je 0x432fb1
cmp eax, 0x3f
je 0x432fb1
cmp eax, 0x7b
je 0x432fb1
cmp eax, 0x7d
jne 0x432f5f
test dword [esi + 0x50], 0x10000000
je 0x432fa3
cmp eax, 0x5d
jne 0x432f6d
test dword [esi + 0x50], 0x10000000
je 0x432faa
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004342e0
mov ecx, esi
call fcn.00432d80
mov ecx, esi
call fcn.004341b0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x432de3
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.00551aec
push 6
call fcn.00551aec
push 4
call fcn.00551aec
push 0xa
call fcn.00551aec
int3
Function at 0x437cb0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5855b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x60b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
push 0
push 1
push dword [ebp + 8]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x437de3
cmp dword [ebp - 0x14], 0
je 0x437de3
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x437d1f
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
test edx, edx
jns 0x437d42
push 0x80070057
call fcn.00402b10
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x437d5f
push edx
lea ecx, [ebp - 0x10]
call fcn.00407ed0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
push 1
push dword [ebp + 8]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
push ecx
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x437dcf
call fcn.0040b7c0
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x437d92
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x437e02
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040b7c0
add esi, 0xfffffff0
mov ecx, esi
call fcn.00407be0
add eax, 0x10
jmp 0x437d9d
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x437df8
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437e20
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586f90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x60b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
push 0
push edi
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x437ed1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x437ed1
push eax
lea ecx, [ebp - 0x24]
call fcn.00413f40
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0
push 0
push ecx
push dword [ebp - 0x24]
push edi
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
mov ecx, esi
test eax, eax
jne 0x437ec6
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004381c0
jmp 0x437efa
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
call fcn.00405cb0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437f24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00557410
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.MasterPDFData_CAJ
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004078b0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00553c8d
mov esp, ebp
pop ebp
ret

Function at 0x4392a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4392eb
lea edx, [ebx + 8]
mov esi, 0x104
sub edi, edx
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x4392de
movzx eax, word [edi + edx]
test ax, ax
je 0x4392de
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x4392c0
test esi, esi
lea eax, [edx - 2]
cmovne eax, edx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebx + 0x210]
mov esi, str.updump
mov edx, 0x104
sub esi, ecx
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x43931e
movzx eax, word [esi + ecx]
test ax, ax
je 0x43931e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x439300
test edx, edx
lea eax, [ecx - 2]
pop edi
cmovne eax, ecx
xor ecx, ecx
pop esi
pop ebx
mov word [eax], cx
pop ebp
ret 8

Function at 0x4393f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x43942d
test esi, esi
je 0x43942d
push 5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x43942d
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x439435
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov dword [edi], eax
mov al, byte [esi + 4]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x439427
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x439640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push ecx
mov edx, str.full.data
lea ecx, [ebp - 4]
call fcn.004202d0
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43967e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439790
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583470
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x60b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
test edi, edi
je 0x4398df
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
test eax, eax
je 0x4398df
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x4397e8
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.0040b810
add eax, 8
push eax
call ebx
test eax, eax
je 0x43981d
call fcn.0040b810
add eax, 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00407dc0
mov esi, dword [ebp - 0x14]
or ebx, 0xffffffff
cmp dword [esi - 0xc], 0
jle 0x4398ad
push edi
lea ecx, [ebp - 0x10]
call fcn.004078b0
mov byte [ebp - 4], 1
call fcn.0040b810
lea ecx, [eax + 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439845
sub ecx, edx
sar ecx, 1
je 0x439873
push edi
call fcn.0040b810
add eax, 0x210
push eax
lea eax, [ebp - 0x10]
push str.__s__s_
push eax
call fcn.00406520
add esp, 0x10
push 0
push 0
push dword [ebp - 0x10]
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4398a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 1
jmp 0x4398af
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4398cb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret