joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10064106
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0xd0]
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
mov edi, dword [ebp + 8]
test eax, eax
jle 0x1006415c
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp + 0xb], 0
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x100641b9
lea ecx, [esi + 0xd0]
inc ebx
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp ebx, eax
jl 0x10064125
sub edi, 0x100
je 0x10064213
sub edi, 4
je 0x100641bd
dec edi
sub edi, 1
jne 0x10064208
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.10090fa2
pop ecx
mov ecx, dword [esi + 0x50]
lea edx, [ebp + 8]
push 0x8000000a
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push sym.DuiLib32.dll_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0x10c]
mov esi, eax
test esi, esi
je 0x10064208
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xfc]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x1006420a
cmp dword [esi + 0x54], 0
je 0x10064208
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.10062b93
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x10064208
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x10064260
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x10064260
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xe0]
test al, al
je 0x10064260
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.100702a3
pop ecx
pop ecx
test eax, eax
je 0x10064260
mov ecx, dword [esi + 0x54]
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x10064208
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x100641b9
Function at 0x10064ce3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x10064d0b
cmp esi, dword [ebx + 0x54]
je 0x10064dcd
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x54]
je 0x10064dcd
cmp dword [ebx + 0x54], 0
push edi
je 0x10064d5e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x54]
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [ebx + 0x54], edi
test esi, esi
je 0x10064dcc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x10064dcc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x10064dcc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe0]
test al, al
je 0x10064dcc
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x54], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x54]
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100a2888
Capabilities:
Set environment variable

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

Function at 0x100a2893
Capabilities:
Set environment variable

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

Function at 0x100a4ca1
Capabilities:
Read file on windows

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

Function at 0x100b303d
Capabilities:
Create thread
Print debug messages

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

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 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 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1002aaee
pop dword [ebp - 0x4c]
mov eax, 0xe0b61a0b
add eax, 0x2f4c90e3
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x89c04d7a
sub dword [ebp - 0x5c], 0x3b6e082f
mov dword [ebp - 0x58], 0x75b5499
sub dword [ebp - 0x58], 0xd5280854
mov dword [ebp - 0x54], 0xe483dd80
add dword [ebp - 0x54], 0x67c866ae
mov dword [ebp - 0x50], 0xb02e264d
sub dword [ebp - 0x50], 0xb02e264d
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xcc253c31
sub eax, 0xbc227bf9
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x5ff000b0
add dword [ebp - 0x5c], 0x148268a6
mov dword [ebp - 0x58], 0xbf2e48f6
sub dword [ebp - 0x58], 0x7dc1e781
mov dword [ebp - 0x54], 0x149485a4
sub dword [ebp - 0x54], 0xb1251938
mov dword [ebp - 0x50], 0x245c1786
add dword [ebp - 0x50], 0xdba3e87a
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x1a79e212
sub eax, 0xa7721ea
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a498
push 0
call eax
mov ecx, 0x4b5fce00
add ecx, 0xb4a08947
mov ebx, eax
mov edi, 0x10039600
add edi, dword [ebp - 0x4c]
mov edx, 0x26603ac1
sub dword [ebp - 0x48], eax
mov esi, dword [edi]
sub dword [ebp - 4], edx
xor esi, edx
sub dword [ebp - 0x3c], 0x1d613987
mov dword [ebx], esi
xor dword [ebp - 0xc], eax
add ebx, 4
add edi, 0x87372deb
add edi, 0x78c8d219
loop 0x1002ac04
add eax, 0x14fef
mov ebx, eax
add eax, 0x6d99196
sub eax, 0x6d99191
mov ecx, 0x88b52900
add ecx, 0x874ad700
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1002fed6
Capabilities:
Copy file

Disassembly:
push 0x724
mov eax, 0x1005f727
call fcn.1004555b
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
mov edi, dword [ebp + 8]
mov dword [ebp - 0x72c], edi
mov dword [ebp - 0x728], esi
jb 0x1002ff01
mov eax, dword [esi]
jmp 0x1002ff03
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x1002ff0d
mov ecx, dword [edi]
jmp 0x1002ff0f
mov ecx, edi
xor edx, edx
cmp byte [ebp + 0x10], dl
sete dl
push edx
push eax
push ecx
mov dword [ebp - 0x730], edx
call dword [sym.imp.kernel32.dll_CopyFileW]
test eax, eax
jne 0x1002ffd7
mov ebx, dword [sym.imp.kernel32.dll_GetLastError]
call ebx
cmp eax, 5
jne 0x1002ffa0
and dword [ebp - 4], 0
push 1
push 0x80
push esi
call fcn.10044eec
cmp dword [esi + 0x14], 8
jb 0x1002ff56
mov ecx, dword [esi]
jmp 0x1002ff58
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x1002ff62
mov eax, dword [edi]
jmp 0x1002ff64
mov eax, edi
push dword [ebp - 0x730]
push ecx
push eax
call dword [sym.imp.kernel32.dll_CopyFileW]
test eax, eax
jne 0x1002ffd7
or dword [ebp - 4], 0xffffffff
jmp 0x1002ffa0
push esi
push edi
push 0x10003e08
call ebx
push eax
push 0xf
lea ecx, [ebp - 0x724]
call fcn.10044eec
mov esi, eax
push 0x100629b4
lea eax, [ebp - 0x39c]
mov ecx, 0xe2
lea edi, [ebp - 0x39c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10044eec
call fcn.100455b4
ret 0xc
Function at 0x10032013
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74c
mov eax, 0x1005f975
call fcn.10045525
mov edi, ecx
cmp dword [edi + 0x24], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x758], eax
jne 0x10032068
push 0x10004bf0
push 0x3a
lea ecx, [ebp - 0x73c]
call fcn.10044eec
mov esi, eax
push 0x100629b4
lea eax, [ebp - 0x3b4]
mov ecx, 0xe2
lea edi, [ebp - 0x3b4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10044eec
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x744], 7
mov dword [ebp - 0x740], 1
jb 0x10032086
mov eax, dword [esi]
jmp 0x10032088
mov eax, esi
lea ecx, [ebp - 0x740]
push ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x744]
push ecx
push ebx
push eax
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x100321de
cmp dword [ebp - 0x744], 7
jne 0x100321de
test ecx, ecx
je 0x100320dd
push esi
lea eax, [edi + 8]
push eax
push 0x10004ac0
push ecx
push 0xf
lea ecx, [ebp - 0x73c]
call fcn.10044eec
jmp 0x10032048
mov eax, dword [ebp - 0x740]
add eax, 2
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x754], ebx
mov dword [ebp - 0x750], ebx
mov dword [ebp - 0x74c], ebx
push eax
lea ecx, [ebp - 0x754]
mov dword [ebp - 4], ebx
call fcn.10044eec
mov ebx, dword [ebp - 0x750]
sub ebx, dword [ebp - 0x754]
mov dword [ebp - 4], 1
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
cmp dword [esi + 0x14], 8
jb 0x10032136
mov ecx, dword [esi]
jmp 0x10032138
mov ecx, esi
lea edx, [ebp - 0x740]
push edx
push eax
lea eax, [ebp - 0x744]
push eax
push 0
push ecx
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10032167
push esi
lea ecx, [edi + 8]
push ecx
push 0x10004ac0
push eax
jmp 0x100320cb
mov edi, dword [ebp - 0x758]
xor esi, esi
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
and dword [ebp - 0x1c], 0
xor ecx, ecx
lea eax, [eax + esi*2]
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.10044eec
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10044eec
mov eax, dword [ebp - 0x1c]
push 0
inc eax
push 1
lea ecx, [ebp - 0x2c]
add esi, eax
mov byte [ebp - 4], 1
call fcn.10044eec
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x754]
cmp byte [ecx + esi*2], 0
jne 0x1003216f
lea ecx, [ebp - 0x754]
call fcn.1005ec72
mov al, 1
jmp 0x100321e0
xor al, al
call fcn.100455a8
ret 8
Function at 0x1003d123
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100611af
call fcn.100454bc
mov ebx, dword [ebp + 8]
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x1003d14c
cmp dword [0x1009b850], edi
je 0x1003d236
push 2
pop ebx
jmp 0x1003d166
cmp edi, 1
jne 0x1003d236
mov eax, ebx
call fcn.1003e014
test al, al
je 0x1003d236
xor ebx, ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
call fcn.1003e036
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
shr eax, 1
and eax, 0x10
or eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 8]
jmp 0x1003d218
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1003d1ad
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov esi, eax
call fcn.1003d80d
test eax, eax
je 0x1003d24a
push 0x1c049f
push 0
call fcn.10044eec
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
and dword [eax + 0x10069528], 0
push ebx
mov ecx, 0x1009b860
call fcn.10044eec
movzx eax, word [esi + 0xc]
and dword [ebp - 0x14], 0
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.1003d924
mov esi, eax
test esi, esi
je 0x1003d199
mov ebx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.1003e057
inc edi
cmp edi, 2
jl 0x1003d134
mov eax, esi
call fcn.10045594
ret 0x18
push ebx
mov ecx, 0x1009b860
call fcn.10044eec
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x1003d22a
movzx ecx, word [ebx + 0xc]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x20], eax
je 0x1003d285
cmp dword [ebp - 0x20], 3
jne 0x1003d280
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x1003d280
and cl, 0xf
cmp cl, 4
je 0x1003d285
push 2
pop esi
jmp 0x1003d22a
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xd]
mov dword [eax], 1
call fcn.1003e057
xor eax, eax
jmp 0x1003d242
Function at 0x1003d70e
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x10061220
call fcn.100454bc
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b858]
jne 0x1003d72c
xor al, al
jmp 0x1003d805
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x1003d73d
xor ecx, ecx
cmp dword [0x1009b850], ecx
jmp 0x1003d748
mov eax, esi
call fcn.1003e014
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x1003d725
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.1003e036
mov dword [ebp - 4], edi
movzx edi, bl
neg edi
sbb edi, edi
and edi, 2
xor ebx, ebx
jmp 0x1003d7c6
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1003d77c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
call fcn.1003d80d
test eax, eax
je 0x1003d7eb
push 0x1c04c2
xor ebx, ebx
push ebx
call fcn.10044eec
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp + 8]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b860
mov dword [eax + 0x10069528], ebx
call fcn.10044eec
mov dword [ebp + 8], ebx
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
push ebx
or eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call fcn.1003d924
mov ebx, eax
test ebx, ebx
je 0x1003d770
jmp 0x1003d7f8
push dword [ebp + 8]
mov ecx, 0x1009b860
call fcn.10044eec
lea ecx, [ebp + 0xf]
call fcn.1003e057
test ebx, ebx
sete al
call fcn.10045594
ret 8
Function at 0x1003e078
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x10061276
call fcn.100454bc
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b858]
jne 0x1003e096
xor eax, eax
jmp 0x1003e1fb
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x1003e0b9
cmp dword [0x1009b850], ebx
je 0x1003e1bb
push 2
pop edi
jmp 0x1003e0d3
cmp ebx, 1
jne 0x1003e1bb
mov eax, esi
call fcn.1003e014
test al, al
je 0x1003e1bb
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.1003e036
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push eax
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x1003e17e
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003e107
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 2
mov edi, eax
jae 0x1003e133
cmp dword [ebp - 0x1c], 1
je 0x1003e130
cmp dword [ebp - 0x1c], 2
jne 0x1003e133
push 2
pop edi
mov eax, edi
call fcn.1003d80d
test eax, eax
je 0x1003e19b
push 0x1c0496
xor edi, edi
push edi
call fcn.10044eec
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b860
mov dword [eax + 0x10069528], edi
call fcn.10044eec
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call fcn.1003d924
mov edi, eax
test edi, edi
je 0x1003e0fb
jmp 0x1003e1ac
push dword [ebp - 0x10]
mov ecx, 0x1009b860
call fcn.10044eec
test edi, edi
je 0x1003e1c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003e057
mov ecx, dword [ebp - 0x18]
inc ebx
cmp ebx, 2
jl 0x1003e0a1
jmp 0x1003e1d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003e057
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x1003e1f1
cmp dword [ebp - 0x1c], 2
je 0x1003e1e9
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x1003e1f9
push ecx
call fcn.10044eec
jmp 0x1003e1f7
push esi
call fcn.10044eec
mov ecx, eax
mov eax, ecx
call fcn.10045594
ret 4
Function at 0x10044aee
Capabilities:
Accept command line arguments

Disassembly:
push 8
push 0x10066040
call fcn.100498d0
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10044b7c
call fcn.1004989e
test eax, eax
jne 0x10044b12
xor eax, eax
jmp 0x10044c48
call fcn.10048c80
test eax, eax
jne 0x10044b22
call fcn.100498bc
jmp 0x10044b0b
call fcn.10049852
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x100a4834], eax
call fcn.10044eec
mov dword [0x1009c15c], eax
call fcn.10044eec
test eax, eax
jns 0x10044b4c
call fcn.10048959
jmp 0x10044b1b
call fcn.10044eec
test eax, eax
js 0x10044b75
call fcn.1004948a
test eax, eax
js 0x10044b75
push 0
call fcn.10044eec
pop ecx
test eax, eax
jne 0x10044b75
inc dword [0x1009c158]
jmp 0x10044c45
call fcn.10049437
jmp 0x10044b45
xor edi, edi
cmp eax, edi
jne 0x10044bdb
cmp dword [0x1009c158], edi
jle 0x10044b0b
dec dword [0x1009c158]
mov dword [ebp - 4], edi
cmp dword [0x1009c4d4], edi
jne 0x10044ba0
call fcn.100491c5
cmp dword [ebp + 0x10], edi
jne 0x10044bb4
call fcn.10049437
call fcn.10048959
call fcn.100498bc
mov dword [ebp - 4], 0xfffffffe
call fcn.10044bc7
jmp 0x10044c45
cmp eax, 2
jne 0x10044c39
call fcn.10048925
push 0x214
push 1
call fcn.10044eec
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x10044b0b
push esi
push dword [0x10099c10]
push dword [0x1009c4b4]
call dword [sym.imp.kernel32.dll_DecodePointer]
call eax
test eax, eax
je 0x10044c2d
push edi
push esi
call fcn.1004899a
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
jmp 0x10044c45
push esi
call fcn.10044eec
pop ecx
jmp 0x10044b0b
cmp eax, 3
jne 0x10044c45
push edi
call fcn.10044eec
pop ecx
xor eax, eax
inc eax
call fcn.10049915
ret 0xc
Function at 0x10044eec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10044efb
pop dword [ebp - 0x2c]
mov eax, 0xe2092af5
sub eax, 0xd204dbfa
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x2851b9d8
add dword [ebp - 0x3c], 0x26008b73
mov dword [ebp - 0x38], 0xa98537ac
add dword [ebp - 0x38], 0x88ae1499
mov dword [ebp - 0x34], 0x4215a7e6
sub dword [ebp - 0x34], 0xf5c963b8
mov dword [ebp - 0x30], 0x52e32084
sub dword [ebp - 0x30], 0x52e32084
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x6bde7f16
add eax, 0xa4219372
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x144b7e7d
sub dword [ebp - 0x3c], 0x9fd91527
mov dword [ebp - 0x38], 0x6e21585d
add dword [ebp - 0x38], 0xd34b0918
mov dword [ebp - 0x34], 0x75e6ce01
add dword [ebp - 0x34], 0xed889e6b
mov dword [ebp - 0x30], 0xfb7f03f3
add dword [ebp - 0x30], 0x480fc0d
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x7894903d
sub eax, 0x68947df1
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x48c5e
push 0
call eax
mov ecx, 0x4426
xor esi, esi
add esi, eax
mov edi, 0x100d2400
add edi, dword [ebp - 0x2c]
mov edx, 0xdfea1a62
add edx, 0xf7af790a
add dword [ebp - 0x1c], 0xdd151d59
mov ebx, dword [edi]
sub dword [ebp - 0x28], 0x85f65029
add ebx, edx
mov dword [ebp - 0x14], 0x5f66cb5
mov dword [esi], ebx
xor dword [ebp - 0x10], ebx
add esi, 4
add edi, 0xb8c88a2e
add edi, 0x473775d6
loop 0x10045013
add eax, 0x21b3e8d5
sub eax, 0x21b2e56a
xor ebx, ebx
add ebx, eax
add eax, 0xd6335c2
add eax, 0xf29cca43
mov ecx, 0x43a2003b
sub ecx, 0x33a2003b
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x10045462
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10099c08]
jne 0x10046509
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1009c280], eax
mov dword [0x1009c27c], ecx
mov dword [0x1009c278], edx
mov dword [0x1009c274], ebx
mov dword [0x1009c270], esi
mov dword [0x1009c26c], edi
mov word [0x1009c298], ss
mov word [0x1009c28c], cs
mov word [0x1009c268], ds
mov word [0x1009c264], es
mov word [0x1009c260], fs
mov word [0x1009c25c], gs
pushfd
pop dword [0x1009c290]
mov eax, dword [ebp]
mov dword [0x1009c284], eax
mov eax, dword [ebp + 4]
mov dword [0x1009c288], eax
lea eax, [ebp + 8]
mov dword [0x1009c294], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1009c1d0], 0x10001
mov eax, dword [0x1009c288]
mov dword [0x1009c184], eax
mov dword [0x1009c178], 0xc0000409
mov dword [0x1009c17c], 1
mov eax, dword [0x10099c08]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10099c0c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1009c1c8], eax
push 1
call fcn.1004d289
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10010f4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1009c1c8], 0
jne 0x100465f5
push 1
call fcn.1004d289
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret