joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006210
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10006320
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100062e5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10025008]
jb 0x10006255
mov eax, dword [ebp - 4]
cmp eax, dword [0x1002500c]
ja 0x10006255
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10006225
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000a980
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000627a
jmp 0x100062e5
cmp dword [ebp - 0x14], 0x10000
jne 0x100062ce
cmp dword [ebp - 0x18], 0x10000
jb 0x100062ce
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100062b1
mov eax, dword [ebp - 8]
jmp 0x100062e7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100062c1
xor eax, eax
jmp 0x100062e7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100062e0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10006320
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10006225
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10006350
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10006740
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10025bb0], 0
jne 0x1000638d
cmp dword [0x10025bac], 0
je 0x1000638d
mov eax, dword [0x10025bac]
mov dword [0x10025bb0], eax
cmp dword [0x10025bb0], 0
je 0x1000640a
mov ecx, dword [0x10025bb0]
cmp dword [ecx + 8], 0
je 0x1000640a
mov edx, dword [0x10025bb0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1000640a
mov ecx, dword [0x10025bb0]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1000640a
mov eax, dword [0x10025bb0]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x100063d9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x100063e0
xor eax, eax
jmp 0x10006529
mov ecx, dword [0x10025bb0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000a980
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10006529
mov edx, dword [0x10025bac]
mov dword [0x10025bb0], edx
jmp 0x10006426
mov eax, dword [0x10025bb0]
mov ecx, dword [eax + 4]
mov dword [0x10025bb0], ecx
cmp dword [0x10025bb0], 0
je 0x10006466
cmp dword [0x10025bb0], 0
je 0x10006464
mov edx, dword [0x10025bb0]
cmp dword [edx + 8], 0
je 0x10006464
mov eax, dword [0x10025bb0]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10006464
mov edx, dword [0x10025bb0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10006464
jmp 0x100063be
jmp 0x10006418
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10006530
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10006527
mov eax, dword [ebp - 0x18]
mov dword [0x10025bb0], eax
mov ecx, dword [0x10025bb0]
mov dword [ecx], 0x52727464
mov edx, dword [0x10025bb0]
mov dword [edx + 8], 0
mov eax, dword [0x10025bb0]
mov ecx, dword [0x10025bac]
mov dword [eax + 4], ecx
mov edx, dword [0x10025bb0]
mov dword [0x10025bac], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10025bb0]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100064f7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10006517
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x100064ee
mov eax, dword [0x10025bb0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100063be
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10007270
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10025bac]
mov dword [ebp - 4], eax
jmp 0x10007289
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100072b0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x100072ae
call sub.KERNEL32.dll_GetLastError
jmp 0x100072b2
jmp 0x10007280
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10007750
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10025bbc], eax
je 0x10007774
mov eax, 0x10dd
jmp 0x1000791c
cmp dword [0x10025bc0], 0
je 0x10007787
mov eax, dword [0x10025bc0]
jmp 0x1000791c
cmp dword [ebp + 0xc], 0
jne 0x10007797
mov eax, 0x57
jmp 0x1000791c
cmp dword [ebp + 8], 0
jne 0x100077a7
mov eax, 6
jmp 0x1000791c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x100077d0
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10025bc0], ecx
mov edx, dword [ebp + 8]
mov dword [0x10025bc4], edx
mov eax, dword [ebp - 8]
jmp 0x1000791c
push 0x18
call fcn.10008dfe
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000782b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10025bc0], ecx
cmp dword [ebp - 4], 0
je 0x1000781a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10008e51
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x10025bc4], ecx
mov eax, dword [ebp - 8]
jmp 0x1000791c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10007730
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10007730
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1000786b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10007887
mov dword [ebp - 8], 9
cmp dword [0x10025bb4], 0
je 0x10007882
jmp 0x100077f9
jmp 0x100077f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x100078ae
mov dword [ebp - 8], 9
cmp dword [0x10025bb4], 0
je 0x100078a9
jmp 0x100077f9
jmp 0x100077f0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x100078d9
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100077f0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10025bcc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10025bcc], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10007930
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10025bbc], eax
je 0x1000794d
mov eax, 0x10dd
jmp 0x10007a30
mov eax, dword [0x10025bcc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100079cc
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100079a8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100079a8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.100067d0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10008e51
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10007955
mov dword [0x10025bcc], 0
call fcn.100070b0
mov ecx, dword [0x10025bc8]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10007a1a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10008e51
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x100079e4
mov dword [0x10025bc8], 0
mov dword [0x10025bbc], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10007f10
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10025bc0], 0
je 0x10007f29
mov eax, dword [0x10025bc0]
jmp 0x10007fc8
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x10007f3a
xor eax, eax
jmp 0x10007fc8
push 8
call fcn.10008dfe
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10007f92
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10007f7b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10008e51
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10025bc0], eax
mov dword [0x10025bc4], 0
mov eax, dword [ebp - 8]
jmp 0x10007fc8
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x10007faa
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10007f5a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10025bc8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10025bc8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ebd7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000ec16
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000ec16
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000ec16
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000ec16
cmp dword [ecx + 0x74], 0xe
jbe 0x1000ec16
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1001169b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001eac0
push 0x1001eab8
push str.FlsAlloc
push 0x1f
call fcn.100115b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100116cf
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c14c]
call esi
jmp 0x100116d5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10011719
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ead0
push 0x1001eac8
push str.FlsGetValue
push 0x21
call fcn.100115b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011750
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c14c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10011758
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ead8
push 0x1001ead0
push str.FlsSetValue
push 0x22
call fcn.100115b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011792
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001c14c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001356e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001360b
push ebx
push esi
call fcn.10013537
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100134cb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100135b8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001360a
push edi
push eax
call fcn.1000f94c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100135d8
call fcn.1000f912
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10013609
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100134cb
add esp, 0x20
test eax, eax
jne 0x100135f7
push edi
call fcn.1000f912
jmp 0x100135ff
push ebx
call fcn.1000f912
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1001a5f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001a61d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a61d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40d838
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
mov eax, 0x4e6e50
call fcn.004ccad8
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004d9c5c
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0xc
xor edx, edx
mov dword [ebp - 0x2c], edx
push 0x10
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004cc630
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.004cc630
add esp, 0xc
mov dword [ebp - 0x80], 0x44
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x48], eax
or dword [ebp - 0x54], 0x100
or dword [ebp - 0x54], 1
mov word [ebp - 0x50], 0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp + 0xc]
call fcn.00406774
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40d93d
mov word [ebp - 0x18], 0x18
mov edx, str.Failed_to_create_process
lea eax, [ebp - 4]
call fcn.004d9c24
inc dword [ebp - 0xc]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x18
call fcn.004d9df0
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d9dc0
xor eax, eax
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004d9dc0
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x40d975
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], edx
cmp dword [ebp - 0x2c], 0
setne al
and eax, 1
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004d9dc0
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x40d97c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffa8
mov eax, 0x4e6e94
call fcn.004ccad8
mov edx, dword [ebp + 8]
push dword [edx + 0xc]
call sub.KERNEL32.DLL_CloseHandle
test eax, eax
jne 0x40d9d6
mov word [ebp - 0x40], 0xc
mov edx, str.Closing_handle_failed
lea eax, [ebp - 4]
call fcn.004d9c24
inc dword [ebp - 0x34]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x18
call fcn.004d9df0
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d9dc0
push 0x1000
push 0
lea ecx, [ebp - 0x1058]
push ecx
call fcn.004cc630
add esp, 0xc
push 0
lea eax, [ebp - 0x54]
push eax
push 0x1000
lea edx, [ebp - 0x1058]
push edx
mov ecx, dword [ebp + 8]
push dword [ecx + 8]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
je 0x40da83
cmp dword [ebp - 0x54], 0
jne 0x40da15
jmp 0x40da83
mov word [ebp - 0x40], 0x18
lea eax, [ebp - 0x1058]
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.0040a0a8
add esp, 8
inc dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp + 0xc]
call fcn.0040da94
add esp, 8
dec dword [ebp - 0x34]
push 2
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a104
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x40da71
push 0
push dword [ebp + 0xc]
call fcn.00404138
pop ecx
dec eax
push eax
push 0x7e8
push dword [ebp + 0x10]
call sub.USER32.DLL_SendMessageA
mov edx, dword [0x4f4180]
mov eax, dword [edx]
call fcn.004674a0
jmp 0x40d9d6
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x40dd68
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov eax, 0x4e6f44
call fcn.004ccad8
push dword [ebp + 0xc]
push 0
push 0x100001
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40ddd5
mov word [ebp - 0x18], 0xc
mov edx, str.Unable_to_get_a_handle_for_the_running_process
lea eax, [ebp - 4]
call fcn.004d9c24
inc dword [ebp - 0xc]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x18
call fcn.004d9df0
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d9dc0
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x40de58
cmp byte [ebp + 0x14], 0
je 0x40de01
push 0
push dword [ebp - 0x2c]
call sub.KERNEL32.DLL_TerminateProcess
test eax, eax
je 0x40ddf0
mov eax, 1
jmp 0x40ddf5
mov eax, 2
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x40de58
push dword [ebp + 0xc]
push 0x40d808
call sub.USER32.DLL_EnumWindows
push dword [ebp + 0x10]
push dword [ebp - 0x2c]
call sub.KERNEL32.DLL_WaitForSingleObject
test eax, eax
je 0x40de3c
push 0
push dword [ebp - 0x2c]
call sub.KERNEL32.DLL_TerminateProcess
test eax, eax
je 0x40de32
mov ecx, 1
jmp 0x40de37
mov ecx, 2
mov dword [ebp - 0x30], ecx
jmp 0x40de43
mov dword [ebp - 0x30], 1
push dword [ebp - 0x2c]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x418d90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov al, byte [ebp - 8]
and al, 0xff
xor al, byte [ebp - 1]
and eax, 0xff
mov eax, dword [eax*4 + 0x4eb81c]
mov edx, dword [ebp - 8]
shr edx, 8
xor eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x418ec4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov byte [eax + edx + 0x18], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x40
jne 0x418ee2
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [eax + edx*4 + 0x58], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x10
jne 0x418efb
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ecx
pop ebp
ret
Function at 0x419d54
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004b9fec
mov eax, dword [ebp - 8]
call fcn.004b9fec
xor eax, eax
push ebp
push 0x419f01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x419dae
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x40
jle 0x419dd0
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 8]
call sym.DeltaC.exe__Synacode_MD5_qqrx17System_AnsiString
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 8]
call fcn.004b9bd0
lea ecx, [ebp - 0x10]
mov edx, 0x40
mov al, 0x36
call fcn.004ba330
lea ecx, [ebp - 0x14]
mov edx, 0x40
mov al, 0x5c
call fcn.004ba330
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x419e05
mov eax, dword [ebp - 0x28]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x419e64
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x10]
call fcn.004ba054
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ecx + ebx - 1]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
xor cl, byte [ebx + esi - 1]
mov byte [eax + edx - 1], cl
lea eax, [ebp - 0x14]
call fcn.004ba054
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ecx + ebx - 1]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
xor cl, byte [ebx + esi - 1]
mov byte [eax + edx - 1], cl
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x419e16
lea eax, [ebp - 0xc0]
call fcn.00418ec4
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x10]
call fcn.0041996c
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 4]
call fcn.0041996c
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc0]
call fcn.00419b1c
lea eax, [ebp - 0xc0]
call fcn.00418ec4
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x14]
call fcn.0041996c
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x18]
call fcn.0041996c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0xc0]
call fcn.00419b1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419f08
lea eax, [ebp - 0xc4]
call fcn.004b9b38
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004b9b5c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b9b5c
ret
Function at 0x41a000
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x48], edx
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov byte [eax + edx + 8], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x40
jne 0x41a025
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov byte [eax + edx + 0x60], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x14
jne 0x41a03e
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0x54], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0xc3d2e1f0
pop ecx
pop ecx
pop ebp
ret