joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4edec0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405140
mov eax, dword [ebp - 8]
call fcn.00405140
xor eax, eax
push ebp
push 0x4edf9d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.0040a068
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0040a068
mov eax, dword [ebp - 0x30]
pop edx
call fcn.004091d0
test eax, eax
jne 0x4edf29
mov dword [ebp - 0x22], 4
jmp 0x4edf30
mov dword [ebp - 0x22], 1
lea eax, [ebp - 0x34]
mov ecx, 0x4edfb4
mov edx, dword [ebp - 4]
call fcn.00404f9c
mov eax, dword [ebp - 0x34]
call fcn.00405150
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x38]
mov ecx, 0x4edfb4
mov edx, dword [ebp - 8]
call fcn.00404f9c
mov eax, dword [ebp - 0x38]
call fcn.00405150
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x410
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4edfa4
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00404cb4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404cb4
ret
Function at 0x4f28f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00404f50
mov edx, eax
cmp edx, 0x20
jge 0x4f2922
test edx, edx
jle 0x4f294c
mov eax, 1
xor bl, byte [esi + eax - 1]
xor ecx, ecx
mov cl, bl
mov bl, byte [ecx + 0x50d23c]
inc eax
dec edx
jne 0x4f290e
jmp 0x4f294c
mov edi, edx
test edi, edi
jns 0x4f292b
add edi, 0x1f
sar edi, 5
inc edi
mov eax, 1
cmp edx, eax
jle 0x4f294c
xor bl, byte [esi + eax - 1]
xor ecx, ecx
mov cl, bl
mov bl, byte [ecx + 0x50d23c]
add eax, edi
cmp edx, eax
jg 0x4f2938
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4f2954
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], edx
mov bx, word [0x50d53c]
cmp dword [esp], 0x20
jge 0x4f2999
mov edx, dword [esp]
dec edx
test edx, edx
jl 0x4f29dd
inc edx
xor esi, esi
movzx edi, bx
shr edi, 8
mov di, word [edi*2 + 0x50d33c]
shl ebx, 8
xor di, bx
xor ebx, ebx
mov bl, byte [eax + esi]
xor di, bx
mov ebx, edi
inc esi
dec edx
jne 0x4f2975
jmp 0x4f29dd
mov edx, dword [esp]
test edx, edx
jns 0x4f29a3
add edx, 0x1f
sar edx, 5
inc edx
xor esi, esi
mov edi, dword [esp]
dec edi
mov dword [esp + 4], edi
cmp esi, dword [esp + 4]
jge 0x4f29dd
movzx edi, bx
shr edi, 8
mov di, word [edi*2 + 0x50d33c]
shl ebx, 8
xor di, bx
xor ebx, ebx
mov bl, byte [eax + esi]
xor di, bx
mov ebx, edi
add esi, edx
cmp esi, dword [esp + 4]
jl 0x4f29b7
mov esi, 2
movzx eax, bx
shr eax, 8
mov ax, word [eax*2 + 0x50d33c]
shl ebx, 8
xor ax, bx
movzx edx, cx
shr edx, 8
xor ax, dx
mov ebx, eax
shl cx, 8
dec esi
jne 0x4f29e2
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4f2a10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, dword [0x50d940]
cmp dword [esp], 0x20
jge 0x4f2a50
mov edx, dword [esp]
dec edx
test edx, edx
jl 0x4f2a90
inc edx
xor esi, esi
mov edi, ebx
shr edi, 0x18
mov edi, dword [edi*4 + 0x50d540]
shl ebx, 8
xor edi, ebx
xor ebx, ebx
mov bl, byte [eax + esi]
xor edi, ebx
mov ebx, edi
inc esi
dec edx
jne 0x4f2a30
jmp 0x4f2a90
mov edx, dword [esp]
test edx, edx
jns 0x4f2a5a
add edx, 0x1f
sar edx, 5
inc edx
xor esi, esi
mov edi, dword [esp]
dec edi
mov dword [esp + 4], edi
cmp esi, dword [esp + 4]
jge 0x4f2a90
mov edi, ebx
shr edi, 0x18
mov edi, dword [edi*4 + 0x50d540]
shl ebx, 8
xor edi, ebx
xor ebx, ebx
mov bl, byte [eax + esi]
xor edi, ebx
mov ebx, edi
add esi, edx
cmp esi, dword [esp + 4]
jl 0x4f2a6e
mov esi, 4
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x50d540]
shl ebx, 8
xor eax, ebx
mov edx, ecx
shr edx, 0x18
xor eax, edx
mov ebx, eax
shl ecx, 8
dec esi
jne 0x4f2a95
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4f56bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f5740
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.0044813c
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404f00
mov eax, dword [ebp - 0x110]
mov edx, esi
call fcn.00409358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5747
lea eax, [ebp - 0x110]
call fcn.00404c90
ret

Function at 0x4f9754
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
xor ecx, ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405140
mov eax, dword [ebp - 8]
call fcn.00405140
xor eax, eax
push ebp
push 0x4f9839
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00407d70
mov word [ebp - 0x20], 5
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x28], 0x18
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
lea edx, [ebp - 0x70]
mov ecx, 1
mov eax, 0x4f9850
call fcn.0040aa90
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0040a068
mov eax, dword [ebp - 0x74]
call fcn.00405150
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405150
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4f9813
mov ebx, dword [ebp - 0x58]
jmp 0x4f9816
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9840
lea eax, [ebp - 0x74]
call fcn.00404c90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cb4
ret
Function at 0x4fc8e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x50de10]
mov eax, dword [eax]
call fcn.004aa1e4
xor eax, eax
push ebp
push 0x4fc9d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x50de10]
mov eax, dword [eax]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4fc9bd
mov eax, dword [0x50de10]
mov eax, dword [eax]
mov edx, esi
call fcn.0041a12c
mov ebx, eax
cmp byte [ebx + 0x35], 0
jne 0x4fc97c
lea eax, [ebp - 0x9c]
push eax
push 0xffffffffffffffff
push 0
call sub.user32.dll_EnumDisplaySettingsA
test eax, eax
je 0x4fc97c
mov eax, dword [ebx + 0xd0]
cmp eax, dword [ebp - 0x34]
jne 0x4fc967
mov eax, dword [ebx + 0xd4]
cmp eax, dword [ebp - 0x30]
jne 0x4fc967
mov eax, dword [ebx + 0xd8]
cmp eax, dword [ebp - 0x2c]
je 0x4fc97c
mov dword [ebx + 0x90], 0x1c0000
push 1
lea eax, [ebx + 0x68]
push eax
call sub.user32.dll_ChangeDisplaySettingsA
mov eax, dword [0x50de10]
mov eax, dword [eax]
mov edx, esi
call fcn.0041a008
mov eax, edi
call fcn.004f8b30
mov edx, eax
dec edx
mov eax, edi
call fcn.004f8d68
push 0
mov eax, dword [ebx + 0x40]
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, dword [0x4aae04]
mov eax, ebx
call fcn.00405ac0
dec esi
cmp esi, 0xffffffff
jne 0x4fc91c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc9de
mov eax, dword [0x50de10]
mov eax, dword [eax]
call fcn.004aa1f0
ret

Function at 0x4fcc44
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405140
xor eax, eax
push ebp
push 0x4fcccd
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
jbe 0x4fccb7
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00405150
push eax
push edi
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
jbe 0x4fccb1
lea eax, [ebp - 0x20]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4fccab
cmp dword [ebp - 0x1c], 4
sete bl
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fccd4
lea eax, [ebp - 4]
call fcn.00404c90
ret
Function at 0x4fcce0
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405140
xor eax, eax
push ebp
push 0x4fcde6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
jbe 0x4fcdd0
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00405150
push eax
push edi
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
jbe 0x4fcdca
lea eax, [ebp - 0x24]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4fcdc4
cmp dword [ebp - 0x20], 4
jne 0x4fcdc4
lea eax, [ebp - 0x24]
push eax
push 1
push esi
call sub.advapi32.dll_ControlService
test eax, eax
je 0x4fcdc4
lea eax, [ebp - 0x24]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4fcdc4
mov ebx, dword [ebp - 0x10]
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
jmp 0x4fcda4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x24]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4fcdaa
cmp ebx, dword [ebp - 0x10]
ja 0x4fcdaa
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x7530
jae 0x4fcdaa
cmp dword [ebp - 0x20], 3
je 0x4fcd79
lea eax, [ebp - 0x24]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4fcdbe
cmp dword [ebp - 0x20], 1
je 0x4fcdc2
xor ebx, ebx
jmp 0x4fcdc4
mov bl, 1
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fcded
lea eax, [ebp - 4]
call fcn.00404c90
ret
Function at 0x1000290b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
inc eax
push dword [eax]
pop word [ebp - 4]
cmp dword [ebp - 4], 0xc25e
je 0x10002940
cmp dword [ebp - 4], 0xc35e
je 0x10002940
jmp 0x10002943
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10002925
cmp dword [ebp - 4], 0xc25e
jne 0x100029e3
push eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push dword [ebp - 8]
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10002996
push 0x1c8
push 0x402ee09
push 6
call fcn.10003471
add esp, 0xc
pop eax
push 0x9090c35e
pop dword [eax]
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push 4
push dword [ebp - 8]
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100029e3
push 0x261
push 0x402ee09
push 6
call fcn.10003471
add esp, 0xc
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x10003bf9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.100037c0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x10003c10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x10003ca2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x10003c94
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x10003c8c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x10003c55
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x1000a61a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014704]
jne 0x1000a624
repz ret
jmp fcn.1000ae86

Function at 0x1000ab43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1000ab52
pop dword [ebp - 0x50]
mov eax, 0x1000ab52
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x22748f39
add dword [ebp - 0x60], 0x2bddb612
mov dword [ebp - 0x5c], 0xfdc79341
sub dword [ebp - 0x5c], 0xcb9446fc
mov dword [ebp - 0x58], 0xed6b967b
sub dword [ebp - 0x58], 0xa11f524d
mov dword [ebp - 0x54], 0x95d3f1cc
sub dword [ebp - 0x54], 0x95d3f1cc
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x5a13f0fa
sub dword [ebp - 0x60], 0xe5a187a4
mov dword [ebp - 0x5c], 0xc938b510
add dword [ebp - 0x5c], 0x7833ac65
mov dword [ebp - 0x58], 0xa4c11f92
add dword [ebp - 0x58], 0xbeae4cda
mov dword [ebp - 0x54], 0x3316e293
add dword [ebp - 0x54], 0xcce91d6d
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x4d5cd270
add eax, 0xc2a3fe80
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x38d3f
push 0
call eax
mov ecx, 0xc7a44644
add ecx, 0x385c0419
mov edi, eax
mov ebx, 0x10019c00
add ebx, dword [ebp - 0x50]
mov esi, 0xec8596b9
sub esi, 0x6b7e1b83
xor dword [ebp - 0x2c], 0x52253dd4
mov edx, dword [ebx]
xor dword [ebp - 0x38], ecx
xor edx, esi
add dword [ebp - 0x14], edi
mov dword [edi], edx
add dword [ebp - 0x4c], ecx
add edi, 0xfe9be93a
add edi, 0x16416ca
add ebx, 4
loop 0x1000ac64
add eax, 0xd203ebaf
sub eax, 0xd202cf68
mov ebx, eax
add eax, 0xfaf1292d
sub eax, 0xfaf12928
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x406802
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x406811
pop dword [ebp - 0x40]
mov eax, 0xdc43ff1
sub eax, 0xd83d7e0
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xd8b2a6fc
sub dword [ebp - 0x50], 0x8a6061b1
mov dword [ebp - 0x4c], 0x30ebf190
sub dword [ebp - 0x4c], 0xfeb8a54b
mov dword [ebp - 0x48], 0x7a3f8aeb
add dword [ebp - 0x48], 0xd20cb943
mov dword [ebp - 0x44], 0xe2285e41
add dword [ebp - 0x44], 0x1dd7a1bf
lea eax, [ebp - 0x50]
push eax
mov eax, 0xfc90d3c
sub eax, 0xf882c40
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xa0ef5027
sub dword [ebp - 0x50], 0x2c7ce6d1
mov dword [ebp - 0x4c], 0xad7e34fb
add dword [ebp - 0x4c], 0x93ee2c7a
mov dword [ebp - 0x48], 0x62f4172b
add dword [ebp - 0x48], 0x7b5541
mov dword [ebp - 0x44], 0xd92b0ea5
sub dword [ebp - 0x44], 0xd92b0ea5
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x1e5d032b
sub eax, 0x1e1c22a3
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3733e
push 0
call eax
mov ecx, 0x9cf0f3df
add ecx, 0x630f5221
xor edi, edi
add edi, eax
mov edx, 0x4504da63
sub edx, 0x44c2ea63
add edx, dword [ebp - 0x40]
mov esi, 0x2fe2aaf5
mov ebx, dword [edx]
xor dword [ebp - 0x30], 0x65806a6e
xor ebx, esi
mov dword [ebp - 0x2c], 0x7ad6517
mov dword [edi], ebx
sub dword [ebp - 0xc], 0x9727aa6c
add edi, 0x106e6acc
sub edi, 0x106e6ac8
add edx, 0xe6e6f610
sub edx, 0xe6e6f60c
loop 0x40692f
add eax, 0xd4dda374
sub eax, 0xd4dc98a1
xor ebx, ebx
add ebx, eax
add eax, 0x82957000
sub eax, 0x82956ffb
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x406b16
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x40d6f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x41a174]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x110]
lea eax, [ebp]
mov edi, dword [ebp + 0x114]
mov ebx, 0x104
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp]
push ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x406bb4
cmp eax, ebx
jae 0x406bb4
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004060ea
pop ecx
pop ecx
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x18]
jmp 0x406ba7
push esi
lea ecx, [edi + 0x18]
call fcn.00403db8
add esi, 0x18
cmp esi, dword [ebp - 0x14]
jne 0x406b9b
lea ecx, [ebp - 0x18]
call fcn.0040422a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0040baa8
add ebp, 0x108
leave
ret
Function at 0xec8e8c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xec8e96
pushal
call 0xec8e9c
pop ebp
sub ebp, 0x10
sub ebp, 0xac8e8c
jmp 0xec8eb2
mov eax, 0xac8e8c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0x21c36f2a
xor byte [eax], dl
inc eax
dec ecx
jne 0xec8ec9
jmp 0xec8edc
mov eax, dword [0x16a3a1e7]
sub ch, byte [edx]
sub ch, byte [ebx + 0x2a2ad2eb]
sub ch, byte [ecx]
out 0x92, eax
and ebp, dword [edx]
sub ch, byte [edx]
nop
add ch, byte [edx]
sub ch, byte [edx]
invalid
Function at 0x74405
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, dword [0xa18a6]
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 8], ecx
mov dword [esp + 0x468], esi
mov dword [0xa172a], ebx
mov edx, dword [0xa16b6]
mov ebp, dword [esp + 0x454]
mov dword [0xa1d1e], eax
mov dword [0xa1a02], edi
mov eax, dword [esp + 0x44c]
mov edi, dword [0xa1d86]
mov dword [esp + 4], eax
mov dword [0xa1a76], edi
mov eax, dword [0xa1d1e]
mov esi, dword [0xa1df2]
mov edi, dword [0xa1a02]
mov ebx, dword [esp + 0x484]
mov ebp, dword [0xa1bfe]
mov dword [esp + 0x44c], ebp
mov ebp, dword [esp + 0x454]
add esp, 4
jmp 0x74589
Function at 0x747b9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00071785
xor ebx, ebx
cmp dword [0x92044], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x7488f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x7496f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x7496f
push eax
call fcn.00071717
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x92044], eax
call esi
push eax
call fcn.00071717
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x92048], eax
call esi
push eax
call fcn.00071717
mov dword [0x9204c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0007cd7a
test eax, eax
pop ecx
pop ecx
je 0x7485d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00080776
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x7488f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00071717
cmp eax, ebx
pop ecx
mov dword [0x92054], eax
je 0x7488f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00071717
pop ecx
mov dword [0x92050], eax
mov eax, dword [0x92050]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x74914
cmp dword [0x92054], ecx
je 0x74914
push eax
call fcn.0007178e
push dword [0x92054]
mov esi, eax
call fcn.0007178e
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x74914
cmp edi, ebx
je 0x74914
call esi
cmp eax, ebx
je 0x748e1
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x748e1
test byte [ebp - 0x18], 1
jne 0x74914
lea eax, [ebp - 0x10]
push eax
call fcn.0007cdb1
test eax, eax
pop ecx
je 0x748fc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00080776
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x7490b
or dword [ebp + 0x10], 0x200000
jmp 0x7494f
or dword [ebp + 0x10], 0x40000
jmp 0x7494f
mov eax, dword [0x92048]
cmp eax, dword [ebp - 8]
je 0x7494f
push eax
call fcn.0007178e
cmp eax, ebx
pop ecx
je 0x7494f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x7494f
mov eax, dword [0x9204c]
cmp eax, dword [ebp - 8]
je 0x7494f
push eax
call fcn.0007178e
cmp eax, ebx
pop ecx
je 0x7494f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x92044]
call fcn.0007178e
cmp eax, ebx
pop ecx
je 0x7496f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x74971
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x74a3f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ebp, dword [esp + 0x48c]
mov dword [0xa1d3a], edi
mov dword [0xa1d4a], edx
mov dword [0xa1c46], ebp
mov edi, dword [esp + 0x484]
mov dword [esp + 0x480], eax
mov dword [0xa1c56], edi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48c], eax
mov eax, dword [esp + 0x480]
mov esi, dword [esp + 0x4b0]
mov edi, dword [0xa1d3a]
mov edx, dword [0xa16b6]
mov ebx, dword [0xa1c76]
mov ebp, dword [0xa1a26]
mov ecx, dword [0xa1c46]
mov dword [esp + 0x30], ecx
mov edx, dword [0xa1c56]
mov dword [esp + 0x478], edx
mov edx, dword [0xa16b6]
add esp, 0x30
jmp 0x74589

Function at 0x750e8
Capabilities:
Link many functions at runtime
Rebuild import table
Resolve function by parsing pe exports

Disassembly:
mov dword [0xa0ae2], eax
mov eax, dword [0xa0a8e]
sub esp, 0x18
add ebp, 0x10
jmp fcn.00073c6c
mov ecx, dword [eax + 0x3c]
push dword [0x9fd86]
call fcn.00074b2a
mov dword [0xa0af6], eax
mov ebp, esp
lea eax, [0x9fa26]
mov eax, dword [eax + 0x1068]
mov eax, dword [0xa04de]
push eax
and eax, 0xffff
push eax
sub eax, edi
cmp eax, dword [esp + 0x3b0]
jge 0x74128
Function at 0x7766e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [0x9fbaa]
push 0x3e8
call fcn.0007774c