joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019780
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xfffffffffffffffe
push 0x10183208
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov eax, dword [ebp + 0x110]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov byte [ebp], 0
push 0x103
push 0
lea edx, [ebp + 1]
push edx
call fcn.1012e060
add esp, 0xc
mov ecx, 9
mov esi, str.SOFTWAREMicroWorldMailScan_for_SMTP_
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019806
sub eax, edx
lea edi, [ebp]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10019813
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp]
call fcn.10065240
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100198a3
mov esi, dword [ebp - 0x20]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019851
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100198a3
mov dword [ebp - 4], 0xfffffffe
lea eax, [esi + 1]
jmp 0x100198ac
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x100198e0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xfffffffffffffffe
push 0x101831e8
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, edx
mov eax, dword [0x101b31e8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov byte [ebp + 0x208], 0
push 0x207
push 0
lea ecx, [ebp + 0x209]
push ecx
call fcn.1012e060
push 0x40
push edi
call fcn.10128490
add esp, 0x14
test eax, eax
je 0x10019a9d
inc eax
push eax
lea edx, [ebp + 0x208]
push edx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call ebx
cmp dword [ebp - 0x20], 0
je 0x10019988
cmp dword [ebp + 0x41c], 0
jne 0x10019a9d
push edi
lea eax, [ebp]
push eax
call ebx
push 0x40
lea ecx, [ebp]
push ecx
call fcn.10128490
add esp, 8
mov byte [eax], 0
lea edx, [ebp - 0x28]
push edx
push str.SoftwareMicroWorldIPCache
push reloc.WS2_32.dll_bind
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
call edi
test eax, eax
jne 0x10019a9d
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x208]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
jne 0x10019a79
cmp dword [ebp - 0x20], 1
jbe 0x10019a19
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
test esi, esi
je 0x10019a6f
cmp byte [esi], 0
je 0x10019a6f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push 0
push str.Response
mov edx, dword [ebp - 0x1c]
push edx
call edi
jmp 0x10019a6f
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call edi
test eax, eax
jne 0x10019a6f
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
test esi, esi
je 0x10019a65
cmp byte [esi], 0
je 0x10019a65
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push 0
push str.Response
mov edx, dword [ebp - 0x24]
push edx
call edi
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10019a9d
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x414
mov esp, ebp
pop ebp
ret
Function at 0x10020800
Capabilities:
Set socket configuration

Disassembly:
push ecx
xor eax, eax
cmp dword [esp + 8], eax
lea ecx, [esp]
sete al
push ecx
push 0x8004667e
push edx
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
neg eax
sbb eax, eax
inc eax
pop ecx
ret
Function at 0x10020ef0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x108
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [esp + 0xd]
push ebx
push eax
mov byte [esp + 0x14], bl
call fcn.1012e060
add esp, 0xc
push ebx
push ebx
call fcn.10083610
mov esi, eax
cmp esi, ebx
jne 0x10020f45
push str.commstrt_mutex
lea ecx, [esp + 0xc]
push 0x1014d8cc
push ecx
call fcn.10127dc0
add esp, 0xc
jmp 0x10020f5d
push esi
push str.commstrt_mutex
lea edx, [esp + 0x10]
push str._s_d
push edx
call fcn.10127dc0
add esp, 0x10
lea ecx, [esp + 8]
call fcn.1007ea80
cmp eax, ebx
je 0x10020f96
cmp eax, 0xffffffff
je 0x10020f96
mov dword [edi], esi
push eax
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10127db1
add esp, 0x108
ret
cmp esi, ebx
jbe 0x10020ff5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10020ff5
push str.commstrt_mutex
lea eax, [esp + 0xc]
push 0x1014d8cc
push eax
call fcn.10127dc0
add esp, 0xc
lea ecx, [esp + 8]
call fcn.1007ea80
cmp eax, ebx
je 0x10020ff5
cmp eax, 0xffffffff
je 0x10020ff5
push eax
mov dword [edi], ebx
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10127db1
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10127db1
add esp, 0x108
ret
Function at 0x10021010
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xfffffffffffffffe
push 0x101840b8
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ebx
cmp byte [0x101b349a], bl
jne 0x100211b1
mov dword [ebp - 0x1c], 1
cmp byte [0x101acb68], bl
je 0x10021199
mov byte [ebp], bl
push 0x103
push ebx
lea eax, [ebp + 1]
push eax
call fcn.1012e060
add esp, 0xc
mov byte [ebp], bl
push 0x101acb68
push 0x104
lea ecx, [ebp]
push ecx
push 0x1014d5e3
push str.CommServerBindIPURL
push 0x10156244
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call esi
mov al, byte [ebp]
cmp al, bl
jne 0x100210eb
mov edi, 1
mov dword [ebp - 0x24], edi
push 0x101acb68
push 0x104
lea edx, [ebp]
push edx
push str.127.0.0.1
push str.CommServerBindIP
push 0x10156244
call esi
push str.0.0.0.0
lea eax, [ebp]
push eax
call fcn.10135887
add esp, 8
test eax, eax
je 0x10021105
cmp byte [ebp], bl
jne 0x10021121
mov ecx, dword [str.127.0.0.1]
mov dword [ebp], ecx
mov edx, dword [0x10157e7c]
mov dword [ebp + 4], edx
mov ax, word [0x10157e80]
mov word [ebp + 8], ax
lea ecx, [ebp]
push ecx
push 0x101b349a
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp], bl
push 0x101acb68
push 0x104
lea edx, [ebp]
push edx
push 0x1014d5e3
push str.CommServerBindPortURL
push 0x10156244
call esi
cmp byte [ebp], bl
jne 0x10021176
push 0x101acb68
push 0x104
lea eax, [ebp]
push eax
push str.2227
push str.CommServerBindPort
push 0x10156244
call esi
lea ecx, [ebp]
push ecx
call fcn.10128238
add esp, 4
mov word [0x101a415c], ax
cmp ax, bx
jne 0x10021199
mov edx, 0x8b3
mov word [0x101a415c], dx
cmp byte [0x101b349a], bl
jne 0x100211b1
push str.127.0.0.1
push 0x101b349a
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp edi, ebx
jne 0x100211f0
push ebx
push ebx
call fcn.10083610
mov esi, eax
cmp esi, ebx
jbe 0x100211f0
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x20]
call fcn.10020ef0
test eax, eax
je 0x100211e4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jbe 0x100211f0
mov ecx, dword [0x101a415c]
lea eax, [ecx + eax + 2]
jmp 0x100211f6
mov edx, dword [0x101a415c]
lea eax, [edx + esi + 2]
jmp 0x100211f6
mov ax, word [0x101a415c]
mov word [0x101b3498], ax
cmp dword [ebp - 0x1c], ebx
je 0x10021243
movzx eax, ax
push eax
push 0x101b349a
push str._COMM__URLCat_Server__s:_u
lea ecx, [ebp]
push ecx
call fcn.10127dc0
lea edx, [ebp]
push edx
push 0x1014d8cc
call fcn.10017540
add esp, 0x18
jmp 0x10021243
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x10021270
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xfffffffffffffffe
push 0x10184098
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [0x101b3342], bl
jne 0x100213a9
cmp byte [0x101acb68], bl
je 0x10021391
mov byte [ebp], bl
push 0x103
push ebx
lea eax, [ebp + 1]
push eax
call fcn.1012e060
add esp, 0xc
push 0x101acb68
push 0x104
lea ecx, [ebp]
push ecx
push str.127.0.0.1
push str.CommServerBindIP
push 0x10156244
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call esi
push str.0.0.0.0
lea edx, [ebp]
push edx
call fcn.10135887
add esp, 8
test eax, eax
je 0x10021325
cmp byte [ebp], bl
jne 0x10021341
mov eax, dword [str.127.0.0.1]
mov dword [ebp], eax
mov ecx, dword [0x10157e7c]
mov dword [ebp + 4], ecx
mov dx, word [0x10157e80]
mov word [ebp + 8], dx
lea eax, [ebp]
push eax
push 0x101b3342
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x101acb68
push 0x104
lea ecx, [ebp]
push ecx
push str.2227
push str.CommServerBindPort
push 0x10156244
call esi
lea edx, [ebp]
push edx
call fcn.10128238
add esp, 4
mov word [0x101a4160], ax
cmp ax, bx
jne 0x10021391
mov eax, 0x8b3
mov word [0x101a4160], ax
cmp byte [0x101b3342], bl
jne 0x100213a9
push str.127.0.0.1
push 0x101b3342
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push ebx
call fcn.10083610
mov esi, eax
mov edi, dword [ebp + 0x110]
cmp edi, ebx
je 0x100213ca
push esi
push str._RCC__ActiveConsoleId___d
call fcn.10017540
add esp, 8
cmp esi, ebx
jbe 0x10021441
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x1c]
call fcn.10020ef0
test eax, eax
je 0x1002141a
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jbe 0x100213f0
mov ecx, dword [0x101a4160]
lea ecx, [ecx + eax + 2]
jmp 0x100213f7
mov cx, word [0x101a4160]
mov word [0x101b3340], cx
cmp dword [ebp + 0x110], ebx
je 0x10021479
push eax
movzx edx, cx
push edx
push str._RCC__CommServerPort_a_:_d__ConsoleIDToUse:_d
call fcn.10017540
add esp, 0xc
jmp 0x10021479
mov eax, dword [0x101a4160]
lea eax, [eax + esi + 2]
mov word [0x101b3340], ax
cmp dword [ebp + 0x110], ebx
je 0x10021479
movzx ecx, ax
push ecx
push str._RCC__CommServerPort_b_:_d
call fcn.10017540
jmp 0x10021476
mov ax, word [0x101a4160]
mov word [0x101b3340], ax
cmp edi, ebx
je 0x10021479
movzx edx, ax
push edx
push str._RCC__CommServerPort_c_:_d
call fcn.10017540
jmp 0x10021476
add esp, 8
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x100214b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10183168
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
cmp byte [0x101b35f2], 0
jne 0x100215c0
cmp byte [0x101acb68], 0
je 0x10021577
push 0x101acb68
push 0x104
lea eax, [ebp - 0x120]
push eax
push str.127.0.0.1
push str.CommServerSystemBindIP
push 0x10156244
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call esi
lea ecx, [ebp - 0x120]
push ecx
push 0x101b35f2
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x101acb68
push 0x104
lea edx, [ebp - 0x120]
push edx
push str.2228
push str.CommServerSystemBindPort
push 0x10156244
call esi
lea eax, [ebp - 0x120]
push eax
call fcn.10128238
add esp, 4
mov word [0x101b35f0], ax
cmp byte [0x101b35f2], 0
jne 0x10021590
push str.127.0.0.1
push 0x101b35f2
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp word [0x101b35f0], 0
jne 0x100215c0
mov ecx, 0x8b4
mov word [0x101b35f0], cx
jmp 0x100215c0
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10127db1
mov esp, ebp
pop ebp
ret
Function at 0x10024d00
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x80
push 4
push 1
push 0x40000000
mov edi, ebx
mov dword [esp + 0x24], eax
mov byte [esi], 0
call fcn.1005aa40
mov esi, eax
add esp, 0x10
mov dword [esp + 8], esi
cmp esi, 0xffffffff
jne 0x10024e06
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x20
jne 0x10024ea6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0xea60
ja 0x10024e98
cmp dword [0x101c7c78], 0
jne 0x10024db3
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x101c7c78], eax
test eax, eax
je 0x10024db3
push str.NtDelayExecution
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101c7c7c], eax
jmp 0x10024db8
mov eax, dword [0x101c7c7c]
test eax, eax
je 0x10024dd7
lea ecx, [esp + 8]
push ecx
push 0
mov dword [esp + 0x10], 0xfffcf2c0
mov dword [esp + 0x14], 0xffffffff
call eax
jmp 0x10024ddf
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x80
push 4
push 1
push 0x40000000
mov edi, ebx
call fcn.1005aa40
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
je 0x10024d5d
mov dword [esp + 8], esi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10024f0d
push 0x103
push eax
lea edx, [esp + 0x29]
push edx
mov byte [esp + 0x2c], al
call fcn.1012e060
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
mov edi, eax
lea esi, [esp + 0x24]
call fcn.100652a0
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, esi
push eax
push ebx
push str.EVCACHE:_Unable_to_write_to_file__s__Reason:__s
push ecx
call fcn.10127dc0
add esp, 0x10
lea edx, [esp + 8]
push edx
call fcn.10082e10
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10127db1
mov esp, ebp
pop ebp
ret
push 0x20
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10024eaa
mov dword [esp + 8], esi
cmp esi, 0xffffffff
jne 0x10024e06
push 0x103
lea edx, [esp + 0x25]
push 0
push edx
mov byte [esp + 0x2c], 0
call fcn.1012e060
add esp, 0xc
call edi
push 0x104
mov edi, eax
lea esi, [esp + 0x24]
call fcn.100652a0
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, esi
push eax
push ebx
push str.EVCACHE:_Unable_to_open_file__s__Reason:__s
push ecx
call fcn.10127dc0
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10127db1
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
call fcn.10082e10
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.10127db1
mov esp, ebp
pop ebp
ret
Function at 0x10027ca0
Capabilities:
Create thread

Disassembly:
push 0x101a6e98
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101b31f0], 0
jne 0x10027ccf
push 0
push 0
push 0x100279b0
mov dword [0x101b31f0], 1
call fcn.10127f7d
add esp, 0xc
push 0x101a6e98
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
ret

Function at 0x10027ce0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x318
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x314], eax
push ebp
mov ebp, dword [esp + 0x320]
push esi
push edi
push 0x103
lea eax, [esp + 0x19]
push 0
push eax
mov byte [esp + 0x20], 0
call fcn.1012e060
push 0x103
lea ecx, [esp + 0x129]
push 0
push ecx
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x130], 0
call fcn.1012e060
add esp, 0x18
push str.LogHost
lea eax, [esp + 0x14]
lea edi, [esp + 0x18]
mov ecx, str.SOFTWAREMicroWorldeScan_for_Windows
mov edx, reloc.WS2_32.dll_bind
call fcn.10059d80
cmp byte [esp + 0x14], 0
je 0x10027e6e
mov edx, edi
push str.localhost
push edx
call fcn.10135887
add esp, 8
test eax, eax
je 0x10027e6e
mov eax, edi
push str.127.0.0.1
push eax
call fcn.10135887
add esp, 8
test eax, eax
je 0x10027e6e
push 0x101aa4a0
push 0x104
lea ecx, [esp + 0x120]
push ecx
push 0x1014d5e3
push str.EventServer
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x118], 0
jne 0x10027ddd
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.10127db1
add esp, 0x318
ret
push 1
push 0x2c
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x228]
push eax
xor cl, cl
lea edx, [esp + 0x128]
mov dword [esp + 0x1c], 0
call fcn.10061f00
or esi, 0xffffffff
add esp, 0x10
cmp dword [esp + 0xc], esi
je 0x10027e51
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x220]
push edx
call fcn.10135887
add esp, 8
test eax, eax
je 0x10027dc3
push 1
push 0x2c
lea eax, [esp + 0x14]
lea ecx, [esp + 0x224]
push eax
push ecx
xor cl, cl
lea edx, [esp + 0x128]
call fcn.10061f00
add esp, 0x10
cmp dword [esp + 0xc], esi
jne 0x10027e10
lea edx, [esp + 0x118]
push edx
lea eax, [esp + 0x18]
push eax
push str.LogHost___s__is_NOT_part_of_EventServer_Entry___s_
push ebp
call fcn.10127dc0
add esp, 0x10
jmp 0x10027e7e
mov ecx, 7
mov esi, str.LogHost_is_blank_or_localhost
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [esp + 0x320]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.10127db1
add esp, 0x318
ret
Function at 0x10028e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101850a0
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [ebp - 4], ebx
push str.SIEM
push ebx
push edi
push esi
mov edx, 0x101b06b8
xor ecx, ecx
call fcn.100267f0
add esp, 0x10
cmp eax, ebx
jne 0x10028eb5
cmp dword [0x101aa5a4], 5
jl 0x10028f68
push 0x101b3a80
push 0x101b3978
push esi
mov eax, dword [ebp + 0xc]
push eax
push str._SIEM___u__NOT_SENDING_SysLog_Event:__d___s:_s_
call fcn.10017540
add esp, 0x14
jmp 0x10028f68
mov dword [ebp - 0x2c], ebx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esi
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10028ee0
sub eax, edx
add eax, 0x40
push eax
call fcn.10128320
add esp, 4
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x10028f15
cmp dword [0x101aa5a4], 5
jl 0x10028f68
push esi
push str._SIEM___u__Malloc_for_SysLog_failed_
call fcn.10017540
add esp, 8
jmp 0x10028f68
mov ecx, edi
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10028f20
lea edx, [ebp - 0x2c]
push edx
push ebx
push 0x10028ca0
call fcn.10127f7d
add esp, 0xc
lea esp, [esp]
cmp dword [ebp - 0x2c], ebx
jne 0x10028f68
call fcn.1005a8a0
jmp 0x10028f40
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10034360
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [esp + 0xd]
push ebx
push eax
mov byte [esp + 0x14], bl
call fcn.1012e060
mov eax, dword [0x101ad080]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
add esp, 0xc
cmp eax, ebx
je 0x100343ac
push ebx
push eax
call esi
push 0x101ad080
call fcn.10082e10
mov eax, dword [0x101ad084]
cmp eax, ebx
je 0x100343c3
push ebx
push eax
call esi
push 0x101ad084
call fcn.10082e10
mov esi, 1
mov dword [0x101b3728], esi
mov dword [0x101b35d0], esi
mov dword [0x101b3478], esi
mov dword [0x101b3320], esi
cmp dword [0x101a9f58], ebx
je 0x100343f3
lea ecx, [esp + 8]
push ecx
push ebx
call sym.DNSLIB.dll_EMaps_Uninitialize
lea edx, [esp + 0x10c]
push str.DNSLib_De_initializing
push edx
mov dword [0x101961a4], ebx
call fcn.10127dc0
lea eax, [esp + 0x114]
push eax
push 0x1014d8cc
call fcn.10017540
add esp, 0x10
cmp dword [0x101aa384], ebx
je 0x10034438
push 4
call fcn.1008d750
add esp, 4
mov dword [0x101aa384], ebx
push 0x101b31ec
mov dword [0x101aaadc], esi
mov dword [0x101aabe4], esi
mov dword [0x101aacf4], esi
mov dword [0x101961a4], ebx
mov dword [0x1019609c], ebx
call fcn.10082e10
push 0x101ab42c
call fcn.10082e10
push 0x1014d5e3
call fcn.10017540
mov eax, dword [0x101ab644]
add esp, 4
cmp eax, ebx
je 0x10034489
push eax
call fcn.10128243
add esp, 4
call fcn.1003bd00
mov esi, dword [0x101b30c4]
cmp esi, ebx
je 0x100344d2
mov eax, dword [esi]
cmp eax, ebx
je 0x100344a9
push eax
call fcn.10128243
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
add esi, 0xc
push esi
call fcn.100137a0
mov eax, dword [0x101b30c4]
mov esi, eax
cmp eax, ebx
je 0x100344d2
push eax
call fcn.1000bcc0
push esi
call fcn.10128f9e
add esp, 4
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
call fcn.10127db1
add esp, 0x20c
ret