joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016a70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10016acb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10016aac
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10016ac9
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.100170ea
mov dword [eax], 3
jmp 0x10016aa1
jmp 0x10016af6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10016af6
push 0
push 0x148
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esp, ebp
pop ebp
ret
Function at 0x1002e19c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002e1e2
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002e1e0
push 0
push 0x103e
push 0x1a4
push 0
push 0x11dc
push 0x9d5
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x1002e1f4
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002e1f4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov esp, ebp
pop ebp
ret

Function at 0x10030170
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 0x5ebc
lea eax, [ebp - 0x10]
push eax
push 0x5ea5
push 1
call fcn.1002ff40
add esp, 0x14
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100301aa
xor eax, eax
jmp 0x100302ff
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x42a9
push 0x4535
call fcn.1002ffc1
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x100301dc
xor eax, eax
jmp 0x100302ff
lea eax, [ebp - 8]
push eax
push 0x5e24
lea eax, [ebp - 0xc]
push eax
push 1
push 0x2e59
call fcn.10030056
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10030205
xor eax, eax
jmp 0x100302ff
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xc4c
push 0x734d
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
push 1
call fcn.1002fdd6
add esp, 0x20
push dword [ebp - 4]
push dword [ebp + 8]
push 0x6fae
push 0x3210
push 0
push dword [ebp - 8]
call fcn.1002be46
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
push 0x2bd0
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.100300f3
add esp, 0x10
push dword [ebp - 4]
call fcn.1002f608
pop ecx
test eax, eax
jne 0x1003027f
xor eax, eax
jmp 0x100302ff
push 0
push 0x1fdb
push dword [ebp - 4]
push 0x1e7d
push 0x585e
push 0x5f4f
push 0x74a3
call fcn.100284ab
add esp, 0x1c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x100302e7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x100302c4
xor eax, eax
jmp 0x100302ff
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100302dd
xor eax, eax
jmp 0x100302ff
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100302f8
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x100302fc
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x100860a5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10091330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10075ae4
mov dword [ebp - 0x14], eax
cmp dword [0x1067deb0], esi
jne 0x10086198
push 0x800
push esi
push 0x1000958c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10086125
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10086278
push esi
push esi
push 0x1000958c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10086278
push 0x100095a4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10086278
push eax
call ebx
push 0x100095b0
push edi
mov dword [0x1067deb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100095c0
push edi
mov dword [0x1067deb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100095d4
push edi
mov dword [0x1067deb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067dec0], eax
test eax, eax
je 0x10086195
push 0x100095f0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067debc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100861bd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100861b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100861d2
push 4
pop eax
jmp 0x1008627a
cmp dword [ebp - 0x14], esi
je 0x100861d2
push dword [0x1067deb0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100861b7
mov eax, dword [0x1067debc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10086230
cmp dword [0x1067dec0], edi
je 0x10086230
push eax
call ebx
push dword [0x1067dec0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10086230
test eax, eax
je 0x10086230
call ecx
test eax, eax
je 0x10086225
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10086225
test byte [ebp - 8], 1
jne 0x10086230
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10086260
mov eax, dword [0x1067deb4]
cmp eax, edi
je 0x1008625d
push eax
call ebx
test eax, eax
je 0x1008625d
call eax
mov esi, eax
test esi, esi
je 0x1008625d
mov eax, dword [0x1067deb8]
cmp eax, edi
je 0x1008625d
push eax
call ebx
test eax, eax
je 0x1008625d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067deb0]
call ebx
test eax, eax
je 0x10086278
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1008627a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071242
mov esp, ebp
pop ebp
ret
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10

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 0x11e3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.011e378f
jae 0x11e370e
xor ecx, ecx
call fcn.011e378f
jae 0x11e373d
xor eax, eax
call fcn.011e378f
jae 0x11e374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.011e378f
adc al, al
jae 0x11e372f
jne 0x11e3779
stosb byte es:[edi], al
jmp 0x11e3711
call fcn.011e379b
sub ecx, ebx
jne 0x11e3756
call fcn.011e3799
jmp 0x11e3775
lodsb al, byte [esi]
shr eax, 1
je 0x11e3783
adc ecx, ecx
jmp 0x11e3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.011e3799
cmp eax, 0x7d00
jae 0x11e3772
cmp ah, 5
jae 0x11e3773
cmp eax, 0x7f
ja 0x11e3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11e3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x43af02
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ebx, [eax*4]
push esp
pop edx
or dx, di
jmp 0x43ad7b
mov edx, dword [esp]
mov dx, sp
xor al, 0xf1
mov bx, dx
jmp 0x43ad58
jl 0x43ada4
jge 0x43ada4
not dh
jmp 0x43adad
not dh
lea edx, [ecx + 0x81]
mov dx, 0xe2a6
setnp bh
jmp 0x43aed6
sub al, 0xcf
bsr ebx, ebx
js 0x43ad7f
jns 0x43ad87
lea edx, [ecx + 0x81]
mov dx, 0xe2a6
setnp bh
jmp 0x43aed6
setbe bh
mov dx, sp
neg bh
jmp 0x43ad6e
mov ebx, dword [esp]
clc
jge 0x43ae0f
mov bl, 0xaf
jmp 0x43adf9
sub esp, 7
jmp 0x43aea1
mov bh, 0xe
jmp 0x43ae13
mov bl, 0xaf
mov bh, 0xe
ror al, 0
lea edx, [ebx*4]
push cx
mov bh, 0x50
jmp 0x43ae5e
dec bx
mov dh, bl
mov bl, byte [esp]
jmp 0x43adf1
mov edx, ebp
mov ebx, dword [edx]
xor dh, 0x94
jmp 0x43ae6c
btr edx, edi
sub esp, 0xf
lea esp, [esp + 3]
jmp 0x43aeb2
lea esp, [esp + 2]
and eax, 0x3c
xchg bx, dx
mov bh, 0x2c
jmp 0x43ae36
je 0x43ae43
btr edx, edi
sub esp, 0xf
jmp 0x43ae7a
lea esp, [esp + 3]
jmp 0x43aeb2
mov bx, 0xa80a
dec bx
mov dh, bl
mov bl, byte [esp]
sub esp, 7
lea esp, [esp + 3]
lea esp, [esp + 4]
xor al, 0x66
bswap ebx
jmp 0x43addb
mov dword [eax + edi], ebx
call 0x43aebb
inc edi
lea edx, reloc.KERNEL32.dll_Sleep
mov dx, 0x815b
jmp 0x43aefa
rol al, 0
jne 0x43ae93
mov bx, 0xa80a
jmp 0x43ae2d
jmp fcn.0043af4e
cmc
xor dh, byte [esi + 0x61]
add ebp, 4
stc
je 0x43aee4
jne fcn.0043af4e
push eax
call fcn.0043b5be
mov dword [reloc.KERNEL32.dll_Sleep], eax
loopne 0x43aef6
not dword [bp + si - reloc.KERNEL32.dll_Sleep]
sbb dh, byte [ebp + 0x64]
xchg edi, eax
dec cl
xchg bh, dl
jmp 0x43add1

Function at 0x43b240
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc esi
jmp 0x43b278
cmc
jns 0x43b262
xor dl, bh
neg dh
bswap edx
push eax
mov bx, dx
jmp 0x43b61b

Function at 0x43b64e
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0427d1c
jmp 0x43b69a
retf
push dword [esp + 5]
jne 0x43b669
je 0x43b673
in al, 0x76
in al, 0x83
jle 0x43b626
imul byte [ebx - 5]
sahf
insd dword es:[edi], dx
invalid
mov dword [esp + 0x10], esi
jmp 0x43b6c2
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
lea esp, [esp + 0xc]
jmp 0x43b6ca
jmp 0x43b6e6
mov ebp, dword [esp + 0x2c]
jmp 0x43b6a6
mov di, ax
xchg dl, dh
lea edi, [esp]
lea ecx, reloc.KERNEL32.dll_Sleep
lea ecx, [ecx + esi]
jmp 0x43b6d0
mov dword [esp + 0xc], edi
lea esp, [esp + 0xc]
pushfd
jmp 0x43a804
cpuid
jmp 0x43b727
cmpsb byte [esi], byte es:[edi]
rcl dword [eax - 0x75]
cmp al, 0x24
mov edi, dword [esp]
rdtsc
neg cl
jg 0x43b69c
jle 0x43b69c
lds edx, [edi - 0x39]
mov byte [0xc85d9b51], al
pop esi
cmp eax, ecx
ja 0x43b6e3
Function at 0x4097d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4097f4
xor eax, eax
jmp 0x409874
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40980b
xor eax, eax
jmp 0x409874
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x409857
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x409857
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40982e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x409863
xor eax, eax
jmp 0x409874
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x409871
xor eax, eax
jmp 0x409874
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x41e050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x666a45
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6f0f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.0042e4c0
lea ecx, [ebp + 0xc]
call fcn.00406e30
mov dword [ebp - 0x18], eax
push 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x30]
call edx
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x20]
call fcn.0042df50
add eax, 8
push eax
call fcn.00407e00
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x6be704
mov ecx, dword [ebp - 0x1c]
call fcn.005e7090
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp - 0xd]
push eax
lea ecx, [ebp - 0x34]
call fcn.005e6c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push ecx
push str.isLogin
mov ecx, dword [ebp - 0x24]
call fcn.005e7090
mov ecx, eax
call fcn.005e6e10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.005e6d40
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.0042e360
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.0042e4f0
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406d50
movzx eax, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x449900
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669395
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x6f0f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x6ff5a0], 0
je 0x449943
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
call fcn.0065f6c0
push 0x6c5128
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.00449c20
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040a480
lea ecx, [ebp - 0x10]
call fcn.004058c0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call esi
mov dword [0x6ff5a4], eax
mov ecx, eax
test eax, eax
jne 0x4499dc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0065f810
push 0x6c5128
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.00449c20
add esp, 0x14
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00449e20
lea ecx, [ebp - 0x18]
call fcn.0040a480
lea ecx, [ebp - 0x1c]
call fcn.0040a480
lea ecx, [ebp - 0x10]
call fcn.004058c0
push eax
call esi
mov dword [0x6ff5a4], eax
mov ecx, eax
test ecx, ecx
je 0x449ada
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._RptInitializeWithDefaultSettings_0
push ecx
call esi
mov dword [0x6ff59c], eax
test eax, eax
je 0x449ad5
push str._RptInitializeWithSilenceSettings_0
push dword [0x6ff5a4]
call esi
mov dword [0x6ff588], eax
test eax, eax
je 0x449ad5
push str._RptInitializeWithDefaultSettingsWithVersion_4
push dword [0x6ff5a4]
call esi
mov dword [0x6ff598], eax
test eax, eax
je 0x449ad5
push str._RptSetMonitorPath_4
push dword [0x6ff5a4]
call esi
mov dword [0x6ff594], eax
test eax, eax
je 0x449ad5
push str._RptCleanup_0
push dword [0x6ff5a4]
call esi
mov dword [0x6ff590], eax
test eax, eax
je 0x449ad5
push str._RptMessagePrintWithOptions_8
push dword [0x6ff5a4]
call esi
mov dword [0x6ff58c], eax
test eax, eax
je 0x449ad5
push str._RptSetVendor_4
push dword [0x6ff5a4]
call esi
mov dword [0x6ff584], eax
test eax, eax
je 0x449ad5
push str._RptSetUserId_4
push dword [0x6ff5a4]
call esi
mov dword [0x6ff580], eax
test eax, eax
je 0x449ad5
push str._RptSetExeName_4
push dword [0x6ff5a4]
call esi
mov dword [0x6ff57c], eax
test eax, eax
je 0x449ad5
push str._RptSetVersion_4
push dword [0x6ff5a4]
call esi
mov dword [0x6ff578], eax
test eax, eax
je 0x449ad5
mov bl, 1
jmp 0x449afb
mov eax, dword [0x6ff5a4]
mov bl, byte [0x6ff5a0]
test bl, bl
jne 0x449b01
test eax, eax
je 0x449aef
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x6ff5a4], 0
xor bl, bl
mov byte [0x6ff5a0], bl
lea ecx, [ebp - 0x10]
call fcn.0040a480
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c940
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669f97
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6f0f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x70069c]
test eax, eax
jne 0x44ca8b
mov eax, dword [0x6ff5b4]
test eax, eax
jne 0x44c998
push str.3480CE0E_C867_4657_8B39_F679E6CF90BA
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x6ff5b4], eax
test eax, eax
je 0x44ca86
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44ca86
cmp dword [0x70069c], eax
jne 0x44ca7a
push 0x14
call fcn.00459776
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x44ca5d
mov byte [ebp - 4], 1
lea ecx, [ebx + 4]
push 0x700628
mov dword [ebx], vtable.DataPersistent.0
call fcn.00660e20
lea eax, [ebp - 0xe]
mov byte [ebp - 4], 2
lea edi, [ebx + 0xc]
push eax
mov dword [ebp - 0x18], edi
call fcn.00407e00
add esp, 4
mov dword [edi], 0
lea ecx, [ebp - 0xd]
mov dword [edi + 4], 0
push edi
push 0x6bc4a2
call fcn.004057c0
push 0x1c
call fcn.00408ad0
mov esi, eax
push esi
push 4
call fcn.00409490
mov dword [eax], esi
lea eax, [esi + 4]
push eax
push 4
call fcn.00409490
mov dword [eax], esi
lea eax, [esi + 8]
push eax
push 4
call fcn.00409490
add esp, 0x1c
lea ecx, [ebp - 0xd]
mov dword [eax], esi
mov word [esi + 0xc], 0x101
mov dword [edi], esi
call fcn.004057a0
jmp 0x44ca5f
xor ebx, ebx
mov eax, dword fs:[0x2c]
mov dword [0x70069c], ebx
mov ecx, dword [eax]
mov eax, dword [0x7006d8]
cmp eax, dword [ecx + 4]
jg 0x44ca9d
push dword [0x6ff5b4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x70069c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x7006d8
call fcn.005e3563
add esp, 4
cmp dword [0x7006d8], 0xffffffff
jne 0x44ca7a
mov eax, dword [0x70069c]
push 0x67ce90
mov dword [0x7006dc], eax
call fcn.0058d683
push 0x7006d8
call fcn.005e3512
add esp, 8
jmp 0x44ca7a

Function at 0x44dbb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a13e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6f0f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
call fcn.0040a3e0
push 0
push 0x1c
mov dword [ebp - 4], 0
mov ecx, esi
push 0x104
mov dword [ebp - 0x10], 1
call fcn.00409f00
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004095d0
push 0x6c5374
mov ecx, esi
call fcn.0044a620
mov ecx, esi
call fcn.004058c0
push eax
call fcn.006603b0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44dee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a235
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6f0f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ecx, esi
call fcn.0044b4d0
test al, al
jne 0x44e0a3
mov ecx, esi
call fcn.004058c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e0a3
lea ecx, [ebp - 0x10]
call fcn.0040a3e0
push esi
mov dword [ebp - 4], 0
call fcn.0065f1f0
add esp, 4
lea ecx, [ebp - 0x14]
test eax, eax
je 0x44df95
mov edx, SysReAllocStringLen
call fcn.0044e0c0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00449e20
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0040a480
lea ecx, [ebp - 0x10]
call fcn.0044b4d0
test al, al
je 0x44dfea
mov edx, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.0044e0c0
mov byte [ebp - 4], 2
jmp 0x44dfd5
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0044e0c0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00449e20
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0040a480
lea ecx, [ebp - 0x10]
call fcn.0044b4d0
test al, al
je 0x44dfea
mov edx, SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.0044e0c0
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00449e20
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0040a480
lea ecx, [ebp - 0x10]
call fcn.00409c70
test eax, eax
jle 0x44e080
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.004497d0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0044a2a0
push 0
push str..exe
lea ecx, [ebp - 0x14]
call fcn.0044a340
mov ebx, eax
test ebx, ebx
jle 0x44e078
lea esi, [ebx - 1]
test esi, esi
js 0x44e047
nop
push esi
lea ecx, [ebp - 0x14]
call fcn.0044a5e0
cmp ax, 0x5c
je 0x44e046
sub esi, 1
jns 0x44e030
jmp 0x44e047
inc esi
sub ebx, esi
lea ecx, [ebp - 0x10]
push ebx
push esi
push edi
call fcn.0044a160
lea ecx, [ebp - 0x14]
call fcn.0040a480
lea ecx, [ebp - 0x10]
call fcn.0040a480
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
lea ecx, [ebp - 0x14]
call fcn.0040a480
mov ecx, edi
call fcn.0040a3e0
lea ecx, [ebp - 0x10]
call fcn.0040a480
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
mov ecx, edi
call fcn.0040a3e0
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