joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428a14
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x570
lea eax, [ebp - 0x250]
push esi
push eax
mov edx, 0x408e64
mov esi, ecx
call fcn.0041ab60
test al, al
je 0x428b24
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.USER32.dll_CharToOemW]
lea eax, [ebp - 0x354]
push eax
push esi
lea eax, [ebp - 4]
push 0x408e6c
push eax
call fcn.00434269
add esp, 0x10
cmp eax, 0xffffffff
je 0x428b19
mov edx, dword [ebp - 4]
push ebx
push eax
lea ecx, [ebp - 0x250]
call fcn.0041aa31
mov ecx, dword [ebp - 4]
mov bl, al
call fcn.00430e28
test bl, bl
pop ebx
je 0x428b19
lea eax, [ebp - 0x250]
push eax
push 0x408e8c
lea eax, [ebp - 0x570]
push 0x10e
push eax
call fcn.00434140
add esp, 0x10
cmp eax, 0xffffffff
jle 0x428b19
push 0x104
lea eax, [ebp - 0x250]
push eax
push 0x408e9c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x428b19
push 0x44
pop esi
push esi
lea eax, [ebp - 0x48]
push 0
push eax
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
xor eax, eax
push eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x48]
push eax
push 0
lea edx, [ebp - 0x570]
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x1c], 1
call fcn.00428838
neg eax
sbb eax, eax
neg eax
jmp 0x428b26
lea ecx, [ebp - 0x250]
call fcn.0040c62c
xor al, al
pop esi
leave
ret

Function at 0x428b6b
Capabilities:
Allocate thread local storage

Disassembly:
push esi
xor esi, esi
push 0xd0
push esi
push 0x440ed0
mov dword [0x440eac], esi
mov dword [0x440ecc], esi
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x440eb0], eax
push 0x440eb4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x440e38], esi
mov dword [0x440e30], esi
mov dword [0x440e44], esi
mov dword [0x440e3c], esi
mov dword [0x440e40], esi
mov dword [0x440e28], esi
mov dword [0x440e2c], esi
mov dword [0x440e34], esi
mov al, 1
pop esi
ret
Function at 0x429a5d
Capabilities:
Encode data using xor
Hash data using sha1 via wincrypt
Hash data via wincrypt
Hash data with crc32
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
dec eax
dec eax
je 0x429ac8
call fcn.004299a6
test al, al
jne 0x429a79
xor al, al
jmp 0x429af3
lea edi, [esi + 4]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x429ab1
mov eax, dword [esi + 8]
sub eax, ebx
je 0x429a98
dec eax
jne 0x429a93
mov eax, 0x8004
jmp 0x429a9d
mov eax, dword [ebp + 0xc]
jmp 0x429a9d
mov eax, 0x8003
push edi
push ebx
push ebx
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x429ab1
mov dword [edi], ebx
jmp 0x429a75
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
dec eax
neg eax
sbb eax, eax
inc eax
jmp 0x429af3
mov ecx, dword [esi]
xor edx, edx
cmp dword [ebp + 0xc], edx
jbe 0x429aef
mov edi, dword [ebp + 8]
movzx eax, byte [edx + edi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x441b70]
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x429ad4
mov dword [esi], ecx
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42a45d
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov dl, 2
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x8793aef0
call fcn.0040a69f
mov dword [esi + 8], eax
test eax, eax
jne 0x42a485
xor al, al
jmp 0x42a537
lea ecx, [ebp - 0x200]
call fcn.004318a9
mov eax, dword [ebp - 0x32]
or dword [ebp - 4], 0xffffffff
or eax, 0x800000
push eax
xor eax, eax
cmp byte [ebp + 8], al
lea ecx, [ebp - 4]
setne al
xor ebx, ebx
inc ebx
add eax, 3
push eax
push ebx
push 0xc0000000
lea eax, [esi + 0x10]
push eax
call fcn.0040c239
test al, al
je 0x42a519
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.0040c29b
test al, al
je 0x42a519
mov edi, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0xc], eax
ja 0x42a4e5
cmp dword [ebp - 0x10], 0x40000000
jb 0x42a4ff
push eax
push eax
push eax
lea ecx, [ebp - 4]
call fcn.0040c2fc
test al, al
je 0x42a519
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42a519
mov edx, dword [ebp - 0x16]
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.0041a658
test eax, eax
jne 0x42a53e
push eax
mov ecx, esi
call fcn.0042a543
xor bl, bl
lea ecx, [ebp - 4]
call fcn.0040c226
mov edx, 0x1ee
lea ecx, [ebp - 0x200]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x42a52e
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4
mov dword [esi + 0xc], eax
jmp 0x42a51b
Function at 0x42ab4f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
lea eax, [ebp - 0x410]
push ebx
push esi
push edi
push eax
push 0xf6
mov edi, edx
mov esi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0xf5
ja 0x42abd6
lea eax, [ebp - 0x208]
push eax
push ebx
push 0x408ee4
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x42abd6
lea ecx, [ebp - 0x208]
call fcn.0040c62c
test al, al
je 0x42abd6
push ecx
lea edx, [ebp - 0x208]
mov ecx, esi
call fcn.00421eb4
test al, al
je 0x42abd6
mov edx, dword [esi + 4]
push edi
lea ecx, [ebp - 0x208]
call fcn.0042ab08
lea ecx, [ebp - 0x208]
mov bl, al
call fcn.0040c62c
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x42cb48
Capabilities:
Parse credit card information

Disassembly:
push 8
add ecx, 0xfffffffe
pop eax
cmp ecx, eax
ja case.default.0x42cb56
jmp dword [ecx*4 + 0x42cc68]
cmp dl, 0x40
jne 0x42cb66
push 4
pop eax
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x42cb72
cmp al, 0x7a
jbe 0x42cbd5
cmp dl, 0x30
jl 0x42cb7c
cmp dl, 0x39
jle 0x42cbd5
cmp dl, 0x2d
je 0x42cbd5
cmp dl, 0x5f
je 0x42cbd5
cmp dl, 0x2e
je 0x42cbd5
cmp dl, 0x21
je 0x42cbd5
cmp dl, 0x7e
je 0x42cbd5
cmp dl, 0x2a
je 0x42cbd5
cmp dl, 0x27
je 0x42cbd5
cmp dl, 0x28
je 0x42cbd5
cmp dl, 0x29
je 0x42cbd5
cmp dl, 0x25
je 0x42cbd5
cmp dl, 0x3b
je 0x42cbd5
cmp dl, 0x3a
je 0x42cbd5
cmp dl, 0x26
je 0x42cbd5
cmp dl, 0x3d
je 0x42cbd5
cmp dl, 0x2b
je 0x42cbd5
cmp dl, 0x24
je 0x42cbd5
cmp dl, 0x2c
jne case.default.0x42cb56
push 3
pop eax
ret
cmp dl, 0x5b
jne 0x42cbe2
push 5
pop eax
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x42cbee
cmp al, 0x7a
jbe 0x42cc02
cmp dl, 0x30
jl 0x42cbf8
cmp dl, 0x39
jle 0x42cc02
cmp dl, 0x2e
je 0x42cc02
cmp dl, 0x2d
jne case.default.0x42cb56
push 6
pop eax
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x42cc12
cmp al, 0x7a
jbe 0x42cc02
cmp dl, 0x30
jl 0x42cc1c
cmp dl, 0x39
jle 0x42cc02
cmp dl, 0x2e
je 0x42cc02
cmp dl, 0x2d
je 0x42cc02
cmp dl, 0x3a
jne case.default.0x42cb56
push 9
pop eax
ret
cmp dl, 0x5d
je 0x42cc67
cmp dl, 0x30
jl 0x42cc3e
cmp dl, 0x39
jle 0x42cc54
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x42cc4a
cmp al, 0x66
jbe 0x42cc54
cmp dl, 0x3a
je 0x42cc54
cmp dl, 0x2e
jne case.default.0x42cb56
push 7
pop eax
ret
sub dl, 0x30
cmp dl, 9
ja case.default.0x42cb56
push 0xa
pop eax
ret
xor eax, eax
inc eax
ret
Function at 0x42ceee
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x1c
push 0x43dca8
call fcn.0043daf8
mov edi, edx
mov dword [ebp - 0x28], ecx
and dword [ebp - 4], 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x50]
mov dword [ebp - 0x20], eax
xor bl, bl
mov byte [ebp - 0x19], bl
push 0x40
push 0x3000
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x42cf8e
mov edx, dword [ebp - 0x20]
mov ecx, edi
call fcn.00430e63
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42cf74
push 0
push 0
push esi
mov edx, edi
mov ecx, eax
call fcn.0040d82e
mov edi, dword [ebp - 0x24]
test al, al
je 0x42cf6d
push 0
push dword [ebp - 0x20]
push edi
push esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
mov byte [ebp - 0x19], bl
mov ecx, edi
call fcn.00430e28
test bl, bl
jne 0x42cf8e
push 0x8000
push 0
push esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor esi, esi
mov dword [ebp - 0x2c], esi
or dword [ebp - 4], 0xffffffff
mov eax, esi
jmp 0x42cfa3
call fcn.0043db33
ret

Function at 0x42d7bf
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_memset]
push esi
push edi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
mov edi, edx
mov esi, ecx
call ebx
xor eax, eax
inc eax
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push esi
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x42d80c
xor al, al
jmp 0x42d8c2
push 0x10
push 0
push edi
call ebx
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
call fcn.004339f4
mov dword [edi], eax
test eax, eax
je 0x42d805
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
test ecx, ecx
je 0x42d840
cmp byte [edx], 0x2f
jne 0x42d840
dec ecx
inc edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
jmp 0x42d82d
mov ebx, dword [ebp - 4]
add ebx, ecx
lea eax, [ebx + 2]
test eax, eax
je 0x42d859
mov ecx, eax
call fcn.00430dfe
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [edi + 4], eax
test eax, eax
jne 0x42d869
mov ecx, dword [edi]
call fcn.00430e28
jmp 0x42d805
mov esi, dword [sym.imp.msvcrt.dll_memcpy]
push ecx
push edx
inc eax
push eax
call esi
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push dword [ebp - 8]
inc eax
add eax, dword [edi + 4]
push eax
call esi
mov eax, dword [edi + 4]
add esp, 0x18
mov byte [eax], 0x2f
mov eax, dword [edi + 4]
mov byte [ebx + eax + 1], 0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [edi + 8], eax
mov ax, word [ebp - 0x24]
mov word [edi + 0xc], ax
mov eax, dword [ebp - 0x30]
sub eax, 3
je 0x42d8bc
dec eax
je 0x42d8b6
mov byte [edi + 0xe], 0
jmp 0x42d8c0
mov byte [edi + 0xe], 2
jmp 0x42d8c0
mov byte [edi + 0xe], 1
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42dc68
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
test esi, esi
je 0x42dc93
push edi
push eax
push eax
push esi
push 0x42dbc6
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x42dc90
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, edi
pop edi
pop esi
ret

Function at 0x42f0e5
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x6c
mov ebp, ecx
lea edx, [esp + 0x20]
pop ecx
call fcn.0041c8a9
xor edi, edi
test byte [ebp], 1
push 2
mov dword [esp + 0x14], edi
pop ebx
je 0x42f11a
push 0x10
lea eax, [ebp + 4]
push eax
lea edx, [esp + 0x18]
mov ecx, ebx
call fcn.00429b5f
lea esi, [ebp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x18]
push eax
push esi
mov ecx, ebx
call fcn.00429b5f
lea eax, [ebp + 0x4a]
push ebx
push eax
lea edx, [esp + 0x1c]
mov ecx, ebx
call fcn.00429b5f
lea eax, [esp + 0x1c]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x18]
push eax
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.00434140
add esp, 0x18
cmp eax, 0x1f
jne 0x42f218
lea eax, [esp + 0x44]
push eax
push 1
push 0x44074c
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
je 0x42f218
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42f19c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, edi
test ebx, ebx
je 0x42f218
push 0x58
push 8
push dword [0x4420ec]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x42f211
mov esi, dword [sym.imp.msvcrt.dll_memcpy]
push 0x10
lea eax, [ebp + 4]
push eax
lea eax, [edi + 4]
push eax
call esi
mov eax, dword [ebp]
mov dword [edi], eax
push 0x3a
lea eax, [ebp + 0x14]
push eax
lea eax, [edi + 0x14]
push eax
call esi
xor eax, eax
add esp, 0x18
mov dword [edi + 0x50], ebx
cmp word [edi + 0x4c], ax
je 0x42f20a
cmp byte [edi + 0x18], al
je 0x42f20a
cmp word [edi + 0x4a], ax
je 0x42f20a
push edi
mov edx, 0x42eecf
mov ecx, 0x80000
call fcn.00428994
test eax, eax
je 0x42f20a
mov al, 1
jmp 0x42f21a
mov ecx, edi
call fcn.00430e28
mov ecx, ebx
call fcn.004280d6
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x42f69b
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, 0x441fd0
mov esi, 0x11c
push edi
mov dword [0x441fd0], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42f803
push 2
pop ebx
cmp dword [0x441fe0], ebx
jne 0x42f803
mov al, byte [0x4420ea]
cmp al, 1
jne 0x42f748
mov eax, dword [0x441fd4]
cmp eax, 5
jne 0x42f712
mov eax, dword [0x441fd8]
test eax, eax
jne 0x42f6fa
mov byte [0x441fc8], 1
jmp 0x42f7a5
cmp eax, 1
je 0x42f707
cmp eax, ebx
jne 0x42f7a5
mov byte [0x441fc8], bl
jmp 0x42f7a5
cmp eax, 6
jne 0x42f7a5
mov eax, dword [0x441fd8]
test eax, eax
jne 0x42f72d
mov byte [0x441fc8], 4
jmp 0x42f7a5
cmp eax, 1
jne 0x42f73b
mov byte [0x441fc8], 6
jmp 0x42f7a5
cmp eax, ebx
jne 0x42f7a5
mov byte [0x441fc8], 9
jmp 0x42f7a5
cmp al, 2
je 0x42f750
cmp al, 3
jne 0x42f7a5
mov eax, dword [0x441fd4]
cmp eax, 5
jne 0x42f76b
cmp dword [0x441fd8], ebx
jne 0x42f7a5
mov byte [0x441fc8], 3
jmp 0x42f7a5
cmp eax, 6
jne 0x42f7a5
mov ecx, dword [0x441fd8]
test ecx, ecx
jne 0x42f783
mov byte [0x441fc8], 5
jmp 0x42f7a5
cmp ecx, 1
jne 0x42f791
mov byte [0x441fc8], 7
jmp 0x42f7a5
movzx eax, byte [0x441fc8]
push 8
pop edx
cmp ecx, ebx
cmove eax, edx
mov byte [0x441fc8], al
movzx eax, word [0x441fdc]
xor ecx, ecx
cmp dword [0x441fdc], 0xffff
cmova eax, ecx
mov word [0x441fca], ax
mov eax, 0xff
cmp word [0x4420e4], ax
ja 0x42f7e4
cmp word [0x4420e6], cx
jne 0x42f7e4
mov al, byte [0x4420e4]
mov byte [0x441fcc], al
jmp 0x42f7ea
mov byte [0x441fcc], cl
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov cx, word [ebp - 0x24]
mov word [0x441fce], cx
mov al, 1
jmp 0x42f832
xor ecx, ecx
xor eax, eax
push esi
mov word [0x441fca], ax
push ecx
mov eax, 0xffff
push edi
mov byte [0x441fc8], cl
mov byte [0x441fcc], cl
mov word [0x441fce], ax
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42fb8f
Capabilities:
Create thread
Terminate thread

Disassembly:
cmp byte [0x440b84], 1
jbe 0x42fbd3
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push 0x42fac5
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x42fbd1
push 0x3a98
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42fbca
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret
Function at 0x43122f
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, 0x441008
push ebx
push esi
push 0x16
mov ebx, ecx
pop edx
and byte [eax], 0xfe
lea eax, [eax + 8]
dec edx
jne 0x431241
push 0x440fec
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0x80000
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x4420ec], eax
test eax, eax
jne 0x431281
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x4420ec], eax
mov byte [0x440fe5], 0
jmp 0x431288
mov byte [0x440fe5], 1
push 0x24
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4312ba
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
or dword [esi + 0x1c], 0xffffffff
push 4
lea eax, [esi + 0x20]
push 0
push eax
mov dword [esi + 0x18], ebx
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
jmp 0x4312bc
xor esi, esi
mov dword [0x440fcc], esi
test esi, esi
je 0x43130c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0x1c], eax
cmp eax, 0xffffffff
je 0x4312fc
mov esi, dword [0x440fcc]
lea edx, [ebp - 0x14]
mov ecx, 0xd7
call fcn.0041c8a9
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4312fc
mov al, 1
jmp 0x43130e
mov ecx, dword [0x440fcc]
test ecx, ecx
je 0x43130c
push ecx
call fcn.00431312
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x4313c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [0x440770]
lea eax, [esp + 0x18]
push eax
xor edi, edi
push ebp
mov dword [esp + 0x28], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x43145c
mov ecx, ebx
call fcn.00430e11
mov esi, eax
test esi, esi
je 0x431458
push esi
push ebx
push edi
push ebp
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
cmp eax, 1
je 0x431417
mov ecx, esi
call fcn.00430e28
jmp 0x431458
mov edi, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
call fcn.00409a4b
push 0x1f
lea edx, [esp + 0x28]
pop ecx
call fcn.0041c8a9
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43144e
mov edx, eax
xor ecx, ecx
call fcn.00421202
call fcn.0041c81d
call fcn.00434505
mov esi, dword [esp + 0x14]
call fcn.0042b25d
call fcn.00409733
call fcn.00428ebf
test al, al
je 0x43148f
push 1
mov edx, 0x4092f4
xor ecx, ecx
call fcn.00428c0f
test eax, eax
jle 0x43148a
call fcn.00428efa
test al, al
jne 0x43148f
call fcn.00428ee9
call fcn.00419e34
mov ecx, edi
call fcn.00430e28
call fcn.00431338
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x43292b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x48]
mov ebp, ecx
lea ecx, [esp + 0x2c]
push 0x14
sub esi, edi
mov dword [esp + 0x14], ebp
mov edx, edi
sub ecx, edi
pop ebx
mov al, byte [esi + edx]
xor al, byte [edx]
mov byte [ecx + edx], al
inc edx
dec ebx
jne 0x43294d
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x4329bb
lea edx, [esp + 0x18]
sub edx, edi
mov dword [esp + 0x14], edx
mov ebx, esi
mov eax, dword [ebp]
add eax, 8
add eax, ebx
sub eax, edi
push 0x14
mov ecx, edi
mov dword [esp + 0x48], eax
pop ebp
mov edi, eax
mov al, byte [edi + ecx]
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
dec ebp
jne 0x432981
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x10]
push 0x14
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
js 0x4329c8
mov edx, dword [esp + 0x14]
inc esi
add ebx, 0x38
cmp esi, dword [ebp + 4]
jl 0x43296c
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8
mov eax, esi
jmp 0x4329be

Function at 0x432a39
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
lea ebx, [esp + 0x24]
push 0x14
sub ecx, esi
mov edi, esi
sub ebx, esi
pop ebp
mov al, byte [ecx + edi]
xor al, byte [edi]
mov byte [ebx + edi], al
inc edi
dec ebp
jne 0x432a51
lea ecx, [esp + 0x10]
push 0x14
sub edx, esi
sub ecx, esi
pop edi
mov al, byte [edx + esi]
xor al, byte [esi]
mov byte [ecx + esi], al
inc esi
dec edi
jne 0x432a68
push 0x14
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x434766
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
xor ebx, ebx
push ebx
lea edx, [ebp - 0xd0]
mov ecx, 0xff220823
call fcn.0040a65e
lea edx, [ebp - 0x68]
mov ecx, 0xc1
call fcn.0041c8a9
mov byte [ebp - 1], bl
mov esi, 0x80000001
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x43480a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
push 1
push ebx
lea eax, [ebp - 0x68]
push eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434810
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
push dword [ebp - 8]
neg ebx
sbb bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc bl
je 0x434810
mov bl, byte [ebp - 1]
inc bl
push 0
mov byte [ebp - 1], bl
cmp bl, 5
pop ebx
jb 0x434799
xor al, al
pop esi
pop ebx
leave
ret
mov al, 1
jmp 0x43480c

Function at 0x4348ea
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x84]
push eax
mov edi, ecx
push 2
mov ebx, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x434929
cmp dword [esp + 0x10], 0
jne 0x434938
push 0x51
lea edx, [esp + 0x84]
pop ecx
call fcn.0041c8a9
xor esi, esi
lea eax, [esp + 0x80]
cmp word [esp + 0x80], si
je 0x434966
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x434958
cmp ecx, 0x5c
jne 0x43495e
push 0x7c
pop ecx
mov word [eax], cx
add eax, 2
cmp word [eax], si
jne 0x43494b
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 0x40]
push 0x4e
pop ecx
call fcn.0041c8a9
movzx eax, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x32]
push eax
push edi
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00418bf9
add esp, 0x20
test eax, eax
je 0x4349b6
xor al, al
jmp 0x434a39
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.USER32.dll_CharLowerW]
push dword [ebx]
mov edx, dword [esp + 0x24]
push dword [ebx + 4]
push edi
push 2
pop ecx
call fcn.0042a87c
mov bl, al
test bl, bl
je 0x434a30
push 0x4f
lea edx, [esp + 0x38]
pop ecx
call fcn.0041c8a9
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
test eax, eax
je 0x434a30
mov eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
cmp dword [ebp + 8], eax
je 0x434a1c
push dword [ebp + 8]
lea ecx, [esp + 0x18]
call fcn.00431dfe
mov esi, dword [esp + 0x14]
test al, al
je 0x434a29
mov eax, dword [esp + 0x1c]
push eax
push esi
push edi
push 2
xor edx, edx
pop ecx
call fcn.0042a87c
mov ecx, esi
call fcn.00430e28
mov ecx, edi
call fcn.00430e28
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4