joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402684
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
push ebx
push esi
call fcn.004024f6
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push 0x40e200
push 7
push ebx
push 0x40c2a0
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x402859
lea edx, [ebp - 4]
mov dword [ebp - 4], ebx
push edx
push 0x40c2c0
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax]
push 0x40c2b0
push str.DDD_Install_Program
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x40284c
push edi
lea eax, [ebp - 0x444]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x444]
push eax
call fcn.004057c0
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0xc44]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.004057c0
pop ecx
inc eax
push eax
lea eax, [ebp - 0x444]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 4]
push str.Install_DuDu_Download_Program.
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
mov eax, dword [ebp - 4]
push 0x20
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebp - 4]
push 0xa
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 4]
push 0x2000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebp - 4]
push ebx
push 0x410fc0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
push 0xb
xor eax, eax
pop ecx
lea edi, [ebp - 0x42]
rep stosd dword es:[edi], eax
push 1
mov dword [ebp - 0x10], ebx
pop esi
stosw word es:[edi], ax
mov word [ebp - 0x44], 0x30
mov word [ebp - 0x3c], si
mov word [ebp - 0x3e], si
mov word [ebp - 0x40], 0x7cf
mov word [ebp - 0x34], 9
mov word [ebp - 0x32], bx
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x20], esi
lea edx, [ebp - 0x12]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], 0x46
mov dword [ebp - 0x2c], 0x3c
mov word [ebp - 0x20], si
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
push 0x40c3a4
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
pop edi
jl 0x40284c
mov eax, dword [ebp - 0xc]
push esi
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x402848
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x40285b
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x402859
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x403ba9
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
and word [ebp - 0x190], 0
push edi
push 0x63
xor eax, eax
pop ecx
lea edi, [ebp - 0x18e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
pop edi
jne 0x403be8
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, 1
leave
ret

Function at 0x403cc4
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2804
call fcn.00405790
push ebx
push esi
push edi
mov edi, ecx
push dword [0x40c2d0]
mov ecx, dword [ebp + 8]
push 0
call fcn.00402ae1
mov esi, dword [sym.imp.WS2_32.dll_recv]
mov ebx, 0x2800
push 2
lea eax, [ebp - 0x2804]
push ebx
push eax
push dword [edi + 0x44]
call esi
test eax, eax
mov dword [ebp - 4], eax
jle 0x403d37
push 0
push eax
lea eax, [ebp - 0x2804]
push eax
push dword [edi + 0x44]
call esi
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2804]
push eax
call fcn.00402a8a
push 2
lea eax, [ebp - 0x2804]
push ebx
push eax
push dword [edi + 0x44]
jmp 0x403cfe
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x403d3e
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
and dword [ebp - 4], 0
push esi
push edi
push dword [0x40c2d0]
mov ebx, ecx
mov ecx, dword [ebp + 8]
push 0
call fcn.00402ae1
mov esi, dword [sym.imp.WS2_32.dll_recv]
push 2
lea eax, [ebp - 0x204]
push 0x200
push eax
push dword [ebx + 0x44]
call esi
mov edi, eax
test edi, edi
jle 0x403e2b
xor eax, eax
test edi, edi
jle 0x403da4
cmp byte [ebp + eax - 0x204], 0xa
je 0x403d9a
inc eax
cmp eax, edi
jl 0x403d89
jmp 0x403da4
lea edi, [eax + 1]
mov dword [ebp - 4], 1
push 0
lea eax, [ebp - 0x204]
push edi
push eax
push dword [ebx + 0x44]
call esi
cmp dword [ebp - 4], 0
jne 0x403ddc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.00402a8a
push 2
lea eax, [ebp - 0x204]
push 0x200
push eax
push dword [ebx + 0x44]
jmp 0x403d77
mov esi, dword [ebp + 8]
dec edi
lea eax, [ebp - 0x204]
push edi
push eax
mov ecx, esi
call fcn.00402a8a
mov eax, dword [esi + 8]
test eax, eax
jbe 0x403e2b
lea edi, [eax - 1]
cmp eax, edi
jb 0x403e0f
cmp dword [esi + 4], 0
je 0x403e0f
mov ecx, esi
call fcn.00404ed4
add edi, dword [esi + 4]
jmp 0x403e14
mov edi, 0x40c28c
cmp byte [edi], 0xd
jne 0x403e2b
mov eax, dword [esi + 8]
push dword [0x40c2d0]
dec eax
mov ecx, esi
push eax
call fcn.00402ae1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40491f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push str.REMOTESETUP
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
cmp ebx, esi
je 0x404948
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4049a2
push edi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcA]
lea eax, [ebp - 8]
mov dword [ebp - 8], 8
push eax
mov dword [ebp - 4], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push esi
push dword [ebp + 8]
push esi
mov esi, 0x410fd8
mov ecx, esi
call fcn.004049b1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004036e3
pop ecx
mov edi, eax
pop ecx
mov ecx, esi
call fcn.00404ac3
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, edi
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10001970
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x234
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x248]
lea eax, [esp + 0x1c]
push eax
push 0x1000
mov ecx, dword [edi]
xor ebx, ebx
push 1
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call sub.olobj40.dll_hmAllocate
mov esi, eax
add esp, 0x10
cmp si, bx
jl 0x10001aee
mov esi, dword [esp + 0x1c]
push str.SYSTEM
lea edx, [esp + 0x48]
push str.SELECT_OWNER_FROM__s.SNAPSHOTS_WHERE_NAME__
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c], 0x1000
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x268]
mov ecx, dword [esp + 0x264]
mov edx, dword [esp + 0x260]
push ebx
push ebx
push 0x1000a398
push eax
mov eax, dword [esp + 0x26c]
push ecx
push str._AND_OWNER__
push edx
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
call sub.olsql40.dll_ConcateStr
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x280]
push ebx
push esi
push eax
push ebx
push ebx
push 0xffffffffffffffff
push ebp
call sub.olsql40.dll_sqlPrepStmt
mov esi, eax
add esp, 0x50
cmp si, bx
jl 0x10001aee
lea ecx, [esp + 0x14]
add edi, 4
push ecx
push ebp
push 2
push edi
call sub.olsql40.dll_sqlAllocCursor
mov esi, eax
add esp, 0x10
cmp si, bx
jl 0x10001aee
lea edx, [esp + 0x10]
push edx
push edi
call sub.olsql40.dll_sqlAllocBind
mov esi, eax
add esp, 8
cmp si, bx
jl 0x10001aee
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x148]
push ebx
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0x100
mov dword [esp + 0x40], ebx
mov word [esp + 0x4c], bx
call sub.olsql40.dll_sqlBindVar
mov esi, eax
add esp, 0xc
cmp si, bx
jl 0x10001aee
mov eax, dword [esp + 0x14]
push ebx
push ebx
push eax
call sub.olsql40.dll_sqlOpenCursor
mov esi, eax
add esp, 0xc
cmp si, bx
jl 0x10001aee
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ecx
push edx
call sub.olsql40.dll_sqlFetch
mov ecx, dword [esp + 0x270]
mov esi, eax
add esp, 0x10
cmp si, 0x13ed
sete al
mov byte [ecx], al
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10001b1a
push eax
call sub.olsql40.dll_sqlCloseCursor
add esp, 4
cmp si, bx
jne 0x10001b06
mov esi, eax
lea edx, [esp + 0x14]
push edx
call sub.olsql40.dll_sqlFreeCursor
add esp, 4
cmp si, bx
jne 0x10001b1a
mov esi, eax
cmp dword [esp + 0x10], ebx
je 0x10001b34
lea eax, [esp + 0x10]
push eax
call sub.olsql40.dll_sqlFreeBind
add esp, 4
cmp si, bx
jne 0x10001b34
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10001b56
mov ecx, dword [esp + 0x248]
push eax
push 1
mov edx, dword [ecx]
push edx
call sub.olobj40.dll_hmFree
add esp, 0xc
cmp si, bx
je 0x10001b59
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
Function at 0x5c5c75
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 0x1c]
call 0x5c5c5d

Function at 0x5c5d09
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 5]
pop word [esp + 7]
push word [esp + 0x23]
call fcn.005c5c75
jmp 0x5c5ca7
Function at 0x4ea948
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4ea950
push ebx
push esi
xor edx, edx
push ebp
push 0x4eab18
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004e9d10
lea edx, [ebp - 0x14]
mov eax, dword [0x4f593c]
mov eax, dword [eax]
call fcn.004b5058
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00413c10
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x4fb3e8]
call fcn.00413c10
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00406e64
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00413fd8
lea edx, [ebp - 8]
mov eax, dword [0x4fb3e8]
call fcn.00413ee4
lea eax, [ebp - 0xc]
mov edx, dword [0x4fb3ec]
call fcn.00406aa4
call fcn.004045c8
mov esi, eax
test esi, esi
jle 0x4eaa63
mov ebx, 1
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x1c]
mov eax, 0x4eab34
call fcn.004074a8
test eax, eax
jg 0x4eaa10
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x20]
mov eax, 0x4eab44
call fcn.004074a8
test eax, eax
jle 0x4eaa39
push dword [ebp - 0xc]
push 0x4eab54
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00404628
push dword [ebp - 0x24]
push 0x4eab68
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00407008
jmp 0x4eaa5b
push dword [ebp - 0xc]
push 0x4eab34
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.00404628
push dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407008
inc ebx
dec esi
jne 0x4ea9da
mov eax, dword [ebp - 4]
call fcn.004140e0
push 0
mov ecx, 0x4eab78
mov edx, 0x4eab8c
mov eax, dword [0x4fb40c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
test al, al
je 0x4eaac9
push 0
mov eax, dword [ebp - 4]
call fcn.00406adc
push eax
push 0x4eaba8
push dword [ebp - 8]
push 0x4eabc0
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00407008
mov eax, dword [ebp - 0x2c]
call fcn.00406adc
push eax
push 0x4eabc8
push 0x4eabd0
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x4eaaf1
push dword [ebp - 4]
push dword [ebp - 8]
push 0x4eab34
push dword [ebp - 0xc]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00407008
mov eax, dword [ebp - 0x30]
mov edx, 1
call fcn.004ea854
mov eax, dword [0x4f593c]
mov eax, dword [eax]
call fcn.004b44e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eab1f
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.00406a48
ret

Function at 0x4068b5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c56c], 0
push esi
jne 0x4068ec
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068c6
mov dword [ecx*4 + 0x42c568], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40691d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c568]
xor eax, esi
inc ecx
dec edx
jne 0x4068ff
pop edi
not eax
pop esi
ret 0xc
Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41d17a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 8], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
fld qword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sub esp, 8
mov dword [esp + 0x1c], 0
fstp qword [esp]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push 0x425074
push esi
push 8
push 1
push 3
push edx
mov dword [esp + 0x3c], 1
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x34
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x24

Function at 0x4010a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41d17a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 8], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push 2
push eax
push 0
push 0
push 0x4250a0
push esi
push 8
push 1
push 0x3d
mov dword [esp + 0x38], 0
push ecx
mov dword [esp + 0x30], 1
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x28
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x401240
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41d142
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x41f698
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.CLSID26037A0E_7CBD_4FFF_9C63_56F2D0770214InProcServer32
push 0x80000000
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4012ad
lea ecx, [esp + 8]
push ecx
jmp 0x401339
push 0x400
call sub.MFC80U.DLL_Ordinal_265
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x14]
push edx
mov esi, eax
push esi
lea eax, [esp + 0x20]
push eax
push 0
push 0x41fc34
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401334
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push esi
lea edx, [esp + 0x10]
push 0x41f6b8
push edx
mov byte [esp + 0x30], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x401341
lea edx, [esp + 8]
push edx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x4013f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41d769
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x425028]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push edi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push 0x428c6c
push eax
mov edi, str.dfshim2.dll
call fcn.00404600
add esp, 8
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40154c
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea edx, [esp + 0x18]
push edx
push str.dm.dmsoft
call edi
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x401490
mov eax, dword [0x428c6c]
push 1
push eax
push str.dfshim2.dll__s
push str.regsvr32.exe
jmp 0x4014bd
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
call fcn.00401360
test eax, eax
jne 0x4014dd
mov eax, dword [0x428c6c]
push 1
push eax
push str.dfshim2.dll__s
push str.regsvr32
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1f4
call ebx
lea ecx, [esp + 0x18]
push ecx
push str.dm.dmsoft
call edi
push 0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_1615
push 0x41f7c0
push 0x425070
lea eax, [esp + 0x1c]
push eax
push 3
push 1
push 2
push esi
call sub.MFC80U.DLL_Ordinal_3901
push 0x41f7c4
push 0x4250ac
lea ecx, [esp + 0x38]
push ecx
push 3
push 1
push 0x5e
push esi
call sub.MFC80U.DLL_Ordinal_3901
push str.dct.txt
push 0
push 0x4250b4
lea edx, [esp + 0x58]
push edx
push 3
push 1
push 0x6b
push esi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x58
push 0xa
call ebx
mov byte [0x426b40], 1
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041c2bd
mov esp, ebp
pop ebp
ret
Function at 0x403e60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
push edi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR80.dll_memset
xor eax, eax
lea ecx, [esp + 0x10]
push 0x428c50
push ecx
mov edi, 0x41fb84
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.00404600
add esp, 0x14
lea edx, [esp + 8]
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [esp + 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
pop edi
add esp, 0x60
ret

Function at 0x403fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41d347
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
lea ecx, [esp + 0x30]
call sub.MFC80U.DLL_Ordinal_556
xor ebp, ebp
push ebp
mov dword [esp + 0x50], ebp
mov eax, dword [0x428c48]
push 0x1001
push eax
lea ecx, [esp + 0x3c]
call sub.MFC80U.DLL_Ordinal_5091
test eax, eax
jne 0x404010
push ebp
push ebp
push 0x41fb9c
call sub.MFC80U.DLL_Ordinal_1118
jmp 0x404140
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x4c], 2
mov ebx, dword [sym.imp.MFC80U.DLL_Ordinal_2311]
nop
lea esi, [ebp + 0x426d08]
call fcn.00404740
test al, al
jne 0x40412c
mov ecx, dword [ebp + 0x425ba0]
push ecx
lea edx, [esp + 0x18]
push 0x41fc2c
push edx
call ebx
lea eax, [esp + 0x38]
push esi
push eax
mov edi, 0x41f7e4
call fcn.00404600
lea ecx, [ebp + 0x427ca8]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, eax
mov byte [esp + 0x68], 3
call fcn.00404580
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x70], 4
call fcn.00404600
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, eax
mov byte [esp + 0x78], 5
call fcn.00404580
push eax
lea eax, [esp + 0x4c]
push eax
mov edi, 0x41fbb4
mov byte [esp + 0x80], 6
call fcn.00404600
add esp, 0x34
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC80U.DLL_Ordinal_6306
add ebp, 4
cmp ebp, 0x7d0
jl 0x404030
lea ecx, [esp + 0x30]
call sub.MFC80U.DLL_Ordinal_1443
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC80U.DLL_Ordinal_744
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x404170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41d674
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
fld1
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov edi, 0xf1
mov dword [eax], edi
mov ebx, 0x80
mov dword [eax + 4], ebx
mov ebp, 0x18f
mov ecx, 0xe6
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x58]
push 0x41fbb8
push eax
lea esi, [esp + 0x3c]
mov edx, str.000000_0000000
call fcn.00401580
test eax, eax
je 0x404274
lea ecx, [esp + 0x1c]
push 0x428c6c
push ecx
mov edi, str.AbnormalAccount.ini
call fcn.00404600
mov esi, eax
mov ebx, dword [esp + 0x4c]
lea edx, [ebx*4 + 0x426d08]
push edx
lea eax, [esp + 0x24]
push eax
mov edi, 0x41f7e4
mov dword [esp + 0x48], 0
call fcn.00404600
lea ecx, [ebx*4 + 0x427ca8]
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, eax
mov byte [esp + 0x50], 1
call fcn.00404580
mov ecx, dword [esi]
mov edx, dword [eax]
add esp, 0x18
push ecx
push 0x41fbbc
push edx
push 0x41fbbc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
jmp 0x404341
fld1
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov ecx, 0xe6
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x58]
push 0x41fbc8
push eax
lea esi, [esp + 0x3c]
mov edx, str.000000_0000000
call fcn.00401580
test eax, eax
je 0x40433f
lea ecx, [esp + 0x2c]
push 0x428c6c
push ecx
mov edi, str.AbnormalAccount.ini
call fcn.00404600
mov esi, eax
mov ebx, dword [esp + 0x4c]
lea edx, [ebx*4 + 0x426d08]
push edx
lea eax, [esp + 0x34]
push eax
mov edi, 0x41f7e4
mov dword [esp + 0x48], 2
call fcn.00404600
lea ecx, [ebx*4 + 0x427ca8]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, eax
mov byte [esp + 0x50], 3
call fcn.00404580
mov ecx, dword [esi]
mov edx, dword [eax]
add esp, 0x18
push ecx
push 0x41fbc8
push edx
push 0x41fbcc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
jmp 0x404341
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8