joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458f90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x458fc2
lea esp, [esp]
test cl, 3
je 0x458fc2
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4b3f28]
add ecx, 1
sub esi, 1
jne 0x458fa0
cmp esi, 0x20
push ebx
push edi
jb 0x4591ac
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4b4328]
xor edx, dword [ebx*4 + 0x4b4728]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4b3f28]
add ecx, 4
xor edx, dword [eax*4 + 0x4b4b28]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4b4328]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4b4728]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4b3f28]
add ecx, 4
xor eax, dword [edx*4 + 0x4b4b28]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4b4328]
xor edx, dword [ebx*4 + 0x4b4728]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4b3f28]
xor edx, dword [eax*4 + 0x4b4b28]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4b4328]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4b4728]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4b3f28]
xor eax, dword [edx*4 + 0x4b4b28]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4b4328]
xor edx, dword [ebx*4 + 0x4b4728]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4b3f28]
xor edx, dword [eax*4 + 0x4b4b28]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4b4328]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4b4728]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4b3f28]
and edx, 0xff
xor eax, dword [edx*4 + 0x4b4b28]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4b4328]
xor edx, dword [ebx*4 + 0x4b4728]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4b3f28]
add ecx, 4
xor edx, dword [eax*4 + 0x4b4b28]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4b4328]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4b4728]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4b3f28]
and edx, 0xff
xor eax, dword [edx*4 + 0x4b4b28]
sub edi, 1
jne 0x458fd2
cmp esi, 4
jb 0x4591f9
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4b4328]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x4b4728]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4b3f28]
and eax, 0xff
xor edi, dword [eax*4 + 0x4b4b28]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x4591b6
test esi, esi
pop edi
pop ebx
je 0x45921d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4b3f28]
add ecx, 1
sub esi, 1
jne 0x459200
not eax
pop esi
ret
Function at 0x45d520
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x45d547
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x45d553
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x45d67c
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x45d598
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x45d5b9
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x45d611
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x45d5f0
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
add ebx, 1
mov edx, eax
cmp esi, edx
jg 0x45d5f0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
add esi, 1
cmp esi, 0xff
jle 0x45d5d6
cmp dword [esp + 0x10], 0
je 0x45d661
mov eax, 1
lea edx, [ebp - 1]
jmp 0x45d640
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
add eax, 1
sub edx, 1
cmp eax, 0xff
jle 0x45d640
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
add ecx, 1
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x45d590
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x464d00
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xa0
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xb0]
push ecx
push eax
lea edi, [esp + 0x10]
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.004687e0
push esi
mov esi, edi
call fcn.004688a0
mov ecx, dword [esp + 0xb0]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.0047f0e0
add esp, 0xa0
ret
Function at 0x469f70
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a3a08
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea edi, [esp + 0x10]
call fcn.0042b270
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x10]
mov ecx, dword [edi - 0xc]
test ecx, ecx
jle 0x469fde
lea eax, [ecx - 1]
test eax, eax
jl 0x46a09b
cmp eax, ecx
jg 0x46a09b
movzx eax, word [edi + eax*2]
cmp ax, 0x5c
je 0x469fde
push 0x5c
lea edi, [esp + 0x14]
call fcn.00404820
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.FaceFaceHistory.xml
call fcn.004038a0
mov eax, dword [eax]
add esp, 8
push eax
call dword [0x4a7350]
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46a020
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x46a064
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov ebx, str.FaceFaceHistory.xml
call fcn.004038a0
mov eax, dword [eax]
add esp, 8
push eax
call dword [0x4a72ac]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46a064
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46a088
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0x80070057
call fcn.00404ef0
int3
Function at 0x46d5e0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
mov eax, 0x4e67c6a7
jbe 0x46d60d
push esi
push edi
jmp 0x46d5f0
mov esi, eax
mov edi, eax
shl esi, 5
shr edi, 2
add esi, edi
movzx edi, byte [ecx]
add esi, edi
xor eax, esi
add ecx, 1
sub edx, 1
jne 0x46d5f0
pop edi
pop esi
and eax, 0x7fffffff
ret
Function at 0x47ae70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a10c3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.0047a950
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x4dbc60
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x4befea
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0047bd70
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x47af00
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1248
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x47af40
push esi
push esi
push esi
push 2
call fcn.0047c440
xor al, al
jmp 0x47b0ca
call fcn.0047a140
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.004830ae
push esi
call fcn.00482fb9
push 0
push 0
push esi
mov edi, eax
call fcn.004830ae
add esp, 0x1c
test edi, edi
jg 0x47af87
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.0047c440
xor al, al
jmp 0x47b0ca
mov dword [esp + 0x14], 0x4dbc60
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.0047bcd0
lea eax, [edi + 1]
push eax
call fcn.0047f14d
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.00482e06
add esp, 0x14
cmp eax, 1
je 0x47affd
push ebp
call fcn.0047eacc
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.0047c440
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x4dbc60
je 0x47aff6
push eax
call fcn.0047eacc
add esp, 4
xor al, al
jmp 0x47b0ca
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x47b072
jmp 0x47b010
mov cl, byte [esi]
cmp cl, 0xa
jne 0x47b030
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0047be60
add esi, 1
mov eax, esi
jmp 0x47b06d
cmp cl, 0xd
jne 0x47b06a
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x47b048
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0047be60
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.0047be60
cmp byte [esi + 1], 0xa
jne 0x47b029
add esi, 2
mov eax, esi
jmp 0x47b06d
add esi, 1
cmp byte [esi], 0
jne 0x47b010
sub esi, eax
je 0x47b081
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0047be60
push ebp
call fcn.0047eacc
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x47afe6
cmp eax, 0x4dbc60
je 0x47b0c8
push eax
call fcn.0047eacc
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x482b6a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x482ba7
cmp dword [ebp + 0x14], edi
je 0x482ba7
cmp ecx, edi
jne 0x482bae
call fcn.004879aa
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0047ebd7
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x482bc2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x482be3
cmp ebx, 0xffffffff
je 0x482bd2
push ebx
push edi
push ecx
call fcn.00485090
add esp, 0xc
cmp esi, edi
je 0x482b8f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x482b8f
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x482bff
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x482c06
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x482cf7
test word [esi + 0xc], 0x10c
je 0x482c5a
mov eax, dword [esi + 4]
test eax, eax
je 0x482c5a
jl 0x482d58
cmp ebx, eax
mov edi, ebx
jb 0x482c2b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x482cff
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0047ee72
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x482cef
cmp ebx, dword [ebp - 0xc]
jb 0x482cc7
cmp dword [ebp - 0xc], 0
je 0x482c84
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x482c79
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x482c80
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x482c8f
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x482c8f
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x482d2b
push eax
push dword [ebp - 8]
push esi
call fcn.0048b817
pop ecx
push eax
call fcn.0049323d
add esp, 0xc
test eax, eax
je 0x482d6a
cmp eax, 0xffffffff
je 0x482d58
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x482cef
push esi
call fcn.00492b5c
cmp eax, 0xffffffff
pop ecx
je 0x482d5c
cmp dword [ebp - 4], 0
je 0x482d2b
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x482c0e
mov eax, dword [ebp + 0x14]
jmp 0x482ba9
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x482d16
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00485090
add esp, 0xc
call fcn.004879aa
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x482b9f
cmp dword [ebp + 0xc], 0xffffffff
je 0x482d41
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00485090
add esp, 0xc
call fcn.004879aa
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x482b9f
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x482ba9
or dword [esi + 0xc], 0x10
jmp 0x482d5c
Function at 0x4011a2
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x41a527
call fcn.00418420
sub esp, 0x40
mov eax, dword [0x427480]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
xor eax, ebp
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [ebp - 4], edi
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x4c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x68]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x84]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4c]
push eax
call fcn.0040c2cb
mov byte [ebp - 4], 5
mov dword [esp], str.XLBugHandler.dll
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401149
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x401294
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._XL_SetBugReportRootDir_4
push ebx
call edi
push str._XL_InitBugHandler_20
push ebx
mov dword [esi], eax
call edi
push str._XL_SetPeerID_4
push ebx
mov dword [esi + 4], eax
call edi
push str._XL_SetReportShowMode_4
push ebx
mov dword [esi + 8], eax
call edi
push str._XL_SetAlwaysSendReport_4
push ebx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004184d1
leave
ret
Function at 0x403803
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x403843
mov esi, dword [esp + 0x10]
cmp dword [esi + 4], 0
je 0x403843
mov ebx, dword [sym.imp.ADVAPI32.dll_IsValidSid]
push eax
call ebx
test eax, eax
je 0x403843
push dword [esi + 4]
call ebx
test eax, eax
je 0x403843
push dword [esi + 4]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x403845
xor al, al
pop edi
pop esi
pop ebx
ret 4

Function at 0x4038d2
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x41a894
call fcn.00418420
sub esp, 0x280
mov eax, dword [0x427480]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
xor esi, esi
xor eax, eax
mov word [ebp - 0x218], si
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._net_monitor_i.exe
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4039fa
push 0x41d960
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], esi
push ebx
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040371a
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x26c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x270], 0x3c
mov dword [ebp - 0x26c], 0x40
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x264], str.open
mov dword [ebp - 0x260], eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x270]
push eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004184d1
leave
ret
Function at 0x403a13
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x41a894
call fcn.00418420
sub esp, 0x280
mov eax, dword [0x427480]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
xor esi, esi
xor eax, eax
mov word [ebp - 0x218], si
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._net_monitor_i.exe
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403b3b
push str._i_net_monitor.dll
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], esi
push ebx
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040371a
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x26c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x270], 0x3c
mov dword [ebp - 0x26c], 0x40
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x264], str.open
mov dword [ebp - 0x260], eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x270]
push eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004184d1
leave
ret
Function at 0x403b54
Capabilities:
Copy file

Disassembly:
mov eax, 0x41a8b0
call fcn.00418420
sub esp, 0x3c
mov eax, dword [0x427480]
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov esi, str.stat.dat
push esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00401149
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00401149
add esp, 0x18
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004184d1
leave
ret 8