joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021b8c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10021bc3
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10021bb6
push 0
push 0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
jmp 0x10021bc1
push 0x1253
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x10021be4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 0x79b4
push 1
push dword [ebp - 0xc]
call fcn.1000ddde
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x100224e2
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10022542
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10022524
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10022522
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x10022540
push 0x92a
push 0x1f15
push 0x70f
push 0x2123
push 0x19
call dword [sym.imp.GDI32.dll_Ellipse]
jmp 0x1002256d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
push 0x65e8
push 0x1aa9
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x18]
push 0x72b7
call fcn.10021c80
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x1002258b
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100225d0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100225c3
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and dword [eax], 0
jmp 0x100225ce
push 0x1253
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x100225ed
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 0x1fd2
push 0
push 0x645d
push dword [ebp - 0x14]
call fcn.10018243
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10026a0b
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10026a41
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push 0x71ab
push dword [ebp - 8]
push 0x49b9
push 1
push dword [ebp - 0xc]
call fcn.10026a96
add esp, 0x14
jmp 0x10026a92
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10026a72
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10026a70
push 0
push 0x18dc
call dword [sym.imp.USER32.dll_ClientToScreen]
jmp 0x10026a92
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10026a92
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esp, ebp
pop ebp
ret

Function at 0x10026de2
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10026e6e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10026e64
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push 0x35a3
push 0x6923
push 0x1b57
mov eax, dword [ebp - 0x1c]
push dword [eax]
push 0x5503
push 1
push 0x6a2d
push dword [ebp - 0x20]
push 0x7225
push 0
push 0x1b16
push 1
push 0x7eab
call fcn.10026ff3
add esp, 0x34
jmp 0x10026e6c
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x10026ec5
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10026ea3
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10026ea1
push 0x1253
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x10026ec5
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10027afc
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x10027b76
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10027b4c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1002e222
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x10027b74
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10027b74
push 0
push 0x19c0
push 0x16eb
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x10027bc9
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x28]
push 0x35dc
push dword [ebp - 0x2c]
push 0x2e59
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.10022fa7
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x100280aa
Capabilities:
Delete registry key
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fd2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100281e6
mov dword [ebp - 0x20], 0x4a4
mov dword [ebp - 0x28], 0x100099bc
cmp dword [ebp - 0x20], 0x793
jle 0x10028181
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and dword [ebp - 0x14], 0
jmp 0x1002810a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x170c
jge 0x10028181
and dword [ebp - 0x18], 0
jmp 0x10028120
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7616
jge 0x1002817f
and dword [ebp - 0x1c], 0
jmp 0x10028136
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4615
jge 0x1002817d
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
call fcn.1000d7c0
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.1002e04f
push eax
call fcn.1004a056
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.1002e045
jmp 0x1002812f
jmp 0x10028119
jmp 0x10028103
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x37f
jge 0x1002819d
push dword [ebp - 0x28]
call fcn.1004a056
pop ecx
jmp 0x100281b9
or dword [ebp - 4], 0xffffffff
jmp 0x100281c3
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x100281dc
push 0
push 0xb52
call dword [sym.imp.USER32.dll_MapDialogRect]
jmp 0x100281e4
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x100281fa
push 0x62a7
push 1
push 0x7dae
call fcn.1000d812
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100282f2
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10028345
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10028327
push 0
push 0x1c11
push 0
call dword [sym.imp.GDI32.dll_GetBitmapBits]
jmp 0x10028343
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10028343
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x1002835e
push 0x642d
push 0
push 0x5e85
push 0x6ff7
call fcn.10021984
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10028d35
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10028d8c
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10028d82
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0xa99
push 0
push 1
push 0x5741
mov eax, dword [ebp - 0x10]
push dword [eax]
call fcn.1001abb5
add esp, 0x14
jmp 0x10028d8a
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x10028dc2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push 0x2cc3
push 0x53c9
push 0x7d1
push 0x6792
push 0x4ef6
push 0x4ff9
push dword [ebp - 0x14]
push 0x1495
push 0
call fcn.1002289e
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x10030476
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005ff9d
call fcn.1005f330
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x1c], 0x64e
cmp dword [ebp - 0x1c], 0x917
push edi
mov dword [ebp - 0x10], esp
jle 0x100304ee
push 0
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], 0x6ada
mov dword [ebp - 0x14], ecx
mov eax, edi
shl eax, cl
mov ecx, 0x106092f8
xor eax, esi
cdq
push edx
push eax
call fcn.1002e06f
mov ecx, dword [ebp - 0x14]
add ecx, ebx
dec dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
jne 0x100304b3
inc ebx
cmp ebx, 0x5713
jl 0x100304a7
inc edi
cmp edi, 0x65e8
jl 0x100304a5
inc esi
cmp esi, 0x6add
jl 0x100304a3
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x4c5
jge 0x1003050a
mov edx, 0x1000a554
mov ecx, 0x106092f8
call fcn.1002fb19
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10030537
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
mov eax, 0x1005ffa7
call fcn.1005f330
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 0x14], 0x3db3
cmp dword [ebp - 0x14], 0x4133
push edi
mov dword [ebp - 0x10], esp
jle 0x1003058b
push 0x2024
call dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x106092f8
xor eax, esi
cdq
push edx
push eax
call fcn.1002e06f
inc edi
cmp edi, 0x187c
jl 0x10030568
inc esi
cmp esi, 0x6399
jl 0x10030566
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x3b4f
jge 0x100305a7
mov edx, 0x1000a590
mov ecx, 0x106092f8
call fcn.1002fb19
fldz
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10036aa0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push 2
pop edx
xor ebx, ebx
mov dword [esi], edx
jmp 0x10036b03
mov dword [ebp - 8], 0xfb770a77
cmp dword [esi], ebx
jne 0x10036b07
mov dword [ebp - 8], ebx
jmp 0x10036ae6
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10036ad9
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 2
pop edx
mov ecx, dword [ebp - 8]
mov eax, dword [edi]
cmp dword [eax + ecx*4], ebx
jne 0x10036aeb
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jle 0x10036ac6
mov dword [ebp - 8], edx
cmp dword [ebp - 8], ebx
jl 0x10036b01
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
dec dword [ebp - 8]
jns 0x10036af3
dec dword [esi]
cmp dword [esi], ebx
jge 0x10036ab6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005b7f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10066750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1004d988
mov dword [ebp - 0x14], eax
cmp dword [0x1060a35c], esi
jne 0x1005b8e8
push 0x800
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1005b875
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1005b9c8
push esi
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1005b9c8
push 0x10007528
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005b9c8
push eax
call ebx
push 0x10007534
push edi
mov dword [0x1060a35c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007544
push edi
mov dword [0x1060a360], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007558
push edi
mov dword [0x1060a364], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060a36c], eax
test eax, eax
je 0x1005b8e5
push 0x10007574
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060a368], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1005b90d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005b900
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1005b922
push 4
pop eax
jmp 0x1005b9ca
cmp dword [ebp - 0x14], esi
je 0x1005b922
push dword [0x1060a35c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1005b907
mov eax, dword [0x1060a368]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1005b980
cmp dword [0x1060a36c], edi
je 0x1005b980
push eax
call ebx
push dword [0x1060a36c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1005b980
test eax, eax
je 0x1005b980
call ecx
test eax, eax
je 0x1005b975
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1005b975
test byte [ebp - 8], 1
jne 0x1005b980
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1005b9b0
mov eax, dword [0x1060a360]
cmp eax, edi
je 0x1005b9ad
push eax
call ebx
test eax, eax
je 0x1005b9ad
call eax
mov esi, eax
test esi, esi
je 0x1005b9ad
mov eax, dword [0x1060a364]
cmp eax, edi
je 0x1005b9ad
push eax
call ebx
test eax, eax
je 0x1005b9ad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1060a35c]
call ebx
test eax, eax
je 0x1005b9c8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1005b9ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004ae9c
mov esp, ebp
pop ebp
ret
Function at 0x1000fa10
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000fbd4
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x1000fa3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1000fa41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1000fa30
mov eax, 1
add ebx, ebx
jne 0x1000fa53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1000fa48
jne 0x1000fa64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000fa48
xor ecx, ecx
sub eax, 3
jb 0x1000fa78
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000faea
mov ebp, eax
add ebx, ebx
jne 0x1000fa83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1000fa90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1000fab4
inc ecx
add ebx, ebx
jne 0x1000faa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1000fa95
jne 0x1000fab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000fa95
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1000fad4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1000fac5
jmp 0x1000fa36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1000fad4
add edi, ecx
jmp 0x1000fa36
pop esi
mov edi, esi
mov ecx, 0x25c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1000faf2
cmp byte [edi], 5
jne 0x1000faf2
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 al, bl
loop 0x1000faf7
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x1000fb66
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf504]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf540]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1000fb24
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf544]
or eax, eax
je 0x1000fb60
mov dword [ebx], eax
add ebx, 4
jmp 0x1000fb41
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1000fb97
cmp al, 0xef
ja 0x1000fb8a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000fb6c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1000fb79
mov ebp, dword [esi + 0xf548]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1000fbcb
sub esp, 0xffffff80
jmp 0x100013c8
Function at 0x1001a8f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1001a905
pop dword [ebp - 0x40]
mov eax, 0x76992c4d
add eax, 0x99687cb8
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x43371
push 0
mov eax, 0x33b05735
add eax, 0xdc5309a7
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x7304e610
sub ecx, 0x73049377
mov edx, eax
mov edi, 0xa3b865a3
add edi, 0x6c4b585d
add edi, dword [ebp - 0x40]
mov esi, 0xb71a2d4c
sub dword [ebp - 0x38], ecx
mov ebx, dword [edi]
xor dword [ebp - 0x3c], edx
sub ebx, esi
add dword [ebp - 0x1c], 0xbb00ed8
mov dword [edx], ebx
add dword [ebp - 0x20], esi
add edx, 0x1c9c1fcc
add edx, 0xe363e038
add edi, 0x93f1b4df
add edi, 0x6c0e4b25
loop 0x1001a95e
add eax, 0x30d527da
sub eax, 0x30d3eaa3
xor ebx, ebx
add ebx, eax
add eax, 0xeda3d1d0
sub eax, 0xeda3d1cb
mov ecx, 0x1c192485
add ecx, 0xf3e6db7b
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1001a8f6
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1001a8f6
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret
Function at 0x6b2101
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.006b76ab
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x6bc29a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.006b76ab
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x6bc29a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
call fcn.006ad05f
mov eax, 0
cmp eax, ecx
jl 0x6b2181
push 0
push 0x4011022
push 1
call fcn.006b769f
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.006ad05f
mov eax, 0
cmp eax, ecx
jl 0x6b21b4
push 0x29
push 0x4011022
push 1
call fcn.006b769f
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x6b21ca
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x6b21f2
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x6b21ec
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x6b220b
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.006b7df0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x6b2267
push ebx
call fcn.006b7699
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x6b227c
mov ebx, dword [ebp - 4]
push ebx
call fcn.006b7699
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.006b7699
add esp, 4
mov esp, ebp
pop ebp
ret 0xc