joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
mov dword [ebp - 8], 0
jmp 0x10007d1e
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x12
jae 0x10007d37
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx*8 + 0x10022fc0]
jne 0x10007d35
jmp 0x10007d37
jmp 0x10007d15
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax*8 + 0x10022fc0]
jne 0x10007eea
cmp dword [ebp + 8], 0xfc
je 0x10007d74
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x10022fc4]
push eax
push 0
push 0
push 0
push 1
call fcn.10004880
add esp, 0x14
cmp eax, 1
jne 0x10007d74
int3
cmp dword [0x10025128], 1
je 0x10007d8f
cmp dword [0x10025128], 0
jne 0x10007dfa
cmp dword [0x1002512c], 1
jne 0x10007dfa
cmp dword [0x10026920], 0
je 0x10007db5
mov ecx, dword [0x10026920]
cmp dword [ecx + 0x48], 0xffffffff
je 0x10007db5
mov edx, dword [0x10026920]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x1b4], eax
jmp 0x10007dc3
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x1b4], eax
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x10022fc4]
push eax
call fcn.10009640
add esp, 4
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x10022fc4]
push edx
mov eax, dword [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10007eea
cmp dword [ebp + 8], 0xfc
je 0x10007eea
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10007e33
push str._program_name_unknown_
lea edx, [ebp - 0x110]
push edx
call fcn.10009210
add esp, 8
lea eax, [ebp - 0x110]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10009640
add esp, 4
add eax, 1
cmp eax, 0x3c
jbe 0x10007e7c
lea edx, [ebp - 0x110]
push edx
call fcn.10009640
add esp, 4
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax - 0x3b]
mov dword [ebp - 0xc], edx
push 3
push 0x1001ea58
mov eax, dword [ebp - 0xc]
push eax
call fcn.1000a380
add esp, 0xc
push str.Runtime_Error__n_nProgram:
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.10009210
add esp, 8
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x1b0]
push eax
call fcn.10009220
add esp, 8
push 0x1001e9cc
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.10009220
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x10022fc4]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.10009220
add esp, 8
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
lea edx, [ebp - 0x1b0]
push edx
call fcn.1000a2c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014040
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x100254d4], 0
jne 0x10014092
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001406d
mov dword [0x100254d4], 1
jmp 0x10014092
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1001408b
mov dword [0x100254d4], 2
jmp 0x10014092
xor eax, eax
jmp 0x100141ad
cmp dword [0x100254d4], 1
jne 0x100140b6
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x100141ad
cmp dword [0x100254d4], 2
jne 0x100141ad
mov dword [ebp - 8], 0
cmp dword [ebp + 0x18], 0
jne 0x100140d9
mov ecx, dword [0x10025460]
mov dword [ebp + 0x18], ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100140fb
xor eax, eax
jmp 0x100141ad
push 0x64
push str.aw_loc.c
push 2
mov ecx, dword [ebp - 4]
push ecx
call fcn.100014e0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10014120
xor eax, eax
jmp 0x100141ad
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1001413c
jmp 0x1001419d
cmp dword [ebp + 0x14], 0
jne 0x10014165
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10014163
jmp 0x1001419d
jmp 0x1001418a
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001418a
jmp 0x1001419d
push 2
mov eax, dword [ebp - 8]
push eax
call fcn.10001f70
add esp, 8
mov eax, dword [ebp - 0xc]
jmp 0x100141ad
push 2
mov ecx, dword [ebp - 8]
push ecx
call fcn.10001f70
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100141c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x100254d8], 0
jne 0x10014212
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100141ed
mov dword [0x100254d8], 2
jmp 0x10014212
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001420b
mov dword [0x100254d8], 1
jmp 0x10014212
xor eax, eax
jmp 0x10014340
cmp dword [0x100254d8], 2
jne 0x10014236
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x10014340
cmp dword [0x100254d8], 1
jne 0x10014340
mov dword [ebp - 8], 0
cmp dword [ebp + 0x18], 0
jne 0x10014259
mov ecx, dword [0x10025460]
mov dword [ebp + 0x18], ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001427b
xor eax, eax
jmp 0x10014340
push 0xd2
push str.aw_loc.c
push 2
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
call fcn.100014e0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100142a5
xor eax, eax
jmp 0x10014340
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100142c1
jmp 0x10014330
cmp dword [ebp + 0x14], 0
jne 0x100142f1
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
push 0x220
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100142ef
jmp 0x10014330
jmp 0x1001431d
push 0
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
push 0x220
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001431d
jmp 0x10014330
push 2
mov eax, dword [ebp - 8]
push eax
call fcn.10001f70
add esp, 8
mov eax, dword [ebp - 0xc]
jmp 0x10014340
push 2
mov ecx, dword [ebp - 8]
push ecx
call fcn.10001f70
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40e5f1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x428da0
call fcn.00417869
mov ecx, dword [ebp + 0xc]
call fcn.00401715
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 1
push ebx
push str.SoftwareAutoIt_v3AutoIt
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40e629
xor al, al
jmp 0x40e6bc
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push str.Include
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e6b1
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call main
pop ecx
push eax
lea ecx, [ebp - 0x1c]
call main
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x1c]
push eax
push esi
push ebx
push ebx
push str.Include
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e69c
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov dword [ebp - 0x10], eax
push esi
mov word [esi + eax*2], cx
mov ecx, dword [ebp + 0xc]
call main
mov bl, 1
mov eax, dword [ebp - 0x18]
dec dword [eax]
jne 0x40e6b1
push eax
call fcn.00412769
push esi
call fcn.00412769
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.00417846
ret

Function at 0x40ebf1
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0x24
mov eax, 0x428e41
call fcn.00417869
push ecx
lea ecx, [ebp - 0x30]
call main
xor ebx, ebx
lea ecx, [ebp - 0x30]
push 0x433988
mov dword [ebp - 4], ebx
call main
mov esi, dword [ebp - 0x30]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40eca2
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x40ec40
push ebx
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x40ec45
jmp 0x40eca6
cmp eax, 3
jne 0x40eca8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
inc dword [eax]
push 0x433988
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call main
cmp eax, 0xffffffff
je 0x40ec98
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x20]
call main
lea ecx, [ebp - 0x20]
call fcn.0040ebf1
test al, al
je 0x40ec96
push ebx
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
setne al
mov bl, al
lea ecx, [ebp - 0x20]
call fcn.004015bf
jmp 0x40eca8
test al, 0x10
je 0x40eca8
mov bl, 1
lea ecx, [ebp - 0x30]
call fcn.004015bf
mov al, bl
call fcn.00417846
ret
Function at 0x410584
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x410593
pop dword [ebp - 0x38]
mov eax, 0x43d897a3
sub eax, 0x43979210
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x47e40dd7
add dword [ebp - 0x48], 0x66e3774
mov dword [ebp - 0x44], 0x9af88f8e
sub dword [ebp - 0x44], 0x68c54349
mov dword [ebp - 0x40], 0xb4369dc3
sub dword [ebp - 0x40], 0x67ea5995
mov dword [ebp - 0x3c], 0xf4d5565b
sub dword [ebp - 0x3c], 0xf4d5565b
lea eax, [ebp - 0x48]
push eax
mov eax, 0x46d6c904
sub eax, 0x469428b0
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x2ba9fe6a
sub dword [ebp - 0x48], 0xb7379514
mov dword [ebp - 0x44], 0xefc95acd
sub dword [ebp - 0x44], 0xae5cf958
mov dword [ebp - 0x40], 0xdcfd8a7e
sub dword [ebp - 0x40], 0x798e1e12
mov dword [ebp - 0x3c], 0x74f34e1
sub dword [ebp - 0x3c], 0x74f34e1
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xf36c5988
sub eax, 0xf329b930
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3fa97
push 0
call eax
mov ecx, 0x474c
xor edx, edx
add edx, eax
mov ebx, 0x5bae0ed2
add ebx, 0xa4a69d2e
add ebx, dword [ebp - 0x38]
mov esi, 0xb652380b
add esi, 0xb26a14f7
xor dword [ebp - 0x28], ebx
mov edi, dword [ebx]
xor dword [ebp - 8], 0x9f2093e0
sub edi, esi
mov dword [ebp - 0xc], 0x8f05516e
mov dword [edx], edi
xor dword [ebp - 0x34], 0xbdda36ab
add edx, 4
add ebx, 4
loop 0x4106b1
add eax, 0xbd603c14
sub eax, 0xbd5f2c11
mov ebx, eax
add eax, 0x58676d4e
add eax, 0xa79892b7
mov ecx, 0xd452957d
sub ecx, 0xd412957d
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x4107f5
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 1
jne 0x41081b
push dword [esi + 0x448]
mov eax, dword [esi + 0xc]
push dword [esi + 0x444]
add eax, dword [esi + 4]
push eax
call fcn.00412770
add esp, 0xc
jmp 0x410834
push dword [esi + 0x20]
push dword [esi + 0x448]
push 1
push dword [esi + 0x444]
call fcn.0041375f
add esp, 0x10
mov eax, dword [esi + 0x448]
add dword [esi + 0xc], eax
and dword [esi + 0x448], 0
pop esi
ret

Function at 0x410d5a
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 8
push 0
lea eax, [esi + 0x44]
push eax
call fcn.004158c0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
pop esi
ret

Function at 0x4118f4
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x411913
push esi
mov esi, dword [eax + 0x208]
push eax
call main
mov eax, esi
pop ecx
test esi, esi
jne 0x4118ff
pop esi
push dword [edi + 4]
push 4
push 1
push str.AU3_
call fcn.0041375f
push dword [edi + 4]
push 4
push 1
push 0x43c314
call fcn.0041375f
push dword [edi + 4]
call fcn.00412faf
add esp, 0x24
pop edi
ret
Function at 0x401070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c030]
jne 0x40107a
repz ret
jmp fcn.00401e51

Function at 0x408b0b
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.00404d5a
and dword [ebp - 4], 0
cmp dword [0x44e848], 0
mov ebx, eax
jne 0x408bbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c6d
push eax
call fcn.00404ce8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44e848], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44e84c], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44e850], eax
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x44e858], eax
test eax, eax
je 0x408bbc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x44e854], eax
mov eax, dword [0x44e854]
cmp eax, ebx
je 0x408c14
cmp dword [0x44e858], ebx
je 0x408c14
push eax
call fcn.00404d63
push dword [0x44e858]
mov esi, eax
call fcn.00404d63
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408c14
test edi, edi
je 0x408c14
call esi
test eax, eax
je 0x408c0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408c0b
test byte [ebp - 0xc], 1
jne 0x408c14
or dword [ebp + 0x10], 0x200000
jmp 0x408c4d
mov eax, dword [0x44e84c]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c4d
mov eax, dword [0x44e850]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44e848]
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40adb0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x420
mov eax, dword [0x44c030]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x2c2c23c]
push ebx
mov ebx, dword [0x2c2bf60]
push esi
mov esi, dword [0x44cf60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40adf1
push str.zolihetujejijitewi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c2c23c]
mov dword [0x44e9ec], esi
cmp eax, 0x114e
jne 0x40ae1b
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2c2c23c]
cmp eax, 0x2f
jne 0x40ae3b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
call fcn.0040aca0
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401070
add esp, 0x420
ret
Function at 0x41dbed
Capabilities:
Parse pe header

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

Function at 0x423bef
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e338
push 0x42e330
push str.FlsAlloc
push 0x1f
call fcn.00423aae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423c23
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c144]
call esi
jmp 0x423c29
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x423c6d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e348
push 0x42e340
push str.FlsGetValue
push 0x21
call fcn.00423aae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423ca4
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x423cac
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e350
push 0x42e348
push str.FlsSetValue
push 0x22
call fcn.00423aae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423ce6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42c144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42549e
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 0x42553b
push ebx
push esi
call fcn.00425467
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.004253fb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4254e8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42553a
push edi
push eax
call fcn.00423eb1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x425508
call fcn.00423eff
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425539
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004253fb
add esp, 0x20
test eax, eax
jne 0x425527
push edi
call fcn.00423eff
jmp 0x42552f
push ebx
call fcn.00423eff
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 0x42b780
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42b7ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42b7ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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 0x50ac78
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x565730]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004ffc1b
and dword [ebp - 0x14], 0
cmp dword [0x56d07c], 0
mov dword [ebp - 0x18], eax
jne 0x50ad2b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x50add3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5464f8
push ebx
call edi
test eax, eax
je 0x50add3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5464e8
push ebx
mov dword [0x56d07c], eax
call edi
push eax
call esi
push 0x5464d4
push ebx
mov dword [0x56d080], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x56d084], eax
call edi
push eax
call esi
mov dword [0x56d08c], eax
test eax, eax
je 0x50ad2b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x56d088], eax
mov eax, dword [0x56d088]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x50ad84
cmp dword [0x56d08c], ecx
je 0x50ad84
push eax
call esi
push dword [0x56d08c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x50ad84
test ebx, ebx
je 0x50ad84
call edi
test eax, eax
je 0x50ad7b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x50ad7b
test byte [ebp - 8], 1
jne 0x50ad84
or dword [ebp + 0x10], 0x200000
jmp 0x50adb7
mov eax, dword [0x56d080]
cmp eax, dword [ebp - 0x18]
je 0x50adb7
push eax
call esi
test eax, eax
je 0x50adb7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x50adb7
mov eax, dword [0x56d084]
cmp eax, dword [ebp - 0x18]
je 0x50adb7
push eax
call esi
test eax, eax
je 0x50adb7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x56d07c]
call esi
test eax, eax
je 0x50add3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x50add5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f86c7
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