joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46786c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46787e
add esp, 0xfffffff0
call fcn.00403f50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ffd8
mov eax, dword [0x495bbc]
mov dword [eax + 4], ebx
mov dword [eax], 0x467c80
mov eax, dword [0x495bc8]
mov dword [eax + 4], ebx
mov dword [eax], 0x467c8c
mov eax, ebx
call fcn.00467c98
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416b0c]
call fcn.00403a8c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416b0c]
call fcn.00403a8c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416b0c]
call fcn.00403a8c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416b0c]
call fcn.00403a8c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416b0c]
call fcn.00403a8c
mov dword [ebx + 0x74], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x462cbc
push eax
push 0
push 0
mov eax, dword [0x495d4c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424408]
call fcn.00425e88
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x424408]
call fcn.00425e88
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x424408]
call fcn.00425e88
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x424408]
call fcn.00425e88
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.00468190
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468068
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468068
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468068
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468068
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4679d1
call fcn.00403fa8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x467e08
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467fb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x467f96
mov dl, 1
mov eax, dword [0x416f84]
call fcn.0041b424
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.00405490
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x467f85
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00457ae4
test al, al
je 0x467f78
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x467fc4
lea eax, [ebp - 0x394]
call fcn.0040b698
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x467f78
xor eax, eax
push ebp
push 0x467f71
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x468034
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x467f5a
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00405648
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x467f5a
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00405648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467f78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x467e7b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0041b210
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467fbc
lea eax, [ebp - 0x3a0]
call fcn.00405480
ret

Function at 0x4689a4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x49b17c]
cmp byte [eax + 0xa9], 0
jne 0x468a16
cmp dword [0x49b194], 0
jne 0x4689d6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x495aa0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x49b194], eax
cmp dword [0x49b190], 0
jne 0x4689f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x49b190], eax
cmp dword [0x49b198], 0
jne 0x468a16
push esp
push 0
push 0
mov eax, dword [0x495a9c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49b198], eax
pop edx
ret
Function at 0x468c2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x468c43
add esp, 0xfffffff0
call fcn.00403f50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ffd8
mov eax, dword [0x495b10]
cmp byte [eax], 0
jne 0x468c70
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x495d30]
cmp word [eax + 2], 0
jne 0x468c8a
mov eax, dword [0x495d30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046ab1c
mov eax, dword [0x495df4]
cmp word [eax + 2], 0
jne 0x468ca4
mov eax, dword [0x495df4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046ad2c
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x424408]
call fcn.00425e88
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x46b1b0
mov dl, 1
mov eax, dword [0x416b0c]
call fcn.00403a8c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x416b0c]
call fcn.00403a8c
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x424c60]
call fcn.0042b9f8
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x468e80
mov eax, dword [0x495c2c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0042bdfc
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46b460
mov dl, 1
mov eax, dword [0x416b0c]
call fcn.00403a8c
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x495c2c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040b4e4
test eax, eax
je 0x468db2
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040b2e4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040b4cc
test eax, eax
je 0x468dca
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405648
push ebx
push 0x46a530
call fcn.0045f484
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x495b10]
cmp byte [eax], 0
jne 0x468e1b
mov eax, ebx
call fcn.00468ff4
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.0046b688
mov eax, ebx
call fcn.0046c24c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x468e78
call fcn.00403fa8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46929c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x46933e
cmp dword [ebx + 0x90], 0
jne 0x469338
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x469214
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x469338
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4692fe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x469338
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.0041913c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46930d
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46955c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x49b17c]
cmp dword [eax + 0x170], 0
je 0x4696c1
test bl, bl
jne 0x46960f
cmp dword [esi + 0x98], 0
jne 0x469604
mov eax, esi
call fcn.0046c09c
push eax
push 0x469468
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x4695d5
mov eax, dword [0x49b17c]
cmp byte [eax + 0xcf], 0
je 0x4695d5
mov eax, dword [esi + 0xd4]
call fcn.004062e4
mov edi, eax
cmp edi, 0
jl 0x4695d5
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4695be
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x469604
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041913c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4695e4
inc dword [esi + 0x98]
jmp 0x4696c1
cmp dword [esi + 0x98], 0
jle 0x4696c1
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x4696c1
cmp dword [esi + 0x40], 0
je 0x46966c
mov eax, dword [0x49b17c]
cmp byte [eax + 0xcf], 0
je 0x46966c
mov eax, dword [esi + 0xd4]
call fcn.004062e4
mov edi, eax
cmp edi, 0
jl 0x46966c
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x469655
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46969b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041913c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46967b
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x45ee90]
call fcn.004064a4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46a27c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x46a2e7
cmp byte [ebx + 0xcf], 0
jne 0x46a2e7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004055cc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x46a2d4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46a2f4
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405490
jmp 0x46a2f4
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405490
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x46b85c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x46b8ca
mov eax, esi
call fcn.004523a0
test al, al
je 0x46b8ca
mov eax, dword [ebx + 0x80]
call fcn.00451ff4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b8ca
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x46b8be
push 0
mov eax, dword [ebx + 0x80]
call fcn.00451ff4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00449650
jmp 0x46b8ca
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.0046b6a8
pop esi
pop ebx
ret
Function at 0x100032a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
push edi
test byte [esi + 0x30], 2
je 0x1000339b
mov edi, dword [esp + 0x88]
sub edi, dword [esi + 0x1c]
push 0xffffffffffffffff
push 1
push esi
mov dword [esp + 0x20], edi
call fcn.10003180
mov eax, dword [esi + 0x14]
add esp, 0xc
test byte [eax + 8], 1
jne 0x10003394
cmp dword [eax + 0x14], 0
je 0x10003391
dec dword [eax + 0x14]
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x10003380
cmp byte [esi + 0x31], 0
je 0x10003380
mov eax, dword [esi + 0x14]
mov ebp, dword [esi + 8]
sub ebp, dword [esi + 0x1c]
mov eax, dword [eax + 4]
sub eax, dword [esi + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 8]
mov dword [esp + 0x18], 4
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x74], 0
cmp eax, 0xa0
jg 0x10003349
push 0x14
push esi
call fcn.10003260
add esp, 8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 8]
add ecx, 0xa0
mov dword [eax + 4], ecx
lea eax, [esp + 0x18]
push eax
push esi
mov byte [esi + 0x31], 0
call edi
mov eax, dword [esi + 0x14]
add esp, 8
mov ecx, dword [esi + 0x1c]
add ecx, dword [esp + 0x10]
mov byte [esi + 0x31], 1
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x1c]
add eax, ebp
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x14], 0
jne 0x100032f2
mov edi, dword [esp + 0x14]
dec dword [eax + 0x14]
mov ebp, dword [esi + 0x1c]
add ebp, edi
jmp 0x100033a2
mov ebp, dword [esp + 0x88]
add dword [esi + 0x14], 0xffffffe8
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
mov ebx, dword [esp + 0x84]
sub edi, 8
mov eax, dword [eax]
mov dword [esi + 0xc], eax
test ebx, ebx
je 0x100033f0
nop
cmp ebp, dword [esi + 8]
jae 0x100033de
mov ecx, ebp
mov edx, edi
add edi, 8
add ebp, 8
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
sub ebx, 1
jne 0x100033c0
test ebx, ebx
jle 0x100033f0
dec ebx
mov dword [edi], 0
add edi, 8
test ebx, ebx
jg 0x100033e2
mov ecx, dword [esp + 0x78]
mov dword [esi + 8], edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10007838
add esp, 0x6c
ret
Function at 0x10004a80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov ebx, ebp
push esi
mov esi, ebp
mov edx, ebp
shr esi, 5
inc esi
push edi
cmp ebp, esi
jb 0x10004abf
mov ebp, dword [esp + 0x20]
nop dword [eax]
movzx ecx, byte [edx + ebp - 1]
mov eax, ebx
shl eax, 5
sub edx, esi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp edx, esi
jae 0x10004aa0
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, ebx
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x10004b45
cmp dword [edi + 0xc], ebp
jne 0x10004b3f
mov edx, dword [esp + 0x20]
lea eax, [edi + 0x10]
mov esi, ebp
sub esi, 4
jb 0x10004af9
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x10004b02
add edx, 4
add eax, 4
sub esi, 4
jae 0x10004ae8
cmp esi, 0xfffffffc
je 0x10004c68
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10004b3f
cmp esi, 0xfffffffd
je 0x10004c68
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x10004b3f
cmp esi, 0xfffffffe
je 0x10004c68
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x10004b3f
cmp esi, 0xffffffff
je 0x10004c68
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x10004c68
mov edi, dword [edi]
test edi, edi
jne 0x10004ad5
mov edi, dword [esp + 0x1c]
lea eax, [ebp + 0x11]
push eax
push 0
push 0
push edi
call fcn.10007770
mov esi, eax
push ebp
push dword [esp + 0x34]
mov dword [esp + 0x2c], esi
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], ebp
push ecx
mov dword [esi + 8], ebx
mov word [esi + 4], 4
mov byte [esi + 6], 0
call fcn.10008430
mov byte [esi + ebp + 0x10], 0
add esp, 0x1c
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 8]
dec eax
and eax, ebx
lea ecx, [eax*4]
mov eax, dword [edx]
mov eax, dword [ecx + eax]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [ecx + eax], esi
inc dword [edx + 4]
mov eax, dword [edx + 8]
cmp dword [edx + 4], eax
jle 0x10004c5e
cmp eax, 0x3ffffffe
jg 0x10004c5e
add eax, eax
mov dword [esp + 0x24], eax
lea esi, [eax*4]
push esi
push 0
push 0
push edi
call fcn.10007770
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov ebx, dword [edi + 0x10]
mov ebp, eax
mov dword [esp + 0x10], ebx
test ecx, ecx
jle 0x10004bf4
shr esi, 2
mov edi, ebp
mov ecx, esi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 8]
xor edi, edi
test eax, eax
jle 0x10004c3c
nop dword [eax]
mov eax, dword [ebx]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x10004c30
lea ebx, [ecx - 1]
nop dword [eax]
mov eax, dword [esi + 8]
mov edx, dword [esi]
and eax, ebx
lea ecx, [eax*4]
mov eax, dword [ecx + ebp]
mov dword [esi], eax
mov dword [ecx + ebp], esi
mov esi, edx
test edx, edx
jne 0x10004c10
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
inc edi
mov ecx, dword [esp + 0x24]
cmp edi, eax
jl 0x10004c00
push 0
shl eax, 2
push eax
push dword [ebx]
mov eax, dword [esp + 0x28]
push eax
call fcn.10007770
mov eax, dword [esp + 0x34]
add esp, 0x10
mov esi, dword [esp + 0x14]
mov dword [ebx + 8], eax
mov dword [ebx], ebp
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100104bc
Capabilities:
Parse pe header

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

Function at 0x1001204d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001fde0
push 0x1001fdd8
push str.FlsAlloc
push 0x1f
call fcn.10011f0c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012081
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001d118]
call esi
jmp 0x10012087
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100120cb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001fdf0
push 0x1001fde8
push str.FlsGetValue
push 0x21
call fcn.10011f0c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012102
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001d118]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001210a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001fdf8
push 0x1001fdf0
push str.FlsSetValue
push 0x22
call fcn.10011f0c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012144
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001d118]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100154cb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10015568
push ebx
push esi
call fcn.10015494
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10015428
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10015515
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015567
push edi
push eax
call fcn.10012a32
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10015535
call fcn.10011d9f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015566
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10015428
add esp, 0x20
test eax, eax
jne 0x10015554
push edi
call fcn.10011d9f
jmp 0x1001555c
push ebx
call fcn.10011d9f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1001bf50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001bf7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001bf7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001382b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1001383a
pop dword [ebp - 0x38]
mov eax, 0x23eed485
add eax, 0xec1263b5
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x23168182
add dword [ebp - 0x48], 0x2b3bc3c9
mov dword [ebp - 0x44], 0x6e92ab55
sub dword [ebp - 0x44], 0x3c5f5f10
mov dword [ebp - 0x40], 0xdec177ca
sub dword [ebp - 0x40], 0x9275339c
mov dword [ebp - 0x3c], 0x10139a12
add dword [ebp - 0x3c], 0xefec65ee
lea eax, [ebp - 0x48]
push eax
mov eax, 0xbeb7eabe
sub eax, 0xaeb509ce
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x4d227a99
sub dword [ebp - 0x48], 0xd8b01143
mov dword [ebp - 0x44], 0x3ab3d868
sub dword [ebp - 0x44], 0xf94776f3
mov dword [ebp - 0x40], 0x548f24f2
sub dword [ebp - 0x40], 0xf11fb886
mov dword [ebp - 0x3c], 0xc0d48045
add dword [ebp - 0x3c], 0x3f2b7fbb
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x2a94c341
add eax, 0xe56e1d27
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x472ad
push 0
call eax
mov ecx, 0x940ac0f7
add ecx, 0x6bf58f4a
mov edi, eax
mov esi, 0x9fd38445
sub esi, 0x8fcf2245
add esi, dword [ebp - 0x38]
mov ebx, 0x8bda4887
add ebx, 0x11057505
xor dword [ebp - 0x18], 0xc4530883
mov edx, dword [esi]
add dword [ebp - 0x34], esi
xor edx, ebx
mov dword [edi], edx
add dword [ebp - 0xc], edi
add edi, 4
add esi, 0x4082c62e
add esi, 0xbf7d39d6
loop 0x1001395c
add eax, 0x133d7
mov ebx, eax
add eax, 5
mov ecx, 0x2ddf80c6
add ecx, 0xe2207f3a
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x2d8c3128
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x2d8c3137
pop dword [ebp - 0x30]
mov eax, 0x2d8c3137
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x28407726
sub dword [ebp - 0x40], 0xd9ee31db
mov dword [ebp - 0x3c], 0x856021c9
sub dword [ebp - 0x3c], 0x532cd584
mov dword [ebp - 0x38], 0x61d474df
add dword [ebp - 0x38], 0xea77cf4f
mov dword [ebp - 0x34], 0xb6c835d5
sub dword [ebp - 0x34], 0xb6c835d5
lea eax, [ebp - 0x40]
push eax
mov eax, 0x80510640
sub eax, 0x52c155b8
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xc89f8b95
add dword [ebp - 0x40], 0xabd2ddc1
mov dword [ebp - 0x3c], 0x1cf21da5
sub dword [ebp - 0x3c], 0xdb85bc30
mov dword [ebp - 0x38], 0x5da9c2b3
add dword [ebp - 0x38], 0x5c5a9b9
mov dword [ebp - 0x34], 0x54858d73
add dword [ebp - 0x34], 0xab7a728d
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x1f03ac76
add eax, 0xe8c041a
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x6b044
push 0
call eax
mov ecx, 0xd1ceb9e0
sub ecx, 0xd1ce7266
mov edi, eax
mov ebx, 0x2d9ae000
add ebx, dword [ebp - 0x30]
mov edx, 0x4f59ff5f
sub edx, 0xb89d4770
xor dword [ebp - 0x1c], 0x7ecdbf10
mov esi, dword [ebx]
add dword [ebp - 0x10], 0xa46fee80
sub esi, edx
xor dword [ebp - 0x28], ebx
mov dword [edi], esi
mov dword [ebp - 0x10], 0x8a122dbd
add edi, 4
add ebx, 0xf3a34dc6
sub ebx, 0xf3a34dc2
loop 0x2d8c324e
add eax, 0x8ed3f0d3
sub eax, 0x8ed2e018
xor ebx, ebx
add ebx, eax
add eax, 0xea273f54
add eax, 0x15d8c0b1
mov ecx, 0x12fc597c
sub ecx, 0xe57c597c
add ecx, dword [ebp - 0x30]
call ebx
leave
ret