joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4764f8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4766a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x476684
mov dl, 1
mov eax, dword [0x419bac]
call fcn.00403828
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404608
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x476673
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00463f00
test al, al
je 0x476666
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4766b4
lea eax, [ebp - 0x254]
call fcn.00409a7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x476666
xor eax, eax
push ebp
push 0x47665f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4766ec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x476648
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404878
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x476648
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404878
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476666
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x476569
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e2f4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4766aa
lea eax, [ebp - 0x260]
call fcn.00404608
ret

Function at 0x476fd8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4bdc14]
cmp byte [eax + 0xa5], 0
jne 0x477049
cmp dword [0x4bdc2c], 0
jne 0x47700a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x476f94
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4bdc2c], eax
cmp dword [0x4bdc28], 0
jne 0x477025
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4bdc28], eax
cmp dword [0x4bdc30], 0
jne 0x477049
push esp
push 0
push 0
push 0x476f38
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4bdc30], eax
pop edx
ret
Function at 0x47719c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4771b3
add esp, 0xfffffff0
call fcn.00403bbc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424388
mov eax, dword [0x4bc288]
cmp word [eax + 2], 0
jne 0x4771db
mov eax, dword [0x4bc288]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047891c
mov eax, dword [0x4bc35c]
cmp word [eax + 2], 0
jne 0x4771f5
mov eax, dword [0x4bc35c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00478b14
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419548]
call fcn.00403828
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419548]
call fcn.00403828
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4268dc]
call fcn.0042e148
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x47737c
mov eax, dword [0x4bc168]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e518
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4790c4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4bc168]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d4cc
test eax, eax
je 0x4772ea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040945c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4f4
test eax, eax
je 0x4772fe
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404878
mov eax, dword [0x4bbfec]
cmp byte [eax], 0
jne 0x477332
mov eax, ebx
call fcn.004774a4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004792a0
mov eax, ebx
call fcn.00479c64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x477372
call fcn.00403c14
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477724
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4bdc14]
cmp dword [eax + 0x30], 0
je 0x4777ce
cmp dword [ebx + 0x94], 0
jne 0x4777c8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4776b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4777c8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47778e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4777c8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041bd98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47779d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x478330
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x478365
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046f8
jmp 0x478372
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040465c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47947c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4794bd
mov eax, esi
call fcn.0045f484
test al, al
je 0x4794bd
mov eax, dword [ebx + 0x84]
call fcn.0045f180
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4794bd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045f180
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47a3dc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
dec edx
test edx, edx
jl 0x47a489
inc edx
mov dword [ebp - 0x10], edx
mov edx, dword [eax]
and edx, 0xffff
or edx, 2
mov dword [ebp - 0xc], edx
mov dl, byte [esi]
mov ebx, dword [ebp - 0xc]
xor ebx, 1
imul ebx, dword [ebp - 0xc]
shr ebx, 8
xor dl, bl
mov byte [esi], dl
mov edx, dword [ecx]
mov bl, byte [esi]
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x4bb3d8]
mov ebx, dword [ecx]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [ecx], edx
mov edx, dword [ecx]
and edx, 0xff
add dword [edi], edx
mov edx, dword [edi]
imul edx, dword [ebp + 8]
inc edx
mov dword [edi], edx
mov edx, dword [eax]
mov ebx, dword [edi]
shr ebx, 0x18
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x4bb3d8]
mov ebx, dword [eax]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [eax], edx
inc esi
dec dword [ebp - 0x10]
jne 0x47a404
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47bdbc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.0040960c
mov eax, dword [ebx]
call fcn.004048c8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x47be02
mov eax, ebx
mov edx, 0x47be10
call fcn.004048d0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47fe4c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.00407528
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jb 0x47fe80
cmp dword [esp + 8], 1
jb 0x47fe80
cmp dword [esp + 0x10], 2
je 0x47fe84
xor eax, eax
jmp 0x47fe86
mov al, 1
add esp, 0x94
ret

Function at 0x47fe90
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.00407528
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
jne 0x47fec4
cmp dword [esp + 8], 0
jne 0x47fec4
cmp dword [esp + 0x10], 2
je 0x47fec8
xor eax, eax
jmp 0x47feca
mov al, 1
add esp, 0x94
ret

Function at 0x499588
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00499550
mov eax, dword [ebx]
call fcn.004048c8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4995ce
mov eax, ebx
mov edx, 0x4995dc
call fcn.004048d0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4995e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00499550
mov eax, dword [ebx]
call fcn.004048c8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x499626
mov eax, ebx
mov edx, 0x499634
call fcn.004048d0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a3620
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.004030b8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4a421c
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x4a4361
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [ebp - 0xc]
call fcn.0040278c
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a42ae
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a4294
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, eax
or edx, 0x100000
cmp eax, edx
jne 0x4a4294
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a42b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
ret

Function at 0x4a4374
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x4a44b9
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [ebp - 0xc]
call fcn.0040278c
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a4406
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a43ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, eax
or edx, 0x100000
cmp eax, edx
je 0x4a43ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a440d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
ret
Function at 0x4a44cc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ab8
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4a463a
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.00479fb0
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.00479fd0
jmp 0x4a4606
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404878
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004092d8
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408888
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408888
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404a14
je 0x4a45e6
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404878
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408888
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408888
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404a14
jne 0x4a45fd
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.00479ff0
test eax, eax
jne 0x4a4547
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4641
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040462c
lea eax, [ebp - 4]
call fcn.00404608
ret
Function at 0x4a47d8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x160]
mov edx, dword [0x407b6c]
call fcn.00404fc8
xor eax, eax
push ebp
push 0x4a49bf
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a497e
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x438d1c]
call fcn.00438dec
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a496d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.00438e8c
xor ecx, ecx
mov edx, 0x4a49d8
mov eax, dword [ebp - 4]
call fcn.00438ef0
test al, al
je 0x4a4957
lea ecx, [ebp - 8]
mov edx, 0x4a4a24
mov eax, dword [ebp - 4]
call fcn.004391dc
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp - 8]
call fcn.004048c8
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00404b28
mov eax, dword [ebp - 0x164]
mov edx, 0x4a4a34
call fcn.00404a14
jne 0x4a48c5
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.004048c8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404b28
lea eax, [ebp - 0x168]
mov ecx, 0x4a4a40
mov edx, dword [ebp - 8]
call fcn.00404914
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.0040917c
test eax, eax
jne 0x4a494c
xor eax, eax
push ebp
push 0x4a4933
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 8]
push 0x4a4a34
push dword [ebp - 0x154]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404988
mov eax, dword [ebp - 0x16c]
call fcn.0040920c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a493d
lea eax, [ebp - 0x160]
call fcn.004091cc
test eax, eax
je 0x4a48f2
lea eax, [ebp - 0x160]
call fcn.004091f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4974
mov eax, dword [ebp - 4]
call fcn.00403858
ret
Function at 0x4a4d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x407b6c]
call fcn.00404fc8
xor eax, eax
push ebp
push 0x4a4fa7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0xff
call fcn.00404c54
mov eax, dword [ebp - 4]
call fcn.00404ac8
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov eax, dword [ebp - 4]
call fcn.00404ac8
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404800
lea eax, [ebp - 0x160]
push eax
mov eax, dword [ebp - 4]
call fcn.004048c8
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404b28
mov eax, dword [ebp - 0x160]
mov edx, 0x4a4fc0
call fcn.00404a14
jne 0x4a4e22
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.004048c8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404b28
lea eax, [ebp - 0x164]
mov ecx, 0x4a4fcc
mov edx, dword [ebp - 4]
call fcn.00404914
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.0040917c
push dword [ebp - 4]
push 0x4a4fc0
push dword [ebp - 0x150]
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404988
mov eax, dword [ebp - 0x168]
xor edx, edx
call fcn.004090f0
test dword [ebp - 0x154], 0x10
jle 0x4a4f07
mov eax, dword [ebp - 0x150]
mov bl, byte [eax]
cmp bl, 0x2e
je 0x4a4f52
lea eax, [ebp - 0x16c]
mov edx, ebx
call fcn.004047f0
mov eax, dword [ebp - 0x16c]
mov edx, 0x4a4fdc
call fcn.00404a14
je 0x4a4f52
xor eax, eax
push ebp
push 0x4a4efb
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4a4fc0
push dword [ebp - 0x150]
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404988
mov eax, dword [ebp - 0x170]
call fcn.004a4ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a4f52
xor eax, eax
push ebp
push 0x4a4f48
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4a4fc0
push dword [ebp - 0x150]
lea eax, [ebp - 0x174]
mov edx, 3
call fcn.00404988
mov eax, dword [ebp - 0x174]
call fcn.0040920c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a4f52
lea eax, [ebp - 0x15c]
call fcn.004091cc
test eax, eax
je 0x4a4e4b
lea eax, [ebp - 0x15c]
call fcn.004091f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4fae
lea eax, [ebp - 0x174]
mov edx, 6
call fcn.0040462c
lea eax, [ebp - 0x15c]
mov edx, dword [0x407b6c]
call fcn.00405098
lea eax, [ebp - 4]
call fcn.00404608
Function at 0x4a599c
Capabilities:
Check os version

Disassembly:
push ebx
push esi
add esp, 0xffffff6c
mov ebx, eax
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov esi, dword [esp + 4]
cmp esi, 6
jb 0x4a59c8
mov eax, ebx
mov edx, 0x4a5a2c
call fcn.0040465c
cmp esi, 5
jne 0x4a59d9
mov eax, ebx
mov edx, 0x4a5a3c
call fcn.0040465c
cmp dword [esp + 4], 4
jne 0x4a59e7
cmp dword [esp + 8], 0xa
je 0x4a59f5
cmp dword [esp + 4], 4
jne 0x4a5a01
cmp dword [esp + 8], 0x5a
jne 0x4a5a01
mov eax, ebx
mov edx, 0x4a5a50
call fcn.0040465c
cmp dword [esp + 4], 4
jne 0x4a5a1b
cmp dword [esp + 8], 0
jne 0x4a5a1b
mov eax, ebx
mov edx, 0x4a5a60
call fcn.0040465c
add esp, 0x94
pop esi
pop ebx
ret

Function at 0x4a5a6c
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
xor edx, edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a5c55
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x98], 4
jne 0x4a5b52
cmp dword [ebp - 0x94], 0xa
jne 0x4a5b52
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00404c54
push 0x104
mov eax, dword [ebp - 8]
call fcn.00404ac8
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [ebp - 8]
call fcn.00404ac8
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404800
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 8]
call fcn.004048c8
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00404b28
mov eax, dword [ebp - 0xa0]
mov edx, 0x4a5c6c
call fcn.00404a14
je 0x4a5b36
lea eax, [ebp - 8]
mov edx, 0x4a5c6c
call fcn.004048d0
lea eax, [ebp - 8]
mov edx, 0x4a5c78
call fcn.004048d0
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040465c
jmp 0x4a5c2f
mov eax, dword [ebp - 0x98]
cmp eax, 6
jae 0x4a5b8e
cmp eax, 5
je 0x4a5b8e
cmp dword [ebp - 0x98], 4
jne 0x4a5b74
cmp dword [ebp - 0x94], 0x5a
je 0x4a5b8e
cmp dword [ebp - 0x98], 4
jne 0x4a5c2f
cmp dword [ebp - 0x94], 0
jne 0x4a5c2f
lea eax, [ebp - 4]
push eax
push 0x23
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00418dec
test al, al
je 0x4a5c2f
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00404c54
mov eax, dword [ebp - 8]
call fcn.00404ac8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
call fcn.00404ac8
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404800
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 8]
call fcn.004048c8
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00404b28
mov eax, dword [ebp - 0xa4]
mov edx, 0x4a5c6c
call fcn.00404a14
jne 0x4a5c18
lea eax, [ebp - 8]
mov edx, 0x4a5cac
call fcn.004048d0
jmp 0x4a5c25
lea eax, [ebp - 8]
mov edx, 0x4a5cc8
call fcn.004048d0
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040465c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5c5c
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.0040462c
lea eax, [ebp - 8]
call fcn.00404608
ret