joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a96b6a0
Capabilities:
Inspect section memory permissions

Disassembly:
xor dword [ebp + 5], esi
mov dword [ebp + 0x10], edi
jmp 0x4a96b6ad
call fcn.4a96b0c0
jae 0x4a96b72e
salc
xchg edi, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x4a96b6f6
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x4a96b6d1
and eax, 0xffff
push eax
jmp 0x4a96b6d5
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.4a96b085
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x4a96b8af
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x4a96b6b6
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x4a96b657
cmp dword [eax], ebx
je 0x4a96b774
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4a96b76f
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4a96b759
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
xor al, 3
into
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4a96b761
cmp edx, ebx
jne 0x4a96b8af
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4a96b730
add eax, dword [eax + 4]
jmp 0x4a96b71d
mov dword [ebp + 0xc], ebx
jmp 0x4a96b77f
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4a96b797
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4a96b7b5
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4a96b813
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4a96b7fa
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4a96b803
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4a96b80d
add ecx, eax
or byte [ecx], 4
inc eax
invalid
inc ebp
Function at 0x4a96b750
Capabilities:
Inspect section memory permissions

Disassembly:
xor dword [ebp + 5], esi
mov dword [ebp + 0x10], edi
jmp 0x4a96b6ad
call fcn.4a96b0c0
jae 0x4a96b72e
salc
xchg edi, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x4a96b6f6
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x4a96b6d1
and eax, 0xffff
push eax
jmp 0x4a96b6d5
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.4a96b085
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x4a96b8af
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x4a96b6b6
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x4a96b657
cmp dword [eax], ebx
je 0x4a96b774
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4a96b76f
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4a96b759
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
xor al, 3
into
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4a96b761
cmp edx, ebx
jne 0x4a96b8af
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4a96b730
add eax, dword [eax + 4]
jmp 0x4a96b71d
mov dword [ebp + 0xc], ebx
jmp 0x4a96b77f
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4a96b797
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4a96b7b5
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4a96b813
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4a96b7fa
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4a96b803
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4a96b80d
add ecx, eax
or byte [ecx], 4
inc eax
invalid
inc ebp

Function at 0x4a96b7f0
Capabilities:
Inspect section memory permissions

Disassembly:
dec ebp
sbb byte [ebx], bh
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4

Function at 0x4a96b810
Capabilities:
Inspect section memory permissions

Disassembly:
mov esp, 0x45ffdc76
or al, 0x8b
test dword [eax - 1], edi
invalid
Function at 0x4a96ca30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.4a96b0c0
sub bh, byte [esi]
mov ebp, ds
lea eax, [ebp - 0x6f4]
push eax
call fcn.4a96b0d0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.4a96b085
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x4a96d166
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x4a96cc3b
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
invalid
invalid
invalid
clc

Function at 0x4a9976b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa3a6dc
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4aa9f9a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.icuuc51.dll_public:_void___thiscall_icu_51::UnicodeFunctor::constructor_void_]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call dword [sym.imp.icuuc51.dll_public:_void___thiscall_icu_51::UnicodeMatcher::constructor_void_]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sym.icuin51.dll_public:_void___thiscall_icu_51::UnicodeReplacer::constructor_void_
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.icu_51::StringMatcher.2.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.icu_51::StringMatcher.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], vtable.icu_51::StringMatcher.0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call dword [sym.imp.icuuc51.dll_public:_void___thiscall_icu_51::UnicodeString::constructor_void_]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4a9977c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa3a720
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4aa9f9a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.icuuc51.dll_public:_void___thiscall_icu_51::UnicodeFunctor::constructor_class_icu_51::UnicodeFunctor_const__]
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4a99780d
mov ecx, dword [ebp + 8]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x4a997814
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call dword [sym.imp.icuuc51.dll_public:_void___thiscall_icu_51::UnicodeMatcher::constructor_class_icu_51::UnicodeMatcher_const__]
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x4a997839
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x18], eax
jmp 0x4a997840
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sym.icuin51.dll_public:_void___thiscall_icu_51::UnicodeReplacer::constructor_class_icu_51::UnicodeReplacer_const__
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov dword [edx], vtable.icu_51::StringMatcher.2.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], vtable.icu_51::StringMatcher.1.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], vtable.icu_51::StringMatcher.0
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call dword [sym.imp.icuuc51.dll_public:_void___thiscall_icu_51::UnicodeString::constructor_class_icu_51::UnicodeString_const__]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x38], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a9e1910
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4aa9f9a8]
xor eax, ebp
mov dword [ebp - 4], eax
push 4
mov eax, dword [ebp + 8]
push eax
push 0x20000011
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 4
mov edx, dword [ebp + 8]
add edx, 4
push edx
push 0x20000012
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push 0x10
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x10]
push eax
call fcn.4a9e19f0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
push 0xc
call sub.icuuc51.dll_uprv_malloc_51
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], eax
push 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
push 0xe
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xc
call sub.icuuc51.dll_uprv_malloc_51
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
push 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
push 0xf
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 4
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
push 0x20001010
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.4aa3447a
mov esp, ebp
pop ebp
ret
Function at 0x4a9e1a70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4aa9f9a8]
xor eax, ebp
mov dword [ebp - 4], eax
push 4
mov eax, dword [ebp + 8]
push eax
push 0x20000019
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 4
mov edx, dword [ebp + 8]
add edx, 4
push edx
push 0x20000012
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push 0x18
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x10]
push eax
call fcn.4a9e19f0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
push 0xc
call sub.icuuc51.dll_uprv_malloc_51
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], eax
push 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
push 0x16
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xc
call sub.icuuc51.dll_uprv_malloc_51
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
push 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
push 0x17
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 4
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
push 0x2000001c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 4
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
push 0x2000001b
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x10
call sub.icuuc51.dll_uprv_malloc_51
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
push 0x14
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.4aa3447a
mov esp, ebp
pop ebp
ret
Function at 0x4aa3447a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4aa9f9a8]
jne 0x4aa34484
repz ret
jmp fcn.4aa34cee
Function at 0x403150
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x472128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x8000
push eax
push ecx
push 0
push 1
push 2
mov dword [ebp - 0x14], 0xffffffff
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
je 0x4031aa
xor al, al
jmp 0x4032c9
push dword [ebp - 0x18]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4031a3
nop
push dword [ebp - 0x18]
push 0
push esi
call fcn.00438710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
jne 0x4032b4
xor edi, edi
cmp dword [ebp - 0x14], edi
jbe 0x4031c0
add esi, 8
cmp dword [esi - 4], 1
jne 0x40328c
cmp dword [esi], 3
jne 0x40328c
mov edx, dword [esi + 0xc]
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403221
sub eax, ebx
lea ecx, [ebp - 0x3c]
sar eax, 1
push eax
push edx
call fcn.00406390
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x3c]
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00402020
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x40328c
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403282
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032e5
push edx
push ecx
call fcn.00421514
add esp, 8
test dword [esi + 4], 2
je 0x40329f
lea ecx, [esi - 8]
mov edx, ebx
call fcn.00403150
inc edi
add esi, 0x20
cmp edi, dword [ebp - 0x14]
jb 0x4031f2
mov esi, dword [ebp - 0x24]
jmp 0x4031c0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x1c]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
test eax, eax
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421234
mov esp, ebp
pop ebp
ret
call fcn.0043d054
int3
Function at 0x4032f0
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x472128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68c], edx
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov eax, ecx
shr eax, 0x18
push eax
mov eax, ecx
mov dword [ebp - 0x684], 0
shr eax, 0x10
movzx eax, al
push eax
mov eax, ecx
mov dword [ebp - 0x424], 0
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0
push str._d._d._d._d
push eax
mov dword [ebp - 0x428], 0
call edi
add esp, 0x18
nop
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x684]
push eax
push 1
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.NETAPI32.dll_NetShareEnum]
mov dword [ebp - 0x690], eax
test eax, eax
je 0x4033c2
cmp eax, 0xea
jne 0x403565
cmp dword [ebp - 0x424], 1
mov ebx, dword [ebp - 0x684]
mov dword [ebp - 0x688], 1
jb 0x40354e
nop
push dword [ebx]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push str._s_s
push eax
call edi
add esp, 0x10
cmp dword [ebx + 4], 0
jge 0x403442
mov edi, dword [ebx]
xor esi, esi
mov dword [ebp - 0x698], 0x46ad1c
mov dword [ebp - 0x694], str.ADMIN_
nop dword [eax + eax]
push dword [ebp + esi*4 - 0x698]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x403526
inc esi
cmp esi, 2
jb 0x403420
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x680]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x403526
push dword [ebx]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call edi
add esp, 0x10
mov dword [ebp - 0x6a0], 0
xor eax, eax
mov dword [ebp - 0x69c], 7
lea ecx, [ebp - 0x218]
mov word [ebp - 0x6b0], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4034a1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6b0]
call fcn.00406390
mov ecx, dword [ebp - 0x68c]
lea eax, [ebp - 0x6b0]
push eax
mov dword [ebp - 4], 0
call fcn.00402020
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x69c]
cmp edx, 8
jb 0x40351f
mov ecx, dword [ebp - 0x6b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403515
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403581
push edx
push ecx
call fcn.00421514
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x688]
add ebx, 0xc
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
inc esi
mov dword [ebp - 0x688], esi
cmp esi, dword [ebp - 0x424]
jbe 0x4033e0
mov ebx, dword [ebp - 0x684]
push ebx
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp dword [ebp - 0x690], 0xea
je 0x403380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421234
mov esp, ebp
pop ebp
ret
call fcn.0043d054
int3
Function at 0x405260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40528b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4052ad
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x4052af
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x405333
jg 0x4052c4
test esi, esi
je 0x405333
test ecx, ecx
jl 0x40530d
jg 0x4052ce
test eax, eax
je 0x40530d
cmp edi, ecx
jg 0x4052e2
jl 0x4052d8
cmp esi, eax
jae 0x4052e2
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.00438190
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x405310
mov edx, dword [ebp + 8]
test edi, edi
jl 0x405333
jg 0x40531a
test esi, esi
je 0x405333
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x405333
push eax
push esi
push 1
push edx
call fcn.0043c44c
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x40537b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405d00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x40539d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x40539f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x40543e
jg 0x4053bc
test esi, esi
je 0x40543e
test ecx, ecx
jl 0x405409
jg 0x4053c6
test eax, eax
je 0x405409
cmp ebx, ecx
jg 0x4053da
jl 0x4053d0
cmp esi, eax
jae 0x4053da
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00438190
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x405410
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x40543e
jg 0x40541a
test esi, esi
je 0x40543e
cmp dword [edi + 0x4c], 0
je 0x40543e
mov ecx, edi
call fcn.004064f0
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0043ca26
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc