joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d2e1
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push edi
mov edi, 0x5a1eec
cmp byte [0x5a1f04], bl
jne 0x43d2ff
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call fcn.0043b6a1
pop ecx
push 1
push str.Software360ChromeChrome
push 0x80000001
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.0043b02a
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x43d363
lea eax, [ebp - 4]
push eax
push str.noexperience
call fcn.0043b079
lea eax, [ebp + 8]
push eax
push str.fulldump
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], ebx
call fcn.0043b079
cmp dword [ebp + 8], ebx
je 0x43d360
mov byte [0x5a1ee8], 1
lea ecx, [ebp - 0x10]
call fcn.0043b00f
cmp dword [ebp - 4], 1
je 0x43d3b6
call fcn.0043b9f5
push esi
call fcn.0043bcd4
push esi
call fcn.0043ca0a
pop ecx
pop ecx
call fcn.0043c55c
test eax, eax
je 0x43d38f
call fcn.0043c3dc
mov eax, dword [0x5a49b0]
cmp eax, ebx
je 0x43d3ab
push 0x8000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x5a49b0], ebx
push 0x602110
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
cmp byte [0x5a1f04], bl
jne 0x43d3dc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x5a1f04], bl
jne 0x43d3dc
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret 4
Function at 0x43e29d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x40], ebx
call fcn.00408c40
push 0x4cd330
push 4
push ebx
lea ecx, [ebp - 0x20]
call fcn.0043e066
push 7
pop esi
test eax, eax
jne 0x43e30c
push 0xffffffffffffffff
mov word [ebp - 0x3c], ax
push 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
call fcn.00405b50
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405ad0
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00405df0
lea eax, [ebp - 0x20]
push eax
call fcn.0043e093
pop ecx
test al, al
je 0x43e33a
mov byte [edi], bl
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00405df0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d4b1
leave
ret
or eax, 0xffffffff
push eax
xor ecx, ecx
push ebx
lea eax, [ebp - 0x20]
mov word [ebp - 0x3c], cx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
call fcn.00405b50
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405ad0
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00405df0
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x43e37a
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43e3a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43e3a9
cmp eax, 3
je 0x43e3a9
cmp eax, 0x7b
je 0x43e3a9
mov esi, eax
jmp 0x43e31e
test eax, 0x400
jne 0x43e3ce
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x40], 0x5c
call fcn.00407d80
cmp eax, 0xffffffff
jne 0x43e33d
jmp 0x43e31a
mov byte [edi], 1
jmp 0x43e31c
Function at 0x442e0b
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2f4], ecx
call fcn.004a2aec
pop ecx
push eax
lea ecx, [esi + 0x2c]
call fcn.0044b888
push ebx
call fcn.004a2aec
xor ebx, ebx
pop ecx
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2d8], 0x40c
cmp dword [edi + 0x44], ebx
je 0x442e73
mov dword [ebp - 0x2d8], 0x8040c
cmp dword [esi + 0x1c], ebx
je 0x442e8c
call fcn.004160c0
cmp eax, 5
jge 0x442e8c
or dword [ebp - 0x2d8], 0x1000000
lea ecx, [ebp - 0x2e8]
call fcn.00421110
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x2ec], eax
call fcn.00421170
push eax
push edi
mov edi, dword [ebp - 0x2d4]
push ebx
push ebx
push dword [ebp - 0x2d8]
push ebx
push ebx
push ebx
push edi
push dword [ebp - 0x2f0]
push dword [ebp - 0x2ec]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x442efa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x2e8]
call fcn.00421120
cmp edi, ebx
je 0x442ef3
push edi
call fcn.0049d8ca
pop ecx
mov eax, esi
jmp 0x443017
lea ecx, [esi + 0x10]
call fcn.0040adc0
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x442f31
push dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x442f31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push dword [ebp - 0x2e8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x442edd
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x442f63
cmp eax, 0xffffffff
je 0x442f63
mov ecx, dword [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2ec]
push eax
mov dword [ebp - 0x2ec], ecx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x442f1a
lea ecx, [esi + 0x14]
call fcn.0040adc0
lea eax, [ebp - 0x2d0]
push eax
push dword [ebp - 0x2e4]
mov dword [ebp - 0x2d0], 0x1003f
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x442f1a
mov ecx, dword [ebp - 0x2f4]
mov edi, dword [ebp - 0x220]
lea eax, [ebp - 0x2e8]
push eax
call fcn.00421210
test al, al
jne 0x442fd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push dword [ebp - 0x2e8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x2e8]
call fcn.00421120
cmp dword [ebp - 0x2d4], ebx
je 0x442ef3
push dword [ebp - 0x2d4]
jmp 0x442eed
push edi
push dword [ebp - 0x2f0]
call fcn.00442c80
pop ecx
pop ecx
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x2e8]
push eax
mov ecx, esi
call fcn.004211b0
lea ecx, [ebp - 0x2e8]
call fcn.00421120
cmp dword [ebp - 0x2d4], ebx
je 0x443015
push dword [ebp - 0x2d4]
call fcn.0049d8ca
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d4b1
leave
ret 0x10
Function at 0x443028
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x14]
push ebx
push esi
push edi
xor edi, edi
push edi
push eax
push edi
push 0x8000004
push edi
push 0xffffffffffffffff
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
lea ecx, [esi + 0x18]
call fcn.0040af40
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x443060
cmp eax, 0xffffffff
jne 0x44306b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x443186
mov ecx, dword [esi]
push edi
push edi
push 6
lea edx, [ebp - 4]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x443060
mov ebx, dword [esi + 0x18]
push edi
push edi
push edi
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x443060
mov ebx, dword [ebp + 0x10]
add eax, ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00442c46
mov eax, dword [ebp - 4]
add esp, 0xc
push 4
push 0x608234
push str.g_shared_section
mov ecx, esi
mov dword [0x608234], eax
call fcn.00442ccd
mov dword [0x608234], edi
cmp eax, edi
je 0x4430e4
cmp eax, 1
je 0x443060
xor eax, eax
inc eax
jmp 0x443186
push 4
push 0x6082c8
push str.g_shared_IPC_size
mov ecx, esi
mov dword [0x6082c8], ebx
call fcn.00442ccd
mov dword [0x6082c8], edi
cmp eax, edi
jne 0x4430d7
mov eax, dword [ebp + 0x14]
push 4
push 0x6082cc
push str.g_shared_policy_size
mov ecx, esi
mov dword [0x6082cc], eax
call fcn.00442ccd
mov dword [0x6082cc], edi
cmp eax, edi
jne 0x4430d7
push 0x24
call fcn.0049d431
pop ecx
cmp eax, edi
je 0x443151
push dword [ebp + 8]
mov edx, dword [esi + 8]
push dword [esi + 0x24]
mov edi, dword [esi]
push dword [esi + 0x1c]
mov ecx, eax
push edx
push edi
call fcn.00445ab8
jmp 0x443153
xor eax, eax
push eax
lea ecx, [esi + 0x20]
call fcn.00442d3c
mov ecx, dword [esi + 0x20]
push 0x400
push ebx
push dword [ebp - 8]
call fcn.00445b45
test al, al
jne 0x443176
push 8
pop eax
jmp 0x443186
mov ecx, esi
call fcn.00421360
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x444e88
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x54], eax
cmp byte [ebx + 0x38], al
jne 0x444eb6
mov eax, 0x3f0
jmp 0x444fb2
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp - 0x50]
push ecx
push eax
push eax
push 2
push dword [ebx + 0x30]
mov dword [ebp - 0x50], eax
call edi
cmp dword [ebp - 0x50], 0
je 0x444efb
push dword [ebp - 0x50]
call fcn.0049ca06
pop ecx
lea ecx, [ebp - 0x50]
push ecx
push dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
push eax
push 2
push dword [ebx + 0x30]
call edi
test eax, eax
jne 0x444f06
push dword [ebp - 0x58]
call fcn.0049d97d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x444fb1
mov eax, dword [ebp - 0x58]
and dword [ebp - 0x54], 0
cmp dword [eax], 0
jbe 0x444fa8
add eax, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
test al, 0x20
jne 0x444f93
test eax, 0xc0000000
jne 0x444f93
test esi, esi
je 0x444f7a
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
push 0x44
cdq
pop edi
idiv edi
and dword [ebp - 0x5c], 0
test eax, eax
je 0x444f7a
xor edi, edi
mov eax, dword [ebp - 0x4c]
push dword [eax]
add ecx, edi
call fcn.004453c0
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x444f93
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
push 0x44
cdq
pop ebx
idiv ebx
inc dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
add edi, 0x44
cmp dword [ebp - 0x5c], eax
jb 0x444f48
mov eax, dword [ebp - 0x4c]
push dword [eax]
lea ecx, [ebp - 0x48]
call fcn.004453a7
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebx + 0x20]
call fcn.0044272d
inc dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
add dword [ebp - 0x4c], 8
cmp ecx, dword [eax]
jb 0x444f1c
push eax
call fcn.0049d97d
pop ecx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d4b1
leave
ret 4
Function at 0x445049
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
cmp byte [edi + 0x38], bl
jne 0x44506a
mov eax, 0x3f0
jmp 0x44516b
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 3
push dword [edi + 0x30]
mov dword [ebp - 4], ebx
call esi
cmp dword [ebp - 4], ebx
je 0x4450ae
push dword [ebp - 4]
call fcn.0049ca06
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
push ebx
push 3
push dword [edi + 0x30]
call esi
test eax, eax
jne 0x4450b9
push ebx
call fcn.0049d97d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44516a
and dword [ebp - 0x10], 0
cmp dword [ebx], 0
jbe 0x445161
mov esi, dword [ebp + 8]
lea eax, [ebx + 4]
mov dword [ebp - 8], eax
test esi, esi
je 0x44513c
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
push 0x1c
cdq
pop ebx
idiv ebx
and dword [ebp + 8], 0
test eax, eax
je 0x445139
xor ebx, ebx
and dword [ebp - 0x1c], 0
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
lea eax, [ebx + ecx]
cmp dword [eax + 0x14], 8
jb 0x4450ff
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x18]
jne 0x44511e
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
je 0x445149
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
push 0x1c
cdq
pop edi
idiv edi
inc dword [ebp + 8]
add ebx, 0x1c
cmp dword [ebp + 8], eax
jb 0x4450ea
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
push dword [ebp - 8]
lea ecx, [edi + 0x10]
call fcn.004c12ed
jmp 0x44514f
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], 0xc
cmp eax, dword [ebx]
jb 0x4450cf
push ebx
call fcn.0049d97d
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x447c2b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x60], ebx
cmp byte [ebp + 8], bl
jne 0x447c56
cmp dword [edi + 8], ebx
jne 0x447c84
mov al, 1
jmp 0x447d71
push ebx
push 0x44f5c8
push 1
push str.NtMapViewOfSection
mov esi, str.ntdll.dll
push esi
call fcn.00447b47
push 1
push 0x44f6e6
push 1
push str.NtUnmapViewOfSection
push esi
mov ecx, edi
call fcn.00447b47
mov eax, dword [edi]
mov eax, dword [eax]
push 1
push 0x2000
push 0x10000
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push eax
mov dword [ebp - 0x5c], eax
call ebx
mov esi, dword [edi + 8]
shl esi, 6
add esi, 0x50
push esi
mov dword [ebp - 0x58], eax
call fcn.00447157
pop ecx
mov ecx, eax
and ecx, 0xfffff000
add dword [ebp - 0x58], ecx
and eax, 0xfff
push 0x40
mov dword [ebp - 0x64], eax
mov eax, 0x1000
push eax
lea ecx, [esi + 0xfff]
and ecx, eax
push ecx
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call ebx
mov ebx, eax
test ebx, ebx
jne 0x447ceb
call fcn.00415ae0
mov eax, dword [ebp - 0x64]
and dword [ebp - 0x48], 0
add eax, ebx
push 0x60
push 0
mov ebx, 0x608300
push ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0x10
call fcn.0049d850
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push esi
push dword [ebp - 0x58]
mov ecx, edi
call fcn.0044752f
test al, al
je 0x447d6f
lea eax, [ebp - 0x60]
push eax
push 0x10
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x447d6f
cmp dword [ebp - 0x60], 0x10
jne 0x447d6f
lea eax, [ebp - 0x68]
push eax
push 0x20
push esi
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [edi]
push 0x60
push ebx
push str.g_originals
call fcn.00442ccd
neg eax
sbb eax, eax
inc eax
jmp 0x447d71
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d4b1
leave
ret 4
Function at 0x448a9d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x34]
push ebx
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x448b31
cmp dword [ebp + 0xc], 0
mov eax, 0x101c01
mov dword [ebp - 4], 0x100c43
je 0x448ae5
mov eax, 0x1fffff
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push 1
push 0
push eax
push ebx
push dword [ebp + 8]
push dword [ebx]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call edi
test eax, eax
jne 0x448b14
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x448b2f
push 1
push 0
push dword [ebp - 4]
lea eax, [ebx + 4]
push eax
push dword [ebp + 8]
push dword [eax]
call esi
push eax
call edi
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44e1bc
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
mov esi, ecx
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
je 0x44e1dc
xor al, al
jmp 0x44e245
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [esi + 8]
call edi
mov ebx, 0x102
jmp 0x44e23d
cmp eax, 0x80
je 0x44e241
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x44e241
mov ecx, esi
call fcn.0044c72b
mov byte [ebp - 1], al
test al, al
je 0x44e223
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
jne 0x44e241
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x44e241
cmp byte [ebp - 1], 0
jne 0x44e248
push 0xffffffffffffffff
push dword [esi + 8]
call edi
cmp eax, ebx
jne 0x44e1f2
xor al, al
pop edi
pop ebx
pop esi
leave
ret
mov al, 1
jmp 0x44e243
Function at 0x44f4be
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], edi
call fcn.00415eb0
cmp dword [eax + 0x24], 1
je 0x44f4df
mov al, 1
jmp 0x44f5c4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push 1
push edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push edi
push edi
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
push 0x100002
lea ecx, [ebp - 8]
push ecx
push eax
push dword [esi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x44f5b2
mov eax, dword [esi]
mov eax, dword [eax]
push edi
push edi
push 0x100002
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [esi + 0xc]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x44f5b2
mov eax, dword [esi]
mov ecx, dword [eax]
push 0x40
mov eax, 0x1000
push eax
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
cmp ebx, edi
je 0x44f5b2
push 0x2c
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0049d850
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x44f5b2
cmp dword [ebp - 0x10], 0x10
jne 0x44f5b2
push ebx
mov ecx, esi
call fcn.0044f228
test al, al
je 0x44f5b2
mov ecx, esi
call fcn.0044e1bc
test al, al
jne 0x44f5b6
xor al, al
jmp 0x44f5c3
mov eax, dword [esi]
mov eax, dword [eax]
push ebx
push eax
call fcn.0044c67d
pop ecx
pop ecx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x475cd4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
xor edi, edi
call fcn.0045f7d4
pop ecx
push esi
push 0x10000080
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x475d0e
xor al, al
jmp 0x475d87
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x475d4b
push esi
push esi
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x475d4b
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
lea edi, [ebp - 0xc]
push esi
push esi
push esi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call ebx
cmp edi, esi
je 0x475d0a
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
cmp eax, esi
jne 0x475d82
push edi
call ebx
jmp 0x475d0a
mov dword [ecx + 0x14], edi
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49d4b1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x59ece0]
jne 0x49d4bb
repz ret
jmp fcn.004a66ae
Function at 0x4b82bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004a7aa6
and dword [ebp - 0x14], 0
cmp dword [0x61b91c], 0
mov dword [ebp - 0x18], eax
jne 0x4b836f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4b8417
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x523970
push ebx
call edi
test eax, eax
je 0x4b8417
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x61b91c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x61b920], eax
call edi
push eax
call esi
push 0x523930
push ebx
mov dword [0x61b924], eax
call edi
push eax
call esi
mov dword [0x61b92c], eax
test eax, eax
je 0x4b836f
push 0x523918
push ebx
call edi
push eax
call esi
mov dword [0x61b928], eax
mov eax, dword [0x61b928]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4b83c8
cmp dword [0x61b92c], ecx
je 0x4b83c8
push eax
call esi
push dword [0x61b92c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4b83c8
test ebx, ebx
je 0x4b83c8
call edi
test eax, eax
je 0x4b83bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4b83bf
test byte [ebp - 8], 1
jne 0x4b83c8
or dword [ebp + 0x10], 0x200000
jmp 0x4b83fb
mov eax, dword [0x61b920]
cmp eax, dword [ebp - 0x18]
je 0x4b83fb
push eax
call esi
test eax, eax
je 0x4b83fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4b83fb
mov eax, dword [0x61b924]
cmp eax, dword [ebp - 0x18]
je 0x4b83fb
push eax
call esi
test eax, eax
je 0x4b83fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x61b91c]
call esi
test eax, eax
je 0x4b8417
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4b8419
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d4b1
leave
ret