joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44992d
Capabilities:
Authenticate hmac

Disassembly:
push es
jecxz 0x4498df
mov esi, ebp
dec esp
jae 0x4498e4
push edi

Function at 0x449935
Capabilities:
Authenticate hmac

Disassembly:
mov word [edi - 0x2ccaeaab], fs
and edi, dword [edi - 0x58]
add al, 0x49
or dword [bx + di + 0x643e], esp
or dword [ecx - 0x366b9bc2], esp
outsb dx, byte [esi]
in al, 0xf3
mov edx, 0x28429b3b
sbb dword [eax + ecx*2], ecx
cmpsb byte [esi], byte es:[edi]
jbe 0x4498eb
inc ecx
scasb al, byte es:[edi]
test dh, dh
sub ebx, dword [edx - 0x62]
lodsb al, byte [esi]
and al, 0xe8
jg 0x44989e
pop edi
loop 0x4498cd
pop esp
xor eax, 0xbe5b10b4
mov esi, dword [edx - 0x7d]
mov word [esi - 0x1a], cs
push es
dec edx
push 0x558342d7
pop es
outsb dx, byte [esi]
jns 0x4499a6
inc edi
clc
dec eax
pop ebx
add esp, dword gs:[esi - 0x7e]
call 0x467e1041
fistp dword [ebp + 0x5b1396c7]
xlatb
mov byte [0xe8c0f06d], al
mov bl, 0x66
salc
jecxz 0x4499a1
call fcn.00451033
mov ch, 0xc6
xchg byte [ebx], bh
lodsd eax, dword [esi]
ret
rcr dword [edx], 0xd
movsd dword es:[edi], dword [esi]
xchg ebp, eax
fisubr word [edx - 0x267929ed]
movsb byte es:[edi], byte [esi]
jecxz 0x449a17
mov ebx, ds
leave
pop es
ret
mov bh, 0x6d
hlt
dec ecx
scasb al, byte es:[edi]
mov bl, 0xe6
leave
jne 0x449a4c
xchg edx, eax
mov ch, 0xcd
invalid
add byte [edx - 0x6e742f5e], ch
cmpsb byte [esi], byte es:[edi]
outsb dx, byte gs:[esi]
and eax, 0x15f04576
je 0x4499f6
add al, 0x36
scasb al, byte es:[edi]
lds esi, [esi + 0x7bdc851e]
xor eax, 0xa507ac27
push 0xfffffffffffffff4
inc edi
mov dh, 0x97
xchg ebp, eax
adc byte [ebx], dh
xchg edi, eax
rcl dword [edi - 0x59599bfb], 0x4b
adc byte [edx], dl
sub byte [esi], al
fimul word [esi]
cmp eax, 0xf7558c2c
cmp dword [edx + 0x239454e1], esi
and cl, bl
xchg ah, dl
enter 0x52cb, 0xffffffffffffff9b
mov ebp, 0x251c7537
adc eax, 0x2b2dc6bc
out 0xc8, eax
invalid

Function at 0x44999d
Capabilities:
Authenticate hmac

Disassembly:
aad 0x58
push esp
mov al, 0xc1
sbb cl, byte [0xaade95a5]
adc edx, esi
xchg cl, bl

Function at 0x525255
Capabilities:
Encode data using xor

Disassembly:
and bh, cl
fcom dword [eax + esi - 0x5738e0e7]
test al, 0x71
pop esp
pop esp
cmpsb byte [esi], byte es:[edi]
or ch, byte [edx - 0x75]
test byte [ecx - 0x1efc616b], dl
mov word [edx + 0x2e], ds
mov dl, 0x47
bound esp, qword [ebx]
adc al, 0x35
xor ebx, dword [esi]
xchg edx, eax
mov ebx, 0x5234d5cb
push esp
pop ebx
mul dl
xchg esi, eax
dec edx
adc eax, 0x856463d8
les ecx, [esi - 0x3bc86ad3]
mov edi, dword [ebx]
push es
daa
pop es
pop eax
cli
jns 0x525257
add eax, 0x1bacf44a
pushfd
daa
invalid
invalid
Function at 0x401b80
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401bcb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401bc4
test esi, esi
je 0x401bc4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ba0
mov dword [esp], 0x407044
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401db0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x401e00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x401ed8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401e3e
cmp eax, 4
jne 0x401e60
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401e4e
cmp edx, 4
je 0x401e4e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401db0
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x429f7f
Capabilities:
Encode data using xor

Disassembly:
inc eax
add eax, edi
mov ebx, 0
sbb eax, ecx
inc eax
clc
call fcn.00429f99
mov eax, esi
clc
jmp 0x429f9c
add eax, 0x48b5
sub ebx, 0x146d069
cld
mov esi, 0x210e
xor esi, 0x146ecbb
add eax, 0x1b1c
add esi, ebx
mov ecx, 0x68ba
xor ecx, 0x6811
and eax, 0x6adb
push 0x57e7
pop edx
stc
xor eax, ebx
dec eax
xor eax, ecx
pop esi
push edi
ror edi, cl
pop edi
add esi, 0x2a8
push esi
neg esi
pop esi
xor dword [esi], edx
mov eax, 4
sub esi, eax
sub eax, eax
sub eax, 0x739
mov eax, edx
sub eax, 0
xchg edx, eax
stc
dec ecx
add ebx, 0x4b001b76
sub ebx, 0x4b001b76
test ecx, ecx
cmc
cmc
jne 0x429fe1
call fcn.0042a01f
cmc
jmp 0x42a021
sub eax, ebx
mov eax, edx
cmc
call fcn.0042a035
mov eax, 0x5f79
jmp 0x42a03c
sbb eax, 0x4a
call fcn.0042a1be
cmpsb byte [esi], byte es:[edi]
in eax, 0x8e
std
add dh, byte [ecx - 0x4b]
nop
cli
stc
invalid
Function at 0x4d415b
Capabilities:
Encode data using xor

Disassembly:
ja 0x4d4164
int 0xf9
cmp eax, 0xdb5f47c9
mov ah, 0xa2
invalid
ffree st(6)
daa
das
xor byte [0xa4a17dbf], ah
bound esp, qword [edx - 0x8333ad5]
lodsb al, byte [esi]
inc esp
sub al, 0xb3
loope 0x4d4191
pop es
push ebp
lodsb al, byte [esi]
sub dword [ebx + edi*4], ebp
scasb al, byte es:[edi]
xor al, bl
iretd
mov ebp, 0x54692cdd
imul ebx, dword [edx], 3
jle 0x4d4133
into
mov esp, 0x93d5dcbe
jl 0x4d4119
in eax, dx
stosb byte es:[edi], al
in eax, 0xfd
or eax, 0xeb152d91
inc esp
aas
insb byte es:[edi], dx
adc dword [eax], 0xfffffffc
sub esi, dword [eax]
lodsd eax, dword [esi]
insb byte es:[edi], dx
fcom dword [esi + 0x27]
sub byte [ebx - 0x1b1c016e], bl
loop 0x4d41f0
mov ch, 0xdd
or al, 0x65
salc
frstor dword [edi + 0xc]
salc
xchg edx, eax
std
lea ebp, [ecx - 0x3a]
inc esi
inc esi
aad 0xe
in eax, dx
pop eax
inc ebp
jbe 0x4d418b
or byte [edx], ch
xchg esi, eax
sbb al, ah
inc esi
mov cl, 0x88
cmpsd dword [esi], dword es:[edi]
push edx
sbb esi, ebp
mov bl, 0x9f
pop ebp
mov cl, 0xed
push ebx
add al, 0x4c
pop ds
retf 0x3076
mov eax, dword [0x6cf61d90]
jae 0x4d424f
ret
mov esp, 0xf10c7c5f
pushfd
dec esp
jne 0x4d42d8
add al, 0x2f
sub eax, 0x3df2d92d
cmpsd dword [esi], dword es:[edi]
pop eax
popfd
popfd
shr byte [edi - 0x6233a2c2], 0x28
clc
pop ebp
cmc
aad 0xf
pop es
inc esp
inc ebx
sub al, 0xab
push ds
sub al, byte [eax - 0x41]
xor byte [ecx - 3], dl
sub ecx, dword [edx + edx + 0x16]
xor byte [ecx - 0x54], ch
cmpsb byte [esi], byte es:[edi]
pop es
add eax, 0x23edacce
push es
pop esi
invalid
daa
lodsd eax, dword [esi]
push esp
in eax, 0x18
push edi
invalid
Function at 0x1000102c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x10001065
mov edx, dword [esp + 4]
push ebx
push esi
push edi
lea esi, [eax]
mov eax, dword [ecx]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x1001c470]
xor edi, eax
inc edx
dec esi
mov dword [ecx], edi
jne 0x10001041
pop edi
pop esi
pop ebx
mov eax, dword [ecx]
ret 0xc

Function at 0x1000147b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x10022b90], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
push edi
jne 0x100014c3
call ebx
test eax, 0x80000000
je 0x100014b9
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x10022b94], eax
mov dword [0x10022b90], 1
mov eax, dword [0x10022b94]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100014df
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x10001510
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x10001507
call ebx
test eax, 0x80000000
mov eax, dword [ebp + 8]
je 0x100014fb
push dword [eax + 8]
call dword [eax]
jmp 0x10001501
push dword [eax + 0xc]
call dword [eax + 4]
test eax, eax
je 0x10001510
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10001df6
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 1
pop ebx
lea eax, [ebp - 8]
push eax
push 0x28
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
test eax, eax
jne 0x10001e37
call esi
push eax
push str.OpenProcessToken_Error:__d_n
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
mov dword [ebp - 4], edi
pop ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push str.SeDebugPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push edi
push edi
lea eax, [ebp - 0x18]
push 0x10
push eax
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call esi
test eax, eax
je 0x10001e72
mov dword [ebp - 4], edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002785
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1001ae1c
call fcn.1001a990
sub esp, 0x110
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x18]
call fcn.10001000
push 0x3f
xor ebx, ebx
and byte [ebp - 0x11c], bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10021024]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.100028a0
push 0x10021240
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
mov dword [ebp - 0x1c], edi
je 0x10002870
push 2
push ebx
push edi
call dword [sym.imp.MSVCRT.dll_fseek]
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
mov esi, eax
push edi
sub esi, dword [ebp + 0xc]
mov dword [ebp + 8], ebx
call dword [sym.imp.MSVCRT.dll_rewind]
mov ebx, 0xff
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
lea eax, [ebp - 0x11c]
push 1
push eax
call edi
add esp, 0x24
test eax, eax
jbe 0x10002866
add dword [ebp + 8], eax
cmp esi, dword [ebp + 8]
jg 0x1000283e
sub eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x18]
push eax
call fcn.1000102c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x11c]
push ebx
push 1
push eax
call edi
add esp, 0x10
jmp 0x1000282f
mov eax, dword [ebp - 0x10]
not eax
mov dword [ebp - 0x10], eax
jmp 0x10002873
mov eax, dword [ebp - 0x10]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.100018ba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10001025
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100028a0
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov eax, 0x1001ae30
call fcn.1001a990
sub esp, 0x510
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, ebx
push edi
call fcn.1000350d
mov eax, dword [edi]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push str.:windows_
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x100028fc
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
push str.:window
call fcn.100035c0
mov eax, dword [edi]
push str.:system_
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x10002931
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
push str.:system
call fcn.100035c0
mov eax, dword [edi]
push str.:Program_
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x1000296b
lea eax, [ebp - 0x114]
push 0x103
push eax
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
push str.:Program
call fcn.100035c0
mov eax, dword [edi]
mov ebx, str.:modelpath_
push ebx
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x10002a11
lea eax, [ebp - 0x41c]
push 0x104
push eax
push dword [0x100229bc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.100018e6
lea ecx, [ebp - 0x214]
xor eax, eax
test ecx, ecx
mov dword [ebp - 4], eax
je 0x100029e9
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x214]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.1000197b
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.100035c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100018ba
mov edi, dword [edi]
push str.:exe_
push edi
call esi
pop ecx
pop ecx
pop edi
pop esi
pop ebx
test eax, eax
je 0x10002a4a
lea eax, [ebp - 0x318]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x318]
push eax
push str.:exe
call fcn.100035c0
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100037b1
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
xor edi, edi
push str.sxwliesharememry
mov ebx, 0xf001f
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x100037d8
xor eax, eax
jmp 0x10003835
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0xc
push edi
push edi
push 4
push eax
call esi
mov ecx, eax
cmp ecx, edi
jne 0x100037f2
xor esi, esi
jmp 0x10003829
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 4]
push 0
push 0
push ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 8]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call esi
lea ecx, [ebp - 0x10]
push 0xc
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret

Function at 0x10004313
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and byte [ebp - 8], 0
push esi
push edi
xor eax, eax
lea edi, [ebp - 7]
add ecx, 0x19
stosd dword es:[edi], eax
stosb byte es:[edi], al
push ecx
lea eax, [ebp - 8]
push 5
mov esi, 0x100213cc
push eax
push esi
push str.Ietop
push str.ietop
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 8]
push esi
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
pop ecx
pop edi
test eax, eax
setne al
pop esi
leave
ret

Function at 0x1000435a
Capabilities:
Read .ini file

Disassembly:
add ecx, 0x19
push esi
push ecx
push 0x80
push dword [esp + 0x10]
mov esi, str.about:blank
push esi
push str.Iedefault
push str.ietop
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push dword [esp + 0xc]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
pop esi
setne al
ret 4

Function at 0x10004394
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
xor edi, edi
push str.sxwliesharememry
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
cmp esi, edi
jne 0x100043b0
xor eax, eax
jmp 0x100043cc
push 0xc
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
je 0x100043c3
mov edi, dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x100043cf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
add ecx, 0x19
stosb byte es:[edi], al
push ecx
lea eax, [ebp - 0x10]
push 0xf
push eax
push str.40000
push str.OtherpopTimer
push str.popup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
pop edi
leave
ret
Function at 0x10004412
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
lea eax, [ebp - 4]
push ebx
push eax
xor ebx, ebx
push 0xf003f
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000444e
xor al, al
jmp 0x100044b9
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc]
push eax
mov esi, str.Start_Page
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100044ad
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x100044ab
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
mov dword [ebp - 8], eax
push dword [ebp + 8]
push dword [ebp - 0xc]
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100044ad
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
leave
ret 4

Function at 0x10004943
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
mov dword [esi + 0x70], 0x100215b0
mov dword [0x10022988], esi
push dword [ebp + 8]
mov dword [esi], 0x84
mov dword [esi + 0x64], 0x300
push esi
call dword [sym.imp.ATL.DLL_AtlModuleInit]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x10004991
push 0x10
push dword [ebp + 0x10]
push 0x100229a8
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edi, 0x94
mov dword [esi + 0x18], eax
push edi
lea eax, [ebp - 0xb8]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0xa8], 2
jne 0x100049e2
cmp dword [ebp - 0xb4], 5
jae 0x10004a38
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x10004a38
or dword [esi + 0x74], 0xffffffff
add eax, eax
xor ecx, ecx
test eax, 0x80000000
jne 0x10004a04
shr dword [esi + 0x74], 1
shl eax, 1
inc ecx
cmp ecx, 0x20
jl 0x100049f2
shr dword [esi + 0x74], 1
mov eax, dword [esi + 0x74]
lea eax, [eax*4 + 4]
push eax
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x78], eax
xor edi, edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [esi + 0x78]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esi + 0x74]
jbe 0x10004a21
jmp 0x10004a3e
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x10004a6d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareMicrosoftInternet_ExplorerToolbar
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push esi
push esi
push 3
push esi
push 0x100215c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 1
push 0x100229b8
call dword [sym.imp.ATL.DLL_AtlModuleRegisterServer]
pop esi
leave
ret

Function at 0x10004ac2
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareMicrosoftInternet_ExplorerToolbar
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0x100215c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 1
push 0x100229b8
call dword [sym.imp.ATL.DLL_AtlModuleUnregisterServerEx]
pop esi
leave
ret