joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4290c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587458
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
xor esi, esi
mov dword [ebp + 0x10], esi
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp + 0x10], esi
push eax
cmp dword [edi + 8], esi
jne 0x429124
call fcn.00401ff0
mov ecx, eax
mov eax, dword [ebp + 8]
add esp, 4
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00401ff0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x4291ed
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x10]
push edx
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 0x10]
cmp eax, esi
jbe 0x4291b0
add eax, 2
push eax
call fcn.0045de9b
mov esi, eax
add esp, 4
test esi, esi
je 0x4291b0
mov edx, dword [ebp + 0x10]
add edx, 2
push edx
push 0
push esi
call fcn.0055b030
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4291a7
push esi
lea ecx, [ebp - 0x10]
call fcn.004019e0
mov ebx, dword [ebp - 0x10]
push esi
call fcn.0045dea6
add esp, 4
lea esi, [ebx - 0x10]
push esi
call fcn.00401ff0
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42927c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x42927c
add eax, 2
push eax
call fcn.0045de9b
mov esi, eax
add esp, 4
test esi, esi
jne 0x42920d
lea esi, [ebx - 0x10]
push esi
call fcn.00401ff0
add esp, 4
jmp 0x429258
mov eax, dword [ebp + 0x10]
add eax, 2
push eax
push 0
push esi
call fcn.0055b030
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429246
push esi
lea ecx, [ebp - 0x10]
call fcn.004019e0
mov ebx, dword [ebp - 0x10]
push esi
call fcn.0045dea6
lea esi, [ebx - 0x10]
push esi
call fcn.00401ff0
add esp, 8
mov edi, dword [ebp + 8]
or edx, 0xffffffff
add eax, 0x10
mov dword [ebp - 4], edx
lea ecx, [esi + 0xc]
mov dword [edi], eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42927c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4292a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 8], 0
push esi
mov esi, eax
jne 0x4292b6
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
lea ecx, [ebp - 4]
call fcn.00401a30
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
lea ecx, [eax + eax + 2]
mov eax, dword [edi + 4]
push ecx
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x429310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ecx + 8], 0
je 0x429343
mov ecx, dword [ecx + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x429a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429a8f
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push eax
push eax
mov eax, dword [ebp - 4]
push str.Install
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov dword [ebp - 8], 4
call esi
test eax, eax
jne 0x429a82
cmp dword [ebp - 0xc], 1
jne 0x429a82
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push eax
push eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push str.Release
push eax
mov dword [ebp - 8], 4
call esi
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x429a85
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42cc30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5b95a8
lea ecx, [ebp - 0x10]
call fcn.00401a30
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.0040ea60
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add esp, 4
test ecx, ecx
je 0x42cd87
mov edx, ecx
lea ecx, [edx - 1]
test ecx, ecx
jl 0x42cdbb
cmp ecx, edx
jg 0x42cdbb
movzx ecx, word [eax + ecx*2]
cmp cx, 0x5c
je 0x42ccb4
push 0x5b93a4
lea ecx, [ebp - 0x10]
call fcn.00403fe0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401ff0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 8
push str.Link.ini
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403ed0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5bf5f8
call fcn.00401a30
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.EpsonConnect
call fcn.00401a30
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push esi
call fcn.00401ff0
add eax, 0x10
lea ecx, [ebp - 0x18]
add esp, 4
mov dword [edi], eax
push ecx
mov byte [ebp - 4], 1
call fcn.0040fc90
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp dword [eax - 0xc], 0
je 0x42cd4b
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cd67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd84
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cdaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401fd0
int3

Function at 0x42d5a0
Capabilities:
Resume thread

Disassembly:
push 0
push 0x5f200c
push 0x5f1ff0
push 0
push 0
push 4
push 0
push 2
push 0x5c0358
call fcn.0046f3bd
push eax
call fcn.00577a17
add esp, 0x14
mov dword [esi + 0x350], eax
test eax, eax
je 0x42d5ff
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x350]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 0x350]
mov eax, dword [edx + 0x178]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x42e340
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58acc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x7c]
lea edi, [esi + 0x7c]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
push 0x5b95a8
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00401a30
push ebx
mov byte [esp + 0x34], 1
call fcn.00557ad8
add esp, 4
mov dword [esp + 0x1c], eax
push str._Y_m_d_H_M_S
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], edx
call fcn.00406230
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call fcn.00401f40
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e400
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403ed0
lea edx, [esp + 0x10]
lea ecx, [esi + 0x78]
push edx
call fcn.00401f40
lea ecx, [esp + 0x10]
call fcn.0040f070
add esi, 0x74
push edi
mov ecx, esi
call fcn.00401f40
call fcn.00410120
push 0xd
push str.ShareFile.dat
mov ecx, esi
call fcn.00403ed0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e46a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e492
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432250
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5ef60c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x410
mov ebx, ecx
lea ecx, [ebp - 0x41c]
push 0
push ecx
mov dword [ebp - 0x424], eax
call fcn.0055b030
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x2c]
add esp, 0xc
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], ecx
call fcn.00467a9c
mov eax, dword [eax + 4]
add eax, 0xd0
lea edx, [ebp - 0x41c]
mov dword [eax + 0x54], 0xd
mov dword [eax + 0x58], edx
call fcn.00467a9c
call fcn.00467a9c
mov edi, dword [eax + 4]
add edi, 0xd0
mov dword [ebp - 0x420], 0xffffffff
je 0x432311
mov eax, dword [edi + 0x60]
test eax, eax
je 0x432311
push str.Download
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x432311
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
push ecx
push edx
call eax
mov dword [ebp - 0x420], eax
mov dword [edi + 0x5c], eax
lea eax, [ebp - 0x40c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432320
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x40c]
lea edi, [esi + 0x30]
push eax
mov ecx, edi
call fcn.00401e90
mov ecx, dword [ebp - 0x410]
mov dword [esi + 0x14], 0x270e
mov dword [ebx], ecx
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.Installed
push str.DownDLLLog
call ebx
mov edx, dword [ebp - 0x424]
mov dword [edx], eax
mov edi, dword [edi]
push edi
push 0
push str.FileSize
push str.DownDLLLog
call ebx
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x420]
xor ecx, ebp
pop ebx
call fcn.0055799e
mov esp, ebp
pop ebp
ret 4
Function at 0x432ca0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
call fcn.00467a9c
mov eax, dword [eax + 4]
push 0
push 4
push 0
push 0
add eax, 0xd0
push eax
push fcn.00416830
call fcn.0046f346
mov dword [esi + 0xc0], eax
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x432cf0
mov edx, dword [esi + 0xc0]
push 0x4ff
push 0xa
push 0
add edx, 0x2c
push edx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov edi, eax
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp edi, 0x102
jne 0x432d37
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x432cf0
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 1
jne 0x432d8b
push edi
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
je 0x432cf0
lea ecx, [ecx]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
jne 0x432d60
jmp 0x432cf0
mov edx, dword [esi + 0xc0]
xor ebx, ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
mov eax, dword [edx + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [esi + 0xc0]
mov edi, dword [ebp - 4]
cmp ecx, ebx
je 0x432dc0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0xc0], ebx
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432dd0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
test esi, esi
jne 0x432de0
xor edi, edi
jmp 0x432de3
mov edi, dword [esi + 0x20]
call fcn.00467a9c
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 0xc]
push ecx
add eax, 0x13c
mov ecx, edi
call fcn.0041eec0
call fcn.00467a9c
mov eax, dword [eax + 4]
push 0
push 4
push 0
push 0
add eax, 0x13c
push eax
push 0x41dd10
call fcn.0046f346
mov dword [esi + 0xd8], eax
test eax, eax
je 0x432eeb
mov dword [eax + 0x28], 0
mov edx, dword [esi + 0xd8]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
lea esp, [esp]
mov ecx, dword [esi + 0xd8]
push 0x4ff
push 0xa
push 0
add ecx, 0x2c
push ecx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov edx, dword [esi + 0xd8]
mov edi, eax
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp edi, 0x102
jne 0x432e97
mov ecx, dword [esi + 0xd8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x432e50
mov eax, dword [esi + 0xd8]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 1
jne 0x432eeb
push edi
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call ebx
test eax, eax
je 0x432e50
lea ecx, [ecx]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call ebx
test eax, eax
jne 0x432ec0
jmp 0x432e50
mov ecx, dword [esi + 0xd8]
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
mov edx, dword [ecx + 0x2c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [esi + 0xd8]
mov edi, dword [ebp - 4]
test ecx, ecx
je 0x432f26
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0xd8], 0
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586148
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x30]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x433e40
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], ebx
je 0x433e40
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x433d75
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x30]
push ecx
push str.Deselect
push str.SoftwareEPSONSoftware_Updater
lea edx, [ebp - 0x10]
push str._s_s_s
push edx
call fcn.00402810
add esp, 0x14
call fcn.0040fe50
mov edi, dword [ebp - 0x10]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x100
or eax, 0x20006
mov edx, edi
lea esi, [ebp - 0x20]
call fcn.00428cd0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], ebx
je 0x433e09
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push ebx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x433e04
push eax
call esi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
jmp 0x433e0c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.Registry.0
cmp eax, ebx
je 0x433e1d
push eax
call esi
mov dword [ebp - 0x1c], ebx
lea eax, [edi - 0x10]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433e40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433e62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp + 0x10]
call fcn.0042d520
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x43b9e0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x43b970
invalid
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x43b98e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x43b9ec
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x43b9d3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x43b9dc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x43b9e6
invalid
add eax, 0x980c803
add al, 0x40
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x43b9c8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x43b952
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x43ba39
dec eax
je 0x43ba30
sub eax, 3
je 0x43ba27
mov dword [ebp - 4], 0x40
jmp 0x43ba56
mov dword [ebp - 4], 4
jmp 0x43ba3c
mov dword [ebp - 4], 0x20
jmp 0x43ba3c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x43ba88
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x43ba08
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0043b299
mov esp, 0xff7c150d
jne 0x43ba93
push 1
push esi
call edi
mov eax, esi
jmp 0x43ba94
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443030
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5853d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 6
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 7
mov eax, dword [edi + 0x34]
sub eax, 0x10
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 8
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov edi, dword [edi + 0x40]
sub edi, 0x10
push edi
call fcn.00401ff0
add esp, 0x28
add eax, 0x10
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4