joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468e6e
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.0045b28d
and dword [ebp - 4], 0
cmp dword [0x4a877c], 0
mov ebx, eax
jne 0x468f1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x468fd0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x468fd0
push eax
call fcn.0045b21b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a877c], eax
call esi
push eax
call fcn.0045b21b
mov dword [esp], 0x47dfac
push edi
mov dword [0x4a8780], eax
call esi
push eax
call fcn.0045b21b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a8784], eax
call esi
push eax
call fcn.0045b21b
pop ecx
mov dword [0x4a878c], eax
test eax, eax
je 0x468f1f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045b21b
pop ecx
mov dword [0x4a8788], eax
mov eax, dword [0x4a8788]
cmp eax, ebx
je 0x468f77
cmp dword [0x4a878c], ebx
je 0x468f77
push eax
call fcn.0045b296
push dword [0x4a878c]
mov esi, eax
call fcn.0045b296
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x468f77
test edi, edi
je 0x468f77
call esi
test eax, eax
je 0x468f6e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x468f6e
test byte [ebp - 0xc], 1
jne 0x468f77
or dword [ebp + 0x10], 0x200000
jmp 0x468fb0
mov eax, dword [0x4a8780]
cmp eax, ebx
je 0x468fb0
push eax
call fcn.0045b296
pop ecx
test eax, eax
je 0x468fb0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x468fb0
mov eax, dword [0x4a8784]
cmp eax, ebx
je 0x468fb0
push eax
call fcn.0045b296
pop ecx
test eax, eax
je 0x468fb0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a877c]
call fcn.0045b296
pop ecx
test eax, eax
je 0x468fd0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x468fd2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406050
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441438
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x455240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], 0x4462f8
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov word [ecx], ax
xor edx, edx
mov dword [edi + 0x30], 7
mov dword [edi + 0x2c], eax
mov word [edi + 0x1c], dx
lea ebx, [edi + 0x34]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edx
mov word [ebx], ax
mov dword [edi + 0x60], 7
mov dword [edi + 0x5c], edx
mov word [edi + 0x4c], dx
mov dword [edi + 0x78], 7
mov dword [edi + 0x74], edx
mov word [edi + 0x64], dx
mov dword [edi + 0x90], 7
mov dword [edi + 0x8c], edx
mov word [edi + 0x7c], dx
mov dword [edi + 0xa8], 7
mov dword [edi + 0xa4], edx
mov word [edi + 0x94], dx
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 7
cmp ecx, esi
je 0x406119
push 0xffffffffffffffff
push edx
push esi
call fcn.00401c2f
lea eax, [esi + 0x30]
cmp ebx, eax
je 0x40612c
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00401c2f
lea eax, [esi + 0x48]
lea ecx, [edi + 0x4c]
cmp ecx, eax
je 0x406140
push 0xffffffffffffffff
push 0
push eax
call fcn.00401c2f
lea eax, [esi + 0x7c]
lea ecx, [edi + 0x94]
cmp ecx, eax
je 0x406157
push 0xffffffffffffffff
push 0
push eax
call fcn.00401c2f
lea eax, [esi + 0xac]
lea ecx, [edi + 0x64]
cmp ecx, eax
je 0x40616e
push 0xffffffffffffffff
push 0
push eax
call fcn.00401c2f
lea eax, [esi + 0x94]
lea ecx, [edi + 0x7c]
cmp ecx, eax
je 0x406185
push 0xffffffffffffffff
push 0
push eax
call fcn.00401c2f
lea eax, [esi + 0x18]
lea ecx, [edi + 0x1c]
cmp ecx, eax
je 0x406199
push 0xffffffffffffffff
push 0
push eax
call fcn.00401c2f
mov eax, dword [esi + 0x60]
mov dword [edi + 0xac], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x410fe0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443166
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x455240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00401360
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [ebp - 4], 0
mov word [esi], ax
call fcn.00401c2f
xor eax, eax
mov dword [esi + 0x2c], 7
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
mov dword [ecx + 0x10], 0
push eax
push dword [ebp + 0xc]
mov word [ecx], ax
call fcn.00401c2f
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00401b22
push 0xffffffffffffffff
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0x14]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00401b22
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4110c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4431da
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x455240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0041ef5f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x411166
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004218e0
push 0x451180
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004202d3
push edi
push esi
call fcn.0041f45f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004202c4
mov esp, ebp
pop ebp
ret 4
Function at 0x416bd6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x455240]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10], ebx
jb 0x416c02
mov ecx, dword [ecx]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x18]
or eax, 0x20019
push eax
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x416c20
xor al, al
jmp 0x416c65
cmp dword [esi + 0x14], 8
mov dword [ebp - 8], 4
jb 0x416c2f
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x416c52
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x416c1c
cmp dword [ebp - 0xc], 4
jne 0x416c5a
mov bl, 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004202c4
mov esp, ebp
pop ebp
ret

Function at 0x416c76
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4439e9
mov eax, dword fs:[0]
push eax
mov eax, 0x202c
call fcn.00421a20
mov eax, dword [0x455240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x2038], ebx
mov dword [ebp - 0x201c], 7
mov dword [ebp - 0x2020], ebx
mov word [ebp - 0x2030], ax
cmp dword [ecx + 0x14], 8
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2034], ebx
jb 0x416ce6
mov ecx, dword [ecx]
lea eax, [ebp - 0x2034]
push eax
mov eax, dword [ebp + 0x18]
or eax, 0x20019
push eax
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416d9a
push 0x1ffe
mov word [ebp - 0x2010], ax
lea eax, [ebp - 0x200e]
push ebx
push eax
call fcn.00420e80
add esp, 0xc
mov dword [ebp - 0x2018], 0x1000
cmp dword [edi + 0x14], 8
jb 0x416d35
mov edi, dword [edi]
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2014]
push eax
push ebx
push edi
push dword [ebp - 0x2034]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416d8e
cmp dword [ebp - 0x2014], 2
je 0x416d6e
cmp dword [ebp - 0x2014], 1
jne 0x416d8e
lea eax, [ebp - 0x2010]
push eax
call fcn.00403874
pop ecx
push eax
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x2030]
call fcn.00403698
push dword [ebp - 0x2034]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x2030]
mov ecx, esi
push eax
call fcn.0040256a
push ebx
push 1
lea ecx, [ebp - 0x2030]
call fcn.00401ac9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004202c4
mov esp, ebp
pop ebp
ret
Function at 0x417180
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0x18
mov eax, 0x443ab2
call fcn.00420368
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x41723c
mov eax, dword [0x456bd8]
mov edi, 0x456bc0
test al, 1
jne 0x4171ce
or eax, 1
mov dword [0x456bd8], eax
push 0x4472e4
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0040258f
push 0x444d61
call fcn.0042105d
or dword [ebp - 4], 0xffffffff
pop ecx
cmp dword [esi + 0x14], 8
jb 0x4171d8
mov eax, dword [esi]
jmp 0x4171da
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41723c
push dword [0x456bd0]
cmp dword [0x456bd4], 8
mov ecx, esi
push eax
cmovae edi, dword [0x456bc0]
push edi
call fcn.00417381
cmp eax, 0xffffffff
je 0x41722c
push eax
push ebx
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.004173ef
xor edi, edi
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.00417149
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x24]
call fcn.00401ac9
cmp dword [esi + 0x14], 8
jb 0x417234
mov esi, dword [esi]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.00420336
ret

Function at 0x41762b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443b1e
mov eax, dword fs:[0]
push eax
mov eax, 0x28fc
call fcn.00421a20
mov eax, dword [0x455240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2904]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0xf0
push ebx
push eax
call fcn.00420e80
add esp, 0xc
lea ecx, [ebp - 0x2904]
call fcn.0041c5b8
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x417690
mov esi, dword [esi]
push ebx
push esi
lea ecx, [ebp - 0x2904]
call fcn.0041df09
mov esi, eax
test esi, esi
je 0x417758
mov ecx, esi
call fcn.0041d284
cmp eax, 0xc8
jne 0x417750
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x2908], ebx
jb 0x4176c7
mov edi, dword [edi]
push 0x4472f0
lea eax, [ebp - 0x2908]
push edi
push eax
call fcn.0042204f
add esp, 0xc
test eax, eax
jne 0x417758
lea eax, [ebp - 0x2814]
mov dword [ebp - 0x2814], ebx
push eax
mov ecx, esi
call fcn.0041d226
neg eax
mov edi, 0x27ff
push edi
sbb eax, eax
mov ecx, esi
and dword [ebp - 0x2814], eax
lea eax, [ebp - 0x2810]
push eax
call fcn.0041de4c
xor ebx, ebx
inc ebx
jmp 0x417737
push eax
lea eax, [ebp - 0x2810]
push ebx
push eax
call fcn.00421fcd
add esp, 0x10
lea eax, [ebp - 0x2810]
mov ecx, esi
push edi
push eax
call fcn.0041de4c
push dword [ebp - 0x2908]
test eax, eax
jne 0x417717
call fcn.00421dfd
mov eax, dword [esi]
pop ecx
push ebx
mov ecx, esi
call dword [eax]
jmp 0x417758
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
lea ecx, [ebp - 0x2904]
call fcn.0041c745
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004202c4
mov esp, ebp
pop ebp
ret
Function at 0x419cfe
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00419e3c
pop ecx
or edi, 0xffffffff
cmp dword [esi + 0x14], 8
jb 0x419d1a
mov eax, dword [esi]
jmp 0x419d1c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x419d3c
push 0x1f5
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, dword [ebp + 0xc]
jl 0x419d10
xor al, al
jmp 0x419d3e
mov al, 1
pop edi
pop esi
pop ebp
ret

Function at 0x419d42
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x455240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
push edi
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
jb 0x419d6d
mov eax, dword [eax]
push ecx
push 0x20
push 3
push ecx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x419d8c
xor al, al
jmp 0x419e05
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x419d88
mov ecx, dword [ebp - 0x10]
mov eax, ecx
or eax, dword [ebp - 0xc]
je 0x419d88
lea eax, [ecx + 1]
push esi
push eax
call fcn.0041ef28
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x419dd9
push esi
call fcn.00421434
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x419e04
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push esi
mov byte [esi + eax], 0
call fcn.004021ae
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.00401bb6
test esi, esi
je 0x419e02
push esi
call fcn.00421434
pop ecx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004202c4
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x419e23
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x419e38
test al, 0x10
jne 0x419e38
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x419e3c
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x419e4d
mov eax, dword [esi]
jmp 0x419e4f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
cmp dword [esi + 0x14], 8
jb 0x419e61
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
pop ebp
ret
Function at 0x431ad5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x455240]
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.00424ecd
mov dword [ebp - 0x14], eax
cmp dword [0x45fd0c], esi
jne 0x431bc8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x431b55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x431ca8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x431ca8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431ca8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45fd0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45fd10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45fd14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45fd1c], eax
test eax, eax
je 0x431bc5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45fd18], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x431bed
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x431be0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x431c02
push 4
pop eax
jmp 0x431caa
cmp dword [ebp - 0x14], esi
je 0x431c02
push dword [0x45fd0c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x431be7
mov eax, dword [0x45fd18]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x431c60
cmp dword [0x45fd1c], edi
je 0x431c60
push eax
call ebx
push dword [0x45fd1c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x431c60
test eax, eax
je 0x431c60
call ecx
test eax, eax
je 0x431c55
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 0x431c55
test byte [ebp - 8], 1
jne 0x431c60
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x431c90
mov eax, dword [0x45fd10]
cmp eax, edi
je 0x431c8d
push eax
call ebx
test eax, eax
je 0x431c8d
call eax
mov esi, eax
test esi, esi
je 0x431c8d
mov eax, dword [0x45fd14]
cmp eax, edi
je 0x431c8d
push eax
call ebx
test eax, eax
je 0x431c8d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45fd0c]
call ebx
test eax, eax
je 0x431ca8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x431caa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004202c4
mov esp, ebp
pop ebp
ret
Function at 0x4395c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x444a73
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455240]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
push 0
call fcn.00437e50
mov eax, dword [esp + 0x38]
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [esp + 0x2c], 1
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov eax, dword [esp + 0x34]
mov dword [edi + 0x54], eax
lea eax, [esp + 0x3c]
push 1
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x34], 2
push str.BlockPaddingScheme
push eax
mov dword [edi], 0x44e60c
mov dword [edi + 4], 0x44e6ec
call fcn.00439430
add esp, 0x10
mov edx, dword [edi]
lea ecx, [edi + 0x20]
push ecx
lea esi, [edi + 0x1c]
mov byte [esp + 0x30], 3
push esi
lea ebp, [edi + 0x18]
mov ecx, edi
push ebp
push eax
call dword [edx + 0xbc]
cmp dword [esi], 1
jb 0x4396b5
push dword [ebp]
lea ecx, [edi + 0x28]
push 1
call fcn.0043a930
mov ecx, dword [esp + 0x1c]
mov byte [edi + 0x24], 0
mov byte [esp + 0x2c], 2
test ecx, ecx
je 0x43969d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
push 0
push 0
call fcn.004202d3
int3
Function at 0x43b2c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
lea ecx, [ecx]
movzx edi, byte [edx + 0x44eae0]
mov eax, edi
mov dword [esp + 0x10], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x4605d8], eax
mov dword [edx*8 + 0x4605dc], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x43b2d0
pop edi
pop esi
pop ebp
mov byte [0x4605d1], 1
pop ebx
add esp, 0x10
ret

Function at 0x43b420
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + str.cw]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x45fdc0], ecx
mov dword [eax*8 + 0x45fdc4], edx
inc eax
cmp eax, 0x100
jl 0x43b424
xorps xmm0, xmm0
pop edi
movlpd qword [0x4605c8], xmm0
movlpd qword [0x4605c0], xmm0
mov byte [0x4605d0], 1
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx