joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8610
Capabilities:
Get common file path

Disassembly:
sub esp, 0x824
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x820], eax
cmp dword [0x5c30b8], 0
push ebx
push esi
mov ebx, ecx
je 0x4b8642
mov ecx, dword [0x5ed04c]
push 1
push 1
push 0
call fcn.004612b0
cmp dword [0x5c30b0], 0
je 0x4b86b4
lea esi, [ebx + 0x150]
mov ecx, esi
call fcn.0044d2c0
lea eax, [esp + 8]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x418]
push ecx
push 0
lea edx, [esp + 0x10]
push 0x57e7e0
push edx
call fcn.004506e0
add esp, 0x10
push 1
push 1
push 0xc0000000
lea eax, [esp + 0x424]
push eax
mov ecx, esi
call fcn.00450840
test eax, eax
je 0x4b87b9
push 2
push 0x582fc4
mov ecx, esi
call fcn.004509e0
jmp 0x4b86d1
push 0
push 1
push ebx
mov ecx, ebx
call fcn.00503c1f
mov ecx, eax
call fcn.0050e34e
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x5c30ac]
cmp eax, 1
je 0x4b87b0
cmp eax, 2
je 0x4b87b0
cmp eax, 4
jne 0x4b86f8
push ebx
call fcn.00435300
jmp 0x4b87b6
cmp eax, 3
jne 0x4b8776
mov ecx, dword [0x5ed04c]
push 0
call fcn.0050bf67
mov esi, eax
test esi, esi
je 0x4b8776
push 0x5709e4
mov ecx, esi
call fcn.0050ae41
test eax, eax
je 0x4b8776
mov edx, dword [esi]
mov eax, dword [edx + 0x144]
mov ecx, esi
call eax
mov esi, dword [eax + 0x24]
test esi, esi
je 0x4b8776
cmp word [esi], 0
je 0x4b8776
push edi
push 0x5c
push esi
call fcn.00540fb2
mov edi, eax
add esp, 8
test edi, edi
je 0x4b8775
mov ecx, 0x5c30d0
call fcn.00401b90
cmp esi, edi
ja 0x4b8775
lea esp, [esp]
movzx ecx, word [esi]
push ecx
mov ecx, 0x5c30d0
call fcn.00405b30
add esi, 2
cmp esi, edi
jbe 0x4b8760
pop edi
push 0
push 0
push 0
push 0
push ebx
push 0x4b74a0
mov dword [ebx + 0xa8], 1
call fcn.00512bba
pop esi
mov dword [ebx + 0x5d4], eax
pop ebx
mov ecx, dword [esp + 0x820]
xor ecx, esp
call fcn.0053fa67
add esp, 0x824
ret
push ebx
call fcn.00433970
add esp, 4
mov ecx, dword [esp + 0x828]
pop esi
pop ebx
xor ecx, esp
call fcn.0053fa67
add esp, 0x824
ret
Function at 0x4cbb00
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
lea edx, [ecx + eax]
cmp ecx, edx
jae 0x4cbb34
mov eax, dword [esp + 4]
push esi
push edi
movzx edi, byte [ecx]
movzx esi, al
shr ax, 8
xor esi, edi
xor ax, word [esi*2 + 0x5edc40]
inc ecx
movzx eax, ax
cmp ecx, edx
jb 0x4cbb15
pop edi
pop esi
ret
mov ax, word [esp + 4]
ret

Function at 0x4cbd60
Capabilities:
Get disk information

Disassembly:
sub esp, 0x30
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov ecx, 0x3a
cmp cx, word [eax + 2]
jne 0x4cbe5b
mov edx, 0x5c
cmp dx, word [eax + 4]
jne 0x4cbe5b
mov ax, word [eax]
mov word [esp + 0x12], cx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov word [esp + 0x24], dx
lea edx, [esp + 0x10]
push edx
mov word [esp + 0x24], ax
xor eax, eax
push ecx
mov word [esp + 0x2e], ax
mov dword [esp + 0x18], eax
push ecx
lea eax, [esp + 0x2c]
push eax
mov word [esp + 0x38], cx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4cbe5b
mov ecx, dword [esp]
push ecx
lea edx, [esp + 0x1c]
push 0x5847ec
push edx
call fcn.00409b20
movzx eax, byte [esp + 0x24]
movzx ecx, byte [esp + 0x26]
movzx edx, byte [esp + 0x28]
mov byte [esp + 0x10], al
movzx eax, byte [esp + 0x2a]
mov byte [esp + 0x11], cl
movzx ecx, byte [esp + 0x2c]
mov byte [esp + 0x12], dl
movzx edx, byte [esp + 0x2e]
mov byte [esp + 0x13], al
movzx eax, byte [esp + 0x30]
mov byte [esp + 0x14], cl
movzx ecx, byte [esp + 0x32]
mov byte [esp + 0x15], dl
movzx edx, byte [esp + 0x34]
mov byte [esp + 0x16], al
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], dl
call fcn.004cbaa0
push 8
lea eax, [esp + 0x14]
push eax
push 0
call fcn.004cbb00
add esp, 0x18
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0053fa67
add esp, 0x30
ret
mov ecx, dword [esp + 0x2c]
xor ecx, esp
xor eax, eax
call fcn.0053fa67
add esp, 0x30
ret
Function at 0x4cbe70
Capabilities:
Set registry value

Disassembly:
sub esp, 0x5b8
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x5b4], eax
push ebx
mov ebx, dword [esp + 0x5c0]
push ebp
push esi
mov esi, dword [esp + 0x5cc]
push edi
mov dword [esp + 0x10], ebx
lea ecx, [ebx + 1]
lea ecx, [ecx]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4cbea0
mov eax, esi
sub ebx, ecx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cbeb0
sub eax, edi
lea ebp, [eax + ebx + 2]
push ebp
mov dword [esp + 0x20], eax
call fcn.004ff272
mov edi, eax
mov eax, dword [esp + 0x14]
push ebx
push eax
lea ecx, [edi + 1]
push ecx
mov byte [edi], bl
call fcn.005402a0
mov eax, dword [esp + 0x2c]
push eax
lea edx, [ebx + edi + 2]
push esi
push edx
mov byte [ebx + edi + 1], al
call fcn.005402a0
mov eax, 0x51eb851f
imul ebp
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + ebp + 0xc]
push eax
mov dword [esp + 0x34], eax
call fcn.004ff272
push ebp
push edi
lea ecx, [esp + 0x3c]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x40], esi
call fcn.004f9450
add esp, 0x30
test eax, eax
je 0x4cbf3d
push edi
call fcn.004ff267
push esi
call fcn.004ff267
add esp, 8
xor eax, eax
jmp 0x4cc0ae
mov ebx, dword [esp + 0x14]
add ebx, 8
push ebx
call fcn.004ff272
mov edx, dword [0x5b4b6c]
mov esi, eax
mov dword [esi], edx
mov eax, dword [0x5b4b6c]
push eax
call fcn.0054026c
call fcn.0054027e
add eax, ebp
mov word [esi + 4], ax
mov ecx, dword [0x5b4b6c]
inc ecx
push ecx
call fcn.0054026c
call fcn.0054027e
add eax, dword [esp + 0x20]
lea ecx, [esi + 8]
mov word [esi + 6], ax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.005402a0
mov ecx, dword [0x5ba2a8]
add esp, 0x18
push ebx
push esi
push str.License
push str.Install
call fcn.00514fd6
mov edx, dword [str.SoftwareES_ComputingEditPlus_3_s]
push str.Install
mov ebp, eax
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00403570
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [esp + 0x40]
push eax
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4cc017
mov ecx, dword [esp + 0x18]
push ebx
push esi
push 3
push eax
push str.License
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x5ba2a8]
mov ecx, dword [eax + 0xe0]
push ecx
lea edx, [esp + 0x1b8]
push 0x208
push edx
call fcn.0054013c
mov eax, dword [str.reg_u.ini]
push eax
lea ecx, [esp + 0x1c4]
push 0x208
push ecx
call fcn.005400bf
lea edx, [esp + 0x1cc]
push edx
push ebx
push esi
push str.License
push str.Install
call fcn.00451370
lea eax, [esp + 0x1e0]
push eax
call fcn.004cbd60
push 0
movzx eax, ax
lea ecx, [esp + 0x1e8]
push ecx
push eax
push 0x57c218
push str.Install
call fcn.004512e0
add esp, 0x44
push edi
call fcn.004ff267
mov edx, dword [esp + 0x14]
push edx
call fcn.004ff267
push esi
call fcn.004ff267
add esp, 0xc
mov eax, ebp
mov ecx, dword [esp + 0x5c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053fa67
add esp, 0x5b8
ret
Function at 0x4d2610
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x565deb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x468], 0
jl 0x4d266b
movzx eax, word [esi + 0x468]
movzx ecx, word [esi + 0x464]
push eax
push ecx
call dword [0x5ede70]
lea edi, [esi + 0x44c]
mov ebp, 2
cmp dword [edi + 8], 0
jl 0x4d268f
movzx edx, word [edi + 8]
movzx eax, word [esi + 0x464]
push edx
push eax
call dword [0x5ede70]
cmp dword [edi], 0
jl 0x4d26a6
movzx ecx, word [edi]
movzx edx, word [esi + 0x464]
push ecx
push edx
call dword [0x5ede70]
add edi, 4
sub ebp, 1
jne 0x4d2676
mov eax, dword [esi + 0x4c0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d2709
lea ecx, [esp + 0x10]
call fcn.0044fce0
mov eax, dword [esi + 0x4c0]
push 1
push 1
push 0x40000000
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x240], ebp
call fcn.00450840
test eax, eax
je 0x4d26f5
lea ecx, [esp + 0x10]
call fcn.0044d2c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.0044fd20
mov eax, dword [esi + 0x4c0]
mov ecx, dword [eax - 0xc]
push 0
push 0
push 0x207
lea edx, [esp + 0x28]
push edx
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movzx ecx, word [esi + 0x464]
mov byte [esp + eax + 0x1c], 0
push 0
lea eax, [esp + 0x20]
push eax
push ecx
call dword [0x5ede78]
mov edi, eax
call fcn.004d2420
push 1
mov ecx, esi
mov dword [esi + 0x468], eax
call fcn.004d24e0
push 0
mov ecx, esi
call fcn.004d24e0
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0053fa67
add esp, 0x224
ret

Function at 0x4d2ab4
Capabilities:
Resume thread

Disassembly:
sub esp, 0xc4
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
mov esi, ecx
cmp dword [esi + 0x420], 0
je 0x4d2b73
push 0x40
lea eax, [esp + 0x48]
push eax
lea ecx, [esi + 0x340]
call fcn.00506fb9
cmp dword [esp + 0xd0], 0
je 0x4d2aeb
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [esp + 0x44]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d2af2
push edi
push 0
push 0
push 0x3f
sub eax, edx
lea edx, [esp + 0x14]
push edx
sar eax, 1
push eax
lea eax, [esp + 0x5c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [esp + 0xd0]
push 0
push 0x69
lea ecx, [esp + 0x10]
mov byte [esp + eax + 0x10], 0
movzx eax, word [esi + 0x464]
push ecx
push edx
push eax
call dword [0x5ede64]
mov edi, eax
call fcn.004d2420
mov ecx, esi
mov dword [esi + 0x420], 0
call fcn.004d1850
cmp dword [esi + 0x404], 0
pop edi
je 0x4d2b73
mov ecx, dword [esi + 0x400]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0xc4]
pop esi
xor ecx, esp
call fcn.0053fa67
add esp, 0xc4
ret 8
Function at 0x4d3080
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x565e68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d30bf
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d30f1
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
mov byte [esp + 0x20], 1
cmp eax, 1
ja 0x4d312f
mov ecx, dword [eax*4 + 0x5b4cd4]
push ecx
lea ecx, [esp + 0x10]
call fcn.00402260
push 0x20
lea ecx, [esp + 0x10]
call fcn.00405b30
mov esi, dword [esp + 0xc]
push esi
lea edx, [esp + 0x14]
push 0x542c
push edx
call fcn.00402170
mov edi, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0x24
push edi
call fcn.0050bda7
cmp eax, 6
jne 0x4d31e2
mov ecx, dword [0x5ba2a8]
xor eax, eax
cmp dword [ecx + 0xc4], 0x3b5
sete al
test eax, eax
mov eax, str.http:__www.editplus.com_kr_download.html
jne 0x4d317c
mov eax, 0x5857a8
push eax
lea ecx, [esp + 0x18]
call fcn.004022e0
mov edx, dword [esp + 0x14]
mov eax, dword [0x5ed04c]
mov ecx, dword [eax + 0x20]
push 5
push 0
push 0
push edx
push str.open
push ecx
mov byte [esp + 0x38], 2
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4d31bd
push 0xffffffffffffffff
push 0
push 0x4e83
call fcn.0050bdf5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x20], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d31e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d3203
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 0x4d3227
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
add esp, 0x18
ret
Function at 0x4d5b80
Capabilities:
Get common file path

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push esi
lea eax, [esp + 4]
push eax
push ecx
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 4]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
push eax
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4d5be4
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4d6010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5628e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.0044fce0
mov eax, dword [esp + 0x28]
push 1
push 1
push accept
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.00450840
test eax, eax
jne 0x4d6084
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.0044fd20
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0xc]
lea esi, [esp + 0x10]
call fcn.004d5e10
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
call fcn.0044fd20
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x4dc830
Capabilities:
Enumerate network shares

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push 0x4000
mov ebp, ecx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0x4000
call fcn.004ff272
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
push 0
push esi
mov dword [esp + 0x24], esi
call fcn.00540610
mov eax, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x14]
push edx
push eax
call sub.MPR.dll_WNetEnumResourceW
test eax, eax
jne 0x4dc930
xor ebx, ebx
cmp dword [esp + 0xc], ebx
jle 0x4dc946
push edi
mov edi, dword [esp + 0x28]
add esi, 0x14
lea esp, [esp]
cmp dword [esp + 0x2c], 0
je 0x4dc8f8
cmp dword [esi - 0xc], 2
je 0x4dc8f8
test byte [esi - 8], 2
je 0x4dc91b
lea ecx, [esp + 0x28]
push ecx
lea edx, [esi - 0x14]
push edx
push 2
push 1
push 2
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x4dc8e2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
mov edx, dword [esp + 0x28]
push eax
push edi
push ecx
push edx
mov ecx, ebp
call fcn.004dc830
jmp 0x4dc91b
mov eax, dword [esi]
push 0
push eax
push 0
push 0x5477
call fcn.00450540
add esp, 0x10
jmp 0x4dc91b
mov eax, dword [esi]
push 0x5c
push eax
call fcn.00540fb2
add esp, 8
test eax, eax
je 0x4dc90e
add eax, 2
jmp 0x4dc910
mov eax, dword [esi]
push 1
push edi
push eax
mov ecx, ebp
call fcn.004db410
inc ebx
add esi, 0x20
cmp ebx, dword [esp + 0x10]
jl 0x4dc8a0
mov esi, dword [esp + 0x18]
pop edi
jmp 0x4dc946
mov ecx, dword [esp + 0x20]
push 0
push ecx
push 0
push 0x5477
call fcn.00450540
add esp, 0x10
push esi
call fcn.004ff267
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call sub.MPR.dll_WNetCloseEnum
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4ded10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x850
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x84c], eax
push ebx
mov ebx, dword [esp + 0x85c]
push esi
mov esi, dword [esp + 0x85c]
lea eax, [esp + 0x10]
push eax
push 0x12
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4ded5f
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x84c]
xor ecx, esp
call fcn.0053fa67
add esp, 0x850
ret
mov edx, dword [esp + 0x10]
push ebp
xor ecx, ecx
lea eax, [esp + 0x38]
push edi
mov dword [esp + 0x20], edx
mov word [esp + 0x3c], cx
lea edx, [esp + 0x1c]
xor edi, edi
mov ecx, eax
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov esi, eax
lea eax, [esp + 0x14]
push eax
call ebp
test eax, eax
jl 0x4dedcf
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, edi
je 0x4dee41
lea eax, [esp + 0x44c]
push eax
push esi
mov edi, 1
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4dee01
lea ecx, [esp + 0x44c]
push ecx
mov ecx, ebx
call fcn.00402260
mov edi, 2
jmp 0x4dee19
push 0x586b9c
mov ecx, ebx
call fcn.00402260
lea edx, [esp + 0x3c]
push edx
mov ecx, ebx
call fcn.004022a0
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x4dee3d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x4dee43
xor eax, eax
mov ecx, dword [esp + 0x85c]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0053fa67
add esp, 0x850
ret
Function at 0x4e03b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5667d6
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x688]
mov dword fs:[0], eax
mov eax, dword [0x5ba2b0]
add eax, 0xfffffff0
push eax
mov ebp, ecx
call fcn.004044a0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x698], 0
call fcn.00414170
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x280]
push 0x208
push edx
call fcn.0054013c
push 0x586ba4
lea eax, [esp + 0x28c]
push 0x208
push eax
call fcn.005400bf
mov ecx, dword [ebp + 0x130]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x20
push 0
push 0
push 0x14b
push ecx
call ebx
mov ecx, 0x5b4ecc
call fcn.00434180
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4e0484
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x278]
push edx
mov byte [esp + 0x698], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0xffffffff
je 0x4e0590
mov edi, edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00405fa0
lea eax, [esp + 0x50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e04d5
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401fe0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.004d6010
add esp, 8
test eax, eax
je 0x4e0575
mov esi, dword [0x5b4ed4]
test esi, esi
jl 0x4e060b
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, 0x5b4ecc
call fcn.00433f00
mov edx, dword [0x5b4ed0]
lea eax, [esp + 0x14]
lea ecx, [edx + esi*4]
push eax
call fcn.00405fa0
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x130]
push esi
push 0
push 0x143
push ecx
call ebx
push esi
mov edi, eax
call fcn.004ff267
mov edx, dword [0x5b4ed4]
mov eax, dword [ebp + 0x130]
add esp, 4
dec edx
push edx
push edi
push 0x151
push eax
call ebx
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e04c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x690], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e05b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x690], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e05e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x688]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.0053fa67
add esp, 0x680
ret
call fcn.005078a4
int3
Function at 0x4e48a0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x566c78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x48]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x84]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
test al, 1
jne 0x4e4955
cmp dword [edi + 0x88], 0
je 0x4e4955
test eax, 0x2000
je 0x4e4909
mov eax, 0xe81b
jmp 0x4e4924
test eax, 0x8000
je 0x4e4917
mov eax, 0xe81e
jmp 0x4e4924
shr eax, 0xc
not eax
and eax, 1
or eax, 0xe81c
mov ecx, dword [0x5ed04c]
push eax
call fcn.0050e808
mov ebx, eax
test ebx, ebx
je 0x4e4955
push esi
mov ecx, edi
call fcn.00509778
push esi
mov ecx, ebx
call fcn.00509737
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [edi + 0x144]
call fcn.00509a41
lea ecx, [edi + 0x15c]
call fcn.00509d02
mov ebx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
sub ebx, dword [esi]
sub ebp, dword [esi + 4]
lea ecx, [esp + 0x24]
call fcn.005093bc
push 0
push 0
push 0
push 0x5703d4
mov dword [esp + 0x4c], 0
call dword [sym.imp.GDI32.dll_CreateDCW]
push eax
lea ecx, [esp + 0x28]
call fcn.005099d8
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [edi + 0x144]
call fcn.005099d8
mov ecx, dword [esp + 0x28]
push ebp
push ebx
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [edi + 0x15c]
call fcn.00509caa
lea eax, [edi + 0x15c]
test eax, eax
je 0x4e49df
mov eax, dword [eax + 4]
mov edx, dword [edi + 0x148]
push eax
push edx
call fcn.00509d63
mov eax, dword [esi]
mov ecx, dword [esi + 4]
neg eax
mov dword [esi], eax
sub eax, dword [esp + 0x14]
neg ecx
add eax, dword [esp + 0x1c]
mov dword [esi + 4], ecx
sub ecx, dword [esp + 0x18]
mov dword [esi + 8], eax
add ecx, dword [esp + 0x20]
push 0
mov dword [esi + 0xc], ecx
mov eax, dword [0x5ecedc]
mov ecx, dword [edi + 0x148]
push esi
neg eax
push 0
sbb eax, eax
push 6
and eax, 4
mov edx, dword [edi + eax*4 + 0x168]
push ecx
push edx
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
mov eax, dword [edi + 0x148]
mov ecx, dword [esp + 0x44]
push 0xcc0020
push 0
push 0
push eax
push ebp
push ebx
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00509a57
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8