joyce8/EMBER2024-capa huggingface dataset:
Function at 0xad1f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xae69fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xad2002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00ad5dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xad2002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00acd6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00ad620b
push 0x10
call fcn.00ad61d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xad1fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00ac21c0
jmp 0xad1fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00ad1b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xad1ff0
mov ecx, edi
call fcn.00ac22c0
push edi
call fcn.00ad61c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xad2021
inc ebx
cmp ebx, 0x20
jb 0xad1f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xad3250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xae7808
push 0xad7288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xad3329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xad3329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00ad61d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xad3329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xad3329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xad332c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00ad3351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xad3d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xad3d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xad3d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xad3d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xad3d94
push eax
push esi
call fcn.00ad620b
add esp, 8
pop esi
ret 0x10

Function at 0xad3da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xad3e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xad3e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xaec320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00ad5dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xad3dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xad3e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xad3ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xad3eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xaec320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00ad5dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xad3eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xad3e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xad4000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xad4131
push esi
call fcn.00ad7145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00ac6080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xad4131
push 0
push ebp
call fcn.00ac63a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00ac6260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xad408b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00ac62f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xad4121
push 0xaec918
push edi
call fcn.00ad53f0
push eax
push ebx
push esi
call fcn.00ad3f60
push 0xaec8f8
push edi
call fcn.00ad53f0
push eax
push ebx
push esi
call fcn.00ad3f60
push 0xaec8d8
push edi
call fcn.00ad53f0
push eax
push ebx
push esi
call fcn.00ad3f60
push 0xaec8c0
push edi
call fcn.00ad53f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00ad3f60
push 0xaec8a0
push edi
call fcn.00ad53f0
push eax
push ebx
push esi
call fcn.00ad3f60
push 0xaec888
push edi
call fcn.00ad53f0
push eax
push ebx
push esi
call fcn.00ad3f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xad51b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00ad5140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00ad5140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00ad5140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00ad5140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xad5bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xad5c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xae787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xad5c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xad5c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x402030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403258
push 0x402230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x404154], 0xffffffff
mov dword [0x404158], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x404150]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x40414c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x40415c], ecx
call fcn.00402220
mov eax, dword [0x404104]
test eax, eax
jne 0x4020c1
push 0x402210
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.004021f0
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x404148]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x404144]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4021cf
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402135
cmp al, 0x22
jne 0x402127
cmp byte [esi], 0x22
jne 0x40213e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x40214e
cmp al, 0x20
ja 0x40214e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40213e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40216f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x402174
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x4021b4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40213e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4021cf
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xa6c2358
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x77c274c1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421004]
jne 0x40100a
repz ret
jmp fcn.004018f4

Function at 0x4067a8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040261d
and dword [ebp - 4], 0
cmp dword [0x422cdc], 0
mov ebx, eax
jne 0x406859
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40690a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40690a
push eax
call fcn.004025ab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x422cdc], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x422ce0], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x422ce4], eax
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x422cec], eax
test eax, eax
je 0x406859
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x422ce8], eax
mov eax, dword [0x422ce8]
cmp eax, ebx
je 0x4068b1
cmp dword [0x422cec], ebx
je 0x4068b1
push eax
call fcn.00402626
push dword [0x422cec]
mov esi, eax
call fcn.00402626
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4068b1
test edi, edi
je 0x4068b1
call esi
test eax, eax
je 0x4068a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4068a8
test byte [ebp - 0xc], 1
jne 0x4068b1
or dword [ebp + 0x10], 0x200000
jmp 0x4068ea
mov eax, dword [0x422ce0]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4068ea
mov eax, dword [0x422ce4]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x422cdc]
call fcn.00402626
pop ecx
test eax, eax
je 0x40690a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40690c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41d8c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
cmp edi, 0x19f
jne 0x41d8db
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edx, edx
test edi, edi
jle 0x41d922
lea ecx, [esp + 8]
mov dword [esp], 5
mov dword [esp + 8], 0
call fcn.0041d8b0
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp], eax
sub dword [esp], 0x46
movsx eax, byte [edx + esi]
mov dword [esp + 4], eax
mov eax, dword [esp]
xor dword [esp + 4], eax
mov cl, byte [esp + 4]
mov byte [edx + esi], cl
inc edx
cmp edx, edi
jl 0x41d8e1
cmp edi, 0x2d
jne 0x41d93b
mov dword [0x2b20ef8], 0xa62e7790
mov dword [0x2b20efc], 0xffffffff
add esp, 0xc
ret
Function at 0x7ffe534b
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
nop
and bh, 0xff
cld
and bh, 0xff
stc
lea esp, [esp]
cld
lea esp, [esp]
stc
and bh, 0xff
stc
lea esp, [esp]
clc
lea esp, [esp]
cld
push edx
cdq
pop edx
clc
lea esp, [esp]
cld
lea esp, [esp]
nop
lea esp, [esp]
cld
push edx
cdq
pop edx
cld
push edx
cdq
pop edx
clc
pushal
inc eax
popal
cld
lea esp, [esp]
nop
push edx
cdq
pop edx
stc
add eax, 0
cld
lea esp, [esp]
clc
add eax, 0
cld
add eax, 0
cld
and bh, 0xff
cld
lea esp, [esp]
cld
add eax, 0
cld
push edx
cdq
pop edx
nop
and bh, 0xff
cld
add eax, 0
cld
pushal
inc eax
popal
cld
lea esp, [esp]
nop
lea esp, [esp]
cld
lea esp, [esp]
nop
and bh, 0xff
cld
and bh, 0xff
stc
push edx
cdq
pop edx
cld
and bh, 0xff
clc
and bh, 0xff
nop
and bh, 0xff
clc
push edx
cdq
pop edx
cld
and bh, 0xff
nop
call 0x7ffe53ef
pop edx
lea esp, [esp]
nop
add al, 0
nop
xor dx, dx
add eax, 0
cld
lea esp, [esp]
nop
add edx, 0xd5e0
stc
cld
stc
xor ecx, ecx
mov cl, 0x1e
cld
push edx
cdq
pop edx
and bh, 0xff
xor byte [ecx + edx], 0x78
loop 0x7ffe5416
lea esp, [esp]
cld
add eax, 0
cld
push dword fs:[0x24]
lea esp, [esp]
stc
and bh, 0xff
cld
pushal
inc eax
popal
cld
pop dword [edx + 0xa]
lea esp, [esp]
clc
push edx
cdq
pop edx
inc esi
dec esi
stc
mov cl, 0xff
nop
push edx
cdq
pop edx
clc
push edx
cdq
pop edx
stc
cld
cld
push edx
loop 0x7ffe5451
add eax, 0
cld
stc
cld
cld
mov dword [edx + 0x11], 0xffffacbb
stc
pushal
inc eax
popal
nop
stc
cld
nop
mov ecx, dword [eax + 0x2c]
stc
and bh, 0xff
stc
cld
mov dword [edx + 0x1b], ecx
clc
clc
mov dword [edx + 0x100], ecx
nop
push edx
cdq
pop edx
clc
mov dword [eax + 0x2c], esp
push edx
cdq
pop edx
stc
nop
cld
push 0
cld
nop
push 0
clc
clc
push 0
push 0
clc
cld
push 0x30
cld
clc
push 0x20
and bh, 0xff
lea esp, [esp]
push 0
pushal
inc eax
popal
cld
stc
cld
push 0
pushal
inc eax
popal
cld
and bh, 0xff
cld
add eax, 0
cld
add edx, 0xffff7f32
lea esp, [esp]
stc
add eax, 0
nop
push eax
pop eax
clc
push edx
pushal
inc eax
popal
cld
lea esp, [esp]
nop
add eax, 0
clc
push edx
and bh, 0xff
cld
clc
push 0
stc
lea esp, [esp]
clc
and bh, 0xff
call dword [edx + 0x8211]
add esp, 0x3f8
cld
lea esp, [esp]
clc
and bh, 0xff
nop
xor eax, eax
clc
stc
inc eax
and bh, 0xff
nop
and bh, 0xff
cld
push edx
cdq
pop edx
ret 0xc
Function at 0x40247e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x40248e
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x4024e3
push dword [ebp + 8]
call fcn.0040268f
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x4024e3
xor eax, eax
jmp 0x4024e8
mov eax, 1
test eax, eax
je 0x4024fa
mov eax, 0
jmp 0x402689
push 0x3c
push dword [ebp + 8]
call fcn.004026d1
push eax
call fcn.004026ab
push eax
push dword [ebp + 8]
call fcn.004026d1
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004026ab
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x402555
push 0x7c
push dword [ebp - 4]
call fcn.004026d1
push eax
call fcn.004026ab
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x402555
xor eax, eax
jmp 0x40255a
mov eax, 1
test eax, eax
je 0x40256c
mov eax, 0
jmp 0x402689
push 0x78
push dword [ebp - 4]
call fcn.004026d1
push eax
call fcn.004026ab
push eax
push dword [ebp + 8]
call fcn.004026d1
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.004026d1
push eax
call fcn.004026ab
push eax
push dword [ebp + 8]
call fcn.004026d1
push eax
call fcn.004026ab
push eax
push dword [ebp + 8]
call fcn.004026d1
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.004026d1
push eax
call fcn.004026ab
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.004026f8
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40267c
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004026d1
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.0040271f
test eax, eax
je 0x40265f
push 0x1c
push dword [ebp - 8]
call fcn.004026d1
push eax
call fcn.004026ab
push eax
push dword [ebp + 8]
call fcn.004026d1
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.00402753
push eax
push dword [ebp - 0x24]
call fcn.004026d1
push eax
call fcn.004026ab
push eax
push dword [ebp + 8]
call fcn.004026d1
jmp 0x402689
push dword [ebp - 0x14]
call fcn.0040277b
push eax
push dword [ebp - 0x18]
call fcn.004026d1
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4025e8
add esp, 0xc
mov eax, 0
jmp 0x402689
mov esp, ebp
pop ebp
ret 8
Function at 0x408f29
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x408f57
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x408f4e
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x408f46
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x408f78
mov esp, ebp
pop ebp
ret

Function at 0x408f7c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x408fe8
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x409015
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x409004
xor ecx, eax
xor edx, ebx
dec edi
jne 0x408ff5
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x40903b
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x408fdc
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x409067
mov esp, ebp
pop ebp
ret 0xc