joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403760
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [esp + 0x10], esi
je 0x4037de
mov edi, dword [esp + 0x24]
cmp edi, esi
je 0x4037de
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, edi
push 0x10
push ebx
sub eax, esi
push 0
lea edx, [esi + ecx]
push eax
push edx
push ebp
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x4037bd
add esi, eax
cmp esi, edi
jae 0x4037f2
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jb 0x403783
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x24e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00402d00
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x247
push 0x57
call fcn.00402d00
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x403ab0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x1a0
lea eax, [esp + 0x10]
push ebx
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test ebx, ebx
jne 0x403b4c
push edi
push eax
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x403b80
push str.s.hxtec.com.cn
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x403b93
mov ecx, dword [eax + 0xc]
push esi
push 0x13b9
mov edx, dword [ecx]
mov esi, dword [edx]
mov word [esp + 0x10], 2
call dword [sym.imp.WS2_32.dll_htons]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1b8]
mov word [esp + 0xe], ax
mov eax, dword [esp + 0x1b4]
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
push edi
call fcn.00403760
mov ecx, dword [esp + 0x1cc]
add esp, 0x10
test ecx, ecx
je 0x403b45
mov dword [ecx], eax
cmp eax, esi
pop esi
jne 0x403ba6
jmp 0x403bbc
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x2f6
push ebx
call fcn.00402d00
add esp, 0xc
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x2f7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00402d00
add esp, 0xc
pop ebx
add esp, 0x1a0
ret
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x2ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
jmp 0x403bb2
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x304
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
jmp 0x403bb2
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x313
push 0x58
call fcn.00402d00
add esp, 0xc
mov ebx, eax
cmp edi, 0xffffffff
je 0x403bc8
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
pop edi
pop ebx
add esp, 0x1a0
ret

Function at 0x403be0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
test ebx, ebx
push edi
mov dword [esp + 0x10], 0
je 0x403c5e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x403c5e
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x403c5e
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x403c3b
cmp esi, 2
jne 0x403c37
lea ecx, [esp + 0x10]
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, eax
test esi, esi
jne 0x403c74
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 1
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x403c72
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x32b
push 0x57
call fcn.00402d00
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403c83
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x403c90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], 0x44
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 8]
neg eax
sbb eax, eax
push ecx
and eax, 0xa
mov ecx, dword [esp + 0x68]
mov word [esp + 0x4c], ax
mov eax, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x68]
push eax
push 0
push 0x20
push 0
push 0
push 0
push ecx
push edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
jne 0x403d14
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x34f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00402d00
add esp, 0xc
add esp, 0x58
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 4]
test eax, eax
je 0x403d22
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x403d68
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov dword [esp], eax
jne 0x403d68
mov ecx, dword [esp + 4]
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x403d68
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x35d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00402d00
add esp, 0xc
xor eax, eax
add esp, 0x58
ret
Function at 0x881058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008811a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x88107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88106a
add dl, dl
jne 0x881089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8810dc
xor eax, eax
add dl, dl
jne 0x881096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88117d
add dl, dl
jne 0x8810a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8810b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8810bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8810c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8810d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x881075
mov eax, 1
add dl, dl
jne 0x8810ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8810f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8810e1
sub eax, ebx
mov ebx, 1
jne 0x881128
mov ecx, 1
add dl, dl
jne 0x88110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x881119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x881105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x881075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x88113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x88114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x881136
cmp eax, 0x7d00
jae 0x88116d
cmp eax, 0x500
jb 0x881168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x881075
cmp eax, 0x7f
ja 0x881170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x881075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x88119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x881075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x103a9d40
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103a9d4a
pushal
call 0x103a9d50
pop ebp
sub ebp, 0x10
sub ebp, 0x3a9d40
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103a9d74
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103a9d7d
mov eax, 0x3a9d40
add eax, ebp
add eax, 0x63
mov ecx, 0x5fe
mov edx, 0x531f1de6
xor byte [eax], dl
inc eax
dec ecx
jne 0x103a9d94
jmp 0x103a9da7
insd dword es:[edi], dx
sub ebp, dword [ebp + 0x6f]
invalid
Function at 0x401c60
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x401cab
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401ca4
test esi, esi
je 0x401ca4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401c80
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401e90
Capabilities:
Write file on windows

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

Function at 0x401ee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401fb4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401f1e
cmp eax, 4
jne 0x401f40
test esi, esi
je 0x401f32
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401f24
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401f7f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401f71
cmp ecx, 0x40
je 0x401f32
cmp ecx, 4
je 0x401f32
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401e90
lea esi, [esi]
Function at 0x402700
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push 2
push eax
mov eax, dword [ecx + 0x14]
push edx
push eax
call dword [0x4b0a34]
ret 8

Function at 0x409640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4649
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 8], 0
call dword [0x4b02b4]
push eax
lea ecx, [esp + 0x24]
call dword [0x4b02b0]
mov edx, dword [esp + 0x24]
test edx, edx
mov dword [esp + 0x14], 0
jne 0x40968b
xor eax, eax
jmp 0x409699
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409690
sub eax, esi
mov ecx, dword [edi]
push eax
mov eax, dword [ecx - 0xc]
push edx
push eax
push ecx
lea ecx, [esp + 0x30]
push ecx
call dword [0x4b02ac]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call dword [0x4b02a8]
lea ecx, [esp + 0x20]
call dword [0x4b0268]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x411250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a46c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [0x4b050c]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x4b0508]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [0x4b050c]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [0x4b0504]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x41a9d0
Capabilities:
Enumerate network shares

Disassembly:
sub esp, 0x14
push esi
mov esi, eax
movsx eax, byte [esi]
push eax
call dword [0x4b08b8]
add esp, 4
cmp al, 0x41
mov byte [esp + 6], al
jl 0x41ab2c
cmp al, 0x5a
jg 0x41ab2c
cmp byte [esi + 1], 0x3a
jne 0x41ab2c
mov al, byte [esi + 2]
add esi, 2
cmp al, 0x5c
mov dword [esp + 0x14], esi
jne 0x41ab2c
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push 1
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
jne 0x41ab2c
push ebx
push ebp
push edi
mov ebx, 0x640
push ebx
call dword [0x4b08fc]
add esp, 4
mov byte [esp + 0x13], 0
mov ebp, eax
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0xffffffff
call sub.MPR.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x41aa81
mov eax, dword [esp + 0x18]
push eax
push ebp
mov ebx, eax
call dword [0x4b08bc]
add esp, 8
jmp 0x41aa44
test eax, eax
jne 0x41ab0a
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x41aa46
lea edi, [ebp + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x41aab2
movsx edx, byte [eax]
push edx
call dword [0x4b08b8]
movsx ecx, byte [esp + 0x16]
add esp, 4
cmp ecx, eax
je 0x41aac0
mov eax, dword [esp + 0x14]
inc esi
add edi, 0x20
cmp esi, eax
jl 0x41aa96
jmp 0x41aa46
mov edi, dword [esp + 0x28]
shl esi, 5
mov esi, dword [esi + ebp + 0x14]
mov bl, 1
mov ecx, edi
nop
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
test al, al
jne 0x41aad0
mov eax, dword [esp + 0x20]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41aae0
sub eax, edx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41aaf0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41ab0e
mov bl, byte [esp + 0x13]
mov edx, dword [esp + 0x1c]
push edx
call sub.MPR.dll_WNetCloseEnum
push ebp
call dword [0x4b08f8]
add esp, 4
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
add esp, 0x14
ret
xor al, al
pop esi
add esp, 0x14
ret
Function at 0x41dc30
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a5274
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sym.MANAGER.exe_public:_void___thiscall_WireTapStr::constructor_class_WireTapStr_const__
lea eax, [edi + 8]
push eax
lea ecx, [esi + 8]
mov dword [esp + 0x18], 0
call sym.MANAGER.exe_public:_void___thiscall_WireTapStr::constructor_class_WireTapStr_const__
lea ecx, [edi + 0x10]
push ecx
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 1
call sym.MANAGER.exe_public:_void___thiscall_WireTapStr::constructor_class_WireTapStr_const__
lea edx, [edi + 0x18]
push edx
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 2
call sym.MANAGER.exe_public:_void___thiscall_WireTapStr::constructor_class_WireTapStr_const__
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 3
call sym.MANAGER.exe_public:_void___thiscall_WireTapStr::constructor_class_WireTapStr_const__
lea ecx, [edi + 0x28]
push ecx
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 4
call sym.MANAGER.exe_public:_void___thiscall_WireTapStr::constructor_class_WireTapStr_const__
mov edx, dword [edi + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x420800
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x42c
mov eax, dword [0x5015f0]
push esi
push edi
mov edi, dword [esp + 0x438]
push 0x4b5ef4
push edi
mov dword [esp + 0x438], eax
call dword [0x4b07bc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x420893
call dword [0x4b07c0]
mov eax, dword [eax]
push eax
call dword [0x4b07c4]
add esp, 4
push eax
push edi
mov ecx, 0x503dd0
call fcn.004307d0
push eax
lea ecx, [esp + 0x3c]
push 0x400
push ecx
call dword [0x4b08c4]
push 0xac
lea edx, [esp + 0x48]
push str.C:_p4_workspace_ta_BackBurner_Main_winXP_opt_depot_backburner_src_wiretap_source_nr_wiretapUtil.cpp
push edx
call sym.MANAGER.exe_public:_static_void___cdecl_WireTapServerAPI::logUser_char_const___char_const___int_
add esp, 0x20
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
call fcn.0041e3a0
push 0x4cd264
lea ecx, [esp + 0xc]
push ecx
call fcn.0041cb3e
push esi
push 0x64
push 1
push 0x4b5e28
call dword [0x4b07c8]
add esp, 0x10
cmp eax, 0x64
jae 0x420915
call dword [0x4b07c0]
mov edx, dword [eax]
push edx
call dword [0x4b07c4]
add esp, 4
push eax
push edi
mov ecx, 0x503d90
call fcn.004307d0
push eax
lea eax, [esp + 0x3c]
push 0x400
push eax
call dword [0x4b08c4]
push 0xc0
lea ecx, [esp + 0x48]
push str.C:_p4_workspace_ta_BackBurner_Main_winXP_opt_depot_backburner_src_wiretap_source_nr_wiretapUtil.cpp
push ecx
call sym.MANAGER.exe_public:_static_void___cdecl_WireTapServerAPI::logUser_char_const___char_const___int_
push esi
call dword [0x4b07cc]
add esp, 0x24
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0xc]
call fcn.0041e3a0
push 0x4cd264
lea eax, [esp + 0xc]
push eax
call fcn.0041cb3e
push esi
call dword [0x4b07cc]
mov ecx, dword [esp + 0x434]
add esp, 4
pop edi
pop esi
call fcn.0041c9ce
add esp, 0x42c
ret
Function at 0x42a9e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5ce6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.WireTapClipFormat.0
push 0x4b6cf9
mov ecx, dword [ebp - 0x10]
add ecx, 4
call sym.MANAGER.exe_public:_void___thiscall_WireTapStr::constructor_char_const__
mov dword [ebp - 4], 0
push 0x4b6cfa
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sym.MANAGER.exe_public:_void___thiscall_WireTapStr::constructor_char_const__
mov byte [ebp - 4], 1
push 0x4b6cfb
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sym.MANAGER.exe_public:_void___thiscall_WireTapStr::constructor_char_const__
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 1
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x4b7100]
movss dword [ecx + 0x28], xmm0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x4b70fc]
movss dword [eax + 0x30], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 3
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call sym.MANAGER.exe_public:_bool___thiscall_WireTap::CoIoDescriptor::isValid_void_const
movzx eax, al
test eax, eax
jne 0x437bf6
push 2
mov ecx, dword [ebp - 0xc]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
xor al, al
jmp 0x437c4f
push 2
push 1
lea ecx, [ebp - 1]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [0x4b0a34]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x437c39
call dword [0x4b07c0]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0xb
je 0x437c27
jmp 0x437c29
jmp 0x437c37
push 4
mov ecx, dword [ebp - 0xc]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
xor al, al
jmp 0x437c4f
jmp 0x437c4d
cmp dword [ebp - 8], 0
jne 0x437c4d
push 4
mov ecx, dword [ebp - 0xc]
call sym.MANAGER.exe_protected:_char_const____thiscall_WireTap::CoIoDescriptor::setLastError_enum_WireTap::CoIoDescriptor::IoError_
xor al, al
jmp 0x437c4f
mov al, 1
mov esp, ebp
pop ebp
ret