joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441423
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x8c]
jne 0x4415e6
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x78]
xor eax, eax
test ecx, ecx
mov dword [esp + 4], eax
jle 0x4415e6
push ebx
push ebp
push edi
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
jl 0x4415eb
cmp eax, dword [esi + 0x78]
jge 0x4415eb
mov ecx, dword [esi + 0x74]
mov ebp, dword [ecx + eax*4]
cmp eax, dword [esi + 0x8c]
mov dword [esp + 0x14], ebp
jge 0x4415eb
mov edx, dword [esi + 0x88]
mov edi, dword [edx + eax*4]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.004409f0
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
push edx
call ebx
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x5c]
push eax
push ecx
call ebx
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.004ecce5
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
call fcn.004ecce5
mov edx, dword [esi + 0xd8]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esi + 0xe0]
mov ecx, dword [esi + 0xdc]
mov ebx, dword [esp + 0x40]
mov eax, edx
shr eax, 1
add eax, edi
add ebp, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x74]
mov ebp, dword [esi + 0xe4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xe4]
shr ecx, 1
add eax, ecx
add ebx, ecx
mov ecx, dword [esp + 0x40]
lea ecx, [eax + ecx + 4]
mov eax, dword [esi + 0xe0]
add eax, edx
mov edx, dword [esp + 0x48]
add eax, edi
mov dword [esp + 0x38], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x30], edi
mov edi, dword [sym.imp.USER32.dll_EqualRect]
add ebp, ebx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ecx
call edi
test eax, eax
jne 0x44158b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004e95f5
mov ecx, dword [esi + 0x1c]
push 1
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x30]
push eax
call edi
test eax, eax
jne 0x4415cf
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x34]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.004e95f5
mov ecx, dword [esi + 0x1c]
push 1
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x441458
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x7c
ret
jmp fcn.004e2e19
Function at 0x444d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f9c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push str.__:__:__
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.00401fd0
mov eax, dword [esi + 0x30]
push 1
push 0
push 0
push eax
mov dword [esp + 0x24], 0
call fcn.004d64f0
mov ecx, dword [esi + 0x34]
xor ebx, ebx
add eax, ecx
adc edx, ebx
mov ecx, eax
or ecx, edx
je 0x444da1
mov ecx, dword [esi + 0x38]
cmp ecx, 0xc8
jbe 0x444da1
push ebx
push ecx
push edx
push eax
call fcn.004d6530
cdq
mov ecx, 0x3c
idiv ecx
mov esi, 0x3c
mov ecx, edx
cdq
idiv esi
push ecx
push edx
push eax
lea edx, [esp + 0x14]
push str._02d:_02d:_02d
push edx
call fcn.00401c40
add esp, 0x14
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.004013d0
mov esi, dword [esp + 0x20]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444de0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x446870
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x28
mov esi, 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x4468bf
push 0x16
push str..ProcessMgr.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
call edi
push eax
push str.OpenProcessToken_Error:__d
push 4
call fcn.0047fc80
add esp, 0xc
xor esi, esi
mov ecx, dword [esp + 0x20]
neg ecx
lea edx, [esp + 0x10]
push edx
sbb ecx, ecx
push str.SeDebugPrivilege
and ecx, 2
push 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call edi
test eax, eax
je 0x446908
xor esi, esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
add esp, 0x14
ret

Function at 0x446a00
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, 1
push edi
call fcn.00446870
mov eax, dword [esp + 0x10]
add esp, 4
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x446a54
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x446a4d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x446a4b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x446a4d
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call fcn.00446870
add esp, 4
mov eax, edi
pop edi
pop esi
ret
Function at 0x446cb0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x446969
push 0x2d
push str..ProcessMgr.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcessToken_Error:__d
push 4
call fcn.0047fc80
add esp, 0xc
xor eax, eax
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
neg ecx
lea edx, [esp + 8]
push edx
sbb ecx, ecx
push str.SeShutdownPrivilege
and ecx, 2
push 0
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], ecx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4469ed
mov ecx, dword [esp]
push esi
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, eax
test esi, esi
je 0x4469df
push 0x3a
push str..ProcessMgr.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Adjust_token_privileges_failed.Error_code:_d
push 4
call fcn.0047fc80
add esp, 0xc
xor esi, esi
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x14
ret
push esi
mov esi, dword [esp + 8]
neg esi
sbb esi, esi
and esi, 7
add esi, 6
call fcn.00424300
test eax, eax
je 0x446cd3
push 0
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
ret
push 1
call 0x446920
add esp, 4
push 0
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
mov dword [esp + 4], 0
jmp 0x446920
Function at 0x447070
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4f9fcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [0x531d28]
push esi
push edi
push 0
push 2
mov dword [esp + 0x148], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
mov ecx, 0x49
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0x128
jne 0x4470f2
push 0x73
push str..ProcessMgr.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.EnumProcessName_CreateToolhelp32Snapshot_failed_error_ld.
push 0x20
call fcn.0047fc80
add esp, 0xc
xor eax, eax
jmp 0x447217
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x44720b
mov edi, dword [esp + 0x154]
lea esp, [esp]
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x14c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447150
sub eax, edx
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401880
mov esi, dword [edi + 8]
test esi, esi
jl 0x44723a
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
mov ecx, edi
call fcn.004120f0
mov ecx, dword [edi + 4]
mov edx, dword [esp + 8]
lea eax, [esi + esi*2]
lea esi, [ecx + eax*4]
lea eax, [esp + 0xc]
lea ecx, [esi + 4]
push eax
mov dword [esi], edx
call fcn.00403fd0
lea edx, [esp + 0x10]
lea ecx, [esi + 8]
push edx
call fcn.00403fd0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4471d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4471f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x447110
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x144]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x13c]
pop esi
call fcn.004d40be
add esp, 0x148
ret
jmp fcn.004e2e19
Function at 0x4476f0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4f9ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x24], edi
call fcn.004472b0
mov ebx, dword [esp + 0x14]
add esp, 4
cmp edi, ebx
jae 0x447763
mov ebp, dword [esp + 0x14]
sbb esi, esi
and esi, ebp
cmp dword [esi], 0
jbe 0x447741
mov eax, dword [esi + 4]
jmp 0x447743
xor eax, eax
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.004db442
add esp, 8
test eax, eax
jne 0x44775f
inc edi
add ebp, 0x30
cmp edi, ebx
jb 0x447733
jmp 0x447763
cmp edi, ebx
jb 0x4477a5
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x20], 0xffffffff
je 0x447790
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0042c030
push edx
push 0x30
push eax
call fcn.004d4d01
push esi
call fcn.004e50f9
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov esi, dword [esi + 0x18]
push 1
call fcn.00446870
add esp, 4
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4477e6
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4477df
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call fcn.00446870
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [esp + 0x20], 0xffffffff
je 0x44781d
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0042c030
push ecx
push 0x30
push eax
call fcn.004d4d01
push esi
call fcn.004e50f9
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4478b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4fa041
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0
call fcn.004ea406
mov ebp, 0x502cd0
mov dword [esp + 0x18], ebp
mov ebx, 1
mov dword [esp + 0x30], ebx
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
push 0
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 2
call fcn.00487450
test eax, eax
jne 0x44795a
mov edi, dword [esp + 0x38]
push 0x502a56
mov ecx, edi
call fcn.00401fd0
lea eax, [esi - 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447951
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x18], ebp
jmp 0x447a27
lea ecx, [esp + 0x18]
call fcn.00487660
mov ebp, eax
push ebp
call fcn.004e50fe
mov esi, eax
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
push ebp
rep stosb byte es:[edi], al
push esi
lea ecx, [esp + 0x20]
call fcn.004875a0
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.004ea3a4
call fcn.004e5159
push eax
push edi
push esi
lea ecx, [esp + 0x48]
call fcn.00407b90
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call fcn.00403fd0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x30], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4479e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.004e50f9
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.004013d0
mov edi, dword [esp + 0x40]
add eax, 0x10
mov dword [edi], eax
add esp, 8
mov dword [esp + 0x14], ebx
mov byte [esp + 0x30], bl
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447a1f
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x18], method.CFile.virtual_0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.004ea445
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4491b0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x4491f5
mov eax, dword [esi + 0x128]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
jne 0x4491ee
push eax
push eax
push eax
mov eax, dword [esi + 0x124]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x44b220
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4fa290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xf8]
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00401300
mov eax, dword [esi + 0x120]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.004013d0
add esp, 4
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0xc]
push eax
push str.Options
push 0x502f4c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0047eef0
mov cl, byte [esp + 0xc]
mov eax, dword [esp + 8]
xor edx, edx
and cl, 0xf
cmp cl, 0xf
setne dl
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
mov dword [esi + 0x1c4], edx
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44b2d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x44b3f0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4fa2d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xf8]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.00401300
mov eax, dword [esi + 0x120]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.004013d0
add esp, 4
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esi + 0x118]
push eax
push str.DataLen
push 0x502f4c
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0047eef0
lea ecx, [esi + 0x11c]
push ecx
push str.DataCRC
push 0x502f4c
lea ecx, [esp + 0x14]
call fcn.0047eef0
mov ecx, esi
call fcn.0044b220
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x44b4cb
mov eax, dword [esi + 0x128]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
jne 0x44b4c4
mov esi, dword [esi + 0x124]
push eax
push eax
push eax
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x44b4cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44b4ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44b408
Capabilities:
Create process on windows
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4fa2d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xf8]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.00401300
mov eax, dword [esi + 0x120]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.004013d0
add esp, 4
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esi + 0x118]
push eax
push str.DataLen
push 0x502f4c
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0047eef0
lea ecx, [esi + 0x11c]
push ecx
push str.DataCRC
push 0x502f4c
lea ecx, [esp + 0x14]
call fcn.0047eef0
mov ecx, esi
call fcn.0044b220
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x44b4cb
mov eax, dword [esi + 0x128]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
jne 0x44b4c4
mov esi, dword [esi + 0x124]
push eax
push eax
push eax
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x44b4cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44b4ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44bc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fa420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x531d28]
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esi + 0xf8]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
call fcn.00401300
xor ebx, ebx
mov dword [esp + 0x3c], ebx
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14c]
cmp eax, ebx
lea edi, [esi + 0x148]
mov byte [esp + 0x3c], 1
je 0x44bce0
push eax
call fcn.004e50f9
add esp, 4
mov dword [edi + 4], ebx
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
test eax, eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x1c], 6
jbe 0x44bdc8
xor esi, esi
cmp ebx, eax
mov dword [esp + 0x4c], esi
jae 0x44bd1e
mov eax, dword [ebp + 4]
add eax, esi
jmp 0x44bd20
xor eax, eax
push eax
call fcn.0047e290
mov edx, dword [esp + 0x4c]
mov ecx, eax
and ecx, edx
mov edx, dword [esp + 0x48]
add esp, 4
cmp ecx, edx
jne 0x44bdb5
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x28], eax
cmp ebx, dword [ebp]
jae 0x44bd50
mov eax, dword [ebp + 4]
add eax, esi
jmp 0x44bd52
xor eax, eax
add eax, 0x10
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0044bb80
add esp, 8
test eax, eax
je 0x44bdb5
mov esi, dword [edi + 8]
test esi, esi
jl 0x44be1a
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.00448cf0
mov edx, dword [edi + 4]
lea ecx, [esi + esi*2]
mov esi, dword [esp + 0x4c]
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [ebp]
inc ebx
add esi, 0x22
cmp ebx, eax
mov dword [esp + 0x4c], esi
jb 0x44bd17
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44bdeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov dword [esp + 0x3c], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebx
call fcn.004d40be
add esp, 0x30
ret 0x10
call fcn.004e2e19
int3
Function at 0x44e988
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4fa6d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.00401300
mov eax, dword [esi + 0x28]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.004013d0
add esp, 4
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esi, 0x24
push esi
push 0x50b73c
push 0x502f4c
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0047eef0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ea03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret