joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4abc10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00494240
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4abcdb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4abcdb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4abc8e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4abc99
or bh, 8
and edi, 0x8000000
je 0x4abcb4
mov eax, dword [0x5079bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4abcdb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ac0b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4ac0db
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4ac0ff
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4ac11a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4b0f4c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b0f84
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b43ff
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b43d6
jmp 0x4b0f90
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4b288d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b28cf
call fcn.004c2fcb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4b28cf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b28c6
xor eax, eax
jmp 0x4b28d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b28dd
pop edi
pop esi
pop ebx
ret 4
Function at 0x402a20
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push esi
push edi
push 0
push 2
mov byte [esp + 0x23b], 0
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x402b37
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32First
lea ecx, [esp + 0x2c]
push 0x5c
push ecx
call fcn.00403610
add esp, 8
test eax, eax
push 0x103
jne 0x402a7e
lea edx, [esp + 0x30]
lea eax, [esp + 0x134]
push edx
push eax
jmp 0x402a88
inc eax
lea ecx, [esp + 0x134]
push eax
push ecx
call fcn.00402f30
mov edi, dword [esp + 0x244]
add esp, 0xc
lea edx, [esp + 0x130]
push 0xf
push edi
push edx
call fcn.00409020
add esp, 0xc
test eax, eax
jne 0x402ac2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
add esp, 0x22c
ret 4
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x402b30
lea ecx, [esp + 0x2c]
push 0x5c
push ecx
call fcn.00403610
add esp, 8
test eax, eax
push 0x103
jne 0x402af8
lea edx, [esp + 0x30]
lea eax, [esp + 0x134]
push edx
push eax
jmp 0x402b02
inc eax
lea ecx, [esp + 0x134]
push eax
push ecx
call fcn.00402f30
add esp, 0xc
lea edx, [esp + 0x130]
push 0xf
push edi
push edx
call fcn.00409020
add esp, 0xc
test eax, eax
je 0x402aae
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402ad1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
add esp, 0x22c
ret 4
Function at 0x402b50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x230
push 0
push 2
mov byte [esp + 0x237], 0
mov dword [esp + 0xc], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x402cb7
lea ecx, [esp + 4]
push ecx
push eax
call sub.KERNEL32.dll_Process32First
lea edx, [esp + 0x28]
push 0x5c
push edx
call fcn.00403610
add esp, 8
test eax, eax
push 0x103
jne 0x402bae
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x130]
push eax
push ecx
jmp 0x402bb8
inc eax
lea edx, [esp + 0x130]
push eax
push edx
call fcn.00402f30
mov eax, dword [esp + 0x240]
add esp, 0xc
lea ecx, [esp + 0x12c]
push ebx
push ebp
push esi
push edi
push 0xf
push eax
push ecx
call fcn.00409020
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
add esp, 0xc
test eax, eax
jne 0x402c10
mov edx, dword [esp + 0x1c]
push edx
push 0
push 0x100001
call ebp
mov esi, eax
test esi, esi
je 0x402c10
push 0
push esi
call ebx
push esi
call edi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x402cb0
lea ecx, [esp + 0x38]
push 0x5c
push ecx
call fcn.00403610
add esp, 8
test eax, eax
push 0x103
jne 0x402c4e
lea edx, [esp + 0x3c]
lea eax, [esp + 0x140]
push edx
push eax
jmp 0x402c58
inc eax
lea ecx, [esp + 0x140]
push eax
push ecx
call fcn.00402f30
mov edx, dword [esp + 0x250]
add esp, 0xc
lea eax, [esp + 0x13c]
push 0xf
push edx
push eax
call fcn.00409020
add esp, 0xc
test eax, eax
jne 0x402c99
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push 0x100001
call ebp
mov esi, eax
test esi, esi
je 0x402c99
push 0
push esi
call ebx
push esi
call edi
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402c27
push esi
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x230
ret 4

Function at 0x402ce0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402d66
lea ecx, [esp + 8]
mov dword [esp + 4], 1
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x402d28
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
ret
mov ecx, dword [esp]
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
push 0
push ecx
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x402d5b
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
ret
mov eax, dword [esp]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
ret
Function at 0x402d70
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x1c
push ebp
push esi
push edi
xor edi, edi
push 0xf003f
push edi
push edi
mov dword [eax], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
je 0x402e30
mov ecx, dword [esp + 0x2c]
push 0xf01ff
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x402dba
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
lea edx, [esp + 0xc]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x402e0f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x402e0e
cmp dword [esp + 0x14], 3
jne 0x402e0e
push 0x3e8
inc edi
call ebx
cmp edi, 0xa
jae 0x402e0e
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x402dea
pop ebx
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x402e24
mov edx, dword [esp + 0x30]
mov dword [edx], 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret

Function at 0x402e40
Capabilities:
Delete directory
Delete file
Query environment variable

Disassembly:
sub esp, 0x228
push ebx
lea eax, [esp + 0x128]
push 0x104
push eax
push str.windir
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, dword [str.UpdateDownload]
lea edx, [esp + 0x128]
push ecx
push edx
push str._s_s
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.004031e4
add esp, 0x14
lea edx, [esp + 4]
xor ebx, ebx
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x12b], bl
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov word [esp + 0x18], 0x414
mov dword [esp + 0x1a], ebx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x402eff
mov eax, dword [str.UpdateDownload]
lea ecx, [esp + 0x128]
push eax
push ecx
push str._s_s_
lea edx, [esp + 0x30]
push 0x104
push edx
call fcn.004031e4
add esp, 0x14
lea eax, [esp + 0x24]
mov byte [esp + 0x127], bl
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop ebx
add esp, 0x228
ret
Function at 0x409230
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x4118f8]
sub esp, 0x94
test eax, eax
jne 0x409416
push edi
mov ecx, 0x25
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
jne 0x409278
mov eax, 0x80000000
mov dword [0x4118f8], eax
add esp, 0x94
ret
mov ecx, dword [esp + 8]
xor eax, eax
mov ah, byte [esp + 4]
and ecx, 0xff
and eax, 0xffff
or eax, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, 1
mov dword [0x4118f8], eax
jne 0x4092c4
cmp eax, 0x40a
jne 0x409416
cmp byte [esp + 0x15], 0x41
jne 0x409416
mov eax, 0x40b
mov dword [0x4118f8], eax
add esp, 0x94
ret
cmp ecx, 2
jne 0x409416
or eax, 0x10000
cmp eax, 0x10501
mov dword [0x4118f8], eax
jne 0x40935a
lea edx, [esp + 0x14]
push str.Service_Pack_2
push edx
call fcn.004077d0
add esp, 8
test eax, eax
je 0x409300
mov dword [0x4118f8], 0x10503
jmp 0x40935a
cmp dword [0x4118f8], 0x10501
jne 0x40935a
lea eax, [esp + 0x14]
push str.Service_Pack_3
push eax
call fcn.004077d0
add esp, 8
test eax, eax
je 0x40932e
mov dword [0x4118f8], 0x10506
jmp 0x40935a
cmp dword [0x4118f8], 0x10501
jne 0x40935a
lea ecx, [esp + 0x14]
push str.Service_Pack_4
push ecx
call fcn.004077d0
add esp, 8
test eax, eax
je 0x40935a
mov dword [0x4118f8], 0x10508
cmp dword [esp + 4], 5
jne 0x409394
cmp dword [esp + 8], 2
jne 0x409394
lea edx, [esp + 0x14]
push str.Service_Pack_1
push edx
mov dword [0x4118f8], 0x10502
call fcn.004077d0
add esp, 8
test eax, eax
je 0x4093d8
mov eax, 0x10504
mov dword [0x4118f8], eax
jmp 0x4093dd
lea eax, [esp + 0x14]
push str.Service_Pack_2
push eax
call fcn.004077d0
add esp, 8
test eax, eax
je 0x4093b6
mov eax, 0x10505
mov dword [0x4118f8], eax
jmp 0x4093dd
lea ecx, [esp + 0x14]
push str.Service_Pack_3
push ecx
call fcn.004077d0
add esp, 8
test eax, eax
je 0x4093d8
mov eax, 0x10507
mov dword [0x4118f8], eax
jmp 0x4093dd
mov eax, dword [0x4118f8]
mov ecx, dword [esp + 4]
cmp ecx, 5
jne 0x4093ff
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x409416
mov eax, 0x10500
mov dword [0x4118f8], eax
add esp, 0x94
ret
cmp ecx, 6
jne 0x409416
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x409416
mov eax, 0x10600
mov dword [0x4118f8], eax
add esp, 0x94
ret
Function at 0x409500
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 0x10
mov eax, dword [0x410e30]
mov dl, byte [0x410e36]
push edi
mov edi, ecx
mov cx, word [0x410e34]
mov dword [esp + 0xc], eax
mov al, byte [edi]
mov dword [esp + 8], 0
test al, al
mov dword [esp + 4], 0
mov word [esp + 0x10], cx
mov byte [esp + 0x12], dl
jne 0x409545
mov eax, 0x8000400a
pop edi
add esp, 0x10
ret
lea eax, [esp + 8]
push esi
push eax
push 0x410e20
push 0x17
push 0
push 0x410e10
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x40957d
push esi
lea ecx, [esp + 0x14]
push 0x410de4
push ecx
push 0x6c
push edi
call fcn.00409730
add esp, 0x14
jmp 0x4095dd
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jge 0x4095aa
push esi
lea edx, [esp + 0x14]
push 0x410db8
push edx
push 0x74
push edi
call fcn.00409730
add esp, 0x14
jmp 0x4095dd
mov eax, dword [esp + 8]
lea edx, [edi + 0x104]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x4095d9
push esi
lea eax, [esp + 0x14]
push 0x410d8c
push eax
push 0x7c
push edi
call fcn.00409730
add esp, 0x14
jmp 0x4095dd
mov byte [edi + 1], 1
mov eax, dword [esp + 8]
test eax, eax
je 0x4095eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4095f9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
Function at 0x40a23c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ebx, eax
xor ebp, ebp
xor edi, edi
lea eax, [ebx + 0x10]
call fcn.00403dcc
cmp ebp, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x40a2a5
mov eax, dword [ebx + 0x10]
mov edx, 0x40a3d8
call fcn.00404190
jne 0x40a274
lea eax, [ebx + 0x10]
call fcn.00403dcc
jmp 0x40a2ad
mov eax, dword [ebx + 0x10]
mov edx, 0x40a3e4
call fcn.00404190
jne 0x40a290
lea eax, [ebx + 0x10]
mov edx, 0x40a3d8
call fcn.00403e20
cmp dword [ebx + 0x10], 0
jne 0x40a2ad
lea eax, [ebx + 0x10]
mov edx, 0x40a3e4
call fcn.00403e20
jmp 0x40a2ad
lea eax, [ebx + 0x10]
call fcn.00403dcc
mov eax, ebx
call fcn.0040a08c
mov eax, dword [0x40b158]
inc dword [eax]
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov word [esp], 2
push 0x8b
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a307
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
mov word [esp], 2
push 0x1bd
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a34a
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
mov word [esp], 2
push 0x75d7
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a38d
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
test edi, edi
je 0x40a3b7
push esi
call sub.wsock32.dll_closesocket
lea eax, [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, 0x40a3f0
call fcn.00404090
mov eax, ebx
call fcn.00409f64
mov ebp, eax
push 0x200
call sub.kernel32.dll_Sleep
jmp 0x40a251

Function at 0x401ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406c], eax
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.mifedount
push str.Deltapo
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401b33
xor eax, eax
jmp 0x401b4e
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100bf55
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100bfa8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jbe 0x100bfa8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100bfa8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100bfa8
push dword [ebp + 0x14]
push ebx
push eax
push dword [ebp + 8]
call fcn.0104c251
test eax, eax
jl 0x100bfbb
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop esi
pop ebx
pop ebp
ret

Function at 0x1011f60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 4], 0x104
call fcn.01011e15
test eax, eax
je 0x1011f81
push 0x1001770
jmp 0x1012016
push esi
lea eax, [ebp - 8]
push eax
push 1
xor esi, esi
push esi
push 0x1001710
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1011ff3
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push esi
push 0x10016f8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov esi, 0x10016e4
jne 0x1011fde
mov eax, dword [ebp - 4]
shr eax, 1
add eax, 4
cmp eax, 0x104
ja 0x1011fde
push 0x10ad280
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x1011fe8
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1012002
mov esi, 0x10016e4
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
pop esi
je 0x101201f
push 0x10016c8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
leave
ret
Function at 0x10120e3
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x678
mov eax, dword [0x1084428]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x628], eax
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x624], eax
lea eax, [ebp - 0x414]
push eax
mov dword [0x10ad304], 1
call esi
xor ebx, ebx
cmp dword [edi], ebx
je 0x101214e
push dword [ebp - 0x624]
lea eax, [ebp - 0x20c]
push eax
call esi
mov eax, dword [edi]
mov word [ebp + eax*2 - 0x20e], bx
lea eax, [edi + eax*2 + 4]
push eax
jmp 0x10121c1
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
push ebx
push dword [ebp - 0x624]
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
lea eax, [ebp - 0x20c]
je 0x10121a4
push eax
push dword [ebp - 0x624]
call esi
mov eax, dword [ebp - 0x62c]
push dword [ebp - 0x62c]
lea ecx, [ebp - 0x20c]
sub eax, ecx
sar eax, 1
mov dword [edi], eax
mov word [ebp + eax*2 - 0x20e], bx
jmp 0x10121c1
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x10121bb
mov word [ebp - 0x20c], bx
push dword [ebp - 0x624]
lea eax, [ebp - 0x61c]
push eax
call esi
mov eax, dword [ebp - 0x628]
mov dword [ebp - 0x674], eax
lea eax, [ebp - 0x61c]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x678], 0x4c
mov dword [ebp - 0x670], ebx
mov dword [ebp - 0x66c], 0x10ad100
mov dword [ebp - 0x668], ebx
mov dword [ebp - 0x664], ebx
mov dword [ebp - 0x660], 1
mov dword [ebp - 0x658], 0x104
mov dword [ebp - 0x654], ebx
mov dword [ebp - 0x650], ebx
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x648], 0x10ad080
mov dword [ebp - 0x644], 0x1804
mov word [ebp - 0x640], bx
mov word [ebp - 0x63e], bx
mov dword [ebp - 0x63c], 0x10ad200
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x630], ebx
lea eax, [ebp - 0x678]
push eax
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
cmp eax, ebx
mov dword [ebp - 0x628], eax
je 0x10122f1
movzx eax, word [ebp - 0x640]
mov dword [ebp - 0x620], eax
lea eax, [ebp - 0x620]
push eax
call fcn.0101206a
test eax, eax
pop ecx
jne 0x10122e4
cmp word [ebp - 0x640], bx
je 0x1012272
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
movzx eax, word [ebp - 0x640]
shl eax, 1
mov word [ebp + eax - 0x20e], bx
lea eax, [ebp + eax - 0x61c]
push eax
lea eax, [ebp - 0x61c]
push eax
call esi
jmp 0x1012272
mov ecx, 0x83
lea esi, [ebp - 0x620]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x628], ebx
pop edi
pop esi
mov dword [0x10ad304], ebx
pop ebx
je 0x101231e
push dword [ebp - 0x624]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x101231e
xor eax, eax
inc eax
jmp 0x1012320
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.010123a2
leave
ret