joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ed70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5218
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d0084]
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 edx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], edi
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], 0
mov dword [ebp - 0x18], eax
mov dword [edx + 4], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea esi, [ecx + 0x14]
mov dword [ebp - 0x34], eax
push 0x168
mov dword [ebp - 0x28], esi
call fcn.00411df0
mov dl, byte [edi + 4]
mov ebx, eax
mov ecx, dword [edi]
add esp, 8
shr dl, 2
lea edi, [ebx + 0x28]
and dl, 1
mov dword [ebx + 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 0x20], esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x410ae0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov dword [edi], 0xffffffff
mov dword [ebx + 0x2c], esi
mov eax, dword [ecx + 0x1c]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x158], dl
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x15c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x160], eax
mov dword [ebx + 0x164], 0
mov eax, dword [ebp - 0x18]
push ebx
push 0x90
mov dword [ebp - 0x18], 0
mov dword [ebx + 0x164], eax
lea eax, [ebx + 0x38]
cmp dword [esi], 0xffffffff
push eax
push 6
push 1
push dword [ecx + 0x1c]
setne al
mov dword [ebp - 0x1c], 0
push edi
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00412590
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call fcn.00410a30
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x40eefa
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x40eefa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x40eefa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
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.004785e6
mov esp, ebp
pop ebp
ret 0x14

Function at 0x411c40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x53aa64]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x411c58
mov edx, dword [eax + 4]
jmp 0x411c5a
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp eax, 0xff
ja 0x411c79
test edx, edx
je 0x411c79
cmp dword [edx], 0
jne 0x411c79
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [ecx], al
mov dword [edx], ecx
pop ebp
ret
push dword [ebp + 8]
call fcn.00478ba0
add esp, 4
pop ebp
ret
Function at 0x40f760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
or ecx, 0xffffffff
mov ebx, 0x484ea8
call fcn.0040f6f0
dec dword [ebx + 0x24848df0]
test al, 0
add byte [eax], al
push esi
push eax
call fcn.00413650
push esi
call fcn.004111dc
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f820
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f850
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f7b4
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x488120
push eax
call fcn.004149c2
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x427c2a
push edi
call fcn.0040f5c0
cmp eax, ebx
je 0x427c34
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414a46
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f813
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00414d04
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044afef
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x427c60
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00414fe2
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f813

Function at 0x40f820
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412f40
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret
Function at 0x432298
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
adc byte [ecx + 0x4589f84c], cl
cld
test ebx, ebx
je 0x432294
or byte [ecx + 0x53], dl
push 0xffffffffffffffb7
dec eax
add dl, byte [esi + 0xf]
mov bh, 0x30
push edi
mov ebx, dword [ebp + 8]
fstp xword [esi + 0x2d]
cmp eax, 0x330c448d
or al, 0x33
ror byte [edi], cl
mov dh, 4
pop es
add eax, esi
xor edx, edx
mov esi, 0x10c25de5
div esi
inc edi
mov esi, edx
mov ebp, esp
mov dh, byte [ebx]
sar byte [ecx + 0x10c25de5], cl
div ecx
mov ecx, edx
cmp edi, ebx
jl 0x432261
or byte [ecx + 0x53], dl
add byte [ebp - 0x75], dl
add ecx, esi
pop edi
mov eax, edx
add esp, 4
pop ebp
ret
les eax, [ebx*2 - 0x1374aa3d]

Function at 0x432299
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov ebp, esp
mov eax, dword [ebp + 8]
mov esp, dword [ebx - 0x7cb58ac0]
les eax, [eax + edx*2]
call 0x7583db8c
dec edx
adc dword [edi - 0x75], 8
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
dec eax
add edx, dword [ecx + 0x42]
cmp eax, 0x4a7efc
jl 0x4322af
mov dword [0x468205c], 0x8d000001
mov dword [0x95547f10], 0xff52004a
pop edi
add bh, dh
fcomp dword [ebx]
rcr ch, 0x45
or byte [ebx - 0x3f26e714], al
push ebx
fldz
push esi
fld st(0)
push edi
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0xff9523ce
fld st(1)
fld qword [0x758b5638]
fucompp
or byte [ecx - 0x75], dl
invalid

Function at 0x444b5f
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test edi, edi
jle 0x444b6e
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x444b65
pop edi
pop esi
push esi
ret
Function at 0x401237
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x30], esi
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41b2f8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b2fc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], eax
call fcn.00401230
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x41b300]
add ebx, 0x23f
mov edx, dword [0x41b304]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, edi
mov dword [ebp - 0x10], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xae2f2c], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xae2f28]
cmove eax, dword [ebp - 0x10]
and dword [ebp - 0x10], 0
cmp dword [0xae2f2c], 0x3eb
mov dword [0xae2f28], eax
mov eax, dword [0xae2e80]
cmove eax, dword [ebp - 0x10]
mov dword [0xae2e80], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], edx
and dword [ebp - 0xc], 0
mov dword [0xae2f24], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + esi]
mov edx, esi
lea ebx, [ebx + 0x61c88647]
shr edx, cl
add edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
xor edx, eax
mov eax, dword [ebp - 4]
xor eax, edx
mov edx, dword [ebp - 0x2c]
sub edi, eax
mov dword [ebp - 4], eax
dec dword [ebp - 0x18]
mov dword [ebp - 0xc], edi
jne 0x401291
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d3fe
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41af20]
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.00409c0e
mov dword [ebp - 0x14], eax
cmp dword [0x43e71c], esi
jne 0x40d4f1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d47e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d5d1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d5d1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d5d1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43e71c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43e720], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43e724], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e72c], eax
test eax, eax
je 0x40d4ee
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e728], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d516
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d509
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d52b
push 4
pop eax
jmp 0x40d5d3
cmp dword [ebp - 0x14], esi
je 0x40d52b
push dword [0x43e71c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d510
mov eax, dword [0x43e728]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d589
cmp dword [0x43e72c], edi
je 0x40d589
push eax
call ebx
push dword [0x43e72c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d589
test eax, eax
je 0x40d589
call ecx
test eax, eax
je 0x40d57e
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 0x40d57e
test byte [ebp - 8], 1
jne 0x40d589
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d5b9
mov eax, dword [0x43e720]
cmp eax, edi
je 0x40d5b6
push eax
call ebx
test eax, eax
je 0x40d5b6
call eax
mov esi, eax
test esi, esi
je 0x40d5b6
mov eax, dword [0x43e724]
cmp eax, edi
je 0x40d5b6
push eax
call ebx
test eax, eax
je 0x40d5b6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43e71c]
call ebx
test eax, eax
je 0x40d5d1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d5d3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404247
mov esp, ebp
pop ebp
ret
Function at 0x405e80
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
mov ecx, dword [ebp]
push 0
lea eax, [esp + 8]
push eax
push ecx
push edx
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x405eba
push str.Failed_to_send_message_request_n
call fcn.0040efe0
add esp, 4
mov eax, 0x20000006
pop ebp
pop ecx
ret
mov eax, dword [esp + 4]
mov dword [ebp], eax
test ebx, ebx
je 0x405ef8
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x405ed0
mov ecx, dword [esi]
push 0
push esi
push ecx
push ebx
push edi
call ebp
test eax, eax
jne 0x405ef8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x405ed0
push str.Failed_to_fetch_message_response_n
call fcn.0040efe0
add esp, 4
xor eax, eax
pop ebp
pop ecx
ret

Function at 0x4067c0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4067e0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x4067f4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x406820
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x406836
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x406843
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x40dd76
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421e94]
jne 0x40dd80
repz ret
jmp fcn.00410490

Function at 0x417e55
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.00412d6d
and dword [ebp - 4], 0
cmp dword [0x423c00], 0
mov ebx, eax
jne 0x417f06
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x417fb7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x417fb7
push eax
call fcn.00412cfb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423c00], eax
call esi
push eax
call fcn.00412cfb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423c04], eax
call esi
push eax
call fcn.00412cfb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423c08], eax
call esi
push eax
call fcn.00412cfb
pop ecx
mov dword [0x423c10], eax
test eax, eax
je 0x417f06
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00412cfb
pop ecx
mov dword [0x423c0c], eax
mov eax, dword [0x423c0c]
cmp eax, ebx
je 0x417f5e
cmp dword [0x423c10], ebx
je 0x417f5e
push eax
call fcn.00412d76
push dword [0x423c10]
mov esi, eax
call fcn.00412d76
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x417f5e
test edi, edi
je 0x417f5e
call esi
test eax, eax
je 0x417f55
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x417f55
test byte [ebp - 0xc], 1
jne 0x417f5e
or dword [ebp + 0x10], 0x200000
jmp 0x417f97
mov eax, dword [0x423c04]
cmp eax, ebx
je 0x417f97
push eax
call fcn.00412d76
pop ecx
test eax, eax
je 0x417f97
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x417f97
mov eax, dword [0x423c08]
cmp eax, ebx
je 0x417f97
push eax
call fcn.00412d76
pop ecx
test eax, eax
je 0x417f97
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423c00]
call fcn.00412d76
pop ecx
test eax, eax
je 0x417fb7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417fb9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45c880
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x39000]
push edi
or ebp, 0xffffffff
jmp 0x45c8a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45c8a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c898
mov eax, 1
add ebx, ebx
jne 0x45c8bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45c8b0
jne 0x45c8cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45c8b0
xor ecx, ecx
sub eax, 3
jb 0x45c8e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45c952
mov ebp, eax
add ebx, ebx
jne 0x45c8eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45c8f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45c91c
inc ecx
add ebx, ebx
jne 0x45c908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45c8fd
jne 0x45c919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45c8fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45c93c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45c92d
jmp 0x45c89e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45c93c
add edi, ecx
jmp 0x45c89e
pop esi
mov edi, esi
mov ecx, 0x1e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45c95a
cmp byte [edi], 0
jne 0x45c95a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45c95f
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45c9ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5c22c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5c298]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45c98c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5c2a0]
or eax, eax
je 0x45c9c8
mov dword [ebx], eax
add ebx, 4
jmp 0x45c9a9
call dword [esi + 0x5c29c]
mov ebp, dword [esi + 0x5c2a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45ca02
sub esp, 0xffffff80
jmp 0x401910
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45507c]
jne 0x401cdf
repz ret
jmp fcn.00402a42

Function at 0x40831a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45507c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405dcd
and dword [ebp - 0x14], 0
cmp dword [0x457f6c], 0
mov dword [ebp - 0x18], eax
jne 0x4083cd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408475
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408475
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x457f6c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x457f70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x457f74], eax
call edi
push eax
call esi
mov dword [0x457f7c], eax
test eax, eax
je 0x4083cd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x457f78], eax
mov eax, dword [0x457f78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408426
cmp dword [0x457f7c], ecx
je 0x408426
push eax
call esi
push dword [0x457f7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408426
test ebx, ebx
je 0x408426
call edi
test eax, eax
je 0x40841d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40841d
test byte [ebp - 8], 1
jne 0x408426
or dword [ebp + 0x10], 0x200000
jmp 0x408459
mov eax, dword [0x457f70]
cmp eax, dword [ebp - 0x18]
je 0x408459
push eax
call esi
test eax, eax
je 0x408459
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408459
mov eax, dword [0x457f74]
cmp eax, dword [ebp - 0x18]
je 0x408459
push eax
call esi
test eax, eax
je 0x408459
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x457f6c]
call esi
test eax, eax
je 0x408475
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408477
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
push 0
push 0
push 1
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
jne 0x401044
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x40103b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0x13
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401089
mov eax, dword [esp + 0x10]
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
push 0
push esi
push str.h_gdipp_hook_wait_p_c
mov edx, 0x411ca0
call fcn.00402230
add esp, 0xc
push 0x40
lea edx, [esp + 0x40]
push 0
push edx
mov dword [esp + 0x44], 0x44
call fcn.00407220
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0x411ca0
push 0x400
push 1
push 0
push 0
push 0
push 0x411d20
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
test edi, edi
je 0x401133
lea edx, [ebp + 8]
mov eax, 0x411f54
call fcn.004017a0
mov dword [eax], esi
lea edx, [ebp + 8]
mov eax, 0x411f64
call fcn.004017a0
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
lea eax, [ebp + 8]
call fcn.00401820
movq xmm0, qword [esp + 0x28]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [eax + 8], xmm0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402def
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41007c]
jne 0x402df9
repz ret
jmp fcn.004034c7