joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ed13c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x4ed1a7
cmp byte [ebx + 0xd7], 0
jne 0x4ed1a7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406d04
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4ed194
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ed1b4
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406f5c
jmp 0x4ed1b4
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406f5c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4ee8c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x4ee936
mov eax, esi
call fcn.00482c20
test al, al
je 0x4ee936
mov eax, dword [ebx + 0x88]
call fcn.0048286c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ee936
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x4ee92a
push 0
mov eax, dword [ebx + 0x88]
call fcn.0048286c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00479a50
jmp 0x4ee936
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.004ee700
pop esi
pop ebx
ret
Function at 0x4f8dec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4f8e1a
mov eax, ebx
call fcn.004f98a8
cmp dword [ebx + 0x40], 0
je 0x4f8e13
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4f8e8b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4f8e7d
cmp dword [ebx + 8], 0
je 0x4f8e3c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4f8e4e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4f8e7d
cmp dword [ebx + 8], 0
je 0x4f8e2f
cmp eax, 3
je 0x4f8e61
dec eax
jne 0x4f8e2f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4f8e2f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4f8e2f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4f8ea9
cmp dword [ebx + 0x14], 0xcc
je 0x4f8ea9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004f8eb4
pop ebx
ret

Function at 0x50da24
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x50da39
add esp, 0xfffffff0
call fcn.00405550
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x10]
xor edx, edx
mov eax, ebx
call fcn.00404f68
test edi, edi
jne 0x50da67
mov ecx, dword [0x5492b0]
mov dl, 1
mov eax, dword [0x50d908]
call fcn.00509c8c
call fcn.004062c4
mov eax, edi
mov dword [ebx + 0x10], eax
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 8]
call fcn.0050e730
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00516740
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
push esi
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x50dace
mov ecx, dword [0x5498dc]
mov dl, 1
mov eax, dword [0x50d908]
call fcn.00509c8c
call fcn.004062c4
test esi, esi
jne 0x50db15
mov eax, edi
mov edx, dword [0x543c10]
call fcn.004051cc
test al, al
je 0x50db15
push 0
mov eax, dword [edi + 0x18]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x50db15
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
mov ecx, dword [0x549784]
mov dl, 1
mov eax, dword [0x50d908]
call fcn.00509c8c
call fcn.004062c4
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00442df4
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov edx, ebx
call fcn.0043e880
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x50db45
call fcn.004055a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x50e04c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x50e102
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00407740
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x50e0ec
lea eax, [ebp - 4]
mov edx, edi
call fcn.004078ac
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00407740
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x50e0ec
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x50e114
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x50e0ec
cmp dword [ebp - 0xc], 0x34
jne 0x50e0ec
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e109
lea eax, [ebp - 4]
call fcn.00406bac
ret
Function at 0x50e7d4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50ea0e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.00514d38
lea eax, [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x547ec4], eax
mov eax, dword [ebp - 0xc]
mov dword [0x547ec8], eax
mov eax, dword [ebp - 0x24]
mov dword [0x547ecc], eax
mov eax, dword [0x549a48]
cmp dword [eax], 2
sete byte [0x5476a1]
push 0x50ea1c
call sub.KERNEL32.DLL_GetModuleHandleW
lea edx, [ebp - 4]
call fcn.0050de38
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x5476a1], 0
jne 0x50e863
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0050e04c
test al, al
je 0x50e863
mov eax, dword [ebp - 0x4c]
mov dword [0x54f828], eax
jmp 0x50e86a
xor eax, eax
mov dword [0x54f828], eax
call fcn.0050e2b4
and eax, 0x7f
cmp eax, 0x18
ja case.0x50e87b.0
jmp dword [eax*4 + 0x50e882]
mov byte [0x54769c], 1
jmp case.0x50e87b.0
mov byte [0x54769d], 1
jmp case.0x50e87b.0
mov byte [0x54769e], 1
jmp case.0x50e87b.0
mov byte [0x54769f], 1
jmp case.0x50e87b.0
mov byte [0x5476a0], 1
jmp case.0x50e87b.0
mov byte [0x5476a2], 1
mov byte [0x5476a3], 1
jmp case.0x50e87b.0
mov byte [0x5476a2], 1
mov byte [0x5476a4], 1
jmp case.0x50e87b.0
mov byte [0x5476a2], 1
mov byte [0x5476a4], 1
mov byte [0x5476a5], 1
jmp case.0x50e87b.0
mov byte [0x5476a6], 1
jmp case.0x50e87b.0
mov byte [0x5476a7], 1
jmp case.0x50e87b.0
mov byte [0x5476a8], 1
jmp case.0x50e87b.0
mov byte [0x5476a9], 1
jmp case.0x50e87b.0
mov byte [0x5476aa], 1
jmp case.0x50e87b.0
mov byte [0x5476ab], 1
jmp case.0x50e87b.0
mov byte [0x5476ac], 1
jmp case.0x50e87b.0
mov byte [0x5476ad], 1
jmp case.0x50e87b.0
mov byte [0x5476ae], 1
jmp case.0x50e87b.0
mov byte [0x5476af], 1
jmp case.0x50e87b.0
mov byte [0x5476b0], 1
jmp case.0x50e87b.0
mov byte [0x5476b1], 1
jmp case.0x50e87b.0
mov byte [0x5476b2], 1
jmp case.0x50e87b.0
mov byte [0x5476b3], 1
jmp case.0x50e87b.0
mov byte [0x5476b4], 1
jmp case.0x50e87b.0
mov byte [0x5476b5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ea15
lea eax, [ebp - 4]
call fcn.00406bac
ret

Function at 0x512190
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x5121f4
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.004077d4
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0041c77c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5121fb
lea eax, [ebp - 0x14]
call fcn.00406bac
ret
Function at 0x513180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x513216
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x549a48]
cmp dword [eax], 2
jne 0x5131c0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x5131f8
lea eax, [ebp - 8]
mov edx, esi
call fcn.004074cc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00407328
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.004073e4
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51321d
lea eax, [ebp - 8]
call fcn.00406bf4
lea eax, [ebp - 4]
call fcn.00406bd0
ret

Function at 0x514618
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x51462d
add esp, 0xfffffff0
call fcn.00405550
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00404f68
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00406f5c
mov eax, esi
call fcn.00407740
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CreateMutexW
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x514681
mov ecx, dword [0x5498ac]
mov dl, 1
mov eax, dword [0x51435c]
call fcn.00509c8c
call fcn.004062c4
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5146a8
call fcn.004055a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x5146c8
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x5146e0
add esp, 0xfffffff0
call fcn.00405550
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x5147c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 8], 0
lea eax, [ebx + 0x10]
mov edx, esi
call fcn.00406f5c
test esi, esi
jne 0x514732
xor eax, eax
mov dword [ebx + 0xc], eax
push 0
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x513b9c]
call fcn.00514564
mov dword [ebx + 4], eax
mov eax, 0x10
call fcn.00404570
mov dword [ebx + 0x14], eax
jmp 0x5147a0
push 0
push 0
lea eax, [ebp - 8]
mov ecx, esi
mov edx, 0x5147fc
call fcn.00407984
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x513b9c]
call fcn.00514564
mov edi, eax
mov dword [ebx + 4], edi
movzx eax, byte [edi + 4]
mov byte [ebx + 8], al
lea eax, [ebp - 0xc]
mov ecx, esi
mov edx, 0x514824
call fcn.00407984
mov eax, dword [ebp - 0xc]
call fcn.00407740
push eax
push 0x10
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingW
mov edi, eax
mov dword [ebx + 0xc], edi
push 0
push 0
push 0
push 2
push edi
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [ebx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00514940
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5147cc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00406c0c
ret

Function at 0x518660
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0
push 0
push ebx
push 0x518680
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta al
pop ebx
ret

Function at 0x51868c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x518760
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406fa4
lea eax, [ebp - 4]
call fcn.00407138
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407740
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x51874a
mov eax, ebx
call fcn.00404588
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x518743
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407740
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x51872d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x518770
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x51872d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51874a
mov eax, dword [ebp - 0x10]
call fcn.004045a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518767
lea eax, [ebp - 4]
call fcn.00406bac
ret
Function at 0x51a98c
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x51a9b0
call sub.user32.dll_FindWindowW
test eax, eax
je 0x51a9ac
push 0
push 0x51a9cc
push 0
push eax
call sub.user32.dll_FindWindowExW
ret
xor eax, eax
ret

Function at 0x51d180
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], edx
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x51d0c4
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x51e01c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00407740
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
push 0x51df38
call sub.user32.dll_EnumWindows
cmp eax, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x403e59
pop dword [ebp - 0x20]
mov eax, 0xefe72e6a
add eax, 0x10590fef
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x47b4e636
sub dword [ebp - 0x30], 0xf962a0eb
mov dword [ebp - 0x2c], 0xbb63bead
sub dword [ebp - 0x2c], 0x89307268
mov dword [ebp - 0x28], 0xd12f28f4
sub dword [ebp - 0x28], 0x84e2e4c6
mov dword [ebp - 0x24], 0xa71ef776
add dword [ebp - 0x24], 0x58e1088a
lea eax, [ebp - 0x30]
push eax
mov eax, 0x47265409
add eax, 0xb91a2c83
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x96b3d0b4
add dword [ebp - 0x30], 0xddbe98a2
mov dword [ebp - 0x2c], 0x2a5aded9
sub dword [ebp - 0x2c], 0xe8ee7d64
mov dword [ebp - 0x28], 0xea8bfb50
add dword [ebp - 0x28], 0x78e3711c
mov dword [ebp - 0x24], 0xcef8bd4e
sub dword [ebp - 0x24], 0xcef8bd4e
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xcd14fcf4
sub eax, 0xccd47c20
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3a015
push 0
call eax
mov ecx, 0x3816a79a
sub ecx, 0x38165292
mov esi, eax
mov edi, 0xa1effdab
add edi, 0x5e511255
add edi, dword [ebp - 0x20]
mov edx, 0x2f5e44e1
mov ebx, dword [edi]
sub dword [ebp - 0x14], 0xd51e007d
xor ebx, edx
sub dword [ebp - 0x14], 0x831dd815
mov dword [esi], ebx
add dword [ebp - 0x18], 0x6b2e0aab
add esi, 0x508f3eaf
sub esi, 0x508f3eab
add edi, 0x24cb7d1c
add edi, 0xdb3482e8
loop 0x403f75
add eax, 0x146f3
xor ebx, ebx
add ebx, eax
add eax, 0x7004b27a
sub eax, 0x7004b275
mov ecx, 0xb1037d37
sub ecx, 0xb0c37d37
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x4061ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x4061bd
pop dword [ebp - 0x38]
mov eax, 0x90669ecd
add eax, 0x6fd9c2f0
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x1e1f1def
add dword [ebp - 0x48], 0x3033275c
mov dword [ebp - 0x44], 0x3f585b7c
add dword [ebp - 0x44], 0xf2daf0c9
mov dword [ebp - 0x40], 0xcf838166
sub dword [ebp - 0x40], 0x83373d38
mov dword [ebp - 0x3c], 0xa6bc3b23
sub dword [ebp - 0x3c], 0xa6bc3b23
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xedfad101
sub dword [ebp - 0x48], 0x798867ab
mov dword [ebp - 0x44], 0xeaac9c6f
add dword [ebp - 0x44], 0x56bfc506
mov dword [ebp - 0x40], 0xfb33d3b8
add dword [ebp - 0x40], 0x683b98b4
mov dword [ebp - 0x3c], 0xd29e8424
sub dword [ebp - 0x3c], 0xd29e8424
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x38ae1
push 0
call eax
mov ecx, 0xb4ee39d3
add ecx, 0x4b121316
xor esi, esi
add esi, eax
mov edx, 0x436000
add edx, dword [ebp - 0x38]
mov ebx, 0x9782e715
add ebx, 0x67e31c66
add dword [ebp - 0x10], 0x37da1bfc
mov edi, dword [edx]
mov dword [ebp - 0x10], 0xa3b36e71
xor edi, ebx
xor dword [ebp - 0x20], ebx
mov dword [esi], edi
add dword [ebp - 0x10], 0xa3c769d2
add esi, 4
add edx, 0x72e8bdc5
add edx, 0x8d17423f
loop 0x4062d1
add eax, 0x12677
mov ebx, eax
add eax, 5
mov ecx, 0x5a177966
add ecx, 0xa628869a
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057f7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.10037dcc
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x1000190b
push eax
push esi
call fcn.10039310
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x100bd55c
call fcn.10037f74
int3
Function at 0x10006a70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x4c], 0x30
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x10002cf0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call esi
push 0x7f00
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f00
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x100bd5e4
call esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x10006b7e
push 0
push 0
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x100bd5f8
push 0x100bd5e4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x10006b7e
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x1c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x10006b7e
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0x1c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x10006b60
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10006bc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [0x100b3600], 0
mov dword [ebp - 0x4c], 0x30
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x10003b80
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call esi
push 0x7f00
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f00
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x100bd898
call esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x10006cd6
push 0
push 0
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x100bd8b0
push 0x100bd898
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x10006cd6
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x1c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x10006cd6
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0x1c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x10006cb8
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret