joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bc48
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x501bf0]
cmp byte [eax + 0xa5], 0
jne 0x48bcbf
cmp dword [0x501c08], 0
jne 0x48bc7d
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48bc04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x501c08], eax
cmp dword [0x501c04], 0
jne 0x48bc98
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x501c04], eax
cmp dword [0x501c0c], 0
jne 0x48bcbf
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x48bba4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x501c0c], eax
pop ecx
pop ebp
ret

Function at 0x48bd88
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0048bd20
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x48bda9
xor eax, eax
call fcn.0048bd58
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x48bdc3
mov al, 1
call fcn.0048bd58
mov esp, ebp
pop ebp
ret

Function at 0x48c488
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x501bf0]
cmp dword [eax + 0x30], 0
je 0x48c552
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x48c549
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x48c408
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x48c549
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x48c503
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x48c549
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0041b7b4
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x48c518
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x48d26c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x48d2b1
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.004047bc
jmp 0x48d2c2
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00404720
mov esp, ebp
pop ebp
ret
Function at 0x48e6a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x48e6f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0046f614
test al, al
je 0x48e6f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0046f144
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48e6f3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0046f144
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x497280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4972f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404d34
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404ba8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004049a8
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404d34
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00496f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4972fc
lea eax, [ebp - 0xc]
call fcn.004046cc
ret

Function at 0x497300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4973ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x105
call fcn.00404d34
cmp dword [ebp - 4], 0
jbe 0x49735f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404ba8
push eax
push 0
push 0x4973b8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00496f20
mov eax, dword [ebp - 0xc]
call fcn.00404ba8
push eax
call sub.kernel32.dll_GetTempFileNameA
jmp 0x497381
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404ba8
push eax
push 0
push 0x4973b8
mov eax, dword [0x501e14]
call fcn.00404ba8
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404ba8
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004048c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4973b2
lea eax, [ebp - 0xc]
call fcn.004046cc
ret
Function at 0x4ba660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ba6d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ba63c
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004964fc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.0049604c
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba6d8
lea eax, [ebp - 0x14]
call fcn.004046cc
ret

Function at 0x4beed8
Capabilities:
Create thread
Inject thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ecx
mov edi, edx
xor edx, edx
push ebp
push 0x4bf041
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
lea edx, [ebp - 0x10]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4bf02b
xor edx, edx
push ebp
push 0x4beff0
push dword fs:[edx]
mov dword fs:[edx], esp
push 4
push 0x1000
push 0x1000
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x4bef5a
lea eax, [ebp - 0x14]
push eax
push 0x1000
push edi
push esi
push ebx
call sub.kernel32.dll_WriteProcessMemory
push 4
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
test edi, edi
je 0x4bef86
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0x14]
push eax
push 0
push edi
push esi
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4befbe
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, esi
je 0x4befd0
push 0x8000
push 0
push esi
push ebx
call sub.kernel32.dll_VirtualFreeEx
test edi, edi
je 0x4befe2
push 0x8000
push 0
push edi
push ebx
call sub.kernel32.dll_VirtualFreeEx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bf025
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf048
lea eax, [ebp - 0x18]
call fcn.004046cc
ret
Function at 0x4c00c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x5008d0]
mov eax, dword [eax]
call fcn.0048d614
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
xor edx, edx
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x4c00ff
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4c00cf
jmp 0x4c0103
pop edx
pop eax
jge 0x4c00cf
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4c619d
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b98
xor eax, eax
push ebp
push 0x4c6278
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5009dc]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00402e48
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.004032a0
call fcn.0040294c
test eax, eax
jne 0x4c6255
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.00402f98
mov dx, word [ebp - 8]
test dx, dx
jbe 0x4c624f
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4fff40]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x4c622b
cmp dword [ebp - 8], 0
jne 0x4c6202
lea eax, [ebp - 0x154]
call fcn.00402fb8
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c627f
lea eax, [ebp - 4]
call fcn.004046cc
ret
Function at 0x4d6bd8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x5008d0]
mov eax, dword [eax]
call fcn.0048d614
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
xor edx, edx
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x4d6c13
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4d6be3
jmp 0x4d6c17
pop edx
pop eax
jge 0x4d6be3
pop esi
pop ebx
ret

Function at 0x4d6e40
Capabilities:
Create thread
Inject thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
lea edx, [ebp - 0xc]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4d6f2b
push 4
push 0x1000
push 0x1000
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x4d6e9d
lea eax, [ebp - 0x10]
push eax
push 0x1000
push edi
push esi
push ebx
call sub.kernel32.dll_WriteProcessMemory
push 4
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
test edi, edi
je 0x4d6ec9
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push esi
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d6f01
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, esi
je 0x4d6f13
push 0x8000
push 0
push esi
push ebx
call sub.kernel32.dll_VirtualFreeEx
test edi, edi
je 0x4d6f25
push 0x8000
push 0
push edi
push ebx
call sub.kernel32.dll_VirtualFreeEx
push ebx
call sub.kernel32.dll_CloseHandle_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4eddc4
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xab
push 0
push 0
dec ecx
jne 0x4eddcc
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 0x8e]
mov edx, dword [0x4be580]
call fcn.004050a0
lea eax, [ebp - 0xca]
mov edx, dword [0x4d4558]
call fcn.004050a0
xor eax, eax
push ebp
push 0x4f4a23
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x25], 0
call fcn.0040b728
fstp qword [ebp - 8]
wait
xor eax, eax
mov dword [ebp - 0x18], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [0x50414c], eax
mov eax, dword [0x5022ec]
mov eax, dword [eax + 0x3cc]
mov eax, dword [eax + 0x208]
mov eax, dword [eax + 0x14]
mov edx, 0xff0000
call fcn.0042aa40
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [0x502630]
inc ecx
mov eax, dword [0x5022ec]
mov eax, dword [eax + 0x3cc]
xor edx, edx
call fcn.004d25d0
lea edx, [ebp - 0xdc]
mov eax, dword [0x5022ec]
mov eax, dword [eax + 0x3cc]
mov eax, dword [eax + 0x208]
call fcn.0042b25c
mov eax, dword [0x5022ec]
mov eax, dword [eax + 0x3cc]
call fcn.004671bc
mov eax, dword [0x5022ec]
mov eax, dword [eax + 0x478]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4edefe
cmp dword [0x502608], 0
jbe 0x4edefe
mov eax, dword [0x502608]
mov dword [0x504104], eax
cmp byte [0x5040f2], 0
jne 0x4edefe
mov byte [0x5040f2], 1
push 0x504120
push 0
push 0x504104
push 0x4d71c8
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x50411c], eax
cmp dword [0x50411c], 0
je 0x4edefe
mov eax, dword [0x50411c]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [0x50268b], 0
je 0x4f4981
mov eax, dword [0x504144]
mov byte [eax + 0x335c], 1
mov eax, dword [0x5022ec]
mov eax, dword [eax + 0x328]
mov dl, 1
call fcn.0043b4ac
jmp 0x4f4981
cmp byte [0x5040f0], 0
jne 0x4edf2e
mov byte [0x5040f2], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4a2d
lea eax, [ebp - 0x55c]
mov edx, 0x23
call fcn.004046f0
lea eax, [ebp - 0x4c8]
mov edx, 0x41
call fcn.004046f0
lea eax, [ebp - 0x3c4]
mov edx, 0x21
call fcn.004046f0
lea eax, [ebp - 0x31c]
mov edx, 0xc
call fcn.004046f0
lea eax, [ebp - 0xec]
mov edx, 4
call fcn.004046f0
lea eax, [ebp - 0xca]
mov edx, dword [0x4d4558]
call fcn.00405170
lea eax, [ebp - 0x8e]
mov edx, dword [0x4be580]
call fcn.00405170
lea eax, [ebp - 0xc]
mov edx, dword [0x4d4504]
call fcn.00405b34
ret
Function at 0x4f7ac8
Capabilities:
Hide graphical window

Disassembly:
xor edx, edx
mov eax, dword [0x5022ec]
call fcn.00486a6c
cmp dword [0x502620], 1
jne 0x4f7b2d
xor eax, eax
mov dword [0x502620], eax
mov eax, dword [0x5022ec]
mov eax, dword [eax + 0x48]
mov dword [0x5026a8], eax
mov eax, dword [0x5022ec]
mov eax, dword [eax + 0x4c]
mov dword [0x5026ac], eax
push 0
mov eax, dword [0x5008d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 0x80
push 0xffffffffffffffec
mov eax, dword [0x5008d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
call fcn.004f6228
ret
mov dword [0x502620], 1
call fcn.004f63c0
push 5
mov eax, dword [0x5008d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 0x40000
push 0xffffffffffffffec
mov eax, dword [0x5008d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
ret
Function at 0x4075d2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x407619
cmp ebx, 0x20
je 0x407619
cmp ebx, 0xffffffe0
je 0x407619
jne 0x407622
add eax, 1
cmp esi, eax
je 0x40762f
jne 0x4075fe
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x407633
jne 0x4075fa
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x407647
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x40768c
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x407692
add eax, 4
pop esi
dec esi
push esi
jne 0x407674
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8

Function at 0x426141
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
test esi, esi
jne 0x426166
xor eax, eax
jmp 0x42616b
mov eax, dword [esi + 4]
add eax, eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x45acf0
call fcn.00459581
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4261a1
push ebx
call fcn.0045957b
add esp, 4
pop eax
mov dword [ebp - 4], eax
test esi, esi
je 0x4261ae
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x426203
lea edx, [esi + 8]
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x42413938
mov dword [ebp - 8], 0x46454443
test edx, edx
je 0x426203
test eax, eax
je 0x426203
lea esi, [edx + ecx]
cmp edx, esi
jae 0x426203
nop
movzx ecx, byte [edx]
shr ecx, 4
inc edx
movzx ecx, byte [ebp + ecx - 0x14]
mov byte [eax], cl
movzx ecx, byte [edx - 1]
and ecx, 0xf
lea eax, [eax + 2]
movzx ecx, byte [ebp + ecx - 0x14]
mov byte [eax - 1], cl
cmp edx, esi
jb 0x4261df
pop esi
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x45a6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fbfb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.004f0356
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.0045ffb0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x45a704
jmp dword [ecx*4 + 0x45a86c]
mov al, byte [esi]
test al, al
je 0x45a732
cmp al, 0x20
je 0x45a71e
cmp al, 0xa1
jne 0x45a732
cmp byte [esi + 1], al
jne 0x45a732
test al, 0x80
je 0x45a72a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x45a732
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x45a711
test ecx, ecx
je case.default.0x45a704
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x45a704
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x45a778
cmp dl, 0xa1
jne 0x45a76c
cmp byte [eax + 1], 0xa1
jne 0x45a76c
test ecx, ecx
jne 0x45a764
mov edi, eax
mov ecx, 1
inc eax
jmp 0x45a78c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x45a7a6
jmp 0x45a78c
cmp dl, 0x20
jne 0x45a78a
test ecx, ecx
jne 0x45a783
mov edi, eax
mov ecx, 1
jmp 0x45a78c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x45a74c
cmp ecx, 1
jne case.default.0x45a704
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x45a704
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x45a704
mov al, byte [esi]
test al, al
je 0x45a7fe
test al, 0x80
mov byte [esp + 0x3c], al
je 0x45a7e4
mov cl, byte [esi + 1]
test cl, cl
je 0x45a7fe
cmp al, 0xa1
jne 0x45a7d4
cmp cl, al
je 0x45a7e1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.00460290
inc esi
jmp 0x45a7f6
cmp al, 0x20
je 0x45a7f6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004602d0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x45a7bd
push 0
lea ecx, [esp + 0x14]
call fcn.004602d0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004695c0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x45a831
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0xe3d410
call fcn.004601c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004f02e8
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x45bf90
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, 0xfec118
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0045bf50
add esp, 8
mov byte [esp + 8], al
or esi, 0xffffffff
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45c03a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x45c09b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x45c01c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x45c024
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0xa
call fcn.004d76f0
mov edx, dword [esp + 0x28]
pop edi
pop esi
mov dword [edx], eax
add esp, 0x1c
ret
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x45c08f
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x30]
je 0x45c06d
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0x400
imul edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
add esp, 0x1c
ret
mov edx, dword [esp + 0x28]
pop edi
mov dword [edx], esi
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
pop esi
add esp, 0x1c
ret