joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e650
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
test esi, esi
jns 0x41e66b
push 0x80070057
call fcn.00402be0
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x41e687
mov eax, esi
mov ecx, edi
call fcn.00401ea0
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41e6ae
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41e6b2
push ecx
push eax
call fcn.0049acee
add esp, 8
test eax, eax
js 0x41e661
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x41e661
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, esi
pop esi
ret

Function at 0x41e960
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba570
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4f52c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x1a0]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ea7c
lea ecx, [ebp - 0x10]
xor edi, edi
push ecx
mov dword [ebp - 0x10], edi
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x41e9e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x41ea7c
push edi
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x41ea7c
mov al, byte [ebp - 0x10]
test al, 0x20
jne 0x41ea7c
test al, 7
je 0x41ea7c
cmp byte [esi + 0x230], 0
jne 0x41ea7c
mov byte [esi + 0x230], 1
mov eax, dword [0x4f4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f4f18
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.5.47.0331.1111
mov dword [ebp - 4], edi
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type3uidver_sstartmi_overendrls2envbitmovie
lea edi, [ebp - 0x14]
call fcn.00401f80
mov edi, dword [ebp - 0x14]
add esp, 8
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x18], esp
mov esi, esp
call fcn.00404350
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov esi, dword [0x4fb3a0]
call fcn.00417fd0
mov esi, eax
mov byte [ebp - 4], 0
call fcn.00423360
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ea7c
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba306
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4f52c0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x4f52c0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [0x4fb3a0]
cmp dword [eax + 0x24], 0
je 0x4210f8
push 0x4c8a40
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4fb384], eax
test eax, eax
je 0x4210dc
push 0x4c8a6c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4210dc
push 5
push 0
push 0
push 0x4cb080
push 0x4c88cc
push 0
call eax
cmp eax, 0x20
jge 0x421207
push 1
call section..text
add esp, 4
test al, al
jne 0x421207
call fcn.00421230
jmp 0x421207
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x26]
push edx
mov word [esp + 0x28], cx
call fcn.0049dad0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401d40
push 0xb
push str.License.txt
lea ebx, [esp + 0x1c]
mov dword [esp + 0x240], 6
call fcn.00406d60
mov eax, dword [0x4fb394]
mov esi, dword [esp + 0x14]
push str.RESOURCE_DATA
push 0x88
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4211dc
push esi
mov ecx, edi
call fcn.00401270
add esp, 4
test al, al
je 0x4211dc
lea edx, [esp + 0x18]
push edx
mov ecx, str.notepad.exe
call fcn.00401d40
mov byte [esp + 0x238], 7
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [esp + 0x20]
call fcn.00406d60
mov eax, dword [esp + 0x18]
push eax
push 0
xor eax, eax
call fcn.004011e0
mov byte [esp + 0x240], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x238], 0xffffffff
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 0x421207
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0049908b
mov esp, ebp
pop ebp
ret
Function at 0x421d70
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax - 0xc], ebx
jne 0x421da8
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421d9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call esi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x10]
mov edi, eax
push edx
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x421de5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
shrd edx, eax, 0x14
shr eax, 0x14
mov dword [ecx], edx
mov ebx, 1
push edi
call esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421e07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422810
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcf78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4f52c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x4cb37c
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x78], eax
cmp eax, ebx
je 0x42285d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x422879
push str.Storm2SetupMutex
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebx
je 0x4228a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0xc4], bl
jne 0x422893
push ebx
push 0x4c9b90
push 0x4cb3a0
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.004229a0
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x68], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x4234d0
push ebx
push ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ebx
mov dword [esi + 0x6c], ebx
call fcn.0049ba9c
mov dword [esi + 0x6c], eax
mov eax, dword [0x4f4f18]
mov edx, dword [eax + 0xc]
add esp, 0x18
mov ecx, 0x4f4f18
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.5.47.0331.1111
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type1uidver_sstart1mi_overendrlsenvbitmovie
lea edi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00401f80
mov edi, dword [ebp - 0x10]
add esp, 8
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x14], esp
mov ebx, esp
call fcn.00404350
add eax, 0x10
mov dword [ebx], eax
call fcn.00423360
mov ebx, esi
call fcn.00422ac0
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x42296a
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422956
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422983
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4229a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x118]
mov ebx, 0x114
push eax
mov esi, ecx
mov dword [ebp - 0x118], ebx
call edi
cmp dword [ebp - 0x114], 6
jne 0x4229f0
cmp dword [ebp - 0x110], 1
jne 0x4229f0
push 0x4cb464
mov ebx, 1
jmp 0x422a1a
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], ebx
call edi
cmp dword [ebp - 0x114], 5
jne 0x422a23
mov ebx, 1
cmp dword [ebp - 0x110], ebx
jne 0x422a23
push 0x4cb468
lea eax, [esi + 0x60]
push eax
call fcn.00401c50
call fcn.00404680
add esi, 0x64
mov ebx, 1
test al, al
je 0x422a3b
push 0x4cb468
jmp 0x422a40
push 0x4cb464
push esi
call fcn.00401c50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049908b
mov esp, ebp
pop ebp
ret
Function at 0x423790
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0x4c8a90
push edi
xor ebx, ebx
xor esi, esi
call fcn.00401c50
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 5
push 0xffffffffffffffff
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x423801
mov edx, dword [ebp - 4]
cmp edx, esi
jne 0x4237cf
xor eax, eax
jmp 0x4237e3
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4237d4
sub eax, ebx
sar eax, 1
push edx
push edi
mov ebx, eax
call fcn.00401c50
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4238f0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [ebx + 0xb8]
push esi
mov esi, dword [ebx + 0xb4]
cmp esi, ecx
je 0x423924
mov eax, ecx
sub eax, ecx
push edi
sar eax, 2
lea edi, [eax*4]
push edi
push ecx
push esi
call fcn.00499510
add esp, 0xc
add edi, esi
mov dword [ebx + 0xb8], edi
pop edi
push 0
push 0
push ebx
push 0x423ce0
push 0
push 0
call fcn.0049ba9c
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x423950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x10], 0
call fcn.0049dad0
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4239bf
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [ebp - 0x10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x430060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb336
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi + 0x5c]
sub eax, 0x10
call fcn.00404350
lea ebx, [eax + 0x10]
mov dword [ebp - 0x224], ebx
lea esi, [ebp - 0x220]
mov eax, edi
mov dword [ebp - 4], 0
call fcn.004238c0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x220]
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
neg eax
sbb eax, eax
push esi
inc eax
push ebx
mov ecx, edi
mov dword [edi + 0x44], eax
call fcn.0043d1f0
push 0
push ebx
mov dword [ebp - 0x21c], eax
call fcn.00403ec0
add esp, 8
cmp dword [ebp - 0x21c], 0
jne 0x43013f
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430135
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3ea
jmp 0x4301c8
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.0049dad0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push esi
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
add esi, 0xfffffff0
mov dword [edi + 0x40], eax
mov byte [ebp - 4], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4301a0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4301c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret
Function at 0x437b80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7798
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x4f52c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x68], 0
je 0x437c6d
add eax, 0xb0
push eax
lea eax, [ebp + 8]
push eax
mov ebx, str.MediaLibraryUpdate.exe__hide
call fcn.00404180
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
jne 0x437beb
call fcn.00406b80
push 0x40
lea ecx, [ebp - 0x68]
push 0
push ecx
call fcn.0049dad0
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x6c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x437c47
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x1c]
push edx
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437c6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x437c90
Capabilities:
Create thread
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9e58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4f52c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push edi
push 0x43e3f0
push 0
push 0
call fcn.0049ba9c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x10], esi
call ebx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xb0]
sub eax, 0x10
call fcn.00404350
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
je 0x437d0b
mov esi, eax
call fcn.0043a3a0
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x437d20
add edi, 0xb4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1f41
call fcn.004416c0
call ebx
cmp byte [0x4f683a], 0
je 0x437d7d
sub eax, dword [ebp - 0x14]
mov edi, 0x4fb418
push eax
push 0x4d1fb4
push 0x4cbaf4
call fcn.00401f80
mov eax, dword [0x4fb418]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4fb390]
test eax, eax
je 0x437d7d
mov ecx, dword [0x4fb418]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.0049c567
mov ecx, dword [0x4fb390]
push ecx
call fcn.0049cdd7
add esp, 0x14
call ebx
mov edi, eax
test esi, esi
je 0x437d95
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
cmp byte [0x4f683a], 0
je 0x437df1
sub eax, edi
push eax
push 0x4d1fcc
push 0x4cbaf4
mov edi, 0x4fb418
call fcn.00401f80
mov edx, dword [0x4fb418]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4fb390]
test eax, eax
je 0x437df1
mov ecx, dword [0x4fb418]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.0049c567
mov eax, dword [0x4fb390]
push eax
call fcn.0049cdd7
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437e17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a3a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a41d
mov dword [ebp - 0x54], vtable.CAccessRight.0
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x4e]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x50], ax
call fcn.0049dad0
add esp, 0xc
push 0x20
push str.Users
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.00402c80
add esp, 0xc
mov eax, 1
jmp 0x43a41f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret

Function at 0x43a620
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bab0b
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov ebx, ecx
test esi, esi
jne 0x43a661
xor eax, eax
jmp 0x43a71e
push 0x4c89a0
push esi
push 0x4c8974
lea eax, [ebp - 0x428]
push 0x104
push eax
mov edi, 1
call fcn.0049b0ab
add esp, 0x14
lea ecx, [ebp - 0x678]
push ecx
lea edx, [ebp - 0x428]
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x680], eax
cmp eax, 0xffffffff
je 0x43a65a
cmp word [ebp - 0x64c], 0x2e
je 0x43a6f7
test byte [ebp - 0x678], 0x10
je 0x43a73c
lea eax, [ebp - 0x64c]
push eax
push esi
push str._s_s_
lea ecx, [ebp - 0x220]
push 0x104
push ecx
call fcn.0049b0ab
add esp, 0x14
push 1
lea eax, [ebp - 0x220]
xor edx, edx
push eax
mov ecx, ebx
mov word [ebp - 0x1a], dx
call fcn.0043a620
mov edi, eax
mov edx, dword [ebp - 0x680]
lea ecx, [ebp - 0x678]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43a6ab
mov eax, dword [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
je 0x43a6f7
lea ecx, [ebp - 0x67c]
push ecx
lea ecx, [ebp - 0x64c]
call fcn.00401d40
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x67c]
push str.ASBarBroker.exe
push edx
call fcn.0049ae11
add esp, 8
test eax, eax
jne 0x43a77c
push eax
push esi
call fcn.00403ec0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x67c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a6f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43a6f7
Function at 0x43cf00
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4baae0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4f52c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x10]
call fcn.0043d0e0
mov esi, dword [ebp + 8]
add esi, 0x5c
mov edi, esi
mov dword [ebp - 4], 0
call fcn.00404260
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cf6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
push esi
push ecx
mov ebx, str.Archive.7z
call fcn.00404180
add esp, 8
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x58]
mov dword [ebp - 4], 1
call fcn.00404260
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43cfb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
call fcn.0043d070
test eax, eax
jne 0x43cfd5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4fb394]
mov ebx, dword [edi]
push str.RESOURCE_DATA
push 0x8a
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43cfbf
mov ecx, dword [ebp + 8]
push ebx
call fcn.00401270
add esp, 4
test al, al
je 0x43cfbf
mov ecx, dword [esi]
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [edi]
mov esi, dword [esi]
push eax
call fcn.004221e0
add esp, 4
push eax
push esi
call fcn.004221e0
add esp, 4
push eax
call fcn.0040c900
mov eax, dword [edi]
add esp, 4
sub eax, 0x10
mov dword [ebp + 8], esp
mov esi, esp
call fcn.00404350
add eax, 0x10
mov dword [esi], eax
call fcn.00403ad0
xor edx, edx
add esp, 4
test eax, eax
setne dl
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4