joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b200
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4638a8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00425b00
test eax, eax
je 0x42b308
lea ecx, [esp + 0xc]
call fcn.004014c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00425b00
mov ecx, eax
call fcn.004232c0
test eax, eax
je 0x42b2ef
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42b2ef
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42b2ef
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004016c0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42b2d1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42b2ef
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x490c38]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x466d28
call fcn.004016c0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42b350
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00425b00
test eax, eax
je 0x42b43f
mov ecx, edi
call fcn.00425b00
mov ecx, eax
call fcn.00423170
test eax, eax
jne 0x42b43f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42b43f
mov eax, dword [0x490c38]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42b3b2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00425b00
mov ecx, eax
call fcn.004233a0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42b43f
cmp ebx, eax
jne 0x42b43f
cmp dword [esp + 0x10], eax
jne 0x42b425
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x42e070
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x463b38
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42e0a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x42e1bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42e0bd
mov eax, 0xffffffc7
jmp 0x42e1be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42e0ce
cmp dword [esi + 8], eax
jne 0x42e0bd
cmp dword [esi + 8], eax
jne 0x42e0e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42e0e7
mov eax, 0xffffffc7
jmp 0x42e1be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42e0fb
push eax
mov ecx, ebx
call fcn.0042d8a0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004014c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42e12c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004014e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042d010
test eax, eax
mov dword [esp + 0x38], eax
je 0x42e15f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x466d28
call fcn.004016c0
mov eax, dword [esp + 0x38]
jmp 0x42e1be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042ded0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42e1a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042def0
mov esi, eax
test esi, esi
jne 0x42e1d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042ded0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42e175
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x466d28
call fcn.004016c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x466d28
call fcn.004016c0
mov eax, esi
jmp 0x42e1be

Function at 0x4312a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x431300
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x431300
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x431300
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x431300
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x431340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x437210
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0045d332
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00436bb0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0045d260
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00459b24
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00459b24
push 1
push 0
push 0
mov ecx, esi
call fcn.00459acc
push 1
push 0
push 1
mov ecx, esi
call fcn.00459acc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045d3a4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x437390
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0045d332
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00436bb0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0045d260
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x437454
cmp dword [esp + 0x40], 1
jne 0x437452
cmp ecx, eax
jge 0x437454
mov eax, ecx
cmp eax, 0xc8
jge 0x437460
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00437210
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045d3a4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x437be0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4641f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00457f44
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045d5da
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0045eaf6
test eax, eax
je 0x437cfc
mov ecx, dword [esp + 0x3c]
call fcn.0045d607
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x437cc0
push edi
mov ecx, esi
call fcn.0045ac6b
mov ecx, esi
call fcn.00437e60
cmp dword [esp + 0x38], 1
jne 0x437cf5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045ada6
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43a720
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a753
push esi
call fcn.0043d810
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a74c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43a7d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a7c2
mov eax, dword [esi + 8]
test eax, eax
je 0x43a777
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a7be
cmp eax, 2
je 0x43a7c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a76a
cmp eax, 3
je 0x43a79d
cmp eax, 1
jne 0x43a76a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43a76a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43a76a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a800
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a7e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a800
add esp, 4
pop esi
ret

Function at 0x458d3a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x458d72
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00456dee
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00456dc6
jmp 0x458d7e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45a428
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45a46a
call fcn.0045fee1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45a46a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45a461
xor eax, eax
jmp 0x45a472
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045a478
pop edi
pop esi
pop ebx
ret 4

Function at 0x460411
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46043f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46045d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00460377
jmp 0x46045d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46045d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00460377
test edi, edi
mov eax, edi
jne 0x460447
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5da1114c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push 0x28
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor esi, esi
cmp eax, esi
mov dword [section..data], eax
jne 0x5da11179
xor eax, eax
jmp 0x5da11250
push ebx
push 0x104
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, esi
jne 0x5da111a9
xor eax, eax
jmp 0x5da1124f
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [section..data]
mov dword [ecx + 0x18], eax
mov eax, dword [section..data]
cmp dword [eax + 0x18], esi
je 0x5da11227
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [section..data]
mov dword [ecx + 0x10], eax
mov eax, dword [section..data]
cmp dword [eax + 0x10], esi
je 0x5da11227
lea ecx, [eax + 8]
push ecx
lea ecx, [eax + 0xc]
push ecx
push eax
add eax, 4
push eax
call fcn.5da11a44
test eax, eax
jne 0x5da11227
call sub.DHCPCSVC.DLL_DhcpOpenGlobalEvent
mov ecx, dword [section..data]
mov dword [ecx + 0x14], eax
mov eax, dword [section..data]
cmp dword [eax + 0x14], esi
je 0x5da1124c
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x5da11ad4
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0x5da11238
call fcn.5da110c2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x5da111a2
mov ecx, dword [section..data]
push eax
mov dword [ecx + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop ebx
pop esi
leave
ret 4
Function at 0x41017d
Capabilities:
Encode data using xor

Disassembly:
fcmovne st(0), st(4)
fdivr qword [eax + ebx - 0x5c]
xchg esp, eax
inc ecx
sub bh, dl
sbb al, 0x62
cmp byte [eax - 0xc36cc81], 0xdc
xor ecx, ecx
fcomp qword [edx + 0x21]
mov byte [0xcfacde5c], al
xor ecx, ecx
fcomp qword [edx + 0x21]
mov byte [0xcfacde5c], al
in al, 0xb2
imul esi, dword [ebp + ebx*4 + 0x62], 0x95d76a94
sbb al, 0x26
sbb eax, 0x4f1f24da
sbb eax, 0x4f1f24da
fisub dword [edi + ebx]
dec edi
cmpsd dword [esi], dword es:[edi]
xor dword [edx - 0x28], edi
or eax, 0x70b73265
sahf
dec ebx
or al, 0xff
in al, 0x9e
pop esp
jecxz 0x410193
add bh, bl
dec esi
add dl, bl
xlatb
ja 0x41021a
xchg ebp, eax
jno 0x41016d
mov bh, 0x25
xor ch, byte [edi]
jle 0x41022b
and eax, 0x707e2f32
xor ch, byte [edi - 0x4d]
popal
cmpsb byte [esi], byte es:[edi]
stosb byte es:[edi], al
mov dl, 0x1f
test dh, bl
cmc
lcall 0xcad2, 0xf8472a3a
salc
push ebx
je 0x4101b5
popal
dec esp
mov dword [0x907e3dfa], eax
push 0x76
aaa
int 0xe4
mov word [ecx + 0x4b], gs
pop ebx
pop edx
jp 0x410195
mov dword [esi - 0x43b0ca7a], ecx
sti
invalid
inc edx
mov byte [edi], bl
push edx
adc byte [edi + 0x5c], 6
lodsd eax, dword [esi]
iretd
sal byte [eax - 0x719eee6], 0xd8
sbb cl, byte [esi]
call 0x636ac3
jb 0x410222
retf 0x8d94
Function at 0x405aba
Capabilities:
Terminate process

Disassembly:
call fcn.00547000
jmp 0x405aba
push 0x58
push 0x406318
call fcn.00405d50
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x407e28
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x405b0c
cmp eax, esi
jne 0x405aff
xor esi, esi
inc esi
mov edi, esi
jmp 0x405b0f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x405ae3
xor esi, esi
inc esi
cmp dword [0x407e2c], esi
jne 0x405b21
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x405b5b
cmp dword [0x407e2c], ebx
jne 0x405b55
mov dword [0x407e2c], esi
push 0x401018
push 0x40100c
call fcn.00405c99
pop ecx
pop ecx
test eax, eax
je 0x405b5b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x405c89
mov dword [0x407a84], esi
cmp dword [0x407e2c], esi
jne 0x405b7e
push 0x401008
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x407e2c], 2
test edi, edi
jne 0x405b8b
xor eax, eax
mov ecx, 0x407e28
xchg dword [ecx], eax
cmp dword [0x407e30], 0
je 0x405bb7
push 0x407e30
call fcn.00405fd0
pop ecx
test eax, eax
je 0x405bb7
push ebx
push 2
push ebx
mov esi, dword [0x407e30]
mov ecx, esi
call dword [0x4081c4]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x405c15
test cl, cl
je 0x405be4
test edi, edi
jne 0x405c15
test cl, cl
je 0x405be4
cmp cl, 0x20
ja 0x405be4
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x405bd3
test byte [ebp - 0x3c], 1
je 0x405bf0
movzx eax, word [ebp - 0x38]
jmp 0x405bf3
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x407a80], eax
cmp dword [0x407a98], 0
jne 0x405c6e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x405c26
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x405c39
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x405bc4
cmp dword [0x407a84], 0
jne 0x405c82
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x407a80]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405eb4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x406338
call fcn.00405d50
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x405f14
cmp eax, 0xffffffff
je 0x405f14
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x405f0d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x405f0d
cmp edx, 0x10000000
jae 0x405f0d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x405f0a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403b6e
Capabilities:
Hash data using sha256
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x180
lea eax, [esp + 0xe8]
xorps xmm0, xmm0
mov dword [esp + 0xc], ecx
movsd qword [eax + 0x38], xmm0
movsd qword [eax + 0x30], xmm0
movsd qword [eax + 0x28], xmm0
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm0
push 8
pop ecx
lea eax, [esp + 0xc0]
mov esi, 0x42aa00
mov ebx, dword [ebp + 8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x50], eax
and dword [eax + 0x24], 0
and dword [eax + 0x20], 0
mov byte [eax + 0x68], 0
cmp ebx, 0x3f
ja 0x403c1c
mov edi, edx
xor ecx, ecx
lea edx, [esp + 0xe8]
push 0x42a4ec
push 0x40
call fcn.00401126
pop ecx
pop ecx
mov esi, edx
mov ecx, ebx
mov edx, eax
push 0x42a4fc
push esi
call fcn.004010ef
pop ecx
pop ecx
mov ecx, eax
push 0x42a50c
push ebx
push edi
call fcn.004097e3
add esp, 0xc
jmp 0x403c60
mov edi, ebx
mov esi, ebx
shr ebx, 6
lea ecx, [esp + 0x50]
and edi, 0xffffffc0
and esi, 0x3f
add edi, edx
push ebx
call fcn.00402ea3
pop eax
mov ecx, esi
lea edx, [esp + 0xe8]
push 0x42a4cc
push 0x40
call fcn.004010ef
pop ecx
pop ecx
mov ecx, eax
push 0x42a4dc
push esi
push edi
call fcn.004097e3
add esp, 0xc
mov ebx, esi
lea esi, [esp + 0xc0]
mov byte [esi + 0x68], bl
push 0x1c
pop ecx
lea eax, [esp + 0x50]
xorps xmm0, xmm0
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x78]
mov dword [esp], eax
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movzx eax, byte [esi + 0x40]
mov ebx, dword [esi - 8]
mov edi, dword [esi - 4]
mov edx, esi
lea ecx, [eax*8]
mov byte [esp + eax + 0x78], 0x80
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea ecx, [eax + 1]
push 0x42a51c
push 0x40
call fcn.00401126
pop ecx
pop ecx
test edx, edx
je 0x403ccf
mov byte [eax], 0
inc eax
dec edx
jmp 0x403cc4
shld edi, ebx, 9
shl ebx, 9
mov eax, dword [esp + 8]
or ebx, dword [esp + 4]
bswap edi
not eax
bswap ebx
test al, 0x38
jne 0x403d18
mov ecx, esp
mov edx, esi
call fcn.00402eb8
xorps xmm0, xmm0
lea edx, [esp + 0x130]
mov ecx, esp
movsd qword [edx + 0x30], xmm0
xorps xmm0, xmm0
movaps xmmword [edx + 0x20], xmm0
movaps xmmword [edx + 0x10], xmm0
movaps xmmword [edx], xmm0
mov dword [edx + 0x3c], ebx
mov dword [edx + 0x38], edi
jmp 0x403d2a
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], ebx
mov ecx, esp
mov edx, esi
call fcn.00402eb8
mov byte [esp + 0xb8], 0
push 0xffffffffffffffe0
pop eax
mov ecx, dword [esp]
test eax, eax
je 0x403d50
mov edx, dword [ecx + eax + 0x20]
bswap edx
mov dword [esp + eax + 0x50], edx
add eax, 4
jmp 0x403d3d
movaps xmm0, xmmword [esp + 0x30]
movaps xmm1, xmmword [esp + 0x40]
mov eax, dword [esp + 0xc]
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp + 0x20], xmm1
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret