joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005f1de
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100650c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10054464
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10054464
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1005f255
cmp word [ecx], dx
je 0x1005f255
mov eax, dword [0x100c1a54]
push edi
dec eax
push eax
push 0x100c1940
call fcn.1005f17d
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1005f2c8
cmp word [eax], dx
je 0x1005f2c8
mov eax, dword [edi]
test eax, eax
je 0x1005f279
cmp word [eax], dx
je 0x1005f279
lea eax, [ebp - 0x10]
push eax
call fcn.1005eb60
jmp 0x1005f282
lea eax, [ebp - 0x10]
push eax
call fcn.1005ebfb
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1005f2f2
mov eax, dword [0x100c193c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100c1630
call fcn.1005f17d
add esp, 0xc
test al, al
je 0x1005f2f2
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1005f2bd
cmp word [eax], di
je 0x1005f2bd
lea eax, [ebp - 0x10]
push eax
call fcn.1005eb60
pop ecx
jmp 0x1005f2f4
lea eax, [ebp - 0x10]
push eax
call fcn.1005ebfb
jmp 0x1005f2ba
mov eax, dword [edi]
test eax, eax
je 0x1005f2df
cmp word [eax], dx
je 0x1005f2df
lea eax, [ebp - 0x10]
push eax
call fcn.1005eb15
pop ecx
jmp 0x1005f2f2
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1005f3bd
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1005f002
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1005f3bd
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1005f3bd
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1005f3bd
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1005f34a
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1005782d
test ebx, ebx
je 0x1005f3b8
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1005782d
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1005f3bd
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1005f3bd
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100610fa
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1005f3bf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004ae19
leave
ret
Function at 0x10061651
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100615cd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100617c0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100617c0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10061775
jg 0x100616ad
test eax, eax
je 0x1006176b
push 1
push 0x1000
call fcn.100571b6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100616d0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10061762
push 0x8000
push ebx
call fcn.100614fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100616f9
jg 0x100616f4
cmp ecx, 0x1000
jb 0x100616f9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10056a12
add esp, 0x10
cmp eax, 0xffffffff
je 0x1006173e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100616f4
jl 0x10061725
test ecx, ecx
jne 0x100616e6
push dword [ebp - 0xc]
push ebx
call fcn.100614fe
push esi
call fcn.10056c2e
add esp, 0xc
xor ebx, ebx
jmp 0x100617ce
cmp byte [edi + 0x24], 0
je 0x10061755
cmp dword [edi + 0x20], 5
jne 0x10061755
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10061760
mov ebx, dword [edi + 0x18]
jmp 0x10061762
xor ebx, ebx
push esi
call fcn.10056c2e
pop ecx
jmp 0x100617ce
test ecx, ecx
jg 0x10061737
jl 0x10061775
test eax, eax
jae 0x10061737
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1005931a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10061795
cmp byte [edi + 0x1c], 0
je 0x10061737
jmp 0x100617c6
push ebx
call fcn.1005cfa7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10061737
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100617ce
cmp byte [edi + 0x1c], 0
je 0x100617cb
mov ebx, dword [edi + 0x18]
jmp 0x100617ce
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1005931a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10062aa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10062acd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10062acd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407280
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x14]
push esi
mov esi, edx
mov dword [ebp - 0x38], ebx
push edi
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
call fcn.004071c4
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add edi, 0x23f
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], eax
pop esi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov edx, dword [ebp - 0xc]
mov eax, edx
mov ecx, dword [0x1a27864]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x407308
push 0x401188
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [0x1a27864]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x1a278a8]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x1a278a8], eax
mov eax, dword [0x1a278b0]
cmove eax, dword [ebp - 0x24]
mov dword [0x1a278b0], eax
lea eax, [edi + edx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x1a278ac], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x1c]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [ebp - 0x1c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
cmp dword [0x1a27864], 0xb03
jne 0x4073df
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0x40118c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4072d0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x38]
pop edi
pop esi
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407429
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
shr esi, 3
push edi
mov edi, ecx
test esi, esi
je 0x407467
cmp dword [0x1a27864], 0x959
jne 0x407457
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.00407280
add edi, 8
dec esi
jne 0x407439
pop edi
pop esi
pop ebp
ret 4
Function at 0x410c4f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4353a0]
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.0040a873
mov dword [ebp - 0x14], eax
cmp dword [0x1a28648], esi
jne 0x410d42
push 0x800
push esi
push 0x40515c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410ccf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410e22
push esi
push esi
push 0x40515c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x410e22
push 0x405174
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410e22
push eax
call ebx
push 0x405180
push edi
mov dword [0x1a28648], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405190
push edi
mov dword [0x1a2864c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4051a4
push edi
mov dword [0x1a28650], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1a28658], eax
test eax, eax
je 0x410d3f
push 0x4051c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1a28654], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410d67
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410d5a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410d7c
push 4
pop eax
jmp 0x410e24
cmp dword [ebp - 0x14], esi
je 0x410d7c
push dword [0x1a28648]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410d61
mov eax, dword [0x1a28654]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410dda
cmp dword [0x1a28658], edi
je 0x410dda
push eax
call ebx
push dword [0x1a28658]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410dda
test eax, eax
je 0x410dda
call ecx
test eax, eax
je 0x410dcf
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 0x410dcf
test byte [ebp - 8], 1
jne 0x410dda
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410e0a
mov eax, dword [0x1a2864c]
cmp eax, edi
je 0x410e07
push eax
call ebx
test eax, eax
je 0x410e07
call eax
mov esi, eax
test esi, esi
je 0x410e07
mov eax, dword [0x1a28650]
cmp eax, edi
je 0x410e07
push eax
call ebx
test eax, eax
je 0x410e07
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1a28648]
call ebx
test eax, eax
je 0x410e22
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x410e24
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409e1e
mov esp, ebp
pop ebp
ret
Function at 0x100ad4cf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10150f60]
jne 0x100ad4d9
repz ret
jmp fcn.100afe80

Function at 0x100b09bf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100acec3
and dword [ebp - 4], 0
cmp dword [0x10152650], 0
mov ebx, eax
jne 0x100b0a70
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100b0b21
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100b0b21
push eax
call fcn.100ace51
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10152650], eax
call esi
push eax
call fcn.100ace51
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10152654], eax
call esi
push eax
call fcn.100ace51
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10152658], eax
call esi
push eax
call fcn.100ace51
pop ecx
mov dword [0x10152660], eax
test eax, eax
je 0x100b0a70
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100ace51
pop ecx
mov dword [0x1015265c], eax
mov eax, dword [0x1015265c]
cmp eax, ebx
je 0x100b0ac8
cmp dword [0x10152660], ebx
je 0x100b0ac8
push eax
call fcn.100acecc
push dword [0x10152660]
mov esi, eax
call fcn.100acecc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b0ac8
test edi, edi
je 0x100b0ac8
call esi
test eax, eax
je 0x100b0abf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b0abf
test byte [ebp - 0xc], 1
jne 0x100b0ac8
or dword [ebp + 0x10], 0x200000
jmp 0x100b0b01
mov eax, dword [0x10152654]
cmp eax, ebx
je 0x100b0b01
push eax
call fcn.100acecc
pop ecx
test eax, eax
je 0x100b0b01
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b0b01
mov eax, dword [0x10152658]
cmp eax, ebx
je 0x100b0b01
push eax
call fcn.100acecc
pop ecx
test eax, eax
je 0x100b0b01
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10152650]
call fcn.100acecc
pop ecx
test eax, eax
je 0x100b0b21
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b0b23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100b19c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0x1c5a
lea ecx, [fcn.100b19c0]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x100b19ea
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x100b19ff
jmp 0x100b1a0f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
je 0x100b19d9
jmp 0x100b1a0f
mov eax, dword [ebp - 0x10]
mov dword [0x10150394], eax
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xffffddc4
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x100b19ea
Function at 0x100b1a30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101503a0], 0
mov byte [0x101503a4], 0
mov dword [0x10150394], 0x25ab
mov dword [0x1015039c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10150394], 0x1b02
mov eax, dword [0x1015039c]
add eax, 1
mov dword [0x1015039c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100b1a75
mov dword [0x10150394], 0x213c
mov dword [0x1015039c], 0
mov eax, 0x100
mov dword [0x101503a8], 0
mov ecx, dword [0x101503a0]
mov edx, dword [0x1015039c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x101503a8], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x101503a0], edx
mov ecx, dword [0x1015039c]
mov bl, byte [esi + ecx]
mov byte [0x101503a4], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x101503a4]
mov ecx, dword [0x101503a0]
mov byte [esi + ecx], bl
mov ecx, dword [0x1015039c]
add ecx, 1
mov dword [0x1015039c], ecx
cmp ecx, 0x100
jl 0x100b1ab9
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100b1fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x10150394]
add edx, 0xfffff83c
mov dword [0x10150398], edx
mov dword [0x10150394], 0x1acf
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x100b2081
lea eax, [0x100b31df]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call fcn.100b2300
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.100b2820
mov ecx, eax
mov dword [0x101503b0], eax
mov eax, esp
mov edx, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
jmp 0x100b20d5
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x24
mov edi, edx
add edi, esi
add edi, 8
mov esi, eax
add esi, 1
imul eax, eax, 0x24
add edx, eax
add edx, 4
mov eax, dword [edi]
movzx edx, word [edx]
xor edx, eax
add edx, ecx
cmp esi, 0x1e0
mov eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], esi
je 0x100b2017
jmp 0x100b2081
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
mov esi, ecx
add esi, 1
mov edi, dword [ebp - 0x48]
add edi, eax
imul ebx, ecx, 0x24
mov dword [ebp - 0x54], eax
mov eax, edx
add eax, ebx
add eax, 8
imul ebx, ecx, 0x24
mov dword [ebp - 0x58], eax
mov eax, edx
add eax, ebx
add eax, 4
imul ecx, ecx, 0x24
add edx, ecx
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ecx]
mov edx, dword [edx]
movzx eax, word [eax]
xor eax, ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], eax
call fcn.100b2720
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov edx, dword [ebp - 0x5c]
cmp edx, 0x1e0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
jne 0x100b20d5
mov eax, dword [ebp - 0x48]
add eax, 0x6d28d
mov dword [0x10150394], 0x811
mov ecx, dword [ebp - 0x48]
add ecx, 0xe19c1
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x44]
mov dword [esp + 8], esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
call fcn.100b1920
xor eax, eax
mov ecx, dword [0x10150394]
add ecx, 0x1234
mov dword [0x10150398], ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x68]
mov dword [ecx], edx
mov dword [ecx + 4], 0x145400
mov dword [0x10150394], 0x4ed
mov edx, dword [ebp - 0x64]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x20c0
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100b2510
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10150398]
add eax, 0xfffff55c
mov dword [0x10150394], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10150398], 0x1ffe
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100b2593
mov dword [0x10150394], 0xf8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100b2638
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x100b2653
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jge 0x100b25a9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jne 0x100b257c
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x10150398]
add ecx, 0x10f2
mov dword [0x10150398], ecx
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x100b2572
mov dword [0x10150398], 0xe77
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100b2572
mov dword [0x10150394], 0xa83
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100b2572
mov dword [0x10150394], 0xca
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100b2572
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100b2555
jmp 0x100b2572
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x100b2572
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x403392
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x405a44]
test eax, eax
je 0x4033ab
call eax
test eax, eax
jne 0x4033ab
push 0xfffffffffffffffe
jmp 0x4033c5
push 1
push 0x405010
push 0x405008
call fcn.00402cef
add esp, 0xc
test eax, eax
je 0x4033cb
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x405004
push section..data
call fcn.00402cef
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x4033f1
mov esi, 0x404ba5
mov cl, 0x20
jmp 0x4033fa
cmp al, 0x20
ja 0x403404
inc esi
mov al, byte [esi]
test al, al
jne 0x4033f5
cmp al, 0x20
jbe 0x40341b
mov al, byte [esi]
cmp al, 0x22
jne 0x40340d
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x403406
jmp 0x40341b
cmp al, cl
ja 0x403421
inc esi
mov al, byte [esi]
test al, al
jne 0x403416
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x40344a
movzx eax, word [ebp - 0x14]
jmp 0x40344d
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0040273a
pop ecx
pop esi
leave
ret

Function at 0x403488
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405386], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0xfffffc18
push 0xfffffc18
push 0xcf0000
push 0x4058a0
push 0x405908
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4034d2
xor eax, eax
jmp 0x4034e9
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret