joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b260
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46b40b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46b3ec
mov dl, 1
mov eax, dword [0x417ae4]
call fcn.004041c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004050d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46b3db
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045d6f8
test al, al
je 0x46b3ce
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46b41c
lea eax, [ebp - 0x254]
call fcn.0040a814
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46b3ce
xor eax, eax
push ebp
push 0x46b3c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46b454
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46b3b0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405344
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46b3b0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b3ce
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46b2d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041bfc8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b412
lea eax, [ebp - 0x260]
call fcn.004050d4
ret

Function at 0x46bd84
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48ccdc]
cmp byte [eax + 0xad], 0
jne 0x46bdf5
cmp dword [0x48ccf8], 0
jne 0x46bdb6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46bd40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48ccf8], eax
cmp dword [0x48ccf4], 0
jne 0x46bdd1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48ccf4], eax
cmp dword [0x48ccfc], 0
jne 0x46bdf5
push esp
push 0
push 0
push 0x46bce4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48ccfc], eax
pop edx
ret
Function at 0x46bff4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46c00b
add esp, 0xfffffff0
call fcn.00404518
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004207bc
mov eax, dword [0x486e70]
cmp word [eax + 2], 0
jne 0x46c033
mov eax, dword [0x486e70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046dc64
mov eax, dword [0x486f4c]
cmp word [eax + 2], 0
jne 0x46c04d
mov eax, dword [0x486f4c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046de70
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417534]
call fcn.004041c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417534]
call fcn.004041c4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417534]
call fcn.004041c4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x425130]
call fcn.0042cd78
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46c204
mov eax, dword [0x486d5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d14c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46e534
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x486d5c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e18c
test eax, eax
je 0x46c154
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a1b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e1c0
test eax, eax
je 0x46c168
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405344
mov byte [ebx + 0xd4], 0
push ebx
push 0x46d774
call fcn.0042194c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x486bf8]
cmp byte [eax], 0
jne 0x46c1b9
mov eax, ebx
call fcn.0046c348
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046e70c
mov eax, ebx
call fcn.0046f270
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46c1f9
call fcn.00404570
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c5c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46c667
cmp dword [ebx + 0x94], 0
jne 0x46c661
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46c550
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46c661
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46c627
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46c661
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419ac0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46c636
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46c880
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x48ccdc]
cmp dword [eax + 0x30], 0
je 0x46c9dd
test bl, bl
jne 0x46c92e
cmp dword [esi + 0x9c], 0
jne 0x46c923
mov eax, esi
call fcn.0046f0ec
push eax
push 0x46c7ac
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46c8f4
mov eax, dword [0x48ccdc]
call fcn.0046f7cc
test al, al
je 0x46c8f4
mov eax, dword [0x48cd00]
call fcn.004062bc
mov edi, eax
cmp edi, 0
jl 0x46c8f4
push 0
mov eax, dword [0x48cd00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46c8de
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46c923
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419ac0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46c903
inc dword [esi + 0x9c]
jmp 0x46c9dd
cmp dword [esi + 0x9c], 0
jle 0x46c9dd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46c9dd
cmp dword [esi + 0x44], 0
je 0x46c989
mov eax, dword [0x48ccdc]
call fcn.0046f7cc
test al, al
je 0x46c989
mov eax, dword [0x48cd00]
call fcn.004062bc
mov edi, eax
cmp edi, 0
jl 0x46c989
push 5
mov eax, dword [0x48cd00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46c973
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46c9b8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419ac0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46c998
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x48cd00
mov ecx, 1
mov edx, dword [0x46c78c]
call fcn.00406470
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46d470
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46d4da
mov eax, ebx
call fcn.0046f7cc
test al, al
jne 0x46d4da
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004051c4
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46d4c7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46d4e7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405128
jmp 0x46d4e7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405128
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46e8f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46e95e
mov eax, esi
call fcn.00458374
test al, al
je 0x46e95e
mov eax, dword [ebx + 0x84]
call fcn.00457fc4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46e95e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46e952
push 0
mov eax, dword [ebx + 0x84]
call fcn.00457fc4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044ff14
jmp 0x46e95e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046e72c
pop esi
pop ebx
ret

Function at 0x476dfc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004037fc
ret
Function at 0x477974
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407f58]
call fcn.00405bbc
xor eax, eax
push ebp
push 0x477b15
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x486b70], 0
jne 0x4779cf
mov ecx, dword [0x486c0c]
mov dl, 1
mov eax, dword [0x408590]
call fcn.0040d2f4
call fcn.00404a68
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004037fc
mov eax, ebx
call fcn.00405a3c
mov dword [ebp - 0x24], eax
mov esi, 0x477b24
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406b54
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405a4c
test eax, eax
jle 0x477ab8
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x477aa4
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405344
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x477a4a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040535c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x477a60
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.0040535c
mov eax, dword [ebp - 0x54]
call fcn.00405564
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405344
mov eax, dword [ebp - 0x58]
call fcn.00405564
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x477aa6
xor eax, eax
test al, al
je 0x477ab1
mov ebx, 0x15
jmp 0x477abd
mov ebx, 0x10
jmp 0x477abd
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x486b70]
call fcn.004777f4
mov eax, dword [ebp - 4]
call fcn.004777f4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406b6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477b1c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004050f8
lea eax, [ebp - 0xc]
mov edx, dword [0x407f58]
call fcn.00405c8c
ret
Function at 0x47e288
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405554
xor eax, eax
push ebp
push 0x47e32b
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp dword [ebp - 4], 0
je 0x47e315
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
mov dword [ebp - 0x1c], 1
or dword [ebp - 0x1c], 0x40
mov word [ebp - 0x18], 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405564
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x47e315
mov esi, dword [ebp - 0x58]
test bl, bl
je 0x47e315
jmp 0x47e30a
mov eax, dword [0x486f2c]
mov eax, dword [eax]
call fcn.0046d924
mov eax, esi
call fcn.0047e33c
test al, al
jne 0x47e2fe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e332
lea eax, [ebp - 4]
call fcn.004050d4
ret
Function at 0x4457cb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44580a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44580a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44580a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44580a
cmp dword [ecx + 0x74], 0xe
jbe 0x44580a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x44b388
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 0x44b425
push ebx
push esi
call fcn.0044b351
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.0044b2e5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44b3d2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44b424
push edi
push eax
call fcn.00449ceb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44b3f2
call fcn.00449d39
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44b423
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044b2e5
add esp, 0x20
test eax, eax
jne 0x44b411
push edi
call fcn.00449d39
jmp 0x44b419
push ebx
call fcn.00449d39
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 0x44c634
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4540c8
push 0x4540c0
push str.FlsAlloc
push 0x1f
call fcn.0044c4f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44c668
push dword [ebp + 8]
mov ecx, esi
call dword [0x452130]
call esi
jmp 0x44c66e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44c6b2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4540d8
push 0x4540d0
push str.FlsGetValue
push 0x21
call fcn.0044c4f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44c6e9
push dword [ebp + 8]
mov ecx, esi
call dword [0x452130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x44c6f1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4540e0
push 0x4540d8
push str.FlsSetValue
push 0x22
call fcn.0044c4f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44c72b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x452130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x451af0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x451b1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x451b1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100306d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x100306df
pop dword [ebp - 0x30]
mov eax, 0x100306df
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x7d3907ce
add dword [ebp - 0x40], 0xd1193d7d
mov dword [ebp - 0x3c], 0xb704a61a
sub dword [ebp - 0x3c], 0x84d159d5
mov dword [ebp - 0x38], 0x6cf80835
sub dword [ebp - 0x38], 0x20abc407
mov dword [ebp - 0x34], 0x833a0a3b
add dword [ebp - 0x34], 0x7cc5f5c5
lea eax, [ebp - 0x40]
push eax
mov eax, 0x70924c82
sub eax, 0x608c8b76
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x2a540353
sub dword [ebp - 0x40], 0xb5e199fd
mov dword [ebp - 0x3c], 0x9cba1d0c
sub dword [ebp - 0x3c], 0x5b4dbb97
mov dword [ebp - 0x38], 0x9349d8fb
add dword [ebp - 0x38], 0xd0259371
mov dword [ebp - 0x34], 0xa06e28e1
add dword [ebp - 0x34], 0x5f91d71f
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x57695
push 0
call eax
mov ecx, 0xb5bd5547
add ecx, 0x4a42e886
xor edi, edi
add edi, eax
mov ebx, 0x869d2836
add ebx, 0x8969a1ca
add ebx, dword [ebp - 0x30]
mov edx, 0x51d509bf
add edx, 0xf6beeb8e
xor dword [ebp - 0x20], 0x9fd12fb0
mov esi, dword [ebx]
add dword [ebp - 4], esi
sub esi, edx
mov dword [edi], esi
xor dword [ebp - 4], 0x3de02daf
add edi, 4
add ebx, 4
loop 0x100307f9
add eax, 0x6ce3e97b
sub eax, 0x6ce2ff74
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6ac894c3
add ecx, 0xa5376b3d
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x4027f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x402848
cmp byte [esi + ebx - 1], 0xa
je 0x40281c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4040f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x402890
Capabilities:
Schedule task via itaskservice

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push ebx
lea eax, [ebp - 0x4c]
sub esp, 0x8c
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x40611c
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x40541c
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x4029c9
xor ecx, ecx
xor edi, edi
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov word [ebp - 0x38], cx
xor ebx, ebx
mov word [ebp - 0x18], di
mov ecx, dword [ebp - 0x18]
mov word [ebp - 0x48], dx
mov edx, dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp - 0x14]
mov word [ebp - 0x28], bx
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp - 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x10], ecx
call dword [edx + 0x28]
sub esp, 0x44
test eax, eax
js 0x4029c0
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x18]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0x4c]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
sub esp, 4
test ebx, ebx
js 0x4029e0
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
test byte [0x404020], 1
jne 0x402a00
xor eax, eax
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
test byte [0x404020], 1
je 0x4029c9
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.GetFolder_failed:__08lx_n
jmp 0x402a0c
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Connect_failed:__08lx_n
mov dword [esp + 8], str.get_tasks_root_folder
mov dword [esp + 4], 0x404020
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
xor eax, eax
jmp 0x4029cb
Function at 0x4036c0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop