joyce8/EMBER2024-capa huggingface dataset:
Function at 0x79f780
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.007a0b80
add esp, 0xc
test eax, eax
je 0x79f7bb
mov eax, dword [esp + 4]
test ax, ax
je 0x79f7bb
mov esi, dword [esp + 0x30]
push eax
push esi
call fcn.0079f890
add esp, 8
mov eax, esi
pop esi
add esp, 0x28
ret
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [esp + 8]
cmp eax, 5
ja 0x79f808
je 0x79f7f1
test eax, eax
jne 0x79f85e
mov ecx, dword [esp + 0x30]
push 0x9c11f4
call fcn.00436310
mov eax, dword [esp + 0x30]
pop esi
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
push 0x9c1220
call fcn.00436310
mov eax, dword [esp + 0x30]
pop esi
add esp, 0x28
ret
cmp eax, 0xc
ja 0x79f85e
je 0x79f847
cmp eax, 6
je 0x79f830
cmp eax, 9
jne 0x79f85e
mov ecx, dword [esp + 0x30]
push 0x9c11f8
call fcn.00436310
mov eax, dword [esp + 0x30]
pop esi
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
push str.Itanium
call fcn.00436310
mov eax, dword [esp + 0x30]
pop esi
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
push str.ARM64
call fcn.00436310
mov eax, dword [esp + 0x30]
pop esi
add esp, 0x28
ret
mov eax, dword [esp + 0x30]
xor ecx, ecx
pop esi
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
add esp, 0x28
ret

Function at 0x79f950
Capabilities:
Query environment variable

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
mov eax, esi
push edi
cmp dword [esi + 0x14], 8
jb 0x79f963
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
jne 0x79f97c
pop edi
xor al, al
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x79f9ad
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.004d0c30
cmp dword [esi + 0x14], 8
jb 0x79f997
mov esi, dword [esi]
mov eax, dword [eax + 4]
push edi
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [esp + 8]
call fcn.004d1340
pop edi
mov al, 1
pop esi
add esp, 8
ret
Function at 0x79fc10
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x30
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
lea eax, [esp + 8]
push eax
call esi
push eax
call fcn.007a0b80
add esp, 0xc
test eax, eax
je 0x79fc4b
push dword [esp + 8]
mov esi, dword [esp + 0x3c]
push esi
call fcn.0079f890
add esp, 8
mov eax, esi
pop esi
add esp, 0x30
ret
push 0
lea eax, [esp + 0x10]
push eax
call esi
push eax
call fcn.007a0b80
add esp, 0xc
test eax, eax
je 0x79fc7f
mov eax, dword [esp + 0xc]
test ax, ax
je 0x79fc7f
mov esi, dword [esp + 0x38]
push eax
push esi
call fcn.0079f890
add esp, 8
mov eax, esi
pop esi
add esp, 0x30
ret
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [esp + 0x10]
cmp eax, 5
ja 0x79fccc
je 0x79fcb5
test eax, eax
jne 0x79fd22
mov esi, dword [esp + 0x38]
mov ecx, esi
push 0x9c11f4
call fcn.00436310
mov eax, esi
pop esi
add esp, 0x30
ret
mov esi, dword [esp + 0x38]
mov ecx, esi
push 0x9c1220
call fcn.00436310
mov eax, esi
pop esi
add esp, 0x30
ret
cmp eax, 0xc
ja 0x79fd22
je 0x79fd0b
cmp eax, 6
je 0x79fcf4
cmp eax, 9
jne 0x79fd22
mov esi, dword [esp + 0x38]
mov ecx, esi
push 0x9c11f8
call fcn.00436310
mov eax, esi
pop esi
add esp, 0x30
ret
mov esi, dword [esp + 0x38]
mov ecx, esi
push str.Itanium
call fcn.00436310
mov eax, esi
pop esi
add esp, 0x30
ret
mov esi, dword [esp + 0x38]
mov ecx, esi
push str.ARM64
call fcn.00436310
mov eax, esi
pop esi
add esp, 0x30
ret
mov esi, dword [esp + 0x38]
xor eax, eax
mov dword [esi], 0
mov word [esi], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, esi
pop esi
add esp, 0x30
ret

Function at 0x7a05e0
Capabilities:
Get session user name
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x7a0614
push esi
push dword [esp + 0xc]
push str.username
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x7a0614
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x7ae970
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, ecx
cmp byte [ebx], 0x2f
jne 0x7aeb04
cmp byte [ebx + 1], 0x2f
jne 0x7aeb04
push 0x8a9984
lea ecx, [edi + 8]
add ebx, 2
call fcn.007395d0
test eax, eax
je 0x7aeb04
cmp byte [ebx], 0
push esi
mov esi, ebx
mov dword [esp + 0x14], esi
je 0x7aea7a
mov al, byte [esi]
cmp al, 0x40
je 0x7aea7a
cmp al, 0x2f
je 0x7aea7a
cmp al, 0x23
je 0x7aea7a
cmp al, 0x3f
je 0x7aea7a
cmp al, 0x61
jl 0x7ae9de
cmp al, 0x7a
jle 0x7aea47
lea ecx, [eax - 0x41]
cmp cl, 0x19
jbe 0x7aea47
lea ecx, [eax - 0x30]
cmp cl, 9
jbe 0x7aea47
cmp al, 0x2d
je 0x7aea47
cmp al, 0x2e
je 0x7aea47
cmp al, 0x5f
je 0x7aea47
cmp al, 0x7e
je 0x7aea47
cmp al, 0x21
je 0x7aea47
cmp al, 0x24
je 0x7aea47
cmp al, 0x26
je 0x7aea47
cmp al, 0x27
je 0x7aea47
cmp al, 0x28
je 0x7aea47
cmp al, 0x29
je 0x7aea47
cmp al, 0x2a
je 0x7aea47
cmp al, 0x2b
je 0x7aea47
cmp al, 0x2c
je 0x7aea47
cmp al, 0x3b
je 0x7aea47
cmp al, 0x3d
je 0x7aea47
cmp al, 0x3a
je 0x7aea47
lea eax, [esp + 0x14]
mov ecx, edi
push eax
lea eax, [edi + 0x88]
push eax
call fcn.007ae4b0
mov esi, dword [esp + 0x14]
jmp 0x7aea71
inc esi
mov byte [esp + 0xc], al
mov dword [esp + 0x14], esi
cmp al, 0x80
jae 0x7aea59
movsx eax, al
jmp 0x7aea65
push dword [esp + 0xc]
call fcn.0075afd0
add esp, 4
push eax
lea ecx, [edi + 0x88]
call fcn.004841b0
cmp byte [esi], 0
jne 0x7ae9b4
mov al, byte [esi]
inc esi
cmp al, 0x40
jne 0x7aea8a
or dword [edi + 0xec], 2
jmp 0x7aeaa6
lea eax, [edi + 0x88]
mov esi, ebx
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x7aeaa1
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push esi
mov ecx, edi
call fcn.007af260
mov esi, eax
cmp byte [esi], 0x3a
jne 0x7aeafb
mov cl, byte [esi + 1]
inc esi
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x7aeaf4
mov byte [esp + 0x14], cl
cmp cl, 0x80
jae 0x7aeada
movsx eax, cl
lea ecx, [edi + 0xc8]
push eax
call fcn.004841b0
jmp 0x7aeab5
push dword [esp + 0x14]
call fcn.0075afd0
add esp, 4
lea ecx, [edi + 0xc8]
push eax
call fcn.004841b0
jmp 0x7aeab5
or dword [edi + 0xec], 8
mov eax, esi
pop esi
pop edi
pop ebx
pop ecx
ret 4
pop edi
mov eax, ebx
pop ebx
pop ecx
ret 4
Function at 0x7af260
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push esi
push edi
mov edi, ecx
cmp byte [ebx], 0x5b
jne 0x7af2e0
push ebp
lea ebp, [ebx + 1]
push eax
mov dword [esp + 0x1c], ebp
call fcn.007aec90
add esp, 4
test al, al
je 0x7af29d
mov esi, dword [esp + 0x18]
cmp byte [esi], 0x5d
jne 0x7af29d
mov dword [edi + 0xe8], 2
jmp 0x7af2c5
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebp
push eax
call fcn.007aee00
add esp, 4
test al, al
je 0x7af2db
mov esi, dword [esp + 0x18]
cmp byte [esi], 0x5d
jne 0x7af2db
mov dword [edi + 0xe8], 3
mov eax, esi
lea ecx, [edi + 0xa8]
sub eax, ebx
dec eax
push eax
push ebp
call fcn.004f6f00
inc esi
pop ebp
jmp 0x7af310
mov esi, ebx
pop ebp
jmp 0x7af310
push eax
call fcn.007aebb0
add esp, 4
test al, al
je 0x7af30e
mov esi, dword [esp + 0x14]
lea ecx, [edi + 0xa8]
mov eax, esi
mov dword [edi + 0xe8], 1
sub eax, ebx
push eax
push ebx
call fcn.004f6f00
jmp 0x7af310
mov esi, ebx
cmp dword [edi + 0xe8], 0
jne 0x7af3f2
cmp byte [ebx], 0
mov esi, ebx
mov dword [esp + 0x14], esi
je 0x7af3f2
nop dword [eax]
mov al, byte [esi]
cmp al, 0x2f
je 0x7af3f2
cmp al, 0x3a
je 0x7af3f2
cmp al, 0x23
je 0x7af3f2
cmp al, 0x3f
je 0x7af3f2
cmp al, 0x61
jl 0x7af35a
cmp al, 0x7a
jle 0x7af3bf
lea ecx, [eax - 0x41]
cmp cl, 0x19
jbe 0x7af3bf
lea ecx, [eax - 0x30]
cmp cl, 9
jbe 0x7af3bf
cmp al, 0x2d
je 0x7af3bf
cmp al, 0x2e
je 0x7af3bf
cmp al, 0x5f
je 0x7af3bf
cmp al, 0x7e
je 0x7af3bf
cmp al, 0x21
je 0x7af3bf
cmp al, 0x24
je 0x7af3bf
cmp al, 0x26
je 0x7af3bf
cmp al, 0x27
je 0x7af3bf
cmp al, 0x28
je 0x7af3bf
cmp al, 0x29
je 0x7af3bf
cmp al, 0x2a
je 0x7af3bf
cmp al, 0x2b
je 0x7af3bf
cmp al, 0x2c
je 0x7af3bf
cmp al, 0x3b
je 0x7af3bf
cmp al, 0x3d
je 0x7af3bf
lea eax, [esp + 0x14]
mov ecx, edi
push eax
lea eax, [edi + 0xa8]
push eax
call fcn.007ae4b0
mov esi, dword [esp + 0x14]
jmp 0x7af3e9
inc esi
mov byte [esp + 0xc], al
mov dword [esp + 0x14], esi
cmp al, 0x80
jae 0x7af3d1
movsx eax, al
jmp 0x7af3dd
push dword [esp + 0xc]
call fcn.0075afd0
add esp, 4
push eax
lea ecx, [edi + 0xa8]
call fcn.004841b0
cmp byte [esi], 0
jne 0x7af330
or dword [edi + 0xec], 4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x7b7770
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x40
mov eax, dword [0xa5e224]
xor eax, esp
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x44], 1
push ebx
push ebp
push esi
mov esi, ecx
jne 0x7b792a
call fcn.007a7ca0
mov dword [esp + 0x14], eax
and eax, edx
mov dword [esp + 0x18], edx
cmp eax, 0xffffffff
je 0x7b77f5
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00761390
add esp, 8
test eax, eax
je 0x7b77cf
mov eax, dword [eax + 0x20]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00800392
add esp, 0x40
ret 4
cmp dword [0xa5d6f8], 0
je 0x7b7965
push str.wxLocaltime_r___failed
push str._tm_
push str.wxDateTime::IsDST
push 0x819
jmp 0x7b7947
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
push eax
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.007b6c40
mov ebp, dword [eax + 0x10]
call fcn.007b5a40
mov ebx, eax
cmp ebx, 5
jne 0x7b789a
push 0
push 0
push 0
push 0
push 0x7b3
push 9
xorps xmm0, xmm0
lea ecx, [esp + 0x24]
push 0x1f
movlpd qword [esp + 0x28], xmm0
call fcn.007b83f0
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.007b48e0
test al, al
je 0x7b789a
push 0
push 0
push 0
push 0
push 0x7b0
push 9
xorps xmm0, xmm0
lea ecx, [esp + 0x24]
push 0x1b
movlpd qword [esp + 0x28], xmm0
call fcn.007b83f0
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.007b49a0
test al, al
je 0x7b789a
pop esi
pop ebp
lea eax, [ebx - 4]
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00800392
add esp, 0x40
ret 4
push ebx
push ebp
call fcn.007b7980
add esp, 8
test al, al
je 0x7b7965
push edi
push ebx
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.007b5e60
push ebx
mov edi, eax
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.007b5660
mov edx, dword [esi]
add esp, 0x18
mov ecx, dword [esi + 4]
cmp edx, dword [eax]
jne 0x7b78d8
cmp ecx, dword [eax + 4]
je 0x7b78f9
cmp edx, dword [edi]
jne 0x7b78e1
cmp ecx, dword [edi + 4]
je 0x7b78f9
push eax
mov ecx, esi
call fcn.007b49a0
test al, al
je 0x7b7913
push edi
mov ecx, esi
call fcn.007b48e0
test al, al
je 0x7b7913
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00800392
add esp, 0x40
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00800392
add esp, 0x40
ret 4
cmp dword [0xa5d6f8], 0
je 0x7b7965
push str.country_support_not_implemented
push str._country__Country_Default_
push str.wxDateTime::IsDST
push 0x810
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommondatetime.cpp
call fcn.0073cfd0
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7b7965
mov byte [0xea569c], 0
int3
mov ecx, dword [esp + 0x48]
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00800392
add esp, 0x40
ret 4
Function at 0x7c9210
Capabilities:
Check if file exists

Disassembly:
mov ecx, dword [ecx]
test ecx, ecx
je 0x7c9246
mov eax, dword [esp + 4]
test eax, eax
je 0x7c9227
mov dword [esp + 4], eax
jmp fcn.007c93b0
cmp dword [0xa5d6f8], 0
je 0x7c9281
push str.bad_pointer_in_wxDir::GetNext__
push str._filename_
push str.wxDir::GetNext
push 0x192
jmp 0x7c9263
cmp dword [0xa5d6f8], 0
je 0x7c9281
push str.must_wxDir::Open___first
push str._IsOpened___
push str.wxDir::GetNext
push 0x190
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswdir.cpp
call fcn.0073cfd0
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7c9281
mov byte [0xea569c], 0
int3
xor al, al
ret 4
Function at 0x7d9c60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x87fee5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00737c40
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
call fcn.00737c40
mov dword [ebp - 0x44], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push str.dbghelp:__s___failed:__s_r_n
push eax
call fcn.004d2bd0
add esp, 0xc
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.007434e0
add esp, 8
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 3
push 2
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], eax
call fcn.00745540
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x7d9d37
cmp dword [0xa5d6f8], 0
je 0x7d9d37
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatString::Arg_String____argtype
push str.wxArgNormalizerWchar_class_wxString_const__::wxArgNormalizerWchar
push 0x230
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_strvararg.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7d9d37
mov byte [0xea569c], 0
int3
push 1
lea ecx, [ebp - 0x48]
call fcn.00745540
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x7d9d85
cmp dword [0xa5d6f8], 0
je 0x7d9d85
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatStringSpecifier_T_::value____argtype
push str.wxArgNormalizer_wchar_t_const__::wxArgNormalizer
push 0x1e4
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_strvararg.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7d9d85
mov byte [0xea569c], 0
int3
lea ecx, [ebp - 0x48]
call fcn.00744ca0
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00746390
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00736b30
add esp, 0x10
lea ecx, [ebp - 0x68]
call fcn.00436e00
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x30]
call fcn.00436e00
lea ecx, [ebp - 0x48]
call fcn.00476650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00800392
mov esp, ebp
pop ebp
ret
Function at 0x7d9fb0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x87ffae
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0xa5e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
push 0x104
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call fcn.004d0c30
mov eax, dword [eax + 4]
push dword [eax]
push 0
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.004d1340
cmp esi, 0x80004005
jne 0x7da068
push 0x104
push edi
lea ecx, [ebp - 0x18]
call fcn.004d0c30
mov ecx, dword [eax + 4]
push dword [ecx]
push 1
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x18]
call fcn.004d1340
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 0x7de000
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x84]
call fcn.00773310
lea ecx, [esi + 0xec]
call fcn.00773310
lea ecx, [esi + 0x50]
call fcn.00776410
test al, al
je 0x7de03a
cmp dword [esi + 0xb8], 0
lea ecx, [esi + 0xb8]
je 0x7de03a
pop esi
jmp fcn.00776410
pop esi
ret
Function at 0x7fc430
Capabilities:
Encode data using base64

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
test esi, esi
je 0x7fc540
mov ebx, dword [esp + 0x20]
xor edi, edi
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ebx, 3
jb 0x7fc4c9
add edi, 4
test eax, eax
je 0x7fc4be
cmp edi, ebp
ja 0x7fc578
movzx ecx, byte [esi]
shr ecx, 2
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
movzx edx, byte [esi + 1]
movzx ecx, byte [esi + 2]
and edx, 0xf
shr ecx, 6
shl edx, 2
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
movzx ecx, byte [esi + 2]
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 3], cl
add eax, 4
sub ebx, 3
add esi, 3
cmp ebx, 3
jae 0x7fc453
test ebx, ebx
je 0x7fc539
add edi, 4
test eax, eax
je 0x7fc539
cmp edi, ebp
ja 0x7fc578
cmp ebx, 2
jne 0x7fc4e6
mov dl, byte [esi + 1]
jmp 0x7fc4e8
xor dl, dl
movzx ecx, byte [esi]
shr ecx, 2
movzx ebp, dl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov ecx, ebp
movzx edx, byte [esi]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
cmp ebx, 2
jne 0x7fc531
and ebp, 0xf
mov cl, byte [ebp*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov cl, 0x3d
mov byte [eax + 2], cl
mov byte [eax + 3], cl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [0xa5d6f8], 0
je 0x7fc578
push str.NULL_input_buffer
push str._src__
push str.wxBase64Encode
push 0x13
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommon_base64.cpp
call fcn.0073cfd0
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7fc578
mov byte [0xea569c], 0
int3
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret

Function at 0x8286d1
Capabilities:
Read file on windows

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

Function at 0x82cae1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0082c634
Function at 0x42fb71
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43757a
call fcn.004339e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43c770
mov dword [esi + 4], 0x43c758
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028e9
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov dword [esi], 0x43c73c
mov dword [esi + 4], 0x43c724
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x430a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x430a1f
pop dword [ebp - 4]
mov eax, 0x430a1f
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x3bc7f
push 0
mov eax, 0x592c0bdc
add eax, 0xa7177454
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x2f3cb0cd
add ecx, 0xd0c39b89
mov edi, eax
mov edx, 0xd2ab1272
sub edx, 0xd2664c72
add edx, dword [ebp - 4]
mov esi, 0x264ec1a5
add esi, 0xe7c56d14
mov ebx, dword [edx]
xor ebx, esi
mov dword [edi], ebx
add edi, 0x9326bdb3
add edi, 0x6cd94251
add edx, 0xb11a1d97
sub edx, 0xb11a1d93
loop 0x430a79
add eax, 0x1242b
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x433770
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x433799
xor eax, eax
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4337a8
mov eax, 1
ret 4
Function at 0x405c83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4345c0
call fcn.004339e0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407553
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x405caf
push edi
call esi
cmp eax, 0xffffffff
jne 0x405cf1
test ebx, ebx
je 0x405cee
lea ecx, [ebp - 0x18]
call fcn.004028e9
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.0040765c
test al, al
push dword [ebp - 0x18]
je 0x405ce8
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401abd
pop ecx
mov eax, esi
jmp 0x405cf1
call fcn.00401abd
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406306
Capabilities:
Get disk information

Disassembly:
mov eax, 0x434664
call fcn.004339e0
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0041c900
mov edi, dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x4063d4
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406342
mov eax, ebx
add eax, eax
push eax
call fcn.0040826a
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x4063cd
cmp ebx, dword [ebp - 0x14]
ja 0x4063cd
lea ecx, [ebp - 0x2c]
call fcn.004028e9
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x4063b5
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x4063aa
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040826a
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406380
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401abd
push esi
call fcn.00401abd
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x4063d6
push esi
call fcn.00401abd
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret