joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413c60
Capabilities:
Terminate thread

Disassembly:
mov al, byte [0x429498]
push ebx
xor ebx, ebx
test al, 8
jne 0x413c8b
mov ecx, dword [0x428430]
xor eax, eax
add ecx, 0x1a
push ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call fcn.00414710
add esp, 4
push esi
push edi
call fcn.00418550
push 1
call fcn.0040f0b0
mov eax, dword [0x42951c]
mov esi, dword [sym.imp.KERNEL32.DLL_TerminateThread]
add esp, 4
cmp eax, ebx
je 0x413cb6
push 1
push eax
call esi
mov dword [0x42951c], ebx
mov eax, dword [0x429524]
cmp eax, ebx
je 0x413cca
push 1
push eax
call esi
mov dword [0x429524], ebx
mov eax, dword [0x429528]
cmp eax, ebx
je 0x413cde
push 1
push eax
call esi
mov dword [0x429528], ebx
mov eax, dword [0x429538]
cmp eax, ebx
je 0x413cf2
push 1
push eax
call esi
mov dword [0x429538], ebx
mov eax, dword [0x42952c]
cmp eax, ebx
je 0x413d0a
push eax
call sub.packet.dll_PacketCloseAdapter
add esp, 4
mov dword [0x42952c], ebx
mov eax, dword [0x4294a0]
cmp eax, ebx
je 0x413d3b
mov dword [eax + 0x10], ebx
mov edx, dword [0x4294a0]
mov byte [edx], 0x64
mov eax, dword [0x4294a0]
mov byte [eax + 1], 0x72
mov ecx, dword [0x4294a0]
mov byte [ecx + 2], 0x63
mov edx, dword [0x4294a0]
mov dword [edx + 0x18], ebx
mov eax, dword [0x428324]
push eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov ecx, dword [0x428328]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push str.ishare_user.dat
call fcn.00406460
add esp, 4
call fcn.00418040
mov eax, dword [0x42942c]
cmp eax, ebx
je 0x413d7f
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [0x42942c], ebx
cmp byte [0x428398], bl
je 0x413d8c
call fcn.004107d0
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 1
push esi
call edi
push 2
push esi
call edi
push 0xc8
push esi
call edi
push 0xc9
push esi
call edi
mov edx, dword [0x424508]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
push str.TcpIPDogL.dll
call fcn.00415f80
add esp, 4
test eax, eax
pop edi
pop esi
je 0x413dd5
call fcn.004190b0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [0x428cd0]
push eax
call fcn.00401640
mov ecx, dword [0x428cd0]
push ecx
call fcn.00401320
mov eax, dword [0x428684]
add esp, 8
test eax, 0x10000
je 0x413e0b
push 1
call fcn.004180c0
add esp, 4
cmp dword [0x42944c], ebx
jne 0x413e28
cmp dword [0x429418], ebx
jne 0x413e28
push 0x422f70
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov edx, dword [0x423290]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x423278]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop ebx
ret 0x10
Function at 0x413e50
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x80
test al, 0x80
push esi
je 0x413ec5
mov eax, dword [0x42944c]
test eax, eax
je 0x413ea6
mov eax, dword [0x429450]
mov esi, 1
cmp eax, esi
mov dword [0x429550], esi
mov dword [0x429554], esi
jne 0x413e9a
mov eax, dword [0x41e178]
test eax, eax
je 0x413e9a
cmp dword [0x4229c8], 4
jle 0x413e9a
mov dword [0x4229c8], esi
xor eax, eax
pop esi
add esp, 0x80
ret 0x10
cmp dword [0x42842c], 0xa
jl 0x413eb9
push 0
call fcn.0040f7d0
add esp, 4
xor eax, eax
pop esi
add esp, 0x80
ret 0x10
test al, 0x40
push edi
je 0x413f72
mov edi, dword [esp + 0x94]
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x413f54
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
push esi
call fcn.0040f0b0
add esp, 4
push str.drcomdll.dll
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [esp + 8]
push str.drcomdll.dll
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
push esi
push 0
push str.update_mydll
call fcn.00409af0
push 0
call fcn.0040f0b0
add esp, 0x10
call fcn.00415e70
pop edi
xor eax, eax
pop esi
add esp, 0x80
ret 0x10
push 1
push 0
push str.update_mydll_error
call fcn.00409af0
add esp, 0xc
xor eax, eax
pop edi
pop esi
add esp, 0x80
ret 0x10
test al, 0x20
jne 0x413f99
mov edx, dword [esp + 0x94]
and eax, 0xf
push 1
push eax
push edx
call fcn.00409af0
add esp, 0xc
xor eax, eax
pop edi
pop esi
add esp, 0x80
ret 0x10
and eax, 0xf
push eax
mov eax, dword [esp + 0x98]
push eax
call fcn.00409d30
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x80
ret 0x10
Function at 0x413fc0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 8
cmp eax, 0x203
push esi
jne 0x41405c
mov eax, dword [0x42944c]
test eax, eax
jne 0x413fee
mov eax, dword [0x429458]
test eax, eax
jne 0x413fee
mov eax, dword [0x429418]
test eax, eax
je 0x413ffe
test dword [0x42868c], 0x800000
je 0x4140d5
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41401f
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
add esp, 8
ret 0x10
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov esi, dword [sym.imp.USER32.dll_SetForegroundWindow]
call esi
mov eax, dword [0x42a314]
test eax, eax
je 0x4140d5
push 0
push 0
push eax
call fcn.0040a2d0
mov eax, dword [0x42a314]
add esp, 0xc
push eax
call esi
xor eax, eax
pop esi
add esp, 8
ret 0x10
cmp eax, 0x200
jne 0x41408b
mov eax, dword [0x42944c]
test eax, eax
jne 0x4140d5
mov eax, dword [0x429418]
test eax, eax
jne 0x4140d5
push 0x422f70
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
xor eax, eax
pop esi
add esp, 8
ret 0x10
cmp eax, 0x204
jne 0x4140d5
mov eax, dword [0x42944c]
test eax, eax
jne 0x4140d5
mov eax, dword [0x429458]
test eax, eax
jne 0x4140d5
mov eax, dword [0x429418]
test eax, eax
jne 0x4140d5
mov eax, dword [0x41e18c]
test eax, eax
je 0x4140d5
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.00415d80
xor eax, eax
pop esi
add esp, 8
ret 0x10
Function at 0x415030
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push 0
push ebp
call fcn.0040a2d0
push ebp
call fcn.0040f7a0
push 0x2c
call fcn.004047d0
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
add esp, 0x14
push eax
push 0x384
push ebp
call ebx
push 0x2b
call fcn.004047d0
add esp, 4
push eax
push 0x385
push ebp
call ebx
push 0x29
call fcn.004047d0
add esp, 4
push eax
push 0x386
push ebp
call ebx
push 0x28
call fcn.004047d0
add esp, 4
push eax
push 0x387
push ebp
call ebx
push 0x27
call fcn.004047d0
add esp, 4
push eax
push 0x388
push ebp
call ebx
push 0x24
call fcn.004047d0
add esp, 4
push eax
push 1
push ebp
call ebx
push 0x25
call fcn.004047d0
add esp, 4
push eax
push 2
push ebp
call ebx
mov eax, dword [0x41e158]
test eax, eax
jne 0x415176
mov eax, dword [0x41e154]
test eax, eax
je 0x41513f
push 0
push 0x4293d8
call fcn.0040af30
add esp, 4
push eax
call fcn.004051a0
mov al, byte [0x428330]
add esp, 8
test al, al
jne 0x415164
mov edi, 0x4293d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x428330
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x428330]
cmp al, 0x30
jl 0x415164
cmp al, 0x39
jg 0x415164
mov byte [0x428330], 0
jmp 0x415164
mov edi, str.DrcomRAS
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x428330
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0x65
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [0x429490], 0x1010101
jne 0x4151e1
mov edi, 0x41e198
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4151e1
mov eax, dword [0x42874c]
test ah, 4
je 0x4151e1
mov edi, 0x41e198
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x428cac
mov eax, ecx
mov esi, edi
mov edi, 0x428cac
mov byte [0x428330], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040af30
add esp, 4
push eax
call fcn.004051a0
add esp, 8
mov al, byte [0x428330]
test al, al
jne 0x4151fa
push 0x429490
call fcn.0040a1d0
add esp, 4
push eax
jmp 0x4151ff
push 0x428330
push 0x65
push ebp
call ebx
mov ecx, dword [0x428430]
push ecx
push 0x66
push ebp
call ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x415570
Capabilities:
Delete file
Get common file path
Read file on windows

Disassembly:
sub esp, 0x83c
lea eax, [esp + 0x3c]
push esi
push edi
push 0x738
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x41569b
or ecx, 0xffffffff
mov edi, str.micsy
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x48]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, str.stem.
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x50]
and ecx, 3
push 4
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41f77c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
lea eax, [esp + 0x5c]
push SysReAllocString
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
pop ebx
cmp esi, 0xffffffff
je 0x415690
xor eax, eax
lea edx, [esp + 8]
push eax
push 0x428ca4
mov ecx, 0xf
lea edi, [esp + 0x10]
push 0x3c
push edx
rep stosd dword es:[edi], eax
push esi
mov dword [0x428ca4], 0x3c
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
push esi
jne 0x415681
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
xor al, al
pop esi
add esp, 0x83c
ret
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [0x428ca4]
test eax, eax
jne 0x4156a6
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
xor al, al
pop esi
add esp, 0x83c
ret
lea edx, [esp + 8]
mov byte [esp + 0x43], 0
push edx
call fcn.00404c20
mov ecx, dword [esp + 0x850]
mov edi, dword [esp + 0x84c]
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
mov al, 1
pop esi
add esp, 0x83c
ret
Function at 0x4157c0
Capabilities:
Read file on windows
Reference cloudflare dns server

Disassembly:
sub esp, 0x108
push ebx
push esi
push edi
mov edi, str.1.1.1.1
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x10], 0
mov eax, ecx
mov esi, edi
mov edi, 0x428cac
push 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
push ecx
stosb byte es:[edi], al
call fcn.00412430
mov edi, str.edata.dat
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push eax
push 3
mov ecx, ebx
push eax
push eax
and ecx, 3
lea eax, [esp + 0x24]
push SysReAllocString
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4158a4
xor ecx, ecx
lea edx, [esp + 0xc]
mov dword [0x428cac], ecx
mov dword [esp + 0xc], 0x10
mov dword [0x428cb0], ecx
mov dword [0x428cb4], ecx
mov dword [0x428cb8], ecx
push ecx
push edx
push 0x10
push 0x428cac
push esi
mov word [0x428cbc], cx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 0x108
ret

Function at 0x4158b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x128
push ebx
push esi
push edi
push 0x429490
call fcn.0040a1d0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x39]
mov byte [esp + 0x38], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x38]
push ecx
stosb byte es:[edi], al
call fcn.00412430
mov edi, str.edata.dat
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push eax
push 2
mov ecx, ebx
push eax
push eax
and ecx, 3
lea eax, [esp + 0x44]
push 0xc0000000
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x415983
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
push eax
push edx
lea eax, [esp + 0x18]
push ecx
push eax
push esi
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 0x128
ret
Function at 0x415990
Capabilities:
Delete file
Get file size
Move file
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateFileA]
push edi
mov edi, dword [esp + 0x14]
push 0
push 0
push 4
push 0
push 0
push 0xc0000000
push edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x415a29
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp eax, ecx
jle 0x4159fd
push esi
call ebx
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x415a29
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push 0
push ecx
push eax
push edx
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x415fd0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x254
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
push 0x200
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
mov dx, word [esp + 0x270]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push 0
mov word [esp + 0x58], dx
push 0
push 0
lea edx, [esp + 0x74]
push 0
push edx
push 0
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
pop edi
je 0x416087
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x416071
mov eax, dword [esp]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 4]
push edx
call esi
pop esi
add esp, 0x254
ret
Function at 0x416500
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov eax, dword [eax]
test eax, eax
jne 0x41652a
push str.DisplayHTMLStr_browserObject_is_NULL_n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x41ba58
push eax
xor ebx, ebx
call dword [ecx]
test eax, eax
jne 0x416522
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x41f93c
mov word [esp + 0x18], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 4]
push ebx
push ebx
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x20]
push ebx
push edx
push eax
call dword [ecx + 0xd0]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
jne 0x41666c
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push 0x41ba48
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x416662
push ebp
push esi
push edi
push 0x41b9f8
push 1
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov esi, eax
test esi, esi
mov dword [esp + 0x34], esi
je 0x416655
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
jne 0x41664e
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push eax
push eax
push 0xffffffffffffffff
push ebp
push eax
push eax
mov word [ecx], 8
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov edi, eax
lea edx, [edi + edi]
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x416655
push edi
push esi
push 0xffffffffffffffff
push ebp
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [esp + 0x14]
test ebx, ebx
mov dword [eax + 8], ebx
je 0x41664a
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xec]
mov esi, dword [esp + 0x34]
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
pop ebp
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
je 0x416522
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x416690
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov eax, dword [eax]
test eax, eax
jne 0x4166c0
push str.DisplayHTMLPage_browserObject_is_NULL_n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x41ba58
push eax
call dword [ecx]
test eax, eax
jne 0x416789
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [esp + 0x28], 8
call ebp
mov edi, eax
lea ecx, [edi + edi]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x416739
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x416750
mov eax, dword [esp + 0x24]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x24]
push 0
push 0
push 0
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push 0
push edx
push eax
call dword [ecx + 0xd0]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10
ret

Function at 0x416900
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
mov ecx, 0xfc
xor eax, eax
mov dword [0x428308], 0x4295a8
push esi
push edi
mov edi, 0x4295a8
rep stosd dword es:[edi], eax
mov edi, str.drcom
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x4295a8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00418dd0
pop edi
cmp eax, 0xffffffff
pop esi
jne 0x416966
push 0x30
push 0x41fa6c
push 0x41fa44
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add esp, 8
ret
push eax
call fcn.00418ed0
add esp, 4
lea ecx, [esp]
mov dword [esp + 4], 1
mov dword [esp], 0
push ecx
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4169db
lea edx, [esp + 4]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x10]
push str.DisableTaskOffload
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4169d0
push 0x30
push 0x41fa6c
push 0x41f9cc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret