joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423308
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x42336b
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0042623f
add esp, 0x20
jmp 0x42346a
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x423406
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x4233d9
push 1
push 0
push 0x1d54
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollInfo]
jmp 0x423404
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.00431f15
mov dword [eax], 0x3248c66f
jmp 0x42346a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x423462
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x42346a
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret
Function at 0x4414d2
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4415c5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x441583
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x441536
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x441581
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x441564
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x441581
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.00431f15
mov dword [eax], 0x5189d9e6
jmp 0x441559
jmp 0x4415c3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
push 1
push 0xab2
push dword [ebp - 0x38]
push 0x2c88
push 0
push dword [ebp - 0x3c]
push 0x35be
push 0x299d
push 1
push 1
push 0xc26
push 0x4cdd
call fcn.0044b671
add esp, 0x30
jmp 0x4415dd
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
push 0x2165
push 0
call fcn.00449eb4
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x4468d4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x4469e8
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x446959
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x28]
call fcn.00446a2d
add esp, 0x14
jmp 0x4469e6
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x4469c8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x4469a9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x4469c6
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.00431f15
mov dword [eax], 0xfffffffe
jmp 0x44699e
jmp 0x4469e6
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x4469e6
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x446a29
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x60]
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push 0x5ffd
push 0x2798
push 0x2b42
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
push eax
call fcn.004570bf
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x446e90
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x446f7d
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x446f3c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x446f23
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x446f21
push 1
push 0x60aa
push 0x783c
push 1
push 1
push 0
push 0x7265
call fcn.0043c59a
add esp, 0x1c
jmp 0x446f3a
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x446f7b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x446f66
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x446f64
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
jmp 0x446f7b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 1
jmp 0x446fbd
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x446f9d
push 0x7583
push 1
call fcn.0043b455
pop ecx
pop ecx
jmp 0x446fbd
push 0
push 0x5c3e
push 0x3cbc
push 0xc68
push 0x21a4
push 1
call fcn.0043ad00
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x450b8b
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x450bb4
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
push 1
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
push eax
call fcn.00450d8d
pop ecx
pop ecx
jmp 0x450d89
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x450d5a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x450d50
mov dword [ebp - 0xc], 0x60477862
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0x3d97867a
mov dword [ebp - 0x78], 0x1b78cd90
mov dword [ebp - 0x74], 0x1b78cd90
mov dword [ebp - 0x70], 0x1b78cd90
mov dword [ebp - 0x6c], 0x1b78cd90
lea ecx, [ebp - 1]
call fcn.00431f24
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x58]
call fcn.00431f27
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x64]
call fcn.00431ed3
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 1
push 0x7bdb
push 0x436c
call fcn.00445189
add esp, 0x20
cmp dword [ebp - 0xc], 0
jne 0x450cbe
cmp dword [ebp - 8], 0x7e4ddbb7
jle 0x450c81
mov dword [ebp - 0x18], 1
jmp 0x450c85
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 8]
jne 0x450c99
mov dword [ebp - 0x1c], 1
jmp 0x450c9d
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jle 0x450cae
mov dword [ebp - 0x40], 1
jmp 0x450cb2
and dword [ebp - 0x40], 0
cmp dword [ebp - 8], 0
jne 0x450cbe
and dword [ebp - 0x20], 0
jmp 0x450cc5
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
je 0x450cd6
mov dword [ebp - 0x10], 1
jmp 0x450cda
and dword [ebp - 0x10], 0
push 2
lea ecx, [ebp - 0x64]
call fcn.00431f15
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0x1a932da3
jge 0x450d0a
push 0
lea ecx, [ebp - 0x64]
call fcn.00431f15
cmp dword [eax], 0
je 0x450d0a
mov dword [ebp - 0x24], 1
jmp 0x450d0e
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x5d0
jl 0x450d20
mov dword [ebp - 0x28], 1
jmp 0x450d24
and dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xc2e3
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
je 0x450d3c
mov dword [ebp - 0x2c], 1
jmp 0x450d40
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x64]
call fcn.00431ef9
jmp 0x450d58
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x450d89
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
push 0x44b6
push 0xfed
push 0
push 0x5b78
push 1
call fcn.00439c86
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x48728e
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 0x49527f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a8484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00485134
mov dword [ebp - 0x14], eax
cmp dword [0xaa2a30], esi
jne 0x495372
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4952ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x495452
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x495452
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x495452
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaa2a30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaa2a34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaa2a38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa2a40], eax
test eax, eax
je 0x49536f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa2a3c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x495397
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49538a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4953ac
push 4
pop eax
jmp 0x495454
cmp dword [ebp - 0x14], esi
je 0x4953ac
push dword [0xaa2a30]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x495391
mov eax, dword [0xaa2a3c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x49540a
cmp dword [0xaa2a40], edi
je 0x49540a
push eax
call ebx
push dword [0xaa2a40]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49540a
test eax, eax
je 0x49540a
call ecx
test eax, eax
je 0x4953ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4953ff
test byte [ebp - 8], 1
jne 0x49540a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49543a
mov eax, dword [0xaa2a34]
cmp eax, edi
je 0x495437
push eax
call ebx
test eax, eax
je 0x495437
call eax
mov esi, eax
test esi, esi
je 0x495437
mov eax, dword [0xaa2a38]
cmp eax, edi
je 0x495437
push eax
call ebx
test eax, eax
je 0x495437
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaa2a30]
call ebx
test eax, eax
je 0x495452
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x495454
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004845db
mov esp, ebp
pop ebp
ret
Function at 0x1006ef0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1006f2f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1006f25
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1006f31
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1006f15
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10074bb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10074d2
xor eax, eax
jmp 0x10074da
shr eax, 4
not eax
and eax, 1
pop ebp
ret 4

Function at 0x1007640
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x100c2c4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xa8], 0
cmp dword [0x100c5e8], 0xfffffffe
mov dword [ebp - 0xb0], 0xc
jne 0x1007765
and dword [0x100c5e8], 0
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1007765
cmp dword [ebp - 0x94], 1
jne 0x1007765
cmp dword [ebp - 0xa0], 4
jne 0x1007765
cmp dword [ebp - 0x9c], 0xa
jae 0x1007765
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetricsMZ]
test eax, eax
je 0x1007765
lea eax, [ebp - 0xac]
push eax
push 0x20019
push 0
push 0x10015bc
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1007765
push edi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push 0x10012e1
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xac]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x1007765
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0100751e
test eax, eax
je 0x1007765
and dword [ebp - 0xa8], 0x3ff
cmp dword [ebp - 0xa8], 1
je 0x100775b
cmp dword [ebp - 0xa8], 0xd
jne 0x1007765
mov dword [0x100c5e8], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x100c5e8]
xor ecx, ebp
call fcn.01006b33
leave
ret

Function at 0x10077d6
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0100777b
Function at 0x10001400
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10c
push ebx
push ebp
mov ebp, dword [esp + 0x120]
mov ebx, ebp
push edi
and ebx, 1
xor ecx, ecx
xor edi, edi
xor eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 1
cmp bl, 1
je 0x10001432
lea edi, [esp + 0x14]
jmp 0x10001436
lea ecx, [esp + 0x14]
xor ebx, ebx
cmp bx, dx
jg 0x1000144c
movsx eax, dx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0xc]
push eax
push ecx
push 0
push edi
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x10001491
test eax, eax
je 0x10001486
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
push ebp
push edx
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
pop edi
pop ebp
pop ebx
add esp, 0x10c
ret
push 0x274c
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10c
ret

Function at 0x100014a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
test edi, edi
jle 0x100014df
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esp + 0x14]
push ebp
mov eax, edi
sub eax, esi
push eax
mov eax, dword [esp + 0x18]
lea edx, [esi + ecx]
push edx
push eax
call ebx
test eax, eax
jle 0x100014d8
add esi, eax
cmp esi, edi
jl 0x100014b3
pop ebx
mov eax, esi
pop esi
pop ebp
ret
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
ret
mov eax, esi
pop esi
pop ebp
ret
Function at 0x10004588
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test eax, eax
jbe 0x100045b2
lea edx, [eax - 1]
shr edx, 2
inc edx
mov eax, dword [ecx]
xor eax, dword [ebp + 0x10]
xor eax, dword [ebp + 0x14]
mov dword [ecx], eax
rol eax, 7
add ecx, 4
dec edx
mov dword [ebp + 0x14], eax
jne 0x1000459c
pop ebp
ret

Function at 0x10005080
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x10005093
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1000508f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x100050b0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x100050ef
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x100050e5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x100050f1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x100050d5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4e46f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e442b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.005d8585
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4e4772
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005d594d
mov eax, dword [eax]
push 0xa35028
push eax
call fcn.005c7fd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005d8810
test bl, bl
je 0x4e4772
push 0xa35028
lea ecx, [esp + 0xc]
call fcn.005d8ba0
push 0xa35034
lea ecx, [esp + 0xc]
call fcn.005d8ba0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4e47ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005d8810
jmp 0x4e4879
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4e4832
lea edx, [esp + 0x7c]
push 0xa35030
push edx
call fcn.005c7fd4
add esp, 8
test eax, eax
je 0x4e4832
lea eax, [esp + 0x7c]
push 0xa3502c
push eax
call fcn.005c7fd4
add esp, 8
test eax, eax
je 0x4e4832
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4e47c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.005d8810
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4e5090
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4e50f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc