joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d2c4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
mov ebx, 0x593c54
xor eax, eax
call fcn.0049d280
xor eax, eax
mov dword [ebp - 9], eax
xor eax, eax
mov dword [ebp - 5], eax
call fcn.0049d034
mov eax, ebx
xor ecx, ecx
mov edx, 0x4c
call fcn.004035d4
mov dword [ebx], esi
mov dword [ebx + 4], edi
cmp byte [ebp - 1], 0
je 0x49d311
cmp dword [0x593ca8], 0
jne 0x49d315
xor eax, eax
jmp 0x49d317
mov al, 1
mov byte [ebx + 8], al
mov al, byte [ebp + 8]
mov byte [ebx + 0x3c], al
lea eax, [ebx + 0x34]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetClientRect
push 2
lea eax, [ebx + 0x1c]
push eax
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_MapWindowPoints
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetWindowRect
push 3
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDCEx
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [ebx + 0x2c], eax
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x20]
mov dword [ebx + 0x30], esi
push esi
mov eax, dword [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x10]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
mov dword [ebx + 0x14], esi
mov eax, dword [ebx + 0x18]
push eax
push esi
call sub.gdi32.dll_SelectObject
push 0x1e
mov eax, dword [ebx + 0x14]
push eax
push 0x317
mov eax, dword [ebx]
push eax
call sub.user32.dll_SendMessageA
cmp byte [ebx + 8], 0
je 0x49d407
push 0xffffffffffffffec
mov esi, dword [ebx]
push esi
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
mov dword [ebx + 0xc], 0x20
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x14], 0
mov al, byte [ebx + 0xc]
mov byte [ebp - 0x12], al
push 2
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 9]
push eax
mov eax, dword [ebx + 0x14]
push eax
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebx]
push eax
call dword [0x593ca8]
jmp 0x49d430
xor eax, eax
mov dword [ebx + 0xc], eax
push 0
push 0
push 0
push 0
call sub.gdi32.dll_CreateRectRgn
mov esi, eax
push 0
push esi
mov eax, dword [ebx]
push eax
call sub.user32.dll_SetWindowRgn
test eax, eax
jne 0x49d430
push esi
call sub.gdi32.dll_DeleteObject
push 0x425f
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_SetWindowPos
push 0
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x49d084
xor edx, edx
xor eax, eax
call fcn.00404cb8
mov dword [0x593c50], eax
cmp dword [0x593c50], 0
jne 0x49d472
call fcn.0049d1f8
jmp 0x49d483
inc dword [0x593ca0]
mov eax, dword [0x593c50]
push eax
call sub.kernel32.dll_ResumeThread
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49d8b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 1
je 0x49d8db
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49da64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x49da5d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x49d92a
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
test edi, edi
je 0x49d920
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, ebx
call edi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.user32.dll_GetWindowRect
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 4
je 0x49da42
mov edx, dword [ebp - 4]
test al, 8
je 0x49d9a6
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x49d98b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00473568
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x14
push ebx
call sub.user32.dll_SendMessageA
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x49d9c8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00473568
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x318
push ebx
call sub.user32.dll_SendMessageA
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00473568
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 0x10
je 0x49da20
mov byte [ebp - 0x34], 1
mov dword [ebp - 0x28], 0x1e
lea eax, [ebp - 0x34]
push eax
push 0x49d7f0
push ebx
call sub.user32.dll_EnumChildWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 0x20
je 0x49da42
mov byte [ebp - 0x34], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0x49d7f0
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49da64
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49de50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x49df07
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x190
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x49df18
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x49def1
mov dword [ebp - 0xc], 0x20
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x49df30
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
cmp esi, 2
je 0x49def1
test esi, esi
jne 0x49dec8
cmp dword [ebp - 8], 1
je 0x49decc
xor ebx, ebx
jmp 0x49def1
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x30]
mov ecx, 0x20
call fcn.00404f74
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x10]
call fcn.004036a4
mov ebx, eax
cmp dword [ebp - 0x10], 0
je 0x49def1
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49df0e
lea eax, [ebp - 0x34]
call fcn.00404d04
ret

Function at 0x49ead8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49eb97
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x592208]
cmp dword [eax], 5
jl 0x49eb09
mov eax, dword [0x592834]
cmp dword [eax], 2
je 0x49eb0d
mov bl, 1
jmp 0x49eb81
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x49ebb0
push esi
push 0x49ebdc
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004050a0
mov eax, dword [ebp - 0x14]
call fcn.004051e0
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x49eb81
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x49eb6f
cmp word [ebp - 0xc], 0
jne 0x49eb76
cmp eax, 0xea
jne 0x49eb78
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49eb9e
lea eax, [ebp - 0x14]
call fcn.00404d04
ret
Function at 0x49ec68
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x49ecf0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0x1004
push 0
call sub.user32.dll_GetKeyboardLayout
and eax, 0xffff
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x49ecd8
mov byte [ebp - 5], 0
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x14]
mov ecx, 0x10
call fcn.00404f74
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 4]
call fcn.00405e38
mov ebx, eax
cmp dword [ebp - 4], 0
jne 0x49ecd4
push ebx
call sub.kernel32.dll_IsValidCodePage
test eax, eax
jne 0x49ecda
xor ebx, ebx
jmp 0x49ecda
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ecf7
lea eax, [ebp - 0x18]
call fcn.00404d04
ret

Function at 0x49f488
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, eax
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
mov ebx, eax
shl ebx, 0x10
test ebx, ebx
je 0x49f4c8
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextA
test eax, eax
jle 0x49f4c8
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404f74
jmp 0x49f4d4
mov eax, esi
mov edx, 0x49f4e8
call fcn.00404d58
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x4b0320
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047b848
test al, al
je 0x4b0475
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047b544
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetUpdateRect
test eax, eax
je 0x4b038c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x4b038c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004ad57c
jmp 0x4b0475
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b0463
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x14]
push edi
mov esi, dword [ebp - 0x18]
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
push 0
push 0
push 0x85
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
push 0
mov ebx, dword [ebp - 0xc]
push ebx
push 0x14
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
push 0
push ebx
push 0xf
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push edi
push esi
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b046a
cmp dword [ebp - 0xc], 0
je 0x4b0446
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
cmp dword [ebp - 0x10], 0
je 0x4b0455
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ReleaseDC
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c9428
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ecx, eax
mov ebx, dword [ebp + 8]
dec ebx
test ebx, ebx
jl 0x4c945d
inc ebx
mov eax, edx
mov edx, ecx
shr edx, 8
and edx, 0xffffff
movzx esi, byte [eax]
xor ecx, esi
and ecx, 0xff
xor edx, dword [ecx*4 + 0x589df0]
mov ecx, edx
inc eax
dec ebx
jne 0x4c943a
mov eax, ecx
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4c9468
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051d0
xor eax, eax
push ebp
push 0x4c9589
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404d04
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
or esi, 0xffffffff
mov byte [ebp - 0x19], 0
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 4]
call fcn.00405238
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4c9573
mov eax, dword [0x589dec]
call fcn.00402b10
mov ebx, eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x589dec]
push eax
mov edi, ebx
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x4c9511
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
call fcn.00402b40
jmp 0x4c9573
mov eax, dword [ebp - 0x10]
push eax
mov edx, edi
mov ecx, 0x100000
mov eax, esi
call fcn.004c9428
mov esi, eax
mov eax, dword [ebp - 0x10]
xor edx, edx
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
cmp word [ebp + 0xa], 0
je 0x4c9546
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea edx, [ebp - 0x19]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
cmp byte [ebp - 0x19], 0
jne 0x4c9552
cmp dword [ebp - 0x10], 0
ja 0x4c94e3
mov eax, ebx
call fcn.00402b40
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ecx, dword [ebp - 8]
mov eax, esi
not eax
mov edx, 8
call fcn.00409b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9590
lea eax, [ebp - 4]
call fcn.00404d04
ret

Function at 0x4c959c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, eax
or ebx, 0xffffffff
jmp 0x4c95c7
mov eax, ebx
shr eax, 8
and eax, 0xffffff
xor edx, edx
mov dl, byte [esp]
xor ebx, edx
and ebx, 0xff
xor eax, dword [ebx*4 + 0x589df0]
mov ebx, eax
mov edx, esp
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
dec eax
je 0x4c95a7
not ebx
push 0
push 0
mov eax, esi
call fcn.0041d6fc
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4c9edc
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff6c
mov ebx, edx
mov edi, eax
xor eax, eax
mov al, bl
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
xor edx, edx
div ecx
mov ebx, eax
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4c9f53
cmp dword [esp + 4], 5
jb 0x4c9f53
push 0x4c9f60
push 0x4c9f7c
call sub.kernel32.dll_GetModuleHandleA
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
test esi, esi
je 0x4c9f53
push 0xffffffffffffffec
push edi
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
push 2
push ebx
push 0
push edi
call esi
add esp, 0x94
pop edi
pop esi
pop ebx
ret

Function at 0x4cb4e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x5961d4
cmp dword [esi], 0
jne 0x4cb586
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x5961d8]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x58a218
mov ecx, 2
call fcn.00402d30
mov edx, 0x4cb4c0
mov eax, dword [ebp - 8]
add eax, 5
call fcn.004cb4b8
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.004cb4b8
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x4cb54d
mov eax, dword [ebp - 8]
mov dword [0x5961d8], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d154c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x14], 0x58a278
xor edx, edx
push ebp
push 0x4d15cc
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x4d15c2
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x5963f8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
test eax, eax
jne 0x4d15b3
mov al, byte [ebp - 0xd]
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d15e3
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x5963f4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d15d6
inc byte [ebp - 0xd]
add dword [ebp - 0x14], 4
cmp byte [ebp - 0xd], 0x1c
jne 0x4d1567
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d1c48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4d1d2a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
push 0
lea eax, [ebp - 4]
mov ecx, 0x4d1d40
mov edx, dword [ebx + 8]
call fcn.0040502c
mov eax, dword [ebp - 4]
push eax
xor ecx, ecx
mov dx, word [ebx + 0x60]
mov eax, dword [ebx + 0x30]
call fcn.004898b8
mov esi, eax
mov dl, byte [ebx + 0x48]
mov eax, esi
call fcn.00486da4
mov dl, byte [ebx + 0x38]
mov eax, esi
call fcn.00486e24
mov dl, byte [ebx + 0x3a]
mov eax, esi
call fcn.0048706c
mov dl, byte [ebx + 0x39]
mov eax, esi
call fcn.00486e78
mov dl, byte [ebx + 0x3f]
mov eax, esi
call fcn.00486ef0
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x54], eax
mov dl, byte [ebx + 0x3d]
mov eax, esi
call fcn.00487518
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov dl, byte [ebx + 0x3e]
mov eax, esi
call fcn.00486f94
mov edx, dword [ebx + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebx + 0x40]
mov eax, esi
call fcn.00486fa4
lea eax, [esi + 0x58]
mov edx, dword [ebx + 0x58]
call fcn.00404d58
mov eax, ebx
call fcn.00486f34
mov edx, eax
mov eax, esi
call fcn.004873d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1d31
lea eax, [ebp - 4]
call fcn.00404d04
ret
Function at 0x4d287c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d298c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x30]
mov eax, esi
call fcn.00409568
test eax, eax
jne 0x4d28b6
mov eax, esi
call fcn.00404fe0
test eax, eax
jg 0x4d2971
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x30]
call fcn.00404d9c
lea eax, [ebx + 0x30]
mov edx, esi
call fcn.00404d58
mov eax, dword [ebx + 0x30]
call fcn.00404fe0
test eax, eax
jne 0x4d28ec
lea eax, [ebp - 4]
push eax
push 0x11
mov eax, ebx
call fcn.004d19c8
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
jmp 0x4d28f9
mov edx, dword [ebx + 0x30]
xor eax, eax
call fcn.004d0c58
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4d292d
lea eax, [ebx + 0x30]
mov edx, dword [ebp - 8]
call fcn.00404d58
lea eax, [ebp - 0xc]
mov ecx, esi
mov edx, 0x4d29a4
call fcn.0040502c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4d12d0]
call fcn.0040daa4
call fcn.00404674
mov eax, dword [ebx + 0x30]
call fcn.00404fe0
test eax, eax
jle 0x4d2958
mov eax, dword [ebx + 0x30]
call fcn.00404fe0
mov edx, dword [ebx + 0x30]
cmp byte [edx + eax - 1], 0x5c
je 0x4d2958
lea eax, [ebx + 0x30]
mov edx, 0x4d29c4
call fcn.00404fe8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d29c8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x5963f4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2993
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404d28
ret

Function at 0x4d2f20
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
push 0x4009
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.004d27c0
push eax
call sub.shell32.dll_SHGetFileInfo
mov eax, dword [esp + 4]
add esp, 0x160
pop ebx
ret

Function at 0x4d2f54
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
push 0x400b
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.004d27c0
push eax
call sub.shell32.dll_SHGetFileInfo
mov eax, dword [esp + 4]
add esp, 0x160
pop ebx
ret

Function at 0x4d3208
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffe9c
mov word [esp], 0
push 0x4009
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfo
mov eax, dword [esp + 8]
add esp, 0x164
ret

Function at 0x4d323c
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffe9c
mov ebx, edx
mov word [esp], 0
push 0x208
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfo
mov eax, ebx
lea edx, [esp + 0x10]
mov ecx, 0x104
call fcn.00404f74
add esp, 0x164
pop ebx
ret