joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10058dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10058fa0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10058ead
mov edx, dword [ebp - 4]
cmp edx, dword [0x100bb068]
jb 0x10058e1a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100bb06c]
ja 0x10058e1a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10058dea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10060920
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10058e3f
jmp 0x10058ead
cmp dword [ebp - 0x14], 0x10000
jne 0x10058e93
cmp dword [ebp - 0x18], 0x10000
jb 0x10058e93
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10058e76
mov eax, dword [ebp - 8]
jmp 0x10058eaf
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10058e86
xor eax, eax
jmp 0x10058eaf
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10058ea8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10058fa0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10058dea
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10058ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10058fd0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10058f95
mov edx, dword [ebp - 4]
cmp edx, dword [0x100bb068]
jb 0x10058f05
mov eax, dword [ebp - 4]
cmp eax, dword [0x100bb06c]
ja 0x10058f05
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10058ed5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10060920
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10058f2a
jmp 0x10058f95
cmp dword [ebp - 0x14], 0x10000
jne 0x10058f7e
cmp dword [ebp - 0x18], 0x10000
jb 0x10058f7e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10058f61
mov eax, dword [ebp - 8]
jmp 0x10058f97
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10058f71
xor eax, eax
jmp 0x10058f97
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10058f90
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10058fd0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10058ed5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10059000
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100593f0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100bebcc], 0
jne 0x1005903d
cmp dword [0x100bebc8], 0
je 0x1005903d
mov eax, dword [0x100bebc8]
mov dword [0x100bebcc], eax
cmp dword [0x100bebcc], 0
je 0x100590ba
mov ecx, dword [0x100bebcc]
cmp dword [ecx + 8], 0
je 0x100590ba
mov edx, dword [0x100bebcc]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100590ba
mov ecx, dword [0x100bebcc]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100590ba
mov eax, dword [0x100bebcc]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10059089
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10059090
xor eax, eax
jmp 0x100591d9
mov ecx, dword [0x100bebcc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.10060920
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100591d9
mov edx, dword [0x100bebc8]
mov dword [0x100bebcc], edx
jmp 0x100590d6
mov eax, dword [0x100bebcc]
mov ecx, dword [eax + 4]
mov dword [0x100bebcc], ecx
cmp dword [0x100bebcc], 0
je 0x10059116
cmp dword [0x100bebcc], 0
je 0x10059114
mov edx, dword [0x100bebcc]
cmp dword [edx + 8], 0
je 0x10059114
mov eax, dword [0x100bebcc]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10059114
mov edx, dword [0x100bebcc]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10059114
jmp 0x1005906e
jmp 0x100590c8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100591e0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100591d7
mov eax, dword [ebp - 0x18]
mov dword [0x100bebcc], eax
mov ecx, dword [0x100bebcc]
mov dword [ecx], 0x52727464
mov edx, dword [0x100bebcc]
mov dword [edx + 8], 0
mov eax, dword [0x100bebcc]
mov ecx, dword [0x100bebc8]
mov dword [eax + 4], ecx
mov edx, dword [0x100bebcc]
mov dword [0x100bebc8], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100bebcc]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100591a7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x100591c7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1005919e
mov eax, dword [0x100bebcc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1005906e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10059f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100bebc8]
mov dword [ebp - 4], eax
jmp 0x10059f39
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10059f60
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10059f5e
call sub.KERNEL32.dll_GetLastError
jmp 0x10059f62
jmp 0x10059f30
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005a400
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100bebd8], eax
je 0x1005a424
mov eax, 0x10dd
jmp 0x1005a5cc
cmp dword [0x100bebdc], 0
je 0x1005a437
mov eax, dword [0x100bebdc]
jmp 0x1005a5cc
cmp dword [ebp + 0xc], 0
jne 0x1005a447
mov eax, 0x57
jmp 0x1005a5cc
cmp dword [ebp + 8], 0
jne 0x1005a457
mov eax, 6
jmp 0x1005a5cc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1005a480
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100bebdc], ecx
mov edx, dword [ebp + 8]
mov dword [0x100bebe0], edx
mov eax, dword [ebp - 8]
jmp 0x1005a5cc
push 0x18
call fcn.1005bab6
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005a4db
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100bebdc], ecx
cmp dword [ebp - 4], 0
je 0x1005a4ca
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1005c168
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100bebe0], ecx
mov eax, dword [ebp - 8]
jmp 0x1005a5cc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1005a3e0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1005a3e0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1005a51b
cmp dword [ebp - 0xc], 0x1e
jbe 0x1005a537
mov dword [ebp - 8], 9
cmp dword [0x100bebd0], 0
je 0x1005a532
jmp 0x1005a4a9
jmp 0x1005a4a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1005a55e
mov dword [ebp - 8], 9
cmp dword [0x100bebd0], 0
je 0x1005a559
jmp 0x1005a4a9
jmp 0x1005a4a0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1005a589
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1005a4a0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x100bebe8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100bebe8], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1005a5e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100bebd8], eax
je 0x1005a5fd
mov eax, 0x10dd
jmp 0x1005a6e0
mov eax, dword [0x100bebe8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1005a67c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1005a658
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1005a658
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10059480
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1005c168
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1005a605
mov dword [0x100bebe8], 0
call fcn.10059d60
mov ecx, dword [0x100bebe4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1005a6ca
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1005c168
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1005a694
mov dword [0x100bebe4], 0
mov dword [0x100bebd8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1005abc0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100bebdc], 0
je 0x1005abd9
mov eax, dword [0x100bebdc]
jmp 0x1005ac78
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1005abea
xor eax, eax
jmp 0x1005ac78
push 8
call fcn.1005bab6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005ac42
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1005ac2b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1005c168
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100bebdc], eax
mov dword [0x100bebe0], 0
mov eax, dword [ebp - 8]
jmp 0x1005ac78
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1005ac5a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1005ac0a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100bebe4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100bebe4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10071eb5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10071b75
Function at 0x1007b7ed
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x40a2a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x4131d0]
cmp ax, 0xcb
je 0x40a39f
cmp ax, 0xcc
je 0x40a39f
mov edx, dword [0x4326d0]
test edx, edx
je 0x40a2d2
mov eax, dword [0x432580]
call edx
mov ebx, eax
jmp 0x40a2d7
mov ebx, 0x432584
cmp word [0x432570], 0
jle 0x40a2fa
mov eax, 0x432550
call fcn.0040a510
mov eax, ebx
call fcn.00409e80
mov eax, ebx
call fcn.00409f00
mov esi, dword [ebx]
jmp 0x40a31d
mov edi, dword [esi + 4]
test byte [esi], 1
jne 0x40a318
mov edx, esi
mov eax, ebx
call fcn.00409300
jmp 0x40a31b
and dword [esi], 0xfffffffe
mov esi, edi
test esi, esi
jne 0x40a300
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x432570], 0
jle 0x40a39f
mov edx, 0x432490
mov eax, ebx
call fcn.00409450
mov esi, eax
test eax, eax
je 0x40a372
mov eax, dword [0x432524]
mov dword [esi + 0xc], eax
cmp dword [0x432524], 0
je 0x40a367
mov eax, dword [0x432524]
mov dword [eax + 8], esi
mov eax, dword [ebx + 0x94]
mov dword [0x432524], eax
sub word [0x432570], 1
cmp word [0x432570], 0
sete bl
mov eax, 0x432550
call fcn.0040a520
test bl, bl
je 0x40a39f
mov eax, 0x432550
call fcn.0040a500
pop edi
pop esi
pop ebx
ret
Function at 0x411430
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00411420
push ebp
push 0x40d660
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test eax, eax
jle 0x4114a0
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.00407500
cmp ebx, 1
jle 0x41148a
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.004070c0
jmp 0x4114ab
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00405940
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00411420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4116d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004116c0
push ebp
push 0x40d660
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
nop dword [eax + eax]
lea eax, [ebx*4 + 0x432e1c]
xor edx, edx
call fcn.00405940
mov dword [ebx*4 + 0x432e3c], 0xffffffff
add ebx, 1
cmp ebx, 7
jle 0x411700
call sub.kernel32.dll_GetThreadLocale
mov ebx, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x411788
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00406440
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0040dda0
mov esi, eax
sub eax, 3
cmp eax, 3
jae 0x411788
push 4
push esi
push ebx
mov eax, 0x411590
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push esi
push ebx
mov eax, 0x411630
push eax
call sub.kernel32.dll_EnumCalendarInfoA
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004116c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411ec0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x432e80], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x432ce0], eax
mov eax, dword [ebp - 0x90]
mov dword [0x432cf0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x432d00], eax
mov eax, dword [ebp - 0x88]
mov dword [0x432d10], eax
mov edx, 0x432d21
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.004020d0
lea eax, [ebp - 0x80]
call fcn.00402ca0
mov byte [0x432d20], al
mov eax, str.kernel32
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x432e90], eax
test eax, eax
je 0x411f5f
mov eax, str.GetDiskFreeSpaceExA
push eax
push dword [0x432e90]
call sub.kernel32.dll_GetProcAddress
mov dword [0x432e80], eax
cmp dword [0x432cf0], 6
jae 0x411f7b
mov dword [0x413bb0], 0
cmp dword [0x432cf0], 6
jb 0x411f8e
cmp dword [0x432d00], 1
jb 0x411f8e
mov dword [0x413bc0], 2
cmp dword [0x432e90], 0
je 0x411fb6
cmp dword [0x432cf0], 6
jb 0x411fb6
mov eax, str.GetTimeZoneInformationForYear
push eax
push dword [0x432e90]
call sub.kernel32.dll_GetProcAddress
mov dword [0x413d80], eax
mov esp, ebp
pop ebp
ret
Function at 0x42b769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42f190
cmp edx, dword [eax]
je 0x42b78b
add eax, 8
inc ecx
cmp eax, 0x42f220
jl 0x42b77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42f190]
jne 0x42b8b9
mov eax, dword [0x42fbb0]
cmp eax, 1
je 0x42b893
test eax, eax
jne 0x42b7bc
cmp dword [0x42f0e4], 1
je 0x42b893
cmp edx, 0xfc
je 0x42b8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42b7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0042c670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042c490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42b836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042c490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42e45c
push edi
call fcn.0042cf00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0042c670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042c680
lea eax, [ebp - 0xa0]
push 0x42e43c
push eax
call fcn.0042c680
push dword [esi + 0x42f194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042c680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042ce75
add esp, 0x2c
pop edi
jmp 0x42b8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x42f194]
push 0
push eax
push dword [esi]
call fcn.0042c490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x401093
jmp 0x401040
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm0, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm3, mm4
punpckhwd mm5, mm6
movq qword [edi - 0x10], mm0
paddd mm3, mm5
add esi, 8
movq qword [edi - 8], mm3
sub eax, 4
jge 0x401040
add eax, 4
jle 0x4010c6
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x401099
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x40b6e7
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
aad 0x51
and al, 0x38
sbb dh, byte [edx]
mov bl, 0xea
mov byte [edx - 0xfb90f48], dl
and ebx, dword [eax + 0x3c]
xor byte [edx + ecx*2 + 0x10], dh
invalid

Function at 0x417e10
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0x633042]
mov ecx, dword [0x633034]
sub esp, 0x14
mov edx, dword [0x63303c]
and ecx, 4
and edx, 0xc
push ebx
mov bl, byte [0x633049]
xor bl, al
mov eax, dword [0x633030]
add eax, ecx
mov ecx, dword [0x633038]
mov dword [0x633030], eax
mov eax, dword [0x633048]
and eax, 0xff
push esi
imul edx, eax
xor ecx, edx
push 0
mov byte [0x633049], bl
mov dword [0x633038], ecx
call sub.comdlg32.dll_FindTextW
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x636c2c
mov esi, eax
call fcn.00628d96
add esp, 4
test eax, eax
je 0x417e89
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x633030]
mov eax, dword [0x633034]
mov dword [esp + 0x18], 0
mov ebx, 1
lea edx, [ecx + ecx]
mov dword [esp + 8], 0
or edx, eax
lea eax, [esp + 8]
mov dword [esp + 0x14], edx
push eax
fild qword [esp + 0x18]
push ebx
push 0
push str.CLSIDa893aa73_054f_4dbc_9e53_f4ee5fe07fd3InProcServer32
push SysReAllocStringLen
fadd qword [0x633058]
fstp qword [0x633058]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [0x63bf4c], eax
jne 0x417f52
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push 0x636c2c
push edx
push eax
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 0x208
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0x63bf4c], eax
jne 0x417f1a
cmp dword [esp + 0xc], ebx
je 0x417f1c
xor bl, bl
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x417f33
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov eax, dword [0x63bf4c]
test eax, eax
jne 0x417f52
test esi, esi
jle 0x417f4c
and esi, 0xffff
or esi, 0x80070000
mov dword [0x63bf4c], esi
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x14
ret