joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a530
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x218], eax
test edi, edi
je 0x45a660
cmp word [edi], 0x5c
jne 0x45a660
cmp word [edi + 2], 0x5c
jne 0x45a660
mov ecx, dword [0x4eafd4]
mov dx, word [0x4eafd8]
push ebx
mov dword [ebp - 0xc], ecx
mov word [ebp - 8], dx
mov ebx, 0x43
push esi
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], bx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x45a613
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x21c], 0x104
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x45a613
lea ecx, [ebp - 0x214]
push ecx
push edi
call fcn.0040c2e0
add esp, 8
test eax, eax
je 0x45a613
lea ecx, [ebp - 0x214]
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x45a5e0
sub ecx, esi
sar ecx, 1
mov esi, ecx
cmp eax, edi
jne 0x45a613
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a600
sub eax, edx
sar eax, 1
cmp eax, esi
ja 0x45a631
inc ebx
cmp bx, 0x5a
jbe 0x45a588
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x218]
lea edx, [ebp - 0xc]
push edx
mov ecx, ebx
call fcn.00438ae0
lea eax, [edi + esi*2]
push eax
mov ecx, ebx
call fcn.00428890
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop edi
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x45a680
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x254], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x45a6c5
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x24c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x45a6fa
pop ebx
xor ecx, ecx
cmp eax, 2
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
xor edx, edx
mov eax, esi
mov word [ebp - 0x228], dx
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], ebx
lea edx, [eax + 2]
jmp 0x45a720
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45a720
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.00405fe0
mov ecx, dword [ebp - 0x218]
lea eax, [ecx - 1]
cmp ecx, eax
ja 0x45a753
push str.invalid_string_position
call fcn.004b6944
cmp dword [ebp - 0x214], 8
mov ecx, dword [ebp - 0x228]
jae 0x45a768
lea ecx, [ebp - 0x228]
cmp word [ecx + eax*2], 0x5c
je 0x45a781
push 1
push 0x4e84a0
lea ecx, [ebp - 0x228]
call fcn.0040d980
mov edx, dword [ebp - 0x24c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push edx
mov dword [ebp - 0x248], 0x104
call edi
test eax, eax
jne 0x45a893
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x228]
xor eax, eax
push ecx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x230], 7
mov dword [ebp - 0x234], ebx
mov word [ebp - 0x244], ax
call fcn.00406640
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45a7f0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x244]
call fcn.0040d980
cmp dword [ebp - 0x230], 8
mov eax, dword [ebp - 0x244]
jae 0x45a827
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x250]
push eax
call fcn.0045a680
add esp, 8
test al, al
je 0x45a888
mov eax, dword [ebp - 0x24c]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x20c]
push edx
push ebx
push eax
mov dword [ebp - 0x248], 0x104
call edi
cmp dword [ebp - 0x230], 8
mov esi, eax
jb 0x45a87b
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.00406ca9
add esp, 4
cmp esi, ebx
mov esi, dword [ebp - 0x254]
jmp 0x45a7af
lea ecx, [ebp - 0x244]
call fcn.00409f90
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x250]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
cmp dword [ebp - 0x214], 8
jb 0x45a8cb
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00406ca9
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x45db00
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 8], 0
call fcn.00407480
cmp eax, 3
jl 0x45dc33
push esi
push 0x4e598c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x45dc32
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.InitializeProcThreadAttributeList
push esi
call ebx
mov edi, eax
test edi, edi
je 0x45dc30
push str.UpdateProcThreadAttribute
push esi
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45dc30
push str.DeleteProcThreadAttributeList
push esi
call ebx
test eax, eax
je 0x45dc30
lea eax, [ebp - 4]
push eax
push 0
push 1
push 0
mov dword [ebp - 4], 0
call edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x45dc30
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x45dc30
lea ecx, [ebp - 4]
push ecx
push 0
push 1
push ebx
call edi
test eax, eax
je 0x45dc30
push 0
push 0
push 4
lea edx, [ebp + 0xc]
push edx
push 0x20000
push 0
push ebx
call dword [ebp - 0xc]
test eax, eax
je 0x45dc30
push 0x44
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.004b8020
mov esi, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
add esp, 0xc
mov ecx, 0x11
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x34]
push ecx
mov ecx, dword [ebp + 0x28]
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
or edx, 0x1080000
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov dword [ebp - 0x54], 0x48
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 8], eax
pop edi
pop ebx
pop esi
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x45de80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x514e30
push 0x40ca10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x522638]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
cmp dword [0x5251a8], 0
je 0x45e051
cmp dword [0x5251ac], 0
je 0x45e051
cmp dword [ebp + 0x14], 0
je 0x45e051
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x45e051
cmp byte [eax], 0
je 0x45e051
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45e051
cmp byte [eax], 0
je 0x45e051
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x45e051
cmp dword [ebp + 0x18], 0
je 0x45e051
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x45e051
push 0
push 0x40
push ebx
call fcn.004119e0
add esp, 0xc
test al, al
je 0x45e051
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x45e051
mov edi, dword [ebx + 0x3c]
add edi, ebx
push 0
push 0xf8
push edi
call fcn.004119e0
add esp, 0xc
test al, al
je 0x45e051
cmp dword [edi], 0x4550
jne 0x45e051
mov esi, dword [edi + 0x80]
add esi, ebx
cmp esi, edi
jne 0x45df93
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
push edi
call dword [0x5251ac]
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45dfc9
add eax, ebx
mov ecx, dword [ebp - 0x24]
push ecx
push edi
push eax
call dword [0x5251a8]
add esp, 0xc
test eax, eax
je 0x45dfc9
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x45dfaa
cmp dword [esi + 0xc], 0
je 0x45df7f
mov esi, dword [esi + 0x10]
add esi, ebx
mov dword [ebp - 0x24], esi
mov eax, dword [esi]
test eax, eax
je 0x45e051
cmp eax, dword [ebp + 0x18]
jne 0x45e066
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
push 0x80
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x45e051
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x45e039
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add esi, 4
jmp 0x45dfd4
Function at 0x45e140
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
xor esi, esi
call fcn.00407480
cmp eax, 3
jge 0x45e1d7
push 0x40
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.004b8020
add esp, 0xc
push 0x5256fc
mov dword [ebp - 0x48], 0x44
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [ebp + 0xc]
cmp eax, 1
sete cl
mov byte [ebp - 3], cl
push edx
lea ecx, [ebp - 4]
call fcn.0045e070
test al, al
je 0x45e1cf
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
or ecx, 0x1080000
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
lea ecx, [ebp - 4]
call fcn.0045e0e0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45e550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x38]
push esi
test eax, eax
je 0x45e593
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.0045e280
add esp, 0x2c
test eax, eax
jne 0x45e5c2
pop esi
pop ebp
ret
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push 0
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45e5c2
pop esi
pop ebp
ret
cmp dword [ebp + 0x10], 0
mov eax, 0x101c01
mov dword [ebp + 0x24], 0x100c43
je 0x45e5dc
mov eax, 0x1fffff
mov dword [ebp + 0x24], eax
mov ecx, dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
mov edi, dword [ebp + 0xc]
push 1
push 0
push eax
push esi
push edi
push ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x45e60f
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0x24]
mov edx, dword [esi + 4]
push 1
push 0
push ecx
lea eax, [esi + 4]
push eax
push edi
push edx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
pop edi
sbb eax, eax
pop ebx
neg eax
pop esi
pop ebp
ret
Function at 0x45f710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52513c]
cmp byte [eax + 0x45], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, str.AcrobatLogTransport2.exe
jne 0x45f73e
mov eax, 0x4eba6c
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0041d630
xor ebx, ebx
add esp, 8
cmp dword [ebp - 0x2c], ebx
je 0x45f885
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x45f762
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f885
lea edx, [ebp - 0x3c]
push edx
push edi
call fcn.00459fb0
add esp, 8
test al, al
jne 0x45f7a7
cmp dword [ebp - 0x28], 8
jb 0x45f794
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ca9
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push 1
mov word [ebp - 0x20], cx
mov edi, 7
push 0x4eba68
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
call fcn.0040d980
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040d6b0
push 1
push 0x4eba68
lea ecx, [ebp - 0x20]
call fcn.0040d980
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.00459fb0
add esp, 8
lea esi, [edi + 1]
test al, al
jne 0x45f83e
cmp dword [ebp - 0xc], esi
jb 0x45f80a
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], dx
cmp dword [ebp - 0x28], esi
jb 0x45f794
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ca9
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov bl, 1
cmp dword [ebp - 0xc], esi
jb 0x45f851
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], dx
cmp dword [ebp - 0x28], esi
jb 0x45f872
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ca9
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 8
jb 0x45f794
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00406ca9
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x45fb40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x45fbd6
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004b8020
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x45fb7f
mov esi, dword [esi]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x45fbd6
cmp eax, 0x104
ja 0x45fbd6
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45fba6
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
mov ecx, edi
call fcn.00405fe0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x461fe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
xor al, al
cmp dword [esi + 0x10], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x4620d0
mov ecx, esi
call fcn.0041fc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4620e1
mov ecx, esi
call fcn.0041fc50
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x4620e1
push 0
push str.ime_shared
lea eax, [ebp - 0x3c]
push 0x25
push eax
call fcn.00426fc0
push 0
push str.ime_shared
lea ecx, [ebp - 0x20]
push 0x24
push ecx
call fcn.00426fc0
push ebx
push edi
lea edx, [ebp - 0x3c]
push esi
push edx
call fcn.00461c10
add esp, 0x30
test al, al
jne 0x462091
push ebx
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00461c10
add esp, 0x10
test al, al
jne 0x462091
push ebx
push edi
push esi
call fcn.00461d00
add esp, 0xc
test al, al
jne 0x462091
xor bl, bl
jmp 0x462093
mov bl, 1
mov esi, 8
cmp dword [ebp - 0xc], esi
jb 0x4620a9
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], dx
cmp dword [ebp - 0x28], esi
jb 0x4620ce
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ca9
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x465e20
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x210], 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
je 0x465e62
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [esi + 8]
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 2
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x208], eax
call edi
cmp eax, 0x102
je 0x465ee9
cmp eax, 0x80
je 0x465ee9
cmp eax, 0x81
je 0x465ee9
test eax, eax
je 0x465ee9
mov edx, dword [esi]
mov eax, dword [edx]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [esi + 4]
push 0x200
lea edx, [ebp - 0x204]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x465efc
cmp dword [ebp - 0x210], 0x200
jne 0x465efc
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
mov bl, 1
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
je 0x465f0c
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x465ee9
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x465ee9
test bl, bl
jne 0x465f5e
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x20c]
push edx
push 2
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], ecx
call edi
cmp eax, 0x102
jne 0x465e93
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov al, 1
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x4678b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
call fcn.00407490
cmp dword [eax + 0x24], 1
je 0x4678d2
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [esi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0
push 0
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax]
push 0x100002
lea ecx, [ebp - 4]
push ecx
push eax
push edx
push edi
call ebx
test eax, eax
je 0x467a0a
mov eax, dword [esi]
mov eax, dword [eax]
mov edx, dword [esi + 0xc]
push 0
push 0
push 0x100002
lea ecx, [ebp - 8]
push ecx
push eax
push edx
push edi
call ebx
test eax, eax
je 0x467a0a
mov eax, dword [esi]
mov eax, dword [eax]
push 0x40
push 0x3000
mov edi, 0x1000
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
jne 0x4679b7
mov ecx, dword [esi]
xor eax, eax
push 0x1c
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x4679b3
add edi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov eax, dword [eax]
push 0x40
push 0x3000
push 0x1000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x467963
jmp 0x4679b7
test ebx, ebx
je 0x467a0a
push 0x2c
lea ecx, [ebp - 0x54]
push 0
push ecx
call fcn.004b8020
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
add esp, 0xc
mov dword [ebp - 0x58], edx
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0x50], eax
mov eax, dword [ecx]
push 0x10
lea ecx, [ebp - 0x58]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x467a0a
cmp dword [ebp - 0xc], 0x10
jne 0x467a0a
push ebx
mov ecx, esi
call fcn.00467360
test al, al
je 0x467a0a
mov ecx, esi
call fcn.00465e20
test al, al
jne 0x467a13
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
push eax
call fcn.00463b10
add esp, 8
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret