joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c6e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1017004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor eax, eax
lea ebx, [esi + 0x1c]
mov word [ebx], ax
call fcn.01003752
test eax, eax
jl 0x1003cf2
cmp dword [esi + 0x224], 0
je 0x1007c64
mov eax, dword [esi + 0x228]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 0x104
cmp eax, edi
jge 0x1007c6b
mov eax, dword [esi + 0x228]
push dword [eax]
push edi
push ebx
call fcn.010031bd
add esp, 0xc
push 0x2e
push ebx
call fcn.01003d0d
test eax, eax
je 0x1003cef
push 0xffffffffffffffff
push 0x1003d00
add eax, 2
push eax
call fcn.01002753
test eax, eax
je 0x1007c76
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01001335
leave
ret
xor eax, eax
jmp 0x1003cf2
push ebx
push 0xcef
jmp 0x1007d34
push ebx
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.010031bd
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.0100f1f1
mov edi, eax
test edi, edi
jge 0x1007d0e
cmp byte [esi + 6], 0
je 0x1007cac
mov ecx, dword [0x1017010]
mov eax, dword [ecx]
call dword [eax + 8]
cmp edi, 0x80070002
jne 0x1007cc2
lea edx, [ebp - 0x20c]
push edx
push 0xcee
jmp 0x1007d34
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.0100f3f8
push dword [ebp - 0x210]
mov eax, dword [0x1017010]
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
mov edx, dword [0x101702c]
push 0xc84
add edx, 0x14
push edx
push eax
call dword [ecx + 0x10]
add esp, 0x14
push dword [ebp - 0x210]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1007d4c
cmp edi, 1
jne 0x1003cef
cmp byte [esi + 6], 0
je 0x1007d28
mov ecx, dword [0x1017010]
mov eax, dword [ecx]
call dword [eax + 8]
lea edx, [ebp - 0x20c]
push edx
push 0xd48
mov edx, dword [0x101702c]
mov eax, dword [0x1017010]
mov ecx, dword [eax]
add edx, 0x15
push edx
push eax
call dword [ecx + 0x10]
add esp, 0x10
mov eax, 0x8004ffff
jmp 0x1003cf1
Function at 0x100ee9c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.msvcrt.dll__fileno]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0xc]
pop ecx
test al, 0x82
jne 0x100eded
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 9
or dword [esi + 0xc], 0x20
or eax, 0xffffffff
jmp 0x100ef2d
test al, 0x40
je 0x100edff
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x22
jmp 0x100ede1
push ebx
xor ebx, ebx
test al, 1
je 0x100ee18
mov dword [esi + 4], ebx
test al, 0x10
je 0x100ee73
mov ecx, dword [esi + 8]
and eax, 0xfffffffe
mov dword [esi], ecx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
and eax, 0xffffffef
or eax, 2
mov dword [esi + 0xc], eax
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
test eax, 0x10c
jne 0x100ee7b
mov eax, dword [sym.imp.msvcrt.dll__iob]
lea ecx, [eax + 0x20]
cmp esi, ecx
je 0x100ee44
add eax, 0x40
cmp esi, eax
jne 0x100ee52
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll__isatty]
pop ecx
test eax, eax
jne 0x100ee7b
call dword [sym.imp.msvcrt.dll__errno]
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.0100cdee
add esp, 0x14
or eax, 0xffffffff
jmp 0x100ef2c
or eax, 0x20
mov dword [esi + 0xc], eax
jmp 0x100ee6b
test dword [esi + 0xc], 0x108
push edi
je 0x100eefe
mov eax, dword [esi + 8]
mov edi, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [esi + 0x18]
sub edi, eax
dec ecx
cmp edi, ebx
mov dword [esi + 4], ecx
jle 0x100eeaf
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll__write]
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x100eef4
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x100eed2
cmp eax, 0xfffffffe
je 0x100eed2
mov edx, dword [sym.imp.msvcrt.dll___pioinfo]
mov ecx, eax
and eax, 0x1f
imul eax, eax, 0x24
sar ecx, 5
add eax, dword [edx + ecx*4]
jmp 0x100eed7
mov eax, dword [sym.imp.msvcrt.dll___badioinfo]
test byte [eax + 4], 0x20
je 0x100eef4
push 2
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll__lseeki64]
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x100ef1a
mov eax, dword [esi + 8]
mov cl, byte [ebp + 8]
mov byte [eax], cl
jmp 0x100ef15
xor edi, edi
inc edi
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll__write]
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
je 0x100ef23
or dword [esi + 0xc], 0x20
or eax, 0xffffffff
jmp 0x100ef2b
mov eax, dword [ebp + 8]
and eax, 0xff
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100f15a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x39c
mov eax, dword [0x1017004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x39c], esi
cmp byte [reloc.VERSION.dll_GetFileVersionInfoA], bl
je 0x100f138
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100f1cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x100f1d0
lea eax, [ebp - 0x394]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
jmp 0x100f1b8
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
call esi
mov edi, eax
cmp edi, ebx
jne 0x100f165
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100f1d5
and eax, 0xffff
or eax, 0x80070000
jmp 0x100f1d5
call fcn.0100320b
mov dword [ebp - 0x398], esp
push ebx
push ebx
push edi
push dword [ebp - 0x398]
push 0xffffffffffffffff
push dword [ebp - 0x39c]
push ebx
push ebx
call esi
test eax, eax
je 0x100f14f
push dword [ebp - 0x398]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100f1cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x100f1d0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x398]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, ebx
je 0x100f1d0
cmp eax, 0xffffffff
je 0x100f1d0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x100f1d5
test al, 0x10
je 0x100f1c8
mov eax, 0x80070002
lea esp, [ebp - 0x3a8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001335
leave
ret 4

Function at 0x1010562
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
and dword [edi], 0
lea esi, [ecx + 0x258]
cmp dword [esi], 0
jne 0x1010583
mov ecx, dword [ecx + 0x244]
test ecx, ecx
je 0x1010597
push esi
push 0
call fcn.01010a77
test eax, eax
jl 0x1010591
mov eax, dword [esi]
mov dword [edi], eax
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 4]
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
mov eax, 0x80004005
jmp 0x1010591

Function at 0x1012e7c
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1012e8e
mov eax, dword [esi]
sub eax, 0
push edi
je 0x1012e6c
dec eax
jne 0x1012e86
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x1012e7c
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1012e86
push eax
call edi
push esi
call fcn.0100ed84
pop ecx
pop edi
pop esi
pop ebp
ret 4
Function at 0x101304d
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
push eax
mov esi, ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
push esi
call dword [eax + 0x20]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
test edi, edi
jl 0x1013063
and dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jle 0x101304d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov edi, eax
test edi, edi
jl 0x1013063
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.01013a91
test eax, eax
jne 0x101304d
lea eax, [ebp - 0x18]
push eax
call ebx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x1013016
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, dword [ebp - 8]
sete al
mov edi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1013063
mov dword [eax], ecx
lea eax, [ebp - 0x18]
push eax
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10137ad
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1017004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
cmp byte [reloc.VERSION.dll_GetFileVersionInfoA], bl
je 0x1013788
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x1013902
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
or edi, 0xffffffff
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10137c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1013904
and eax, 0xffff
or eax, 0x80070000
jmp 0x1013904
call fcn.0100320b
mov dword [ebp - 0x18], esp
cmp esp, ebx
jne 0x10137d7
mov eax, 0x8007000e
jmp 0x1013904
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x18]
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
test eax, eax
je 0x10137a4
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x10137a4
call fcn.0100320b
mov dword [ebp - 0x14], esp
cmp esp, ebx
je 0x10137cd
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x14]
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
test eax, eax
je 0x10137a4
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x10137a4
call fcn.0100320b
mov dword [ebp - 0x10], esp
cmp esp, ebx
je 0x10137cd
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x10]
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
test eax, eax
je 0x10137a4
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10138a7
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x1c]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x10137a4
call fcn.0100320b
mov dword [ebp - 0xc], esp
cmp esp, ebx
je 0x10137cd
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
push dword [ebp + 0x1c]
push ebx
push ebx
call esi
test eax, eax
je 0x10137a4
jmp 0x10138be
push 4
pop eax
call fcn.0100321e
mov eax, esp
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x10137cd
mov byte [eax], bl
mov esi, dword [ebp + 0x18]
lea eax, [esi + 1]
call fcn.0100320b
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x10137cd
push dword [ebp - 0x18]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push dword [ebp + 0x14]
push edi
push dword [ebp - 8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x10137a4
xor eax, eax
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001335
leave
ret 0x18
Function at 0x10138ec
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1017004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
cmp byte [reloc.VERSION.dll_GetFileVersionInfoA], bl
je 0x1013788
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x1013902
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
or edi, 0xffffffff
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10137c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1013904
and eax, 0xffff
or eax, 0x80070000
jmp 0x1013904
call fcn.0100320b
mov dword [ebp - 0x18], esp
cmp esp, ebx
jne 0x10137d7
mov eax, 0x8007000e
jmp 0x1013904
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x18]
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
test eax, eax
je 0x10137a4
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x10137a4
call fcn.0100320b
mov dword [ebp - 0x14], esp
cmp esp, ebx
je 0x10137cd
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x14]
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
test eax, eax
je 0x10137a4
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x10137a4
call fcn.0100320b
mov dword [ebp - 0x10], esp
cmp esp, ebx
je 0x10137cd
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x10]
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
test eax, eax
je 0x10137a4
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10138a7
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x1c]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x10137a4
call fcn.0100320b
mov dword [ebp - 0xc], esp
cmp esp, ebx
je 0x10137cd
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
push dword [ebp + 0x1c]
push ebx
push ebx
call esi
test eax, eax
je 0x10137a4
jmp 0x10138be
push 4
pop eax
call fcn.0100321e
mov eax, esp
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x10137cd
mov byte [eax], bl
mov esi, dword [ebp + 0x18]
lea eax, [esi + 1]
call fcn.0100320b
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x10137cd
push dword [ebp - 0x18]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push dword [ebp + 0x14]
push edi
push dword [ebp - 8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x10137a4
xor eax, eax
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001335
leave
ret 0x18
Function at 0x101395b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1017004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
cmp byte [reloc.VERSION.dll_GetFileVersionInfoA], bl
je 0x1013953
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1013a36
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
or edi, 0xffffffff
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x101398c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1013a3d
and eax, 0xffff
or eax, 0x80070000
jmp 0x1013a3d
call fcn.0100320b
mov dword [ebp - 0x10], esp
cmp esp, ebx
jne 0x10139a2
mov eax, 0x8007000e
jmp 0x1013a3d
push ebx
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
test eax, eax
je 0x101396f
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x101396f
call fcn.0100320b
mov dword [ebp - 0xc], esp
cmp esp, ebx
je 0x1013998
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
test eax, eax
je 0x101396f
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x101396f
call fcn.0100320b
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x1013998
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 8]
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
test eax, eax
je 0x101396f
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor eax, eax
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001335
leave
ret 0x14

Function at 0x1013f1f
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
xor ebx, ebx
dec esi
push esi
push edi
call fcn.0100ce09
add esp, 0x10
test eax, eax
jl 0x1013f1b
cmp eax, esi
ja 0x1013f1b
jne 0x1013f28
jmp 0x1013f20
mov ebx, 0x8007007a
xor eax, eax
mov word [edi + esi*2], ax
mov eax, esi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1013f31
mov dword [ecx], eax
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x10024910
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1002494e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10024946
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10024950
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10024936
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10024a20
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10024a36
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10024a51
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x10030173
Capabilities:
Encode data using xor

Disassembly:
call 0x100300ec
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 0x1003011c
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 0x10030138
xor edx, 0
jmp 0x10030143
xor edx, edx
jmp 0x1003015a
jmp 0x10030166
xor eax, eax
push 0x8427d7c0
call 0x10030173
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100301af
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 0x10030188
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 0x100301c6
add eax, 0
jno 0x100301cb
add esi, 0
ret 0x10
Function at 0x10030f34
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 0x10030f56
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 0x100310f8
cmp edi, dword [ebp + 0x10]
jb 0x100310f8
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.10030a20
inc edi
jmp 0x10030fdf
jmp 0x10030fec
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10030a20
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10030a20
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 0x10031040
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 0x10031024
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1003106e
add dword [eax], 0x39
jle 0x1003104a
sub al, 0xf5
mov ch, al
call fcn.10031083
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10032d5b
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 0x10032d71
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 0x10032d82
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10032dc3
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 0x1003512f
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 0x10035078
add ebx, 0
push ecx
call 0x1003508d
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, 0x6bf46013
sub ebx, dword [0x6bf65852]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6bf65842
call fcn.10030b57
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10030065
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100351eb
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100351eb
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 0x100351a2
mov eax, 1
lock xchg dword [0x6bf6584e], eax
push 0x3dd1fc71
call 0x1003512f
push esi
add esp, 8
cmp eax, 0
jne 0x10035118
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1003513e
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10035153
cmp ecx, edx
cmp eax, 0
je 0x10035178
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 0x10035162
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10035191
dec eax
loope 0x10035194
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6bf6584e], 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 0x100351c8
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100351dd
jmp 0x100351e8
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100350d6