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

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x100772f4
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x100a5be0], eax
call fcn.1007a0f0
test eax, eax
jne 0x10077254
ret 0xc
mov ecx, dword [0x100a5be0]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x100a5bec], edx
mov dword [0x100a5be8], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x100a5be4], eax
mov dword [0x100a5be0], ecx
call fcn.10078080
test eax, eax
jne 0x10077296
call fcn.1007a130
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x100a9ed8], eax
call fcn.10079f90
mov ecx, dword [0x100a9ed8]
mov dword [0x100a5b3c], eax
test ecx, ecx
je 0x100772e5
test eax, eax
je 0x100772e5
call fcn.10079470
call fcn.10079f80
call fcn.100797d0
call fcn.100796e0
call fcn.10079310
mov eax, dword [0x100a5b38]
inc eax
mov dword [0x100a5b38], eax
mov eax, 1
ret 0xc
call fcn.100780e0
call fcn.1007a130
xor eax, eax
ret 0xc
test eax, eax
jne 0x10077334
mov eax, dword [0x100a5b38]
test eax, eax
jle 0x1007732f
mov ecx, eax
mov eax, dword [0x100a5c18]
dec ecx
test eax, eax
mov dword [0x100a5b38], ecx
jne 0x10077318
call fcn.10079360
call fcn.10079680
call fcn.100780e0
call fcn.1007a130
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x10077343
push 0
call fcn.100781b0
add esp, 4
mov eax, 1
ret 0xc

Function at 0x10078080
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.10078ee0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x1009e4a0], eax
je 0x100780d8
push 0x74
push 1
call fcn.1007a810
mov esi, eax
add esp, 8
test esi, esi
je 0x100780d8
mov eax, dword [0x1009e4a0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x100780d8
push esi
call fcn.10078110
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

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

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x1009e4a0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1007819e
push 0x74
push 1
call fcn.1007a810
mov esi, eax
add esp, 8
test esi, esi
je 0x10078194
mov ecx, dword [0x1009e4a0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x10078194
push esi
call fcn.10078110
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.10077400
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
Function at 0x100781b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1009e4a0]
cmp eax, 0xffffffff
je 0x1007825f
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x100781d4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10078250
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100781e4
push eax
call fcn.10079110
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100781f4
push eax
call fcn.10079110
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10078204
push eax
call fcn.10079110
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10078214
push eax
call fcn.10079110
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10078224
push eax
call fcn.10079110
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10078234
push eax
call fcn.10079110
add esp, 4
mov eax, dword [esi + 0x50]
cmp eax, 0x1009e9a0
je 0x10078247
push eax
call fcn.10079110
add esp, 4
push esi
call fcn.10079110
add esp, 4
mov eax, dword [0x1009e4a0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret

Function at 0x10079370
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.10079430
mov eax, dword [0x100a5c1c]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x10079394
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x100a5c18], 1
mov byte [0x100a5c14], bl
jne 0x100793ee
mov ecx, dword [0x100a9ec8]
test ecx, ecx
je 0x100793dc
mov esi, dword [0x100a9ec4]
sub esi, 4
cmp esi, ecx
jb 0x100793dc
mov eax, dword [esi]
test eax, eax
je 0x100793d5
call eax
mov ecx, dword [0x100a9ec8]
sub esi, 4
cmp esi, ecx
jae 0x100793c7
push 0x10096020
push 0x10096018
call fcn.10079450
add esp, 8
push 0x1009602c
push 0x10096024
call fcn.10079450
add esp, 8
test ebx, ebx
je 0x1007940d
call fcn.10079440
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x100a5c1c], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10079f90
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x100a5f4c]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x10079fd2
call edi
mov esi, eax
test esi, esi
je 0x10079fbc
mov eax, 1
jmp 0x10079fcd
call ebp
mov ebx, eax
test ebx, ebx
je 0x1007a0df
mov eax, 2
mov dword [0x100a5f4c], eax
cmp eax, 1
jne 0x1007a072
test esi, esi
jne 0x10079feb
call edi
mov esi, eax
test esi, esi
je 0x1007a0df
cmp word [esi], 0
mov eax, esi
je 0x1007a005
add eax, 2
cmp word [eax], 0
jne 0x10079ff3
add eax, 2
cmp word [eax], 0
jne 0x10079ff3
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x1007a064
push edi
call fcn.1007a990
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1007a064
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1007a056
push ebx
call fcn.10079110
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x1007a0df
test ebx, ebx
jne 0x1007a083
call ebp
mov ebx, eax
test ebx, ebx
je 0x1007a0df
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x1007a09b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1007a08b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1007a08b
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.1007a990
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1007a0bd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x1007a1b0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x1009e910
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x1007a1d4
add eax, 8
inc ebp
cmp eax, 0x1009e9a0
jb 0x1007a1c5
cmp ecx, dword [ebp*8 + 0x1009e910]
jne 0x1007a37b
mov eax, dword [0x100a5b44]
cmp eax, 1
je 0x1007a33d
test eax, eax
jne 0x1007a200
cmp dword [0x100a5b48], 1
je 0x1007a33d
cmp ecx, 0xfc
je 0x1007a37b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1007a23b
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x1007a284
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x10093bb0
add ebx, ecx
push ebx
call fcn.1007c180
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
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 + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10093b90
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
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 + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x1009e914]
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
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.1007c910
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x100a9dc0]
test eax, eax
je 0x1007a34e
mov esi, dword [eax + 0x48]
cmp esi, 0xffffffff
jne 0x1007a358
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x1009e914]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor 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 edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x1007d2c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x41c
push ebx
mov ebx, dword [esp + 0x42c]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x1007d2ec
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x430]
mov eax, ecx
sar eax, 5
lea edi, [eax*4 + 0x100a9dc0]
mov eax, ecx
and eax, 0x1f
mov dword [esp + 0x24], edi
mov edx, dword [edi]
lea esi, [eax + eax*8]
shl esi, 2
mov dword [esp + 0x14], esi
test byte [esi + edx + 4], 0x20
je 0x1007d327
push 2
push ebp
push ecx
call fcn.1007da10
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x1007d489
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x1007d3d1
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x1007d382
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x1007d36f
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x1007d352
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1007d47a
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x1007d3cd
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x1007d34e
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1007d469
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1007d425
cmp eax, 5
jne 0x1007d40e
call fcn.1007a960
mov dword [eax], 9
call fcn.1007a970
mov dword [eax], 5
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.1007a8e0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x1007d445
cmp byte [ebp], 0x1a
jne 0x1007d445
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
call fcn.1007a960
mov dword [eax], 0x1c
call fcn.1007a970
mov dword [eax], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x1007d3cd
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1007d4ba
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x1007d3d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x1007d3d1
Function at 0x1007d4d0
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x100a60cc]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
test eax, eax
jne 0x1007d518
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x1007d4f8
mov eax, 1
jmp 0x1007d513
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1007d5e9
mov eax, 2
mov dword [0x100a60cc], eax
cmp eax, 1
jne 0x1007d538
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x1007d5fb
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1007d553
mov ecx, dword [0x100a5bc8]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
test esi, esi
jne 0x1007d572
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.1007a990
mov edi, eax
add esp, 4
test edi, edi
jne 0x1007d586
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1007d5e0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1007d5c4
mov edx, dword [esp + 0x24]
push eax
push eax
push 0xffffffffffffffff
push edi
push 1
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
je 0x1007d5e0
push edi
call fcn.10079110
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push edi
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jne 0x1007d5f0
push edi
call fcn.10079110
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call fcn.10079110
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1007d600
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x100a60d0]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
test eax, eax
jne 0x1007d648
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1007d62c
mov eax, 1
jmp 0x1007d643
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x1007d728
mov eax, 2
mov dword [0x100a60d0], eax
cmp eax, 2
jne 0x1007d668
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 1
jne 0x1007d73a
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1007d683
mov ecx, dword [0x100a5bc8]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x1007d6a2
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [edi + edi]
push edx
call fcn.1007a990
mov esi, eax
add esp, 4
test esi, esi
jne 0x1007d6b9
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1007d71f
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push 0
jne 0x1007d700
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x1007d71f
push esi
call fcn.10079110
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push 0xffffffffffffffff
push esi
push 0x220
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x1007d72f
push esi
call fcn.10079110
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.10079110
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100c2359
Capabilities:
Encode data using xor

Disassembly:
call 0x100c22d2
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 0x100c2302
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 0x100c231e
xor edx, 0
jmp 0x100c2329
xor edx, edx
jmp 0x100c2340
jmp 0x100c234c
xor eax, eax
push 0x8427d7c0
call 0x100c2359
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100c2395
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 0x100c236e
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 0x100c23ac
add eax, 0
jno 0x100c23b1
add esi, 0
ret 0x10

Function at 0x100c311a
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 0x100c313c
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 0x100c32de
cmp edi, dword [ebp + 0x10]
jb 0x100c32de
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.100c2c06
inc edi
jmp 0x100c31c5
jmp 0x100c31d2
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100c2c06
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100c2c06
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 0x100c3226
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 0x100c320a
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100c3254
add dword [eax], 0x39
jle 0x100c3230
sub al, 0xf5
mov ch, al
call fcn.100c3269
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x100c4f41
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 0x100c4f57
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 0x100c4f68
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100c4fa9
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 0x100c7315
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 0x100c725e
add ebx, 0
push ecx
call 0x100c7273
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, 0x6cc482e8
sub ebx, dword [0x6cc67b27]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cc67b17
call fcn.100c2d3d
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100c224b
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100c73d1
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100c73d1
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 0x100c7388
mov eax, 1
lock xchg dword [0x6cc67b23], eax
push 0x3dd1fc71
call 0x100c7315
push esi
add esp, 8
cmp eax, 0
jne 0x100c72fe
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100c7324
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100c7339
cmp ecx, edx
cmp eax, 0
je 0x100c735e
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 0x100c7348
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100c7377
dec eax
loope 0x100c737a
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cc67b23], 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 0x100c73ae
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100c73c3
jmp 0x100c73ce
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100c72bc
Function at 0x100ce436
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 0x100ce70c
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6cc5479b
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6cc4b761
push 0xffffffffffffffff
call fcn.100c5636
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 0x100ce4a0
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100ce4b8
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 0x100ce700
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100ce6d4