joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100305db
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100305ff
xor eax, eax
jmp 0x10030747
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1003061d
xor eax, eax
jmp 0x10030747
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x4809
push 0x103c
push 0x5893
push 0x748c
push 1
call fcn.100300e2
add esp, 0x1c
cmp dword [ebp - 0xc], 0
jne 0x1003064f
xor eax, eax
jmp 0x10030747
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 0xbfd
lea eax, [ebp - 0x24]
push eax
call fcn.10030493
add esp, 0x1c
push 0x52c5
push 0x26e4
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [ebp + 8]
call fcn.10029fd4
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x100306bc
push dword [ebp - 0x14]
push dword [ebp - 4]
push 0x5208
push 0x5cfd
push 1
push 0x396d
call fcn.10029fd4
add esp, 0x18
push dword [ebp - 4]
call fcn.1002fd2d
pop ecx
test eax, eax
jne 0x100306cd
xor eax, eax
jmp 0x10030747
push 0x7351
push 1
lea eax, [ebp - 4]
push eax
push 0x1479
push 0x26cc
call fcn.10030521
add esp, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1003072f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10030709
xor eax, eax
jmp 0x10030747
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10030722
xor eax, eax
jmp 0x10030747
lea eax, [ebp - 4]
push eax
push 1
call fcn.10030592
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10030740
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10030744
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10046e8a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10046eb2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x10046eba
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x10047769
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10047781
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x100477cc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100477af
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 0x100477cc
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10017bc7
mov dword [eax], 0xdade
jmp 0x100477a4
mov esp, ebp
pop ebp
ret
Function at 0x1007e1a2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008838c]
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.1007070c
mov dword [ebp - 0x14], eax
cmp dword [0x117d05a4], esi
jne 0x1007e295
push 0x800
push esi
push 0x10007c8c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007e222
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007e375
push esi
push esi
push 0x10007c8c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007e375
push 0x10007ca4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007e375
push eax
call ebx
push 0x10007cb0
push edi
mov dword [0x117d05a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007cc0
push edi
mov dword [0x117d05a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007cd4
push edi
mov dword [0x117d05ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x117d05b4], eax
test eax, eax
je 0x1007e292
push 0x10007cf0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x117d05b0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007e2ba
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007e2ad
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007e2cf
push 4
pop eax
jmp 0x1007e377
cmp dword [ebp - 0x14], esi
je 0x1007e2cf
push dword [0x117d05a4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007e2b4
mov eax, dword [0x117d05b0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007e32d
cmp dword [0x117d05b4], edi
je 0x1007e32d
push eax
call ebx
push dword [0x117d05b4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007e32d
test eax, eax
je 0x1007e32d
call ecx
test eax, eax
je 0x1007e322
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 0x1007e322
test byte [ebp - 8], 1
jne 0x1007e32d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007e35d
mov eax, dword [0x117d05a8]
cmp eax, edi
je 0x1007e35a
push eax
call ebx
test eax, eax
je 0x1007e35a
call eax
mov esi, eax
test esi, esi
je 0x1007e35a
mov eax, dword [0x117d05ac]
cmp eax, edi
je 0x1007e35a
push eax
call ebx
test eax, eax
je 0x1007e35a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x117d05a4]
call ebx
test eax, eax
je 0x1007e375
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007e377
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x4027a3
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
xor edi, edi
xor esi, esi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, 0x9f60fc3
jg 0x4027c9
inc esi
cmp esi, 0x1e70dee2
jl 0x4027af
cmp dword [0x446104], 0x400
jne 0x4027fc
push edi
call fcn.00402938
push edi
push edi
call fcn.00402a83
fldz
push ecx
fst qword [esp + 8]
fstp qword [esp]
call fcn.00402860
push edi
fstp st(0)
call fcn.00402b70
add esp, 0x14
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x58bc6e
jg 0x40281b
inc esi
cmp esi, 0xe52f
jl 0x4027fe
mov eax, dword [0x43e0c4]
mov dword [0x446104], eax
call fcn.00402519
mov esi, 0x3078f
cmp dword [0x446104], 0x51f
jne 0x402847
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec esi
jne 0x40282f
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x405998
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d328]
jne 0x4059a2
repz ret
jmp fcn.00407cac
Function at 0x406483
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43d328]
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.00403c1c
and dword [ebp - 0x14], 0
cmp dword [0x43fd14], 0
mov dword [ebp - 0x18], eax
jne 0x406536
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4065de
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4065de
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43fd14], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43fd18], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43fd1c], eax
call edi
push eax
call esi
mov dword [0x43fd24], eax
test eax, eax
je 0x406536
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43fd20], eax
mov eax, dword [0x43fd20]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40658f
cmp dword [0x43fd24], ecx
je 0x40658f
push eax
call esi
push dword [0x43fd24]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40658f
test ebx, ebx
je 0x40658f
call edi
test eax, eax
je 0x406586
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406586
test byte [ebp - 8], 1
jne 0x40658f
or dword [ebp + 0x10], 0x200000
jmp 0x4065c2
mov eax, dword [0x43fd18]
cmp eax, dword [ebp - 0x18]
je 0x4065c2
push eax
call esi
test eax, eax
je 0x4065c2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4065c2
mov eax, dword [0x43fd1c]
cmp eax, dword [ebp - 0x18]
je 0x4065c2
push eax
call esi
test eax, eax
je 0x4065c2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43fd14]
call esi
test eax, eax
je 0x4065de
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4065e0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405998
leave
ret
Function at 0x401450
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 8]
push 0
push str.Error
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret

Function at 0x40a0a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5db534]
jne 0x40a0aa
repz ret
jmp fcn.0040bf6d

Function at 0x411859
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5db534]
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.0040ba0f
and dword [ebp - 0x14], 0
cmp dword [0x5dd658], 0
mov dword [ebp - 0x18], eax
jne 0x41190c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4119b4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4119b4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5dd658], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5dd65c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5dd660], eax
call edi
push eax
call esi
mov dword [0x5dd668], eax
test eax, eax
je 0x41190c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5dd664], eax
mov eax, dword [0x5dd664]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411965
cmp dword [0x5dd668], ecx
je 0x411965
push eax
call esi
push dword [0x5dd668]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411965
test ebx, ebx
je 0x411965
call edi
test eax, eax
je 0x41195c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41195c
test byte [ebp - 8], 1
jne 0x411965
or dword [ebp + 0x10], 0x200000
jmp 0x411998
mov eax, dword [0x5dd65c]
cmp eax, dword [ebp - 0x18]
je 0x411998
push eax
call esi
test eax, eax
je 0x411998
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411998
mov eax, dword [0x5dd660]
cmp eax, dword [ebp - 0x18]
je 0x411998
push eax
call esi
test eax, eax
je 0x411998
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5dd658]
call esi
test eax, eax
je 0x4119b4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4119b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a0a0
leave
ret
Function at 0x4144a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
jmp 0x4144ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4144c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4144b0
mov eax, 1
add ebx, ebx
jne 0x4144d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4144c8
jne 0x4144e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4144c8
xor ecx, ecx
sub eax, 3
jb 0x4144f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41456a
mov ebp, eax
add ebx, ebx
jne 0x414503
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414510
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414534
inc ecx
add ebx, ebx
jne 0x414520
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414515
jne 0x414531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414515
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414554
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414545
jmp 0x4144b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414554
add edi, ecx
jmp 0x4144b6
pop esi
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x4145bc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14790]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1484c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414571
mov ecx, edi
jns 0x4145a0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14854]
or eax, eax
je 0x4145b6
mov dword [ebx], eax
add ebx, 4
jmp 0x41458e
call dword [esi + 0x14850]
mov ebp, dword [esi + 0x14858]
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 0x4145f0
sub esp, 0xffffff80
jmp 0x403966

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

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

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1316a7a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
or ebp, 0xffffffff
jmp 0x1316a7c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1316a7c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1316a7b8
mov eax, 1
add ebx, ebx
jne 0x1316a7db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1316a7d0
jne 0x1316a7ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1316a7d0
xor ecx, ecx
sub eax, 3
jb 0x1316a800
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1316a872
mov ebp, eax
add ebx, ebx
jne 0x1316a80b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1316a818
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1316a83c
inc ecx
add ebx, ebx
jne 0x1316a828
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1316a81d
jne 0x1316a839
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1316a81d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1316a85c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1316a84d
jmp 0x1316a7be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1316a85c
add edi, ecx
jmp 0x1316a7be
pop esi
mov edi, esi
mov ecx, 0xdbc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1316a87a
cmp byte [edi], 6
jne 0x1316a87a
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 eax, ebx
loop 0x1316a87f
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x1316a8ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2b3d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2b4b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1316a8ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2b4b8]
or eax, eax
je 0x1316a8e8
mov dword [ebx], eax
add ebx, 4
jmp 0x1316a8c9
call dword [esi + 0x2b4bc]
popal
jmp 0x1315a944
Function at 0x1005183d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1005184c
pop dword [ebp - 0x20]
mov eax, 0x1005184c
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x1d05744e
sub dword [ebp - 0x30], 0xceb32f03
mov dword [ebp - 0x2c], 0xec1ba1a1
sub dword [ebp - 0x2c], 0xb9e8555c
mov dword [ebp - 0x28], 0x41f7c361
add dword [ebp - 0x28], 0xa5480cd
mov dword [ebp - 0x24], 0xcd7b4ad
sub dword [ebp - 0x24], 0xcd7b4ad
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x74220bdd
sub dword [ebp - 0x30], 0xffafa287
mov dword [ebp - 0x2c], 0x1e4796a5
sub dword [ebp - 0x2c], 0xdcdb3530
mov dword [ebp - 0x28], 0xe768e79d
sub dword [ebp - 0x28], 0x83f97b31
mov dword [ebp - 0x24], 0xca77b808
sub dword [ebp - 0x24], 0xca77b808
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x4ba27c99
add eax, 0xc463837b
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x5bf0d
push 0
call eax
mov ecx, 0x6061
xor edi, edi
add edi, eax
mov edx, 0x5d0b45f
sub edx, 0xf5c7f85f
add edx, dword [ebp - 0x20]
mov esi, 0x1e90eb9
add dword [ebp - 0x10], ebx
mov ebx, dword [edx]
sub ebx, esi
add dword [ebp - 0xc], 0x97ec6302
mov dword [edi], ebx
xor dword [ebp - 8], ebx
add edi, 0x18491904
add edi, 0xe7b6e700
add edx, 4
loop 0x1005195a
add eax, 0x9b4405b9
add eax, 0x64bd6e9e
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb0269072
sub ecx, 0xa0269072
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x406260
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d07c]
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.00403dae
and dword [ebp - 0x14], 0
cmp dword [0x40e920], 0
mov dword [ebp - 0x18], eax
jne 0x406313
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4063bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40a7e4
push ebx
call edi
test eax, eax
je 0x4063bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40e920], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40e924], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40e928], eax
call edi
push eax
call esi
mov dword [0x40e930], eax
test eax, eax
je 0x406313
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40e92c], eax
mov eax, dword [0x40e92c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40636c
cmp dword [0x40e930], ecx
je 0x40636c
push eax
call esi
push dword [0x40e930]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40636c
test ebx, ebx
je 0x40636c
call edi
test eax, eax
je 0x406363
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406363
test byte [ebp - 8], 1
jne 0x40636c
or dword [ebp + 0x10], 0x200000
jmp 0x40639f
mov eax, dword [0x40e924]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40639f
mov eax, dword [0x40e928]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40e920]
call esi
test eax, eax
je 0x4063bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4063bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402701
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 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