joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4019dc
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x118], 0
xor edi, edi
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10e]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
movsx edi, byte [ebp - 0x10e]
sub edi, 0x41
lea eax, [ebp - 0x120]
push eax
call sub.USER32.DLL_GetCursorPos
call sub.KERNEL32.dll_GetLastError
mov eax, edi
pop edi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x805b7c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805b82
pop ebp
sub ebp, 6
sub ebp, 0x405b7c
jmp 0x805be0
jmp 0x805be9
mov eax, 0x405b7c
add eax, ebp
add eax, 0x93
mov ecx, 0x627
mov edx, 0x34ef1e6e
xor byte [eax], dl
inc eax
dec ecx
jne 0x805c00
jmp 0x805c13
add al, 0x2e
push es
outsb dx, byte [esi]
jle 0x805c87
outsb dx, byte [esi]
push es
outsb dx, byte [esi]
mov byte [0x9eef6e42], al
sub bh, byte [ecx]
push 0x2a9eefa5
cmp dword [eax - 0x5b], ebp
pop ebp
scasb al, byte es:[edi]
xchg ecx, eax
sti
outsb dx, byte [esi]
mov edi, 0xe53e6e58
mov dword [0x6e52e7e5], eax
outsb dx, byte [esi]
in eax, 0xa3
in eax, 0xe7
push edx
outsb dx, byte [esi]
outsb dx, byte [esi]
outsb dx, byte [esi]
out dx, eax
scasd eax, dword es:[edi]
xchg esi, eax
outsb dx, byte [esi]
outsb dx, byte [esi]
outsb dx, byte [esi]
insd dword es:[edi], dx
mov dword [0x6e6e68d6], eax
outsb dx, byte [esi]
aam 0x46
outsb dx, byte [esi]
outsb dx, byte [esi]
outsb dx, byte [esi]
cdq
mov word [ebp - 0x5a], gs
in eax, 0xef
bound ebp, qword [esi + 0x6e]
outsb dx, byte [esi]
insd dword es:[edi], dx
stosd dword es:[edi], eax
push es
mov eax, dword [0x66e675d]
ret 0x5949
in eax, 0xe3
jle 0x805cf9
outsb dx, byte [esi]
outsb dx, byte [esi]
scasd eax, dword es:[edi]
xchg dword [edi + ebx*2 + 0x6c], ebp
in eax, dx
lodsb al, byte [esi]
push 0x27
popal
jmp 0x805c33
popal
ljmp 0xef08
Function at 0x401c8f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401cce
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401cce
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401cce
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401cce
cmp dword [ecx + 0x74], 0xe
jbe 0x401cce
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407cba
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4159dc
push 0x4159d4
push str.FlsAlloc
push 0x1f
call fcn.00407b98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407cee
push dword [ebp + 8]
mov ecx, esi
call dword [0x414140]
call esi
jmp 0x407cf4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x407d38
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4159ec
push 0x4159e4
push str.FlsGetValue
push 0x21
call fcn.00407b98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407d6f
push dword [ebp + 8]
mov ecx, esi
call dword [0x414140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x407d77
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4159f4
push 0x4159ec
push str.FlsSetValue
push 0x22
call fcn.00407b98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407db1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x414140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40a1b5
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x41c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40a200
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040a3d2
test al, al
jne 0x40a1fa
sub edx, 2
cmp edx, edi
jne 0x40a1e0
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40a222
lea eax, [edi + 2]
cmp edx, eax
je 0x40a222
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040a101
add esp, 0x10
jmp 0x40a31c
push esi
lea ecx, [ebp - 0x255]
call fcn.0040a3d2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a265
push dword [ebp - 0x25c]
jmp 0x40a212
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40a2a2
cmp word [ebp - 0x226], 0
je 0x40a2c3
cmp word [ebp - 0x226], ax
jne 0x40a2a2
cmp word [ebp - 0x224], 0
je 0x40a2c3
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040a101
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40a30f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40a27c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40a2f7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40a31c
push 0x409f31
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040f6d0
add esp, 0x10
jmp 0x40a2ec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401fc5
leave
ret

Function at 0x40aeda
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x40aeeb
pop esi
ret
push ebx
push edi
push esi
call fcn.0040aea3
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00408469
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40af13
push ebx
push esi
push edi
call fcn.00402f50
add esp, 0xc
push 0
call fcn.00407a45
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x40b2e3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040af28
Function at 0x412b00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412b2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412b2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401500
Capabilities:
Capture network configuration via ipconfig
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x14
call dbg.__main
mov dword [esp], str.color_0A
call sym._system
mov dword [esp + 4], str.DOBRO_DOSAO_U_POROGRAM
mov dword [esp], 0x487140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp], str.pause
call sym._system
mov dword [esp], str.C:WindowsSystem32ipconfig
call sym._system
mov dword [esp], 0xa
call sym._putchar
mov dword [esp], 0x1b58
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.C:WINDOWSSystem32_shutdown__s__t_600__n_n
call sym._system
mov dword [esp], str._n_nunesi_ime
call sym._printf
mov dword [esp], 0x48809e
call sym._system
mov dword [esp + 4], str.NAJEBAO_SI
mov dword [esp], 0x487140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp], str.UKRAO_SAM_TI_SVE_VAZNE_INFORMACIJE_n_ime:Jug_Stepic_ndatum_rodjenja:04.06.2005_npohadjao_osnovnu_skolu_:Gornja_Varos
call sym._printf
mov dword [esp], 0x488122
call sym._printf
mov dword [esp], str.Mozes_se_pozdraviti_sa_svojim_privatnim_informacijama
call sym._printf
mov dword [esp], 0x1b58
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.najebao_si
call sym._printf
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x40d0f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable
Function at 0x7b174b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
xor ebx, ebx
cmp eax, ebx
je 0x7b17a6
cmp eax, 0xffffffff
je 0x7b17a6
cmp dword [ebp + 8], ebx
je 0x7b17a6
push esi
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [edi + 0x44]
push ebx
mov esi, eax
lea eax, [ebp - 4]
push eax
add esi, esi
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x7bf302
cmp esi, dword [ebp - 4]
jne 0x7bf31d
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 4
mov ebx, 0x80070057
jmp 0x7b179e

Function at 0x7b227c
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0x7c621c
call fcn.007b1350
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push ebx
push 0x20019
push dword [0x7cb458]
lea ecx, [ebp - 0x2c]
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.007b2097
test eax, eax
jne 0x7b23c4
lea eax, [ebp - 0x20]
push eax
push dword [0x7cb45c]
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
call fcn.007b23dc
test eax, eax
jne 0x7b23c4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
push 2
add eax, eax
pop edx
mul edx
seto cl
mov byte [ebp - 4], 1
neg ecx
or ecx, eax
push ecx
call fcn.007b13e0
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x7b23c4
lea eax, [ebp - 0x20]
push eax
push dword [0x7cb45c]
lea ecx, [ebp - 0x2c]
push esi
call fcn.007b23dc
test eax, eax
jne 0x7b23bb
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call esi
mov edi, eax
cmp edi, ebx
je 0x7b23bb
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.007b13e0
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x7b23bb
push edi
push eax
push dword [ebp - 0x1c]
call esi
mov esi, eax
cmp esi, ebx
je 0x7b23b2
cmp dword [ebp + 8], ebx
je 0x7bea08
push dword [0x7cb460]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + esi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.007b13e0
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x7b23b2
push dword [ebp - 0x14]
push esi
push eax
call fcn.007b21cb
push dword [0x7cb460]
push edi
push dword [ebp - 0x18]
call fcn.007b2436
push dword [ebp - 0x14]
call fcn.007b13c0
pop ecx
push dword [ebp - 0x1c]
call fcn.007b13c0
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.007b1f10
mov eax, dword [ebp - 0x18]
call fcn.007b1390
ret 4
Function at 0x7b23dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], ebx
jbe 0x7b242c
cmp dword [ebp - 4], 2
ja 0x7be965
mov ecx, dword [edi]
test cl, 1
jne 0x7b242c
cmp esi, ebx
je 0x7b2425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0x7b242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0x7b2425

Function at 0x7b24ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0x7c6b05
call fcn.007b1350
mov esi, ecx
mov eax, dword [esi + 0x44]
xor edi, edi
mov ebx, 0x8007000e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x7b2519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0x7b265b
cmp dword [ebp + 0xc], edi
je 0x7b265b
push 1
call fcn.007b227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x7b264a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], edi
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea eax, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.007b13e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x7b259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.007b21cb
mov ebx, eax
test ebx, ebx
jl 0x7b259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.007b2436
mov ebx, eax
test ebx, ebx
jl 0x7b259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0x7b2632
push 2
pop ebx
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.007b13e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x7b2654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.007b21cb
mov ebx, eax
test ebx, ebx
jl 0x7b2623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.007b2436
mov ebx, eax
test ebx, ebx
jl 0x7b2623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x7b2623
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x7bf3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x7b2632
push dword [ebp - 0x14]
call fcn.007b13c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0x7b2641
push dword [ebp - 0x18]
call fcn.007b13c0
pop ecx
push dword [ebp - 0x1c]
call fcn.007b13c0
pop ecx
mov eax, ebx
call fcn.007b1390
ret 8
mov ebx, 0x8007000e
jmp 0x7b25fe
mov ebx, 0x80070057
jmp 0x7b264a
Function at 0x7b3a67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x7b3ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x7b3ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x7b3ad0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
pop esi
je 0x7be30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0x7b4267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x7cb00c], esi
jne 0x7b42be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x7b2c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x7cb00c], eax
cmp eax, esi
je 0x7be4ec
push 0xffffffffffffffff
push dword [0x7cb014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x7cb014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0x7cb018], esi
jl 0x7be50a
pop esi
leave
ret

Function at 0x7b4441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x7b4498
call fcn.007b2712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x7b4490
cmp ecx, 0xffffffff
je 0x7b4490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x7b4489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x7b4489
cmp edx, 0x10000000
jae 0x7b4489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x7be892
mov dword [ebp - 4], 0xfffffffe
call fcn.007b2757
ret 4

Function at 0x7b681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x7cb004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0x7b6933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0x7bed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.007b21cb
test eax, eax
jl 0x7b6932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0x7b68c3
push 0x7b6994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.007b2436
test eax, eax
jl 0x7b6932
push 0x7b6980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.007b2436
test eax, eax
jl 0x7b6932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x7bed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7b6970
push eax
call edi
push 0x7b695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0x7b6948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0x7b6940
cmp dword [esi + 0x34], 0
je 0x7b6940
test eax, eax
je 0x7b6940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.007b20d4
leave
ret
mov eax, 0x8007007f
jmp 0x7b6932
Function at 0x7b71f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0x7c608c
call fcn.007b39dd
lea ecx, [ebp - 0x34]
call fcn.007b6c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.007b758b
test eax, eax
jl 0x7b722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.007b72a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0x7b7298
cmp ax, si
jne 0x7be4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.007b1451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.007b758b
mov esi, eax
test esi, esi
jl 0x7b7280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.007b72a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.007b760b
mov eax, esi
call fcn.007b2b9f
ret

Function at 0x7b791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x7bdc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0x7b7900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0x7b79a8
push 1
lea ecx, [ebp - 0x20]
call fcn.007b79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x7b78ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.007b71e0
cmp esi, ebx
jl 0x7b79a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0x7b7992
push 0x24
mov eax, 0x7c5c85
call fcn.007b26dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0x7b7854
push 1
lea ecx, [ebp - 0x20]
call fcn.007b79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x7b3984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x7b79a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0x7b79d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.007b7455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.007b71e0
mov eax, esi
call fcn.007b1390
ret 0xc
Function at 0x7b7b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0x7c5fc0
call fcn.007b39dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.007b7c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x7b7b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0x7b7b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0x7b7b5b
inc esi
cmp esi, edi
jb 0x7b7b46
cmp esi, edi
jb 0x7b7c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0x7b7c0e
cmp word [edx], 0x30
jne 0x7b7b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0x7b7b6f
cmp eax, edi
jae 0x7b7c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x7b7b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0x7b7c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0x7b7c03
movzx eax, ax
movzx eax, ax
push eax
push 0x7b7c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.007b1451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.007b6c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.007b760b
mov eax, dword [ebp - 0x54]
call fcn.007b2b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0x7b7bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0x7b7be9