joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov dword [ebp - 0x10], 0x696e6977
mov dword [ebp - 0xc], 0x2e74656e
mov dword [ebp - 8], 0x6c6c64
mov dword [ebp - 0xa4], 0x65746e49
mov dword [ebp - 0xa0], 0x74656e72
mov dword [ebp - 0x9c], 0x63617243
mov dword [ebp - 0x98], 0x6c72556b
mov word [ebp - 0x94], 0x41
mov dword [ebp - 0x30], 0x65746e49
mov dword [ebp - 0x2c], 0x74656e72
mov dword [ebp - 0x28], 0x6e65704f
mov word [ebp - 0x24], 0x41
mov dword [ebp - 0x90], 0x65746e49
mov dword [ebp - 0x8c], 0x74656e72
mov dword [ebp - 0x88], 0x6e6e6f43
mov dword [ebp - 0x84], 0x41746365
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x54], 0x70747448
mov dword [ebp - 0x50], 0x6e65704f
mov dword [ebp - 0x4c], 0x75716552
mov dword [ebp - 0x48], 0x41747365
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x7c], 0x70747448
mov dword [ebp - 0x78], 0x646e6553
mov dword [ebp - 0x74], 0x75716552
mov dword [ebp - 0x70], 0x41747365
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x40], 0x70747448
mov dword [ebp - 0x3c], 0x72657551
mov dword [ebp - 0x38], 0x666e4979
mov word [ebp - 0x34], 0x416f
mov byte [ebp - 0x32], 0
mov dword [ebp - 0x68], 0x65746e49
mov dword [ebp - 0x64], 0x74656e72
mov dword [ebp - 0x60], 0x64616552
mov dword [ebp - 0x5c], 0x656c6946
mov byte [ebp - 0x58], 0
mov dword [ebp - 0xb8], 0x65746e49
mov dword [ebp - 0xb4], 0x74656e72
mov dword [ebp - 0xb0], 0x736f6c43
mov dword [ebp - 0xac], 0x6e614865
mov dword [ebp - 0xa8], 0x656c64
mov dword [ebp - 0xd0], 0x70747448
mov dword [ebp - 0xcc], 0x52646441
mov dword [ebp - 0xc8], 0x65757165
mov dword [ebp - 0xc4], 0x65487473
mov dword [ebp - 0xc0], 0x72656461
mov word [ebp - 0xbc], 0x4173
mov byte [ebp - 0xba], 0
mov dword [ebp - 0x20], 0x64616f4c
mov dword [ebp - 0x1c], 0x7262694c
mov dword [ebp - 0x18], 0x41797261
mov byte [ebp - 0x14], 0
call fcn.00401ad0
mov edx, eax
call fcn.00401b20
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push edx
call edi
lea ecx, [ebp - 0x10]
push ecx
call eax
lea edx, [ebp - 0xa4]
mov ebx, eax
push edx
push ebx
call edi
mov dword [esi], eax
lea eax, [ebp - 0x30]
push eax
push ebx
call edi
lea ecx, [ebp - 0x90]
push ecx
push ebx
mov dword [esi + 4], eax
call edi
lea edx, [ebp - 0x54]
push edx
push ebx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x7c]
push eax
push ebx
call edi
lea ecx, [ebp - 0x68]
push ecx
push ebx
mov dword [esi + 0x10], eax
call edi
lea edx, [ebp - 0xd0]
push edx
push ebx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x40]
push eax
push ebx
call edi
lea ecx, [ebp - 0xb8]
push ecx
push ebx
mov dword [esi + 0x1c], eax
call edi
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x20], eax
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
Function at 0x4027c0
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
xor edx, edx
push edi
push eax
mov dword [ebp - 0x25c], 0x720063
mov dword [ebp - 0x258], 0x730061
mov dword [ebp - 0x254], 0x700068
mov dword [ebp - 0x250], 0x640061
mov dword [ebp - 0x24c], 0x68005f
mov dword [ebp - 0x248], 0x6e0061
mov dword [ebp - 0x244], 0x6c0064
mov dword [ebp - 0x240], 0x720065
mov dword [ebp - 0x23c], 0x65002e
mov dword [ebp - 0x238], 0x650078
mov word [ebp - 0x234], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x402899
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x25c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4028d6
test dx, dx
je 0x4028d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4028d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4028b0
xor eax, eax
jmp 0x4028db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4028ef
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x4028a0
jmp 0x4028f5
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
Function at 0x402910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x60], 0x38334235
mov dword [ebp - 0x5c], 0x35463833
mov dword [ebp - 0x58], 0x3843302d
mov dword [ebp - 0x54], 0x36342d31
mov dword [ebp - 0x50], 0x412d3944
mov dword [ebp - 0x4c], 0x2d304334
mov dword [ebp - 0x48], 0x32414536
mov dword [ebp - 0x44], 0x33414338
mov dword [ebp - 0x40], 0x32343945
mov byte [ebp - 0x3c], bl
mov dword [ebp - 0x10], 0x72657375
mov dword [ebp - 0xc], 0x642e3233
mov word [ebp - 8], 0x6c6c
mov byte [ebp - 6], bl
mov dword [ebp - 0x1c], 0x646e6946
mov dword [ebp - 0x18], 0x646e6957
mov dword [ebp - 0x14], 0x41776f
mov dword [ebp - 0x28], 0x74697845
mov dword [ebp - 0x24], 0x636f7250
mov dword [ebp - 0x20], 0x737365
mov dword [ebp - 0x38], 0x64616f4c
mov dword [ebp - 0x34], 0x7262694c
mov dword [ebp - 0x30], 0x41797261
mov byte [ebp - 0x2c], bl
call fcn.00401ad0
mov esi, eax
mov edx, esi
call fcn.00401b20
mov edi, eax
lea eax, [ebp - 0x38]
push eax
push esi
call edi
lea ecx, [ebp - 0x10]
push ecx
call eax
lea edx, [ebp - 0x1c]
push edx
push eax
call edi
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x28]
push eax
push esi
call edi
push ebx
lea ecx, [ebp - 0x60]
push ecx
mov esi, eax
call dword [ebp - 0x64]
test eax, eax
jne 0x402a2f
call fcn.004027c0
test eax, eax
jne 0x402a19
push ebx
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 2
pop ebx
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
Function at 0x402a50
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x228
mov word [ebp - 0x234], ax
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 0x240], 0x510051
mov dword [ebp - 0x23c], 0x65002e
mov dword [ebp - 0x238], 0x650078
mov dword [ebp - 0x250], 0x490054
mov dword [ebp - 0x24c], 0x2e004d
mov dword [ebp - 0x248], 0x780065
xor edx, edx
mov dword [ebp - 0x244], 0x65
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x402b0d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x402b20
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x240]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402b56
test dx, dx
je 0x402b52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402b56
add eax, 4
add ecx, 4
test dx, dx
jne 0x402b30
xor eax, eax
jmp 0x402b5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402bb3
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x250]
jmp 0x402b70
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402b96
test dx, dx
je 0x402b92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402b96
add eax, 4
add ecx, 4
test dx, dx
jne 0x402b70
xor eax, eax
jmp 0x402b9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402bb3
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x402b20
jmp 0x402bb9
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
Function at 0x402be0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push edi
push eax
push 4
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x402c42
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Thread32Next]
lea esp, [esp]
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x14], ecx
je 0x402c65
lea edx, [ebp - 0x20]
push edx
push esi
call ebx
test eax, eax
jne 0x402c50
jmp 0x402c68
mov edi, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
Function at 0x403c70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0x696e6977
mov dword [ebp - 0xc], 0x2e74656e
mov dword [ebp - 8], 0x6c6c64
mov dword [ebp - 0xa4], 0x65746e49
mov dword [ebp - 0xa0], 0x74656e72
mov dword [ebp - 0x9c], 0x63617243
mov dword [ebp - 0x98], 0x6c72556b
mov word [ebp - 0x94], 0x41
mov dword [ebp - 0x30], 0x65746e49
mov dword [ebp - 0x2c], 0x74656e72
mov dword [ebp - 0x28], 0x6e65704f
mov word [ebp - 0x24], 0x41
mov dword [ebp - 0x90], 0x65746e49
mov dword [ebp - 0x8c], 0x74656e72
mov dword [ebp - 0x88], 0x6e6e6f43
mov dword [ebp - 0x84], 0x41746365
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x54], 0x70747448
mov dword [ebp - 0x50], 0x6e65704f
mov dword [ebp - 0x4c], 0x75716552
mov dword [ebp - 0x48], 0x41747365
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x7c], 0x70747448
mov dword [ebp - 0x78], 0x646e6553
mov dword [ebp - 0x74], 0x75716552
mov dword [ebp - 0x70], 0x41747365
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x40], 0x70747448
mov dword [ebp - 0x3c], 0x72657551
mov dword [ebp - 0x38], 0x666e4979
mov word [ebp - 0x34], 0x416f
mov byte [ebp - 0x32], 0
mov dword [ebp - 0x68], 0x65746e49
mov dword [ebp - 0x64], 0x74656e72
mov dword [ebp - 0x60], 0x64616552
mov dword [ebp - 0x5c], 0x656c6946
mov byte [ebp - 0x58], 0
mov dword [ebp - 0xb8], 0x65746e49
mov dword [ebp - 0xb4], 0x74656e72
mov dword [ebp - 0xb0], 0x736f6c43
mov dword [ebp - 0xac], 0x6e614865
mov dword [ebp - 0xa8], 0x656c64
mov dword [ebp - 0xd0], 0x70747448
mov dword [ebp - 0xcc], 0x52646441
mov dword [ebp - 0xc8], 0x65757165
mov dword [ebp - 0xc4], 0x65487473
mov dword [ebp - 0xc0], 0x72656461
mov word [ebp - 0xbc], 0x4173
mov byte [ebp - 0xba], 0
mov dword [ebp - 0x20], 0x64616f4c
mov dword [ebp - 0x1c], 0x7262694c
mov dword [ebp - 0x18], 0x41797261
mov byte [ebp - 0x14], 0
call fcn.00401ad0
mov edx, eax
call fcn.00401b20
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push edx
call esi
lea ecx, [ebp - 0x10]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x403e51
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xa4]
push edx
push edi
call esi
mov dword [0x407744], eax
lea eax, [ebp - 0x30]
push eax
push edi
call esi
lea ecx, [ebp - 0x90]
push ecx
push edi
mov dword [0x407740], eax
call esi
lea edx, [ebp - 0x54]
push edx
push edi
mov dword [0x40773c], eax
call esi
mov dword [0x407738], eax
lea eax, [ebp - 0x7c]
push eax
push edi
call esi
lea ecx, [ebp - 0x68]
push ecx
push edi
mov dword [0x407734], eax
call esi
lea edx, [ebp - 0xd0]
push edx
push edi
mov dword [0x407730], eax
call esi
mov dword [0x40772c], eax
lea eax, [ebp - 0x40]
push eax
push edi
call esi
lea ecx, [ebp - 0xb8]
push ecx
push edi
mov dword [0x407728], eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x407724], eax
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00404e7c
mov esp, ebp
pop ebp
ret
Function at 0x404e7c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x407018]
jne 0x404e86
repz ret
jmp fcn.0040528d
Function at 0x100040e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100104f8
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x10018198]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
call fcn.10001ac0
mov dword [ebp - 4], 0
mov byte [ebp + 8], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xffffffff
jne 0x10004157
mov byte [ebp - 0x152], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001c30
mov al, byte [ebp - 0x152]
jmp 0x10004222
mov dword [ebp - 0x150], 0x128
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x100041a3
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x153], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001c30
mov al, byte [ebp - 0x153]
jmp 0x10004222
mov dword [ebp - 0x15c], 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10001db0
mov ecx, 0x10018f88
call fcn.10005f10
add eax, 1
push eax
mov ecx, 0x10018f88
call fcn.10005e40
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x10018f88
call fcn.10005cd0
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x158]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100041a3
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x151], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001c30
mov al, byte [ebp - 0x151]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007719
mov esp, ebp
pop ebp
ret
Function at 0x10004a10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10004a34
xor eax, eax
jmp 0x10004ab4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10004a4b
xor eax, eax
jmp 0x10004ab4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x10004a97
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x10004a97
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x10004a6e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x10004aa3
xor eax, eax
jmp 0x10004ab4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x10004ab1
xor eax, eax
jmp 0x10004ab4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000dd0b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10018198]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.1000a9cb
mov dword [ebp - 0x14], eax
cmp dword [0x10019c24], edi
jne 0x1000ddfc
push 0x800
push edi
push 0x10013378
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1000dd89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1000dedc
push 0x10013378
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000dedc
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000dedc
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10019c24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10019c28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10019c2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10019c34], eax
test eax, eax
je 0x1000ddf9
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10019c30], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1000de21
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000de14
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1000de36
push 4
pop eax
jmp 0x1000dede
cmp dword [ebp - 0x14], edi
je 0x1000de36
push dword [0x10019c24]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1000de1b
mov eax, dword [0x10019c30]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1000de94
cmp dword [0x10019c34], esi
je 0x1000de94
push eax
call ebx
push dword [0x10019c34]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1000de94
test eax, eax
je 0x1000de94
call ecx
test eax, eax
je 0x1000de89
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 0x1000de89
test byte [ebp - 8], 1
jne 0x1000de94
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1000dec4
mov eax, dword [0x10019c28]
cmp eax, esi
je 0x1000dec1
push eax
call ebx
test eax, eax
je 0x1000dec1
call eax
mov edi, eax
test edi, edi
je 0x1000dec1
mov eax, dword [0x10019c2c]
cmp eax, esi
je 0x1000dec1
push eax
call ebx
test eax, eax
je 0x1000dec1
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10019c24]
call ebx
test eax, eax
je 0x1000dedc
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1000dede
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007719
leave
ret
Function at 0x10018ae3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10018b22
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10018b22
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10018b22
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10018b22
cmp dword [ecx + 0x74], 0xe
jbe 0x10018b22
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001b79f
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 0x1001b83c
push ebx
push esi
call fcn.1001b768
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.1001b6fc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001b7e9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001b83b
push edi
push eax
call fcn.1001c75a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001b809
call fcn.1001a244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001b83a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001b6fc
add esp, 0x20
test eax, eax
jne 0x1001b828
push edi
call fcn.1001a244
jmp 0x1001b830
push ebx
call fcn.1001a244
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 0x1001baa9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023cc8
push 0x10023cc0
push str.FlsAlloc
push 0x1f
call fcn.1001b9c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001badd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10022150]
call esi
jmp 0x1001bae3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001bb27
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023cd8
push 0x10023cd0
push str.FlsGetValue
push 0x21
call fcn.1001b9c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001bb5e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10022150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001bb66
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023ce0
push 0x10023cd8
push str.FlsSetValue
push 0x22
call fcn.1001b9c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001bba0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10022150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10021220
Capabilities:
Parse pe header

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

Disassembly:
cmp ecx, dword [0x4530b0]
jne 0x4042ba
repz ret
jmp fcn.004064a0
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219