joyce8/EMBER2024-capa huggingface dataset:
Function at 0x17dfb3c0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x17dfb4c7
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp dword [0x17e908b4], 0
mov dword [0x17e908bc], eax
jne 0x17dfb41f
cmp al, 3
jne 0x17dfb3f6
test eax, 0x80000000
je 0x17dfb3f6
push 2
call fcn.17dfc420
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x17dfb41f
push str.IsTNT
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x17dfb41f
push 1
call fcn.17dfc420
add esp, 4
call fcn.17dfb950
test eax, eax
jne 0x17dfb42d
xor eax, eax
ret 0xc
xor edx, edx
mov ecx, dword [0x17e908bc]
mov dl, ch
mov eax, ecx
shr ecx, 0x10
and eax, 0xff
mov dword [0x17e908c8], edx
mov dword [0x17e908c4], eax
shl eax, 8
mov dword [0x17e908bc], ecx
add eax, edx
mov dword [0x17e908c0], eax
call fcn.17dfb780
test eax, eax
jne 0x17dfb46f
call fcn.17dfb990
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x17e82084], eax
call fcn.17dfc290
cmp dword [0x17e82084], 0
mov dword [0x17e908a4], eax
je 0x17dfb4b8
test eax, eax
je 0x17dfb4b8
call fcn.17dfb9d0
call fcn.17dfc280
call fcn.17dfbd00
call fcn.17dfbc10
call fcn.17dfb620
mov eax, 1
inc dword [0x17e908a0]
ret 0xc
call fcn.17dfb7e0
call fcn.17dfb990
xor eax, eax
ret 0xc
test eax, eax
jne 0x17dfb504
mov eax, dword [0x17e908a0]
test eax, eax
jle 0x17dfb4ff
dec eax
cmp dword [0x17e908f4], 0
mov dword [0x17e908a0], eax
jne 0x17dfb4e8
call fcn.17dfb670
call fcn.17dfbbb0
call fcn.17dfb7e0
call fcn.17dfb990
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x17dfb513
push 0
call fcn.17dfb8a0
add esp, 4
mov eax, 1
ret 0xc

Function at 0x17dfb680
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
call fcn.17dfb740
cmp dword [0x17e908f8], 1
mov esi, dword [esp + 0x10]
jne 0x17dfb6a3
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x17e908f4], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x17e908f0], bl
jne 0x17dfb6fd
cmp dword [0x17e8207c], 0
je 0x17dfb6eb
mov edi, dword [0x17e82078]
sub edi, 4
cmp edi, dword [0x17e8207c]
jb 0x17dfb6eb
mov eax, dword [edi]
test eax, eax
je 0x17dfb6e0
call eax
sub edi, 4
cmp edi, dword [0x17e8207c]
jae 0x17dfb6d8
push 0x17e8f01c
push 0x17e8f014
call fcn.17dfb760
add esp, 8
push 0x17e8f024
push 0x17e8f020
call fcn.17dfb760
add esp, 8
test ebx, ebx
je 0x17dfb71c
call fcn.17dfb750
pop edi
pop esi
pop ebx
ret
mov dword [0x17e908f8], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x17dfb780
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.17dfc670
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x17e908fc], eax
cmp eax, 0xffffffff
jne 0x17dfb79a
xor eax, eax
pop esi
ret
push 0x74
push 1
call fcn.17dfc880
add esp, 8
mov esi, eax
test esi, esi
je 0x17dfb7dc
push esi
mov eax, dword [0x17e908fc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x17dfb7dc
push esi
call fcn.17dfb810
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x17dfb830
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x17e908fc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x17dfb893
push 0x74
push 1
call fcn.17dfc880
add esp, 8
mov edi, eax
test edi, edi
je 0x17dfb889
push edi
mov eax, dword [0x17e908fc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x17dfb889
push edi
call fcn.17dfb810
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi], eax
mov dword [edi + 4], 0xffffffff
jmp 0x17dfb893
push 0x10
call fcn.17dfb5e0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
ret

Function at 0x17dfb8a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x17e908fc], 0xffffffff
push esi
je 0x17dfb93f
mov esi, dword [esp + 8]
test esi, esi
jne 0x17dfb8c8
mov eax, dword [0x17e908fc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x17dfb931
mov eax, dword [esi + 0x24]
test eax, eax
je 0x17dfb8d8
push eax
call fcn.17dfc930
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x17dfb8e8
push eax
call fcn.17dfc930
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x17dfb8f8
push eax
call fcn.17dfc930
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x17dfb908
push eax
call fcn.17dfc930
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x17dfb918
push eax
call fcn.17dfc930
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x17dfb928
push eax
call fcn.17dfc930
add esp, 4
push esi
call fcn.17dfc930
add esp, 4
push 0
mov eax, dword [0x17e908fc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret
Function at 0x17dfc290
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x17e90b4c], ebx
jne 0x17dfc2df
call esi
cmp eax, ebx
mov edi, eax
je 0x17dfc2bd
mov dword [0x17e90b4c], 1
jmp 0x17dfc2df
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x17dfc2d5
mov dword [0x17e90b4c], 2
jmp 0x17dfc2df
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x17e90b4c], 1
jne 0x17dfc38e
test edi, edi
jne 0x17dfc302
call esi
mov edi, eax
test edi, edi
jne 0x17dfc302
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x17dfc31c
add esi, 2
cmp word [esi], 0
jne 0x17dfc30a
add esi, 2
cmp word [esi], 0
jne 0x17dfc30a
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x17dfc37d
push ebp
call fcn.17dfd100
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x17dfc37d
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x17dfc36c
push ebx
call fcn.17dfc930
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x17e90b4c], 2
jne 0x17dfc412
test ebx, ebx
jne 0x17dfc3b1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x17dfc3b1
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x17dfc3c6
inc ebp
cmp byte [ebp], 0
jne 0x17dfc3b8
inc ebp
cmp byte [ebp], 0
jne 0x17dfc3b8
sub ebp, ebx
inc ebp
push ebp
call fcn.17dfd100
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x17dfc3eb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x17dfc470
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x17e90b50
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x17dfc497
add eax, 8
inc ecx
cmp eax, 0x17e90be0
jb 0x17dfc488
cmp dword [ecx*8 + 0x17e90b50], edx
lea ebx, [ecx*8]
jne 0x17dfc65b
cmp dword [0x17e908b0], 1
je 0x17dfc617
cmp dword [0x17e908b0], 0
jne 0x17dfc4ce
cmp dword [0x17e908b4], 1
je 0x17dfc617
cmp edx, 0xfc
je 0x17dfc65b
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x17dfc50b
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x17dfc54f
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x17e8eac0
push ebp
call fcn.17dfd270
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x17e8eaa0
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x17e90b54]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.17dfd1d0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
cmp dword [0x17e81f70], 0
je 0x17dfc62d
mov eax, dword [0x17e81f70]
mov esi, dword [eax + 0x48]
cmp esi, 0xffffffff
jne 0x17dfc637
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x17e90b54]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x17dfd8a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x418
push ebx
push esi
push edi
push ebp
xor edi, edi
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x20], edi
cmp ebp, edi
jne 0x17dfd8c8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov edx, dword [esp + 0x42c]
mov eax, edx
and eax, 0xffffffe7
sar eax, 3
add eax, 0x17e81f70
mov dword [esp + 0x18], eax
mov eax, edx
and eax, 0x1f
mov ebx, dword [esp + 0x18]
shl eax, 2
lea ecx, [eax + eax*8]
mov eax, dword [ebx]
mov dword [esp + 0x1c], ecx
test byte [eax + ecx + 4], 0x20
je 0x17dfd909
push 2
push 0
push edx
call fcn.17dfde10
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, dword [eax]
test byte [ecx + 4], 0x80
je 0x17dfd9a5
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x430]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x17dfd9de
lea esi, [esp + 0x24]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x17dfd96c
mov al, byte [ebx]
inc ebx
cmp al, 0xa
jne 0x17dfd95a
mov byte [esi], 0xd
inc edi
inc esi
mov byte [esi], al
inc esi
mov eax, esi
lea ecx, [esp + 0x24]
sub eax, ecx
cmp eax, 0x400
jl 0x17dfd941
lea eax, [esp + 0x24]
push 0
sub esi, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push esi
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x17dfd9d4
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
cmp eax, esi
jge 0x17dfd92c
jmp 0x17dfd9de
lea eax, [esp + 0x14]
push 0
mov edx, dword [esp + 0x434]
push eax
push ebp
mov ecx, dword [ecx]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x17dfd9d4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x17dfd9de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
jne 0x17dfda8a
cmp dword [esp + 0x10], 0
je 0x17dfda3a
cmp dword [esp + 0x10], 5
jne 0x17dfda1d
call fcn.17dfdc60
mov dword [eax], 9
call fcn.17dfdc70
mov ecx, dword [esp + 0x10]
pop ebp
pop edi
mov dword [eax], ecx
mov eax, 0xffffffff
pop esi
pop ebx
add esp, 0x418
ret
mov ecx, dword [esp + 0x10]
push ecx
call fcn.17dfdbe0
add esp, 4
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
test byte [edx + ecx + 4], 0x40
je 0x17dfda64
mov eax, dword [esp + 0x430]
cmp byte [eax], 0x1a
jne 0x17dfda64
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
call fcn.17dfdc60
mov dword [eax], 0x1c
call fcn.17dfdc70
pop ebp
mov dword [eax], 0
mov eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x20]
pop ebp
sub eax, edi
pop edi
pop esi
pop ebx
add esp, 0x418
ret
Function at 0x17e963f2
Capabilities:
Encode data using xor

Disassembly:
call 0x17e9636b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x17e9639b
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x17e963b7
xor edx, 0
jmp 0x17e963c2
xor edx, edx
jmp 0x17e963d9
jmp 0x17e963e5
xor eax, eax
push 0x8427d7c0
call 0x17e963f2
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x17e9642e
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x17e96407
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x17e96445
add eax, 0
jno 0x17e9644a
add esi, 0
ret 0x10

Function at 0x17e971b3
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x17e971d5
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x17e97377
cmp edi, dword [ebp + 0x10]
jb 0x17e97377
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.17e96c9f
inc edi
jmp 0x17e9725e
jmp 0x17e9726b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.17e96c9f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.17e96c9f
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x17e972bf
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x17e972a3
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.17e972ed
add dword [eax], 0x39
jle 0x17e972c9
sub al, 0xf5
mov ch, al
call fcn.17e97302
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x17e98fda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x17e98ff0
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x17e99001
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.17e99042
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x17e9b3ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x17e9b2f7
add ebx, 0
push ecx
call 0x17e9b30c
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x71d1a090
sub ebx, dword [0x71d398cf]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71d398bf
call fcn.17e96dd6
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.17e962e4
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x17e9b46a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x17e9b46a
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x17e9b421
mov eax, 1
lock xchg dword [0x71d398cb], eax
push 0x3dd1fc71
call 0x17e9b3ae
push esi
add esp, 8
cmp eax, 0
jne 0x17e9b397
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x17e9b3bd
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x17e9b3d2
cmp ecx, edx
cmp eax, 0
je 0x17e9b3f7
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x17e9b3e1
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.17e9b410
dec eax
loope 0x17e9b413
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71d398cb], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x17e9b447
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x17e9b45c
jmp 0x17e9b467
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x17e9b355
Function at 0x17ea24cf
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x17ea27a5
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71d26543
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x71d1d509
push 0xffffffffffffffff
call fcn.17e996cf
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x17ea2539
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.17ea2551
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x17ea2799
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x17ea276d
Function at 0x17eb1f9f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x17eb1fc1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x17eb1fc1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x17eb1fc1
ret
cmp word [ebx + 4], 0x14c
jne 0x17eb1fc1
test word [ebx + 0x16], 2
je 0x17eb1fc1
test word [ebx + 0x16], 0x100
je 0x17eb1fc1
cmp word [ebx + 0x18], 0x10b
jne 0x17eb1fc1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x17eb1fc1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x17eb204d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x17eb1fe1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.17e98f2c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x17eb1fc1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x17eb204d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x17eb1fc1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x17eb1fc1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x17eb1fc1
ret
cmp word [ebx + 4], 0x14c
jne 0x17eb1fc1
test word [ebx + 0x16], 2
je 0x17eb1fc1
test word [ebx + 0x16], 0x100
je 0x17eb1fc1
cmp word [ebx + 0x18], 0x10b
jne 0x17eb1fc1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x17eb1fc1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x17eb204d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x17eb1fe1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.17e98f2c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x17eb1fc1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8