joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406010
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x58f350], eax
mov ecx, 1
sub ecx, 1
lea esi, [esi]
add ecx, 1
mov edx, dword [ecx*4 + 0x58f34c]
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
lea eax, [eax + ecx]
mov dword [ecx*4 + 0x58f350], eax
cmp ecx, 0x26f
jl 0x406020
mov dword [0x40e410], 0x270
ret

Function at 0x406060
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, dword [0x58e010]
cmp eax, dword [0x40e3c0]
je 0x406078
mov dword [0x40e410], 0x271
cmp dword [0x40e410], 0x270
jl 0x406197
cmp dword [0x40e410], 0x271
jne 0x4060af
mov eax, dword [0x58e010]
call fcn.00406010
mov eax, dword [0x58e010]
not eax
mov dword [0x58e010], eax
mov dword [0x40e3c0], eax
mov ebx, 0
sub ebx, 1
nop
add ebx, 1
mov eax, dword [ebx*4 + 0x58f354]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x58f350]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x58f984]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x40e420]
xor edx, eax
mov dword [ebx*4 + 0x58f350], edx
cmp ebx, 0xe2
jl 0x4060b8
mov ebx, 0xe3
sub ebx, 1
mov esi, esi
add ebx, 1
mov eax, dword [ebx*4 + 0x58f354]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x58f350]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x58efc4]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x40e420]
xor edx, eax
mov dword [ebx*4 + 0x58f350], edx
cmp ebx, 0x26e
jl 0x40610c
mov eax, dword [0x58fd0c]
and eax, 0x80000000
mov edx, dword [0x58f350]
and edx, 0x7fffffff
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [0x58f980]
xor edx, eax
and ecx, 1
mov eax, dword [ecx*4 + 0x40e420]
xor eax, edx
mov dword [0x58fd0c], eax
mov dword [0x40e410], 0
mov eax, dword [0x40e410]
mov eax, dword [eax*4 + 0x58f350]
add dword [0x40e410], 1
mov edx, eax
shr edx, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
pop ebx
ret
Function at 0x407a00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x40e170]
cmp ax, 0xcb
je 0x407afc
cmp ax, 0xcc
je 0x407afc
mov edx, dword [0x58ff60]
test edx, edx
je 0x407a32
mov eax, dword [0x58fe00]
call edx
mov ebx, eax
jmp 0x407a37
mov ebx, 0x58fe04
cmp word [0x58fdf0], 0
jle 0x407a5a
mov eax, 0x58fdd0
call fcn.00407c70
mov eax, ebx
call fcn.004075e0
mov eax, ebx
call fcn.00407650
mov edi, dword [ebx]
jmp 0x407a7a
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x407a75
mov edx, edi
mov eax, ebx
call fcn.00406ab0
jmp 0x407a78
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x407a60
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x58fdf0], 0
jle 0x407afc
mov edx, 0x58fd10
mov eax, ebx
call fcn.00406be0
mov edi, eax
test edi, edi
je 0x407acf
mov eax, dword [0x58fda4]
mov dword [edi + 0xc], eax
cmp dword [0x58fda4], 0
je 0x407ac4
mov eax, dword [0x58fda4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x58fda4], eax
sub word [0x58fdf0], 1
cmp word [0x58fdf0], 0
sete bl
mov eax, 0x58fdd0
call fcn.00407c80
test bl, bl
je 0x407afc
mov eax, 0x58fdd0
call fcn.00407c60
pop edi
pop esi
pop ebx
ret

Function at 0x40aba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
mov esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ab60
test al, al
jne 0x40abd7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x40abb8
mov eax, dword [ebp - 4]
leave
ret
Function at 0x40abe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
lea esp, [esp - 0x48]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov edx, dword [eax + 0x3c]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + ecx]
mov eax, dword [eax + 0x78]
mov edx, dword [esp + 0x3c]
lea esi, [eax + edx]
mov edi, esp
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], 0
call fcn.0040a8a0
mov dword [esp + 0x28], eax
call fcn.0040a8d0
mov ebp, eax
mov eax, dword [esp + 0x18]
sub eax, 1
mov edi, eax
mov esi, 0
cmp edi, esi
jb 0x40acea
sub esi, 1
nop
add esi, 1
mov eax, esi
shl eax, 2
add eax, dword [esp + 0x30]
mov eax, dword [eax]
add eax, dword [esp + 0x3c]
mov ebx, eax
mov edx, ebx
mov eax, ebp
call fcn.0040ab30
test al, al
je 0x40acac
mov eax, esi
shl eax, 1
add eax, dword [esp + 0x2c]
movzx eax, word [eax]
shl eax, 2
add eax, dword [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
mov dword [edx], eax
mov al, byte [esp + 0x34]
test al, al
jne 0x40acea
mov byte [esp + 0x34], 1
mov edx, ebx
mov eax, dword [esp + 0x28]
call fcn.0040ab30
test al, al
je 0x40ace2
mov eax, esi
shl eax, 1
add eax, dword [esp + 0x2c]
movzx eax, word [eax]
shl eax, 2
add eax, dword [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov al, byte [esp + 0x34]
test al, al
jne 0x40acea
mov byte [esp + 0x34], 1
cmp edi, esi
ja 0x40ac64
lea esp, [esp + 0x48]
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40b120
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x7c]
push ebx
push esi
push edi
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [ebp - 0xc], 0x20
mov dword [ebp - 8], 0x40
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], eax
mov edx, dword [eax + 0x30]
mov eax, dword [ecx + 0x3c]
lea eax, [edx + eax]
movzx edx, word [eax + 6]
add eax, 0xf8
mov dword [ebp - 0x74], eax
lea eax, [edx - 1]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
jb 0x40b2a5
sub dword [ebp - 0x6c], 1
lea esi, [esi]
add dword [ebp - 0x6c], 1
imul eax, dword [ebp - 0x6c], 0x28
mov edx, dword [ebp - 0x74]
lea esi, [eax + edx]
lea edi, [ebp - 0x4c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
or edx, eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
test dword [ebp - 0x50], 0xffffffff
je 0x40b299
mov ebx, dword [ebp - 0x28]
mov eax, ebx
and eax, 0x2000000
je 0x40b1fc
push 0x4000
push dword [ebp - 0x50]
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x78]
call dword [esi + 8]
jmp 0x40b299
mov eax, ebx
and eax, 0x20000000
je 0x40b20e
mov dword [ebp - 0x68], 1
jmp 0x40b215
mov dword [ebp - 0x68], 0
mov eax, ebx
and eax, 0x40000000
je 0x40b227
mov dword [ebp - 0x64], 1
jmp 0x40b22e
mov dword [ebp - 0x64], 0
mov eax, ebx
and eax, 0x80000000
je 0x40b240
mov dword [ebp - 0x60], 1
jmp 0x40b247
mov dword [ebp - 0x60], 0
mov eax, ebx
and eax, 0x4000000
je 0x40b259
mov dword [ebp - 0x5c], 1
jmp 0x40b260
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x68]
shl eax, 4
lea eax, [ebp + eax - 0x24]
mov edx, dword [ebp - 0x64]
lea ecx, [eax + edx*8]
mov eax, dword [ebp - 0x60]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x5c], 1
jne 0x40b286
or dword [ebp - 0x54], 0x200
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x78]
call dword [esi + 4]
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
ja 0x40b1a4
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406400
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a9e4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4046cc
call fcn.00407061
push 4
mov dword [esp + 0x18], 0
call fcn.00407ff0
mov edi, eax
add esp, 4
test edi, edi
je 0x406474
push ebx
call fcn.00406f39
mov dword [edi], eax
call fcn.00406cf8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407022
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406468
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040704a
pop ebx
jmp 0x406476
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408a61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4addd0]
jne 0x408a6b
repz ret
jmp fcn.0040decc
Function at 0x4130a6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4addd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040ac9d
and dword [ebp - 0x14], 0
cmp dword [0x4b03d4], 0
mov dword [ebp - 0x18], eax
jne 0x413159
push 0x404070
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x413201
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404064
push ebx
call edi
test eax, eax
je 0x413201
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404054
push ebx
mov dword [0x4b03d4], eax
call edi
push eax
call esi
push 0x404040
push ebx
mov dword [0x4b03d8], eax
call edi
push eax
call esi
push 0x404024
push ebx
mov dword [0x4b03dc], eax
call edi
push eax
call esi
mov dword [0x4b03e4], eax
test eax, eax
je 0x413159
push 0x40400c
push ebx
call edi
push eax
call esi
mov dword [0x4b03e0], eax
mov eax, dword [0x4b03e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4131b2
cmp dword [0x4b03e4], ecx
je 0x4131b2
push eax
call esi
push dword [0x4b03e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4131b2
test ebx, ebx
je 0x4131b2
call edi
test eax, eax
je 0x4131a9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4131a9
test byte [ebp - 8], 1
jne 0x4131b2
or dword [ebp + 0x10], 0x200000
jmp 0x4131e5
mov eax, dword [0x4b03d8]
cmp eax, dword [ebp - 0x18]
je 0x4131e5
push eax
call esi
test eax, eax
je 0x4131e5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4131e5
mov eax, dword [0x4b03dc]
cmp eax, dword [ebp - 0x18]
je 0x4131e5
push eax
call esi
test eax, eax
je 0x4131e5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b03d4]
call esi
test eax, eax
je 0x413201
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x413203
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408a61
leave
ret
Function at 0x4a8890
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0x835120], 0x37
jne 0x4a893c
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea ecx, [esp + 0x410]
push ecx
push 0
push 0x404118
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404170
push 0x4041b4
push 0x4041f8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov edx, dword [0x835124]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x4b5184]
mov byte [edx + esi], cl
add esp, 0x80c
ret
Function at 0x4a8b50
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x835120]
sub esp, 0x484
push ebx
mov ebx, dword [0x4b5184]
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4a8d41
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
jmp 0x4a8b86
mov ebx, dword [esp + 0x20]
xor esi, esi
cmp dword [0x835120], 0x1c
jne 0x4a8b9d
lea eax, [esp + 0x40]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [ebx + 4]
mov edx, dword [0x4ae708]
mov eax, dword [0x4ae70c]
mov edi, dword [ebx]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x4ae710]
mov dword [esp + 0x34], edx
mov edx, dword [0x4ae714]
mov ebx, 0xc6ef3720
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], 0x20
jmp 0x4a8be2
xor esi, esi
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x3c]
lea edx, [ebx + edi]
xor ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [0x8340a4], esi
mov eax, dword [esp + 0x1c]
add dword [0x8340a4], eax
mov eax, dword [0x8340a4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x38]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
shl edx, 4
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x34]
add dword [esp + 0x14], eax
cmp dword [0x835120], 0x1be
mov eax, dword [esp + 0x18]
lea ebp, [ebx + eax]
jne 0x4a8c76
lea ecx, [esp + 0x44]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov esi, dword [esp + 0x18]
shr esi, 5
add esi, dword [esp + 0x30]
cmp dword [0x835120], 0x979
mov dword [0x8340a8], 0xff6b3619
mov dword [0x8340ac], 0xffffffff
jne 0x4a8cc5
push 0
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
push 0
lea edx, [esp + 0x94]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [esp + 0x14]
xor esi, ebp
xor eax, esi
sub edi, eax
add ebx, 0x61c88647
dec dword [esp + 0x24]
mov dword [esp + 0x14], eax
jne 0x4a8be0
cmp dword [0x835120], 0x8d4
jne 0x4a8cfa
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ecx
cmp dword [0x835120], 0x17
jne 0x4a8d30
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x90]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x20], esi
jne 0x4a8b80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x484
ret
Function at 0x401190
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.fnIRPAlloc
push esi
call edi
push str.fnIRPFree
push esi
mov dword [0x457560], eax
call edi
push str.fnIRPAllocPipe
push esi
mov dword [0x457564], eax
call edi
push str.fnIRPFreePipe
push esi
mov dword [0x457584], eax
call edi
push str.fnIRPAllocSourNet
push esi
mov dword [0x457588], eax
call edi
push str.fnIRPFreeSourNet
push esi
mov dword [0x457568], eax
call edi
push str.fnIRPSetSourNet
push esi
mov dword [0x45756c], eax
call edi
push str.fnIRPAllocDestNet
push esi
mov dword [0x457570], eax
call edi
push str.fnIRPFreeDestNet
push esi
mov dword [0x457574], eax
call edi
push str.fnIRPSetDestNet
push esi
mov dword [0x457578], eax
call edi
push str.fnIRPAllocBuf
push esi
mov dword [0x45757c], eax
call edi
push str.fnIRPFreeBuf
push esi
mov dword [0x45758c], eax
call edi
push str.fnIRPSetBuf
push esi
mov dword [0x457590], eax
call edi
push str.fnIRPAppendBuf
push esi
mov dword [0x457594], eax
call edi
push str.fnIRPCopyTo
push esi
mov dword [0x457598], eax
call edi
mov dword [0x4575bc], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call dword [0x457560]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], 5
mov edx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
mov dword [edx + 0x34], 0x302
call dword [0x457584]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov eax, 0x2e
mov word [edx], ax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x48]
add esp, 8
mov edx, str.wmcPipeSystem7
add eax, 0x20
pop edi
lea ecx, [ecx]
mov cl, byte [edx]
mov byte [eax], cl
inc edx
inc eax
test cl, cl
jne 0x4012b0
mov edx, dword [ebp - 4]
push edx
call fcn.00415a50
lea eax, [ebp - 4]
push eax
call dword [0x457564]
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x4012e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.fnIRPAlloc
push esi
call edi
push str.fnIRPFree
push esi
mov dword [0x457560], eax
call edi
push str.fnIRPAllocPipe
push esi
mov dword [0x457564], eax
call edi
push str.fnIRPFreePipe
push esi
mov dword [0x457584], eax
call edi
push str.fnIRPAllocSourNet
push esi
mov dword [0x457588], eax
call edi
push str.fnIRPFreeSourNet
push esi
mov dword [0x457568], eax
call edi
push str.fnIRPSetSourNet
push esi
mov dword [0x45756c], eax
call edi
push str.fnIRPAllocDestNet
push esi
mov dword [0x457570], eax
call edi
push str.fnIRPFreeDestNet
push esi
mov dword [0x457574], eax
call edi
push str.fnIRPSetDestNet
push esi
mov dword [0x457578], eax
call edi
push str.fnIRPAllocBuf
push esi
mov dword [0x45757c], eax
call edi
push str.fnIRPFreeBuf
push esi
mov dword [0x45758c], eax
call edi
push str.fnIRPSetBuf
push esi
mov dword [0x457590], eax
call edi
push str.fnIRPAppendBuf
push esi
mov dword [0x457594], eax
call edi
push str.fnIRPCopyTo
push esi
mov dword [0x457598], eax
call edi
mov dword [0x4575bc], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call dword [0x457560]
mov ecx, dword [ebp + 8]
add esp, 4
push 0x44c1ec
push ecx
call fcn.004321a7
add esp, 8
xor ecx, ecx
push 0
test eax, eax
jne 0x4013f1
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], 0x5000
push str.AssetReport_PCInfo
jmp 0x4013f6
push str.AssetReport_PCInfo_Silence
push 3
xor edx, edx
call fcn.004167d0
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 3
mov ecx, dword [ebp - 4]
lea edx, [ebp - 4]
add esp, 0xc
push edx
mov dword [ecx + 0x34], 0x102
call dword [0x457584]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov edx, 0x2e
mov word [ecx], dx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
add esp, 4
mov edx, str.wmcPipeSystem7
add ecx, 0x20
nop
mov al, byte [edx]
mov byte [ecx], al
inc edx
inc ecx
test al, al
jne 0x401440
mov ecx, dword [ebp - 4]
push ecx
call fcn.00415a50
lea edx, [ebp - 4]
add esp, 4
push edx
call dword [0x457564]
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x401660
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.fnIRPAlloc
push esi
call edi
push str.fnIRPFree
push esi
mov dword [0x457560], eax
call edi
push str.fnIRPAllocPipe
push esi
mov dword [0x457564], eax
call edi
push str.fnIRPFreePipe
push esi
mov dword [0x457584], eax
call edi
push str.fnIRPAllocSourNet
push esi
mov dword [0x457588], eax
call edi
push str.fnIRPFreeSourNet
push esi
mov dword [0x457568], eax
call edi
push str.fnIRPSetSourNet
push esi
mov dword [0x45756c], eax
call edi
push str.fnIRPAllocDestNet
push esi
mov dword [0x457570], eax
call edi
push str.fnIRPFreeDestNet
push esi
mov dword [0x457574], eax
call edi
push str.fnIRPSetDestNet
push esi
mov dword [0x457578], eax
call edi
mov dword [0x45757c], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call dword [0x457560]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 4]
lea edx, [ebp + 8]
add esp, 4
push edx
mov dword [ebp + 8], ecx
call dword [0x457584]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov edx, 0x2e
mov word [ecx], dx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
add esp, 4
mov edx, str.wmcPipeSystem7
add eax, 0x20
mov cl, byte [edx]
mov byte [eax], cl
inc edx
inc eax
test cl, cl
jne 0x401745
mov ecx, dword [ebp + 8]
push ecx
call fcn.00415a50
lea edx, [ebp - 4]
add esp, 4
push edx
call dword [0x457564]
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret