joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013bfe0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015324e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
push edi
mov eax, dword [0x1030e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x1031731c]
lea edx, [ebp - 0xb0]
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov dword [ebp - 4], 0
mov edx, dword [eax + 0x30]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x78], ecx
mov eax, dword [eax]
movss xmm0, dword [eax]
mov eax, 1
movss dword [ebp - 0x44], xmm0
lock xadd dword [0x10318838], eax
inc eax
movups xmm0, xmmword [ebp - 0x44]
mov esi, dword [esi + 8]
dec eax
mov dword [ebp - 0x74], eax
sub esp, 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, esp
movups xmmword [ebp - 0x6c], xmm0
mov edi, dword [esi + 0x10]
movq xmm0, qword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [esi]
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x70], edx
lea edx, [ebp - 0x50]
movups xmm0, xmmword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x14]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x24], esp
movups xmm0, xmmword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push ecx
movups xmmword [ebp - 0x40], xmm0
push eax
movq xmm0, qword [ebp - 0x58]
push edx
movq qword [ebp - 0x30], xmm0
call fcn.1010d160
mov byte [ebp - 4], 1
sub esp, 0x18
mov edx, dword [ebp - 0x14]
mov eax, esp
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], esi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.1010b220
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.100126b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.100126b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1013cf6e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1013cf95
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1013cf98
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1013cf4a
pop esi
leave
ret 8
Function at 0x10001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
sub eax, 0
je 0x1000119e
sub eax, 1
jne 0x100011aa
push ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 8
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000107e
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 0
push eax
push 4
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 4
push eax
push 0x14
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1000107e
cmp dword [ebp - 0x34], 0
setne bl
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1000108c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x100010a3
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100011c0
mov esp, ebp
pop ebp
ret 0xc
push esi
push edi
push str..PATCHh_transmog.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100132cc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
push 0
call esi
push 0
lea edi, [eax + 0x61525]
call esi
push 0
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0xccccccc3
lea esi, [eax + 0x61530]
mov dword [ebp - 0xc], 0xcccccccc
lea eax, [ebp - 0x2c]
mov dword [ebp - 8], 0x68cccccc
push eax
push edi
push ebx
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10001193
lea ecx, [ebp - 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
cmp eax, dword [edx]
jne 0x10001193
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x10001193
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
jne 0x10001193
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea eax, [ebp - 0x30]
push eax
push 0x40
push 0xc
push esi
push ebx
mov dword [ebp - 0x30], 0
call edi
test eax, eax
je 0x10001193
push 0
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x909090c3
push eax
push esi
push ebx
mov dword [ebp - 0x1c], 0x90909090
mov dword [ebp - 0x18], 0xc3909090
mov dword [ebp - 0x14], 0x90909090
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001193
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push 0xc
push esi
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
jmp 0x100011aa
push dword [0x100132cc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop ebx
call fcn.100011c0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000b030
Capabilities:
Parse pe header

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

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.004019f0
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x404731]
lea edx, [fcn.00401a74]
sub eax, edx
push eax
push fcn.00401a74
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x40132d
push edi
call fcn.004018e0
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.0040192f
mov eax, edi
add eax, 0x1e200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov esi, dword [ebp - 0x88]
mov ecx, edi
sar esi, cl
push esi
lea esi, [0x4070e4]
mov ebx, edi
dec ebx
and esi, ebx
push esi
call fcn.00401a74
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4019f0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push edi
and dword [ebp - 0x120], 0
xor edi, edi
push 0
push 0
call sub.USER32.DLL_GetWindowLongA
push 0
push 0
call sub.USER32.DLL_GetDlgItem
push 0
push 0
push 0
push 0
call sub.USER32.DLL_GetDlgItemInt
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x520918
Capabilities:
Parse pe header

Disassembly:
push 0x668de8ce
mov dword [esp], esi
sub esp, 4
mov dword [esp], ebx
mov ebx, 0x5983eabf
mov dword [esp + 4], ebx
pop ebx
mov dword [esp], edx
push ebp
mov ebp, esp
push edx
mov edx, 4
add ebp, edx
pop edx
sub ebp, 4
push ebp
push dword [esp + 4]
pop ebp
pop dword [esp]
pop esp
mov dword [esp], ecx
pop edx
push dword [esp]
pop edx
push ecx
mov ecx, esp
add ecx, 4
push edx
mov edx, 4
add ecx, edx
je 0x4f2063
jmp 0x53f327
jne 0x4f2063
jmp 0x513b29
push esi
mov dword [esp], edi
push ecx
mov ecx, 0x1779e14b
mov dword [esp + 4], ecx
pop ecx
mov dword [esp], ecx
push esi
mov esi, 0x7fffb953
xchg esi, ebp
not ebp
xchg esi, ebp
push edi
mov edi, 0x5ef7b4b2
neg edi
sub edi, 0x7ffbb77d
shl edi, 1
neg edi
push edx
mov edx, 0x4ad7bc15
not edx
sub edx, 0xf80821c6
sub edi, edx
pop edx
sub esi, edi
pop edi
add ecx, esi
pop esi
add ecx, eax
sub ecx, 0x7f399072
mov ecx, dword [esp]
sub esp, 4
mov dword [esp], ebx
mov ebx, esp
add ebx, 4
push eax
mov eax, 4
add ebx, eax
pop eax
xchg dword [esp], ebx
mov esp, dword [esp]
push dword [0x4c5910]
mov eax, dword [esp]
push edi
mov edi, esp
add edi, 4
push 0x3393ac74
mov dword [esp], ecx
mov ecx, 4
add edi, ecx
pop ecx
xchg dword [esp], edi
pop esp
jmp 0x517c60
push 0x32ef02f
mov dword [esp], esi
push ebp
mov ebp, 0x30c10bab
mov dword [esp + 4], ebp
mov ebp, dword [esp]
add esp, 4
mov dword [esp], edx
push esi
mov esi, esp
add esi, 4
sub esi, 4
xor esi, dword [esp]
xor dword [esp], esi
xor esi, dword [esp]
mov esp, dword [esp]
mov dword [esp], ecx
pop edx
push dword [esp]
mov edx, dword [esp]
add esp, 4
push edi
mov edi, esp
push ebp
mov ebp, 4
add edi, ebp
pop ebp
add edi, 4
xchg dword [esp], edi
pop esp
push dword [eax + 0x3c]
push dword [esp]
pop eax
push 0xf4d9e62
mov dword [esp], edx
mov edx, esp
add edx, 4
add edx, 4
xchg dword [esp], edx
pop esp
push 0x585c6b38
mov dword [esp], ecx
push eax
mov eax, 0x7328e65f
mov dword [esp + 4], eax
pop eax
mov dword [esp], eax
mov dword [esp], ebx
push eax
push esp
pop eax
add eax, 4
sub eax, 4
push eax
push dword [esp + 4]
pop eax
pop dword [esp]
pop esp
mov dword [esp], ecx
pop ebx
mov ebx, dword [esp]
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], ebx
mov ebx, 4
add ebp, ebx
pop ebx
add ebp, 4
xor ebp, dword [esp]
xor dword [esp], ebp
xor ebp, dword [esp]
pop esp
jmp 0x4f36c8
add esp, 4
jmp 0x520880
test eax, eax
jmp 0x4f4bd9
pop esi
push eax
mov eax, 4
add esi, eax
pop eax
add esi, 4
xchg dword [esp], esi
pop esp
push ecx
mov dword [esp], edx
push edi
mov edi, 0x4fb6e42d
mov dword [esp + 4], edi
pop edi
mov dword [esp], esi
pop dword [0x4c5910]
jmp 0x53f31d
call fcn.00417ca0
jmp 0x520870
cmp word [esi], 0x5a4d
jmp 0x4f4be4
Function at 0xa36790
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a368e0
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa367b6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa367a2
add dl, dl
jne 0xa367c1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa36814
xor eax, eax
add dl, dl
jne 0xa367ce
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa368b5
add dl, dl
jne 0xa367dd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa367e8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa367f3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa367fe
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa3680a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa367ad
mov eax, 1
add dl, dl
jne 0xa36822
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa3682d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa36819
sub eax, ebx
mov ebx, 1
jne 0xa36860
mov ecx, 1
add dl, dl
jne 0xa36846
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa36851
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa3683d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa367ad
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa36877
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa36882
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa3686e
cmp eax, 0x7d00
jae 0xa368a5
cmp eax, 0x500
jb 0xa368a0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa367ad
cmp eax, 0x7f
ja 0xa368a8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa367ad
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa368d6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa367ad
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
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
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1ef5763c
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xcfe7c23
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1019f51d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1019f55c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1019f55c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1019f55c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1019f55c
cmp dword [ecx + 0x74], 0xe
jbe 0x1019f55c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x101a220d
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 0x101a22aa
push ebx
push esi
call fcn.101a21d6
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.101a216a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x101a2257
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101a22a9
push edi
push eax
call fcn.101a01ad
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x101a2277
call fcn.101a01fb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101a22a8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.101a216a
add esp, 0x20
test eax, eax
jne 0x101a2296
push edi
call fcn.101a01fb
jmp 0x101a229e
push ebx
call fcn.101a01fb
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 0x101a2517
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101a9940
push 0x101a9938
push str.FlsAlloc
push 0x1f
call fcn.101a2433
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101a254b
push dword [ebp + 8]
mov ecx, esi
call dword [0x101a8120]
call esi
jmp 0x101a2551
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101a2595
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101a9950
push 0x101a9948
push str.FlsGetValue
push 0x21
call fcn.101a2433
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101a25cc
push dword [ebp + 8]
mov ecx, esi
call dword [0x101a8120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x101a25d4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101a9958
push 0x101a9950
push str.FlsSetValue
push 0x22
call fcn.101a2433
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101a260e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x101a8120]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x101a7c50
Capabilities:
Parse pe header

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

Function at 0x40546b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c5e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404168
and dword [ebp - 0x14], 0
cmp dword [0x40e008], 0
mov dword [ebp - 0x18], eax
jne 0x40551e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4055c6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4055c6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40e008], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40e00c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40e010], eax
call edi
push eax
call esi
mov dword [0x40e018], eax
test eax, eax
je 0x40551e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40e014], eax
mov eax, dword [0x40e014]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405577
cmp dword [0x40e018], ecx
je 0x405577
push eax

Function at 0x4057d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c5e0]
jne 0x4057e0
repz ret
jmp fcn.00406b13

Function at 0x406b52
Capabilities:
Terminate process

Disassembly:
cmp cl, ah
inc eax
add byte [esi - 0x74], ah
add eax, 0x40e134
mov word [0x40e130], fs
mov word [0x40e12c], gs
pushfd
pop dword [0x40e160]
mov eax, dword [ebp]
mov dword [0x40e154], eax
mov eax, dword [ebp + 4]
mov dword [0x40e158], eax
lea eax, [ebp + 8]
mov dword [0x40e164], eax
mov eax, dword [ebp - 0x320]
mov dword [0x40e0a0], 0x10001
mov eax, dword [0x40e158]
mov dword [0x40e054], eax
mov dword [0x40e048], 0xc0000409
mov dword [0x40e04c], 1
mov eax, dword [0x40c5e0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40c5e4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x40e098], eax
push 1
call fcn.00406a81
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x409860
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x40e098], 0
jne 0x406c05
push 1
call fcn.00406a81
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x407530
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
jmp 0x407544
movsb byte es:[edi], byte [esi]
add ebx, ebx
jne 0x40754b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40753f
xor eax, eax
inc eax
add ebx, ebx
jne 0x40755b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jne 0x407568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407550
xor ecx, ecx
sub eax, 3
jb 0x40757e
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4075ce
mov ebp, eax
add ebx, ebx
jne 0x407589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407596
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4075b7
inc ecx
add ebx, ebx
jne 0x4075a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4075b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40759b
inc ecx
inc ecx
cmp ebp, 0xfffff300
adc ecx, 1
mov edx, esi
lea esi, [edi + ebp]
rep movsb byte es:[edi], byte [esi]
mov esi, edx
jmp 0x407540
pop esi
mov edi, esi
mov ecx, 0x140b
mov al, pe_nt_image_headers32
repne scasb al, byte es:[edi]
jne 0x4075f3
cmp byte [edi], 1
jne 0x4075d8
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x4075d6
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x40763b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7670]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x76c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4075f9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x76c4]
or eax, eax
je 0x407635
mov dword [ebx], eax
add ebx, 4
jmp 0x407616
call dword [esi + 0x76d4]
mov ebp, dword [esi + 0x76c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40766f
sub esp, 0xffffff80
jmp 0x4022f0

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x1248781c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x2250530e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219