joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4479c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f2ecf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push ecx
mov ecx, dword [esp + 0x28]
mov eax, esp
mov dword [esp + 8], esp
mov dword [esp + 0xc], 0
mov edx, dword [ecx + 0x5c]
lea ecx, [esp + 0x10]
mov dword [eax], edx
lea eax, [esp + 8]
push eax
push ecx
call fcn.004d3abd
mov ecx, eax
call fcn.00443e50
mov edx, dword [0x532934]
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 4]
mov eax, 0x88888889
imul ecx
add edx, ecx
mov dword [esp + 0x18], 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x91a2b3c5
mov esi, edx
imul ecx
add edx, ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [esi + esi*2]
lea eax, [eax + eax*4]
shl eax, 2
sub ecx, eax
lea eax, [edx + edx*2]
push ecx
lea ecx, [eax + eax*4]
shl ecx, 2
sub esi, ecx
push esi
push edx
lea edx, [esp + 0x30]
push str._02d:_02d:_02d
push edx
call fcn.004d383a
mov esi, dword [esp + 0x34]
add esp, 0x14
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004da5f1
mov dword [esp + 8], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0
call fcn.004da87c
mov ecx, dword [esp + 0x10]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 8

Function at 0x448180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f305f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5370e4]
push esi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0
call fcn.004da8ea
push 0x52468c
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x30], 1
call fcn.004dab11
push str.Server
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x30], 2
call fcn.004dab11
push str.:nMaxConcurrentConnections__0
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x2c], 3
push eax
call fcn.004dab11
mov eax, dword [eax]
mov byte [esp + 0x24], 4
push eax
call fcn.0045e7e0
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x24], 3
call fcn.004da87c
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.004da87c
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.004da87c
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.004da87c
test esi, esi
jne 0x448245
mov esi, 0xb
call fcn.004482d0
test eax, eax
jne 0x448253
mov eax, 0xb
cmp esi, eax
jbe 0x448259
mov esi, eax
mov ecx, dword [0x532934]
mov dword [esp + 4], ecx
push esi
lea edx, [esp + 8]
push 0x5257ec
push edx
mov dword [esp + 0x30], 5
call fcn.004d383a
add esp, 0xc
cmp esi, 0xb
jne 0x448291
push str.unlimited
lea ecx, [esp + 8]
call fcn.004daa05
mov esi, dword [esp + 0x2c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.004da5f1
mov dword [esp + 0x18], 1
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call fcn.004da87c
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x449790
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push str.http:__www.access_remote_pc.com
push 0
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
ret
Function at 0x4497b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f3350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
lea eax, [esp + 4]
push eax
call fcn.00452eb0
add esp, 4
push str.log.txt
lea ecx, [esp + 4]
push eax
push ecx
mov dword [esp + 0x1c], 0
call fcn.004dab11
lea ecx, [esp + 4]
mov byte [esp + 0x10], 2
call fcn.004da87c
mov edx, dword [esp]
push 1
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call fcn.004da87c
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44e3f0
Capabilities:
Create thread
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3e10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x30]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
call fcn.004e8e05
mov edi, dword [sym.imp.kernel32.dll_CreateEventA]
push 0
push 0
push 1
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
call edi
push 0
push 0
push 1
push 0
mov dword [ebp - 0x20], eax
call edi
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
test ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ebx
je 0x44e529
test eax, eax
je 0x44e51f
mov ecx, ebx
lea eax, [esi + 0x2c]
or ecx, 4
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push 0x44e3b0
push eax
push ecx
call fcn.004c45a4
add esp, 0x18
mov dword [esi + 0x28], eax
test eax, eax
je 0x44e4e8
push eax
call dword [sym.imp.kernel32.dll_ResumeThread]
mov edx, dword [ebp - 0x20]
push 0xffffffffffffffff
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
push eax
call edi
test bl, 4
je 0x44e4c2
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.kernel32.dll_SuspendThread]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44e4fd
mov edx, dword [esi + 0x28]
push 0xffffffffffffffff
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x28]
push eax
call edi
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x28], 0
push ecx
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.kernel32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44e4e8
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x44e4e8
Function at 0x44eb30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f3f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x532934]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [0x502658]
lea edx, [esp + 0xc]
xor ebx, ebx
push ecx
push edx
mov dword [esp + 0x30], ebx
call fcn.004528a0
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 8]
push eax
push str.Remote_PC_Server
push 0x525b04
push ecx
mov byte [esp + 0x38], 1
call fcn.004d383a
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.004da87c
mov edx, dword [esp + 8]
push ebx
push ebx
push edx
mov ecx, esi
call fcn.004e713a
lea eax, [esi + 0xc4]
mov ecx, esi
push eax
call fcn.004e76f5
lea ecx, [esi + 0x69c]
push ecx
mov ecx, esi
call fcn.004e76f5
lea edx, [esi + 0x534]
mov ecx, esi
push edx
call fcn.004e76f5
lea eax, [esi + 0x3a0]
mov ecx, esi
push eax
call fcn.004e76f5
lea ecx, [esi + 0x244]
push ecx
mov ecx, esi
call fcn.004e76f5
push ebx
push 0x80c80080
push ebx
mov ecx, esi
mov dword [esi + 0x82c], ebx
call fcn.004e7505
test eax, eax
je 0x44ec3f
push ebx
push ebx
lea edx, [esp + 0x18]
push esi
push edx
push 0x80000000
push str.RpcSvrInterprocessCommWindow4x
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.004d7b7d
push eax
push ebx
lea ecx, [esi + 0x88]
call fcn.004d73cf
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004da87c
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x44fb80
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x100c
call fcn.004c2ff0
push esi
push 1
push 0x537390
lea ecx, [esp + 0xc]
call fcn.004ba961
mov ecx, dword [esp + 0x1014]
lea eax, [esp + 0x10]
push 0x1000
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
lea edx, [esp + 0x10]
push edx
call fcn.004c3552
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
call fcn.004ba99d
mov eax, esi
pop esi
add esp, 0x100c
ret
Function at 0x44ff40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f42df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x532934]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], 1
test eax, eax
mov eax, str.checkedtrue
jne 0x44ff83
mov eax, 0x536ec0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
push esi
push ecx
lea edx, [esp + 0x1c]
push str._input_type_s_id__s__name__s__value__s___s__s_
push edx
call fcn.004d383a
mov eax, dword [0x532934]
add esp, 0x20
mov dword [esp + 0x30], eax
push esi
lea ecx, [esp + 0x34]
push str._s.click__
push ecx
mov byte [esp + 0x20], 2
call fcn.004d383a
mov edx, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esp + 0x38]
push edx
call fcn.004da8ea
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x1c], 3
call fcn.0044fd90
add esp, 8
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18], 4
call fcn.004da9b5
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14], 3
call fcn.004da87c
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0044fe20
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18], 5
call fcn.004da9b5
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14], 3
call fcn.004da87c
lea edx, [esp + 0x38]
lea ecx, [esp + 4]
push edx
call fcn.004dac94
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.004da5f1
mov dword [esp + 8], 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x14], 2
call fcn.004da87c
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], 1
call fcn.004da87c
mov byte [esp + 0x14], 0
lea ecx, [esp + 4]
call fcn.004da87c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x453990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4cb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push str.HKEY_LOCAL_MACHINESoftwareAccess_Remote_PC
lea ecx, [esp + 0x14]
call fcn.004da8ea
push 0x52468c
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x30], 0
push eax
call fcn.004dab11
push str.Common
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x34], 1
call fcn.004dab11
push str.:ProgramGroup
lea edx, [esp + 8]
push eax
push edx
mov byte [esp + 0x34], 2
call fcn.004dab11
mov eax, dword [eax]
mov byte [esp + 0x28], 3
push eax
lea eax, [esp + 4]
push eax
call fcn.0045e980
add esp, 8
lea ecx, [esp + 4]
mov byte [esp + 0x28], 8
call fcn.004da87c
lea ecx, [esp + 8]
mov byte [esp + 0x28], 7
call fcn.004da87c
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 6
call fcn.004da87c
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call fcn.004da87c
mov ecx, dword [esp]
mov eax, dword [ecx - 8]
test eax, eax
je 0x453ac3
lea edx, [esp + 0x1c]
push edx
call fcn.0047df40
add esp, 4
push 0x52468c
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x30], 9
push eax
call fcn.004dab11
lea ecx, [esp]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x34], 0xa
call fcn.004daaab
mov eax, dword [eax]
push 1
push eax
mov byte [esp + 0x30], 0xb
call fcn.0045f7e0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0xa
call fcn.004da87c
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 9
call fcn.004da87c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 5
call fcn.004da87c
lea ecx, [esp]
mov dword [esp + 0x28], 0xffffffff
call fcn.004da87c
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4595b0
Capabilities:
Resume thread

Disassembly:
push 0
push 4
push 0
push 0
push 0x503c88
call fcn.004db179
test eax, eax
mov dword [0x5371ac], eax
je 0x4595e1
mov dword [eax + 0x24], 0
mov eax, dword [0x5371ac]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x4595f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f54c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5371ac]
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
je 0x4596a2
mov dword [ebp - 0x14], esi
mov edx, dword [eax + 0x28]
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x459688
mov eax, dword [0x5371ac]
push esi
push esi
push 0x12
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.user32.dll_PostThreadMessageA]
mov eax, dword [0x5371ac]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x459688
push esi
push esi
push esi
push str.Waiting_for_thread_timed_out._Calling_TerminateThread.
call fcn.0045b960
mov edx, dword [0x5371ac]
add esp, 0x10
mov eax, dword [edx + 0x28]
push esi
push eax
call dword [sym.imp.kernel32.dll_TerminateThread]
mov ecx, dword [0x5371ac]
mov dword [ebp - 4], esi
cmp ecx, esi
je 0x45969c
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [0x5371ac], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459be0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4f55e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov ebp, 1
push edi
xor ebx, ebx
push ebp
push 0x537150
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.004ba961
mov esi, dword [0x537174]
mov eax, dword [0x537178]
cmp esi, eax
mov dword [esp + 0x28], ebp
je 0x459c3c
mov ecx, dword [esp + 0x34]
cmp dword [esi], ecx
je 0x459ce7
add esi, 0x74
cmp esi, eax
jne 0x459c2d
mov esi, dword [esp + 0x30]
mov ecx, dword [0x532934]
lea edi, [esi + 0x10]
mov dword [esp + 0x34], edi
mov dword [edi], ecx
lea ecx, [edi + 4]
mov byte [esp + 0x28], 9
call fcn.0044fb60
lea ecx, [edi + 0x1c]
mov byte [esp + 0x28], 0xa
call fcn.0044fb60
lea ecx, [edi + 0x3c]
mov byte [esp + 0x28], 0xb
call fcn.0044de70
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov edx, dword [0x532934]
mov dword [esi + 0x54], edx
mov eax, dword [0x532934]
mov dword [esi + 0x58], eax
mov ecx, dword [0x532934]
mov dword [esi + 0x70], ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x28], 0xf
push edx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.004d3abd
mov eax, dword [eax]
lea ecx, [esp + 0x14]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esp + 0x10], ebp
mov byte [esp + 0x28], bl
call fcn.004ba99d
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov edi, dword [esp + 0x30]
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [0x532934]
lea ebp, [edi + 0x10]
mov dword [esp + 0x34], ebp
mov dword [ebp], ecx
lea ecx, [ebp + 4]
mov byte [esp + 0x28], 2
call fcn.0044fb60
lea ecx, [ebp + 0x1c]
mov byte [esp + 0x28], 3
call fcn.0044fb60
lea ecx, [ebp + 0x3c]
mov byte [esp + 0x28], 4
call fcn.0044de70
lea edx, [esi + 0x10]
mov ecx, ebp
push edx
mov byte [esp + 0x2c], 5
call fcn.0047c7e0
lea eax, [esi + 0x54]
lea ecx, [edi + 0x54]
push eax
mov byte [esp + 0x2c], 6
call fcn.004da5f1
lea ecx, [esi + 0x58]
mov byte [esp + 0x28], 7
push ecx
lea ecx, [edi + 0x58]
call fcn.004da5f1
mov edx, dword [esi + 0x5c]
add esi, 0x70
mov dword [edi + 0x5c], edx
mov eax, dword [esi - 0x10]
mov dword [edi + 0x60], eax
mov ecx, dword [esi - 0xc]
mov dword [edi + 0x64], ecx
mov edx, dword [esi - 8]
mov dword [edi + 0x68], edx
mov eax, dword [esi - 4]
push esi
lea ecx, [edi + 0x70]
mov byte [esp + 0x2c], 8
mov dword [edi + 0x6c], eax
call fcn.004da5f1
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004ba99d
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x45aa50
Capabilities:
Query environment variable

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f57d7
push eax
mov eax, 0x1048
mov dword fs:[0], esp
call fcn.004c2ff0
push esi
push 1
push 0x5370f0
lea ecx, [esp + 0x18]
call fcn.004ba961
xor esi, esi
mov dword [esp + 0x1054], esi
call fcn.0045a930
lea eax, [esp + 4]
push eax
call fcn.004031c0
mov ecx, dword [esp + 8]
push 0x52458c
push ecx
mov byte [esp + 0x1060], 1
call fcn.004c2c45
add esp, 0xc
test eax, eax
je 0x45ac59
mov edx, dword [esp + 4]
push 0x5245dc
push edx
call fcn.004c2c45
add esp, 8
test eax, eax
je 0x45ac59
mov eax, dword [0x537114]
push ebp
mov dword [esp + 0x10], esi
mov ebp, dword [eax]
cmp ebp, eax
je 0x45ab9d
push ebx
push edi
mov bl, 3
lea ecx, [esp + 0x28]
call fcn.00464470
lea eax, [esp + 0x14]
push str.USERKEY
push eax
mov byte [esp + 0x1068], 2
call fcn.004030f0
add esp, 8
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1060], bl
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.004644b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1060], 4
push ecx
push eax
call fcn.0047b570
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0x1060], bl
call fcn.004644e0
mov ecx, dword [ebp + 0x24]
mov eax, dword [esp + 0x34]
cmp ecx, eax
jne 0x45ab6a
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x2c]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x45ab6a
inc dword [esp + 0x18]
mov ebp, dword [ebp]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1060], 2
call fcn.004da87c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1060], 1
call fcn.004644e0
cmp ebp, dword [0x537114]
jne 0x45aaec
pop edi
pop ebx
lea eax, [esp + 0xc]
push str.CERTIFICATE
push eax
call fcn.004030f0
mov ecx, dword [eax]
add esp, 8
xor edx, edx
mov esi, dword [ecx - 8]
lea ecx, [esp + 0xc]
test esi, esi
setne dl
mov esi, edx
call fcn.004da87c
test esi, esi
pop ebp
je 0x45ac0c
push 1
push 0x537390
lea ecx, [esp + 0x24]
call fcn.004ba961
lea eax, [esp + 0x4c]
push 0x1000
push eax
push str.COPIESALLOWED
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
lea ecx, [esp + 0x4c]
push ecx
call fcn.004c3552
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004ba99d
mov eax, esi
jmp 0x45ac11
mov eax, dword [0x524588]
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x1054], 0
cmp ecx, eax
lea ecx, [esp + 4]
jbe 0x45ac65
call fcn.004da87c
lea ecx, [esp + 0x10]
mov dword [esp + 0x1054], 0xffffffff
call fcn.004ba99d
mov eax, 1
pop esi
mov ecx, dword [esp + 0x1048]
mov dword fs:[0], ecx
add esp, 0x1054
ret
mov byte [esp + 0x1054], 0
lea ecx, [esp + 4]
call fcn.004da87c
lea ecx, [esp + 0x10]
mov dword [esp + 0x1054], 0xffffffff
call fcn.004ba99d
mov ecx, dword [esp + 0x104c]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x1054
ret
Function at 0x45b570
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f5879
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004db9e9
mov eax, dword [0x532934]
lea ecx, [esi + 8]
mov dword [esp + 0x18], 0
mov dword [ecx], eax
mov edx, dword [0x532934]
lea edi, [esi + 0xc]
mov dword [edi], edx
mov eax, dword [0x532934]
lea ebx, [esi + 0x18]
mov dword [ebx], eax
mov edx, dword [esp + 0x20]
mov byte [esp + 0x18], 3
push edx
mov dword [esi], 0x502f80
call fcn.004daa05
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esi + 0x10], eax
call fcn.004daa05
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov ecx, ebx
mov dword [esi + 0x14], edx
call fcn.004daa05
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x45b960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push 0x4f5948
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0045b610
mov edx, dword [esp + 0x38]
mov dword [esp + 0x24], 0
push edx
call fcn.0045b8d0
add esp, 0x20
lea ecx, [esp + 0x1c]
mov dword [esp + 8], 0xffffffff
call fcn.004da87c
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret

Function at 0x45cf50
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push esi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
lea eax, [esp + 0x10]
mov dword [esp + 4], 0xc
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
xor esi, esi
call fcn.0045d480
test eax, eax
je 0x45cf9f
lea ecx, [esp + 0x10]
push 1
push ecx
call dword [sym.imp.advapi32.dll_InitializeSecurityDescriptor]
push esi
push esi
lea edx, [esp + 0x18]
push 1
push edx
call dword [sym.imp.advapi32.dll_SetSecurityDescriptorDacl]
lea esi, [esp + 4]
mov eax, dword [esp + 0x28]
push eax
push 0
push esi
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov ecx, dword [esp + 0x2c]
mov esi, eax
push ecx
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45cfd0
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, esi
pop esi
add esp, 0x20
ret
Function at 0x45d0b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f5b60
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x40]
push esi
push edi
push 0
call dword [sym.imp.kernel32.dll_FindResourceA]
mov ebp, dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x45d13c
mov eax, dword [0x532934]
mov dword [esp + 0x3c], eax
push esi
push edi
lea ecx, [esp + 0x44]
push str.Cannot_find_resource___s__of_type___s_
push ecx
mov dword [esp + 0x44], 0
call fcn.004d383a
mov edx, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x40], edx
push 0
push 0
call ebp
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.0045b7f0
add esp, 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.004da87c
push ebx
push 0
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x45d1a0
mov ecx, dword [0x532934]
mov dword [esp + 0x3c], ecx
push esi
push edi
lea edx, [esp + 0x44]
push str.Cannot_load_resource___s__of_type___s_
push edx
mov dword [esp + 0x44], 1
call fcn.004d383a
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x40], eax
push 0
push 0
call ebp
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.004da87c
push ebx
push 0
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
push edx
call dword [sym.imp.kernel32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x45d206
mov eax, dword [0x532934]
mov dword [esp + 0x3c], eax
push esi
push edi
lea ecx, [esp + 0x44]
push str.Cannot_lock_loaded_resource___s__of_type___s_
push ecx
mov dword [esp + 0x44], 2
call fcn.004d383a
mov esi, dword [esp + 0x4c]
add esp, 0x10
push ebx
push ebx
call ebp
push eax
push esi
call fcn.0045b7f0
add esp, 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.004da87c
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push edx
push ebx
call fcn.004644b0
mov esi, eax
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x44]
push eax
mov ecx, edi
mov dword [esp + 0x38], 3
call fcn.00464590
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
mov edi, dword [edi + 4]
push eax
push esi
push edi
call fcn.004c3020
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call fcn.004644e0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret