joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b9e4
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov byte [ebp - 6], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46babf
push 0xf01ff
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46ba38
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
jmp 0x46babf
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_ControlService
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
jmp 0x46ba90
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_ControlService
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, 0x2710
ja 0x46ba96
push 1
call sub.kernel32.dll_Sleep_1
cmp dword [ebp - 0x2c], 1
jne 0x46ba5e
cmp dword [ebp - 0x2c], 1
sete byte [ebp - 6]
cmp byte [ebp - 5], 0
je 0x46baad
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_DeleteService
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov al, byte [ebp - 6]
mov esp, ebp
pop ebp
ret
Function at 0x46c748
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x46c750
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c85f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push ebp
lea eax, [ebp - 0x10]
call fcn.0046b0b0
mov eax, dword [ebp - 0x10]
mov dl, 1
call fcn.0046c688
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
push 0xffffffffffffffff
push 0x411
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
push 0xff
mov eax, 0x47c6a8
call fcn.004054e4
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0046aca0
cmp dword [ebp - 0xc], 0
jbe 0x46c827
mov eax, 0x47c6a8
call fcn.004054e4
lea edx, [ebp - 0x14]
call fcn.00409e08
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
call fcn.0046b12c
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00409188
test al, al
jne 0x46c823
mov eax, 0x47c6a8
call fcn.004054e4
lea edx, [ebp - 0x1c]
call fcn.00409e08
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
call fcn.0046b1a8
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00409188
test al, al
jne 0x46c823
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
jmp 0x46c827
mov byte [ebp - 5], 1
push ebp
lea eax, [ebp - 0x24]
call fcn.0046b0b0
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.0046c688
pop ecx
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c866
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00404fec
ret
Function at 0x46c870
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x46ca1f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47c6b8], 0
jne 0x46c8d0
mov dl, 1
mov eax, dword [0x416b10]
call fcn.004040b8
mov dword [0x47c6b8], eax
mov dl, 1
mov eax, dword [0x416b10]
call fcn.004040b8
mov dword [0x47c6bc], eax
lea eax, [ebp - 0x30]
call fcn.0046b870
mov edx, dword [ebp - 0x30]
mov eax, dword [0x47c6b8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x47c6b8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x46ca04
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46c9f7
push 0xf01ff
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov eax, dword [0x47c6b8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
call fcn.0040548c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46c940
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
jmp 0x46c9f7
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
cmp dword [ebp - 0x28], 1
jne 0x46c96a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
jmp 0x46c9f7
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 4]
mov eax, dword [0x47c6b8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x38]
mov eax, dword [0x47c6bc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x10], eax
jmp 0x46c9df
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x10]
cmp eax, 0x4e20
ja 0x46c9e5
push 1
call sub.kernel32.dll_Sleep_1
cmp dword [ebp - 0x28], 1
jne 0x46c9ad
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffff
jne 0x46c8e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ca26
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404fec
ret
Function at 0x46ca2c
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040547c
xor eax, eax
push ebp
push 0x46cadc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46cac6
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.0040548c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46ca8d
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
jmp 0x46cac6
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
cmp dword [ebp - 0x28], 4
je 0x46cab4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cae3
lea eax, [ebp - 4]
call fcn.00404fc8
ret

Function at 0x46cc28
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x46cc9e
lea eax, [ebp - 0x28]
push eax
push 0x46cca8
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x46cc9e
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], 2
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x10
lea eax, [ebp - 0x2c]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 6
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x46d880
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46d930
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040548c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46d8d6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
jmp 0x46d930
push 0x46d738
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040548c
push eax
call sub.advapi32.dll_RegisterServiceCtrlHandlerA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x46d909
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
jmp 0x46d930
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
or dword [ebp - 0x28], 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_SetServiceStatus
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x46d938
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46da5a
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040548c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46d98d
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
jmp 0x46da5a
push 0x46d738
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040548c
push eax
call sub.advapi32.dll_RegisterServiceCtrlHandlerA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46d9c3
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
jmp 0x46da5a
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
or dword [ebp - 0x28], 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_SetServiceStatus
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_DeleteService
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
jmp 0x46da42
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, 0xbb8
ja 0x46da48
push 1
call sub.kernel32.dll_Sleep_1
cmp dword [ebp - 0x2c], 1
jne 0x46da10
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov esp, ebp
pop ebp
ret
Function at 0x46da60
Capabilities:
Modify service
Query service configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040548c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceConfigA
test eax, eax
jne 0x46db53
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
jne 0x46db53
mov eax, dword [ebp - 0x14]
inc eax
call fcn.00402d30
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46db4c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceConfigA
test eax, eax
je 0x46db36
mov eax, dword [ebp - 0x10]
test byte [eax + 1], 1
je 0x46db10
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 2
je 0x46db36
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 0x100
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ChangeServiceConfigA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46db53
mov eax, dword [ebp - 0x10]
call fcn.00402d64
ret
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov esp, ebp
pop ebp
ret

Function at 0x46f0a8
Capabilities:
Delete file
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46f132
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
call fcn.004098fc
test al, al
je 0x46f128
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
call fcn.0040548c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x46f128
push 4
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
call fcn.0040548c
push eax
call sub.kernel32.dll_MoveFileExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f13c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x15c], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..3ean
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x7e2e2e77
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..7LWLf
mov ebx, 0x42f3f8
nop
mov ecx, 0x23116c34
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4053d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0
call dword [0x42f058]
push eax
call dword [0x42f048]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0x405437
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [0x42f0a4]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0x405409
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x40562f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0x40565f
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0x40566d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041d74c
leave
ret
Function at 0x407555
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [ebp - 0x8d8], eax
lea eax, [ebp + 0xc]
mov esi, esp
call fcn.00410fd1
lea eax, [ebp - 0x980]
push eax
call fcn.004056a7
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0x4359be
lea esi, [ebp - 0x8f8]
call fcn.00410f9f
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0x63fab8]
push dword [0x63f78c]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0x63fb94]
test eax, eax
jne 0x4075dc
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0x407760
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0x63fbb8]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0x407754
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x63f5d8]
push dword [ebp - 0x918]
push 0x436890
push dword [ebp - 0x8e8]
call dword [0x63fbf8]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0x407748
cmp esi, ebx
je 0x407675
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0x63f9b0]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63fb80]
push ebx
mov esi, eax
lea eax, [ebp - 0x8fc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push edi
mov dword [ebp - 0x8fc], 0x100
call dword [0x63fc10]
test eax, eax
jne 0x4076bd
push 0x436894
mov esi, dword [ebp - 0x8d8]
call fcn.00410f9f
jmp 0x407771
lea edx, [ebp - 0x104]
call fcn.004125b5
cmp eax, 0xc8
jne 0x40779d
cmp esi, ebx
je 0x40773c
mov edi, 0x7cf
jmp 0x40771d
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0x40773c
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.004110c1
lea esi, [ebp - 0x8f8]
call fcn.00411045
mov eax, dword [ebp - 0x908]
call fcn.00403510
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0x63fae0]
test eax, eax
jne 0x4076de
push dword [ebp - 0x8e0]
call dword [0x63fab4]
push dword [ebp - 0x8e8]
call dword [0x63fab4]
push dword [ebp - 0x8dc]
call dword [0x63fab4]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.00410fd1
mov eax, dword [ebp - 0x8f8]
call fcn.00403510
mov eax, dword [ebp + 0xc]
call fcn.00403510
mov eax, dword [ebp + 0x18]
call fcn.00403510
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d74c
leave
ret
push 0x43689c
jmp 0x4076ad
Function at 0x408331
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.004088cd
add esp, 0x10
test eax, eax
jne 0x408351
xor eax, eax
inc eax
jmp 0x4083e7
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4083e4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4083e4
push dword [ebp + 8]
lea edi, [esi + 0x40]
push pe_nt_image_headers32
push eax
push edi
call fcn.004088cd
add esp, 0x10
test eax, eax
je 0x408349
cmp dword [edi], 0x4550
jne 0x4083e4
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x4083e4
movzx eax, word [esi + 0x46]
test ax, ax
je 0x4083e4
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.00412630
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x4083b9
push 3
jmp 0x4083e6
push dword [ebp + 8]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.004088cd
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x4083e7
push 2
pop eax
pop edi
pop ebp
ret
Function at 0x410002
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
xor ebx, ebx
add esi, eax
mov dword [ebp - 0x14], ebx
xor eax, eax
cmp dword [esi], 0x4550
push edi
jne 0x4100c8
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00424350
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 4
pop edi
push edi
push 1
push ebx
push ebx
push 0x4355a5
push 0x4356e4
call dword [0x63fa64]
test eax, eax
je 0x4100c6
push edi
push 0x1000
push edi
push ebx
call dword [0x63fb20]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x20]
call dword [0x42f0ac]
test eax, eax
je 0x4100c6
push 0
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [0x42f0b4]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x24]
call dword [0x42f168]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4100cd
push dword [ebp - 0x20]
call dword [0x63fbd4]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [0x42f0bc]
push 0
push dword [esi + 0x54]
push dword [ebp + 8]
push eax
push dword [ebp - 0x24]
call edi
and dword [ebp - 0xc], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x410127
and dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 8]
push 0
lea eax, [eax + ecx + 0xf8]
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
add edx, ecx
push edx
push eax
push dword [ebp - 0x24]
call edi
movzx eax, word [esi + 6]
inc dword [ebp - 0xc]
add dword [ebp - 8], 0x28
cmp dword [ebp - 0xc], eax
jl 0x4100f0
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x10]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x20]
call dword [0x42f0b0]
push dword [ebp - 0x20]
call dword [0x63fbd4]
mov eax, dword [ebp - 0x1c]
jmp 0x4100c8

Function at 0x418cd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret