joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100356d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ac13
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10082d0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.ScCore::Thread.0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 1
call sym.ScCore.dll_public:_void___thiscall_ScCore::Variant::convert_enum_ScCore::VariantType_
mov edi, eax
mov ebx, edx
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push sym.ScCore.dll_private:_static_unsigned_int___stdcall_ScCore::Thread::go_void__
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10035768
mov dword [esi + 0xc], 0x20
mov eax, esi
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov eax, dword [0x10083ae8]
test eax, eax
jne 0x1003577c
call sym.ScCore.dll_public:_static_class_ScCore::Context____cdecl_ScCore::Context::get_void_
mov dword [eax + 0x58], edi
mov dword [eax + 0x5c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10035810
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0xc], 0
jne 0x1003581f
push dword [ecx + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x10035b60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x10083c3c]
test eax, eax
jne 0x10035bc9
push dword [0x100829d0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x10035bc9
push esi
push 0x178
call sym.ScCore.dll_public:_void___thiscall_ScCore::Variant::convert_enum_ScCore::VariantType_
add esp, 4
test eax, eax
je 0x10035b96
mov ecx, eax
call sym.ScCore.dll_public:_void___thiscall_ScCore::Variant::convert_enum_ScCore::VariantType_
mov esi, eax
jmp 0x10035b98
xor esi, esi
cmp byte [0x10083c38], 0
jne 0x10035bb2
mov ecx, esi
mov dword [0x10083c3c], esi
call fcn.1001d6f0
mov eax, esi
pop esi
ret
push esi
push dword [0x100829d0]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.1001d6f0
mov eax, esi
pop esi
ret

Function at 0x10035bd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x100829d0]
cmp eax, 0xffffffff
je 0x10035c26
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10035c17
mov ecx, dword [0x10083c3c]
xor eax, eax
cmp esi, ecx
cmove ecx, eax
mov dword [0x10083c3c], ecx
mov ecx, esi
call fcn.1001d720
mov ecx, esi
call fcn.1001d6c0
push 0x178
push esi
call sym.ScCore.dll_public:_void___thiscall_ScCore::Variant::convert_enum_ScCore::VariantType_
add esp, 8
push 0
push dword [0x100829d0]
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
ret
Function at 0x1097058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10971a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x109707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x109706a
add dl, dl
jne 0x1097089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10970dc
xor eax, eax
add dl, dl
jne 0x1097096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x109717d
add dl, dl
jne 0x10970a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10970d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1097075
mov eax, 1
add dl, dl
jne 0x10970ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10970e1
sub eax, ebx
mov ebx, 1
jne 0x1097128
mov ecx, 1
add dl, dl
jne 0x109710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1097119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1097105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1097075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x109713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x109714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1097136
cmp eax, 0x7d00
jae 0x109716d
cmp eax, 0x500
jb 0x1097168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1097075
cmp eax, 0x7f
ja 0x1097170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1097075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x109719e
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 0x1097075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 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 0x40ba30
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00405060
call sub.kernel32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.kernel32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x40ba66
jmp 0x40baa5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x40ba63
cmp al, 0x20
je 0x40ba63
cmp al, 0x22
jne 0x40ba89
jmp 0x40baf4
cmp al, 0x20
lea esi, [esi]
je 0x40ba90
test al, al
je 0x40baa5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x40ba77
movzx eax, byte [ebx]
cmp al, 0x20
jne 0x40bb0a
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x40ba97
cmp al, 0x20
je 0x40ba97
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x40bab4
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.kernel32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401803
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
je 0x40bafe
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x40baf0
cmp al, 0x22
sete al
movzx eax, al
add ebx, eax
jmp 0x40ba90
cmp al, 9
je 0x40ba97
jmp 0x40baa5

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 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x403e59
pop dword [ebp - 0x1c]
mov eax, 0x5b589479
add eax, 0xa4e7a9e0
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x32a1a7e0
sub dword [ebp - 0x2c], 0xe44f6295
mov dword [ebp - 0x28], 0x1c267ec4
sub dword [ebp - 0x28], 0xe9f3327f
mov dword [ebp - 0x24], 0x63cdf882
sub dword [ebp - 0x24], 0x1781b454
mov dword [ebp - 0x20], 0x4706bd35
add dword [ebp - 0x20], 0xb8f942cb
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x13cc58cb
sub dword [ebp - 0x2c], 0x9f59ef75
mov dword [ebp - 0x28], 0x5ea5abc1
sub dword [ebp - 0x28], 0x1d394a4c
mov dword [ebp - 0x24], 0x30e6408a
add dword [ebp - 0x24], 0x32892be2
mov dword [ebp - 0x20], 0x11c13631
add dword [ebp - 0x20], 0xee3ec9cf
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x36b11
push 0
call eax
mov ecx, 0x47c7
mov edi, eax
mov esi, 0x34d71767
sub esi, 0x34961767
add esi, dword [ebp - 0x1c]
mov ebx, 0xeee54bb2
sub ebx, 0x3f19c4ff
sub dword [ebp - 0x18], eax
mov edx, dword [esi]
xor edx, ebx
add dword [ebp - 8], 0xcfcbbcf4
mov dword [edi], edx
add dword [ebp - 4], ebx
add edi, 0x38553bcf
add edi, 0xc7aac435
add esi, 4
loop 0x403f6b
add eax, 0x111ef
xor ebx, ebx
add ebx, eax
add eax, 0x75d2772d
add eax, 0x8a2d88d8
mov ecx, 0xf483e810
add ecx, 0xbbc17f0
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x40a053
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
test edx, edx
je 0x40b68a
mov dword [edx], 0x14
mov esi, dword [ebp + 0xc]
mov dword [edx + 4], 0
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [esp + 0x50], 1
mov dword [esp + 0x10], 0x17
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movsx eax, word [eax + 0xa]
mov dword [esp + 0x5c], eax
jmp 0x40a10a
xor edx, edx
mov dword [esp + 0x1c], edx
jmp 0x40a064

Function at 0x40fe40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
sub esp, 0x10
mov dword [esp + 0x28], ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x30], 3
add byte [eax], al
add byte [ebx - 0x6ffb74e9], cl

Function at 0x40fe66
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
add byte [ebx - 0x6ffb74e9], cl
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
lea ecx, [ebx + 0x134]
Function at 0x423bba
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp byte [ebp - 8], 0
je 0x423bc7
mov ecx, dword [ebp - 0xc]
and dword [ecx + 0x70], 0xfffffffd
mov eax, esi
leave
mov dword [esi + 0xc], eax
mov edx, 0x8b53c304
fcom qword [ecx + 0x51]
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
add byte [eax], al
add byte [ebx - 0x74a8a9d8], cl
jnp 0x423bf9
xor eax, eax
movzx ecx, word [edi]
mov dword [ebp - 8], ecx
cmp ax, cx
xor eax, ebp
movsb byte es:[edi], byte [esi]
inc ebx
or cl, ch
call 0xe94a7fa2
pop eax
add al, byte [eax]
add byte [ecx + 0x4c41f8], ah
cmp eax, 1
jle 0xccb73d05
call 0x104161dc
mov dh, 0x87
push 2
pop esi
cmp eax, 0x87b60ff0
ja 0x423c27
movdqu xmm0, xmmword [edi]
jmp 0x423c50
push 8
pxor xmm0, xmm0
movzx ecx, cx
pop edx
movzx eax, cx
psrldq xmm0, 2
pinsrw xmm0, eax, 7
xor eax, eax
cmp ax, cx
je 0x423c4a
add edi, esi
movzx ecx, word [edi]
dec edx
jne 0x423c31
mov ecx, dword [ebp - 8]
mov edx, dword [ebx + 8]
mov eax, edx
and eax, 0x87b60fff
cmp eax, 0x87b60ff0
ja 0x423cc5
movdqu xmm1, xmmword [edx]
pcmpistri xmm0, xmm1, 0xd
jbe 0x423c75
add edx, 0x10
mov ecx, dword [ebp - 8]
jmp 0x423c53
jae 0x423e58
pcmpistri xmm0, xmm1, 0xd
lea edx, [edx + ecx*2]
mov ecx, dword [ebx + 0xc]
mov edi, edx
mov eax, edi
mov dword [ebp - 4], ecx
and eax, 0x87b60fff
cmp eax, 0x87b60ff0
ja 0x423cdf
mov eax, ecx
and eax, 0x87b60fff
cmp eax, 0x87b60ff0
ja 0x423cdf
movdqu xmm1, xmmword [edi]
movdqu xmm2, xmmword [ecx]
pcmpistri xmm2, xmm1, 0xd
jno 0x423cf7
js 0x423cfe
mov ecx, dword [ebp - 4]
add edi, 0x10
add ecx, 0x10
jmp 0x423c89
movzx eax, word [edx]
xor edi, edi
cmp di, ax
je 0x103a3e58
pop dword [ecx]
cdq
je 0x423c84
add edx, esi
jmp 0x8b424053
cmp al, 0xb7
add dword [ebx + 0x668bfc65], eax
cmp dword [ebp - 4], eax
je 0x423cfe
cmp word [edi], ax
jne 0x423cf7
add edi, esi
add ecx, esi
jmp 0x423c89
add edx, esi
jmp 0x8b424070
mov eax, edx
jmp 0x83a83e5a
adc eax, 0xc89c933
mov edx, 0x5be38b04
ret
Function at 0x45fcd7
Capabilities:
Encode data using xor

Disassembly:
clc
push esi
push ecx
push edi
call 0x774210d3
add dword [ebx], esi
xor eax, eax
dec ebp
dec ebp
or byte [ebx - 0x7699ef3c], al
add al, 0x3e
test ecx, ecx
jle 0x45fcfb
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x45fcf2
add bh, al
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x46646f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0xc], 4
mov ebx, ecx
jne 0x4664bf
mov edi, dword [ebp + 0xc]
and dword [edi], 0
cmp dword [ebx], 0
jle 0x4664cb
mov ecx, dword [edi]
add byte [ebx + 4], al
shl ecx, 5
mov esi, dword [ecx + eax + 0xc]
mov ecx, edx
call 0x774099ea
aaa
dec ebp
or byte [esi - 0x75], dl
inc ecx
or bh, bh
xor al, ch
in al, 0xcc
sti
cld
pop ecx
pop ecx
adc dword [ebx + 0x7471974], ecx
rol dword [edi], 1
mov edx, dword [ebp + 8]
cmp eax, dword [ebx]
jl 0x46648b
jmp 0x4664cb
mov ecx, edx
call 0x77409cef
aaa
jge 0x4664d5
mov dword [edi], eax
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jge 0x4664e3
test ecx, ecx
js 0x4664e3
add byte [ebx + 4], al
shl ecx, 5
mov eax, dword [ecx + eax]
add eax, dword [ebx + 8]
jmp 0x4664ee
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xfe802
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x468ac4
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c4190]
jne 0x468ad6
call 0x8d6b8a66
mov eax, dword [0x4c7ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c7ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xdc7ddf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x468b19
fadd qword [0x4bbac8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4bbaa0]
mov esp, ebp
pop ebp
ret

Function at 0x4693e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc1adc
lea ecx, [ebp - 0x4a0000dc]
push esi
push edi
call 0xdc8e923c
push dword [ebp + 0x10]
lea ecx, [ebp - 0x4a0000dc]
call 0x8e569282
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x46942a
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0x4a0000dc]
call 0xb64693ba
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x469414
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46f3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xff025c
push ebx
push esi
push edi
mov edi, dword [0x648f204]
lea eax, [ebp - 0x23820258]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x46f436
lea eax, [ebp - 0x2382022c]
push 0xff48fb80
push eax
call 0xfd4237df
pop ecx
pop ecx
adc dword [ebx - 0x7a72cc8c], ecx
aam 0xfd
jge 0x46f3d3
xor ecx, dword [ebp + 0x7dfdd485]
fsubr qword [eax - 0x60]
movsd dword es:[edi], dword [esi]
dec ebx
add byte [eax - 0x18], dl
fld qword [ebx - 5]
cld
push 0x4ba5a0
push eax
call 0xfd4237df
pop ecx
pop ecx
adc dword [ebx + 0x75ff1c74], ecx
adc byte [ebx - 0x7272f3ab], cl
aam 0xfd
jge 0x46f3f0
je 0x46f424
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x2382022c]
call fcn.00464614
pop ecx
test byte [ebx + 0x1ac7840f], cl
cld
add byte [ebx - 0x577a72ff], dh
std
jge 0x46f406
lea eax, [ebp - 0x23820258]
push eax
push esi
dec dword [edi]
sbb dl, dh
dec eax
adc word [ebx - 0xa95b8b], cx
paddsb mm6, mm3
dec eax
push esi
dec dword [edi]
in al, dx
dec eax
cmp byte [ebp + 0x14], 0
je 0x146f1de
lea eax, [ebp - 0x23820258]
push eax
push 0x4ba598
call edi
movsd dword es:[edi], dword [esi]
dec ebx
add bh, bh
xlatb
mov esi, eax
cmp esi, 0xffffffff
je 0x46f4d5
mov edi, dword [0x6648f208]
mov ebx, dword [ebp - 4]
test byte [ebp - 0x23820258], 0x10
je 0x46f4c3
test al, 0xfd
jge 0x46f447
adc byte [ebp + edx*2 - 0x73], dh
test esp, edx
std
jge 0x46f450
lea eax, [ebp - 0x2382022c]
push 0xff48fb80
push eax
call 0xfd4237df
cld
pop ecx
pop ecx
adc dword [ebx - 0x7a72c18c], ecx
aam 0xfd
jge 0x46f467
push 0x4ba5a0
push eax
call 0xfd4237df
pop ecx
pop ecx
adc dword [ebx - 0x7a72d88c], ecx
aam 0xfd
jge 0x46f47e
push eax
call edi
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
inc edi
jne 0x46f4bc
push dword [ebp + 8]
call fcn.0046f3b0
test byte [ebx - 0x5f97c78c], cl
movsd dword es:[edi], dword [esi]
dec ebx
add bh, bh
xlatb
push 0x4ba5a0
call edi
lea eax, [ebp - 0x23820258]
push eax
push esi
dec dword [edi]
sbb dl, dh
dec eax
adc word [ebx + 0x1b39075], cx
mov bl, 1
push esi
dec dword [edi]
in al, dx
dec eax
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4013b2
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a318]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a31c]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add esi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x859928], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x859924]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x859928], 0x3eb
mov dword [0x859924], eax
mov eax, dword [0x8593b0]
cmove eax, dword [ebp - 0x1c]
mov dword [0x8593b0], eax
lea eax, [esi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x859920], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x859928], 0xb03
mov dword [ebp - 4], eax
jne 0x4014df
push str.Poh_pabatosipixalilasexamupopajohija_xopitotazucepewifodufalejilemi_karemabuzaniyuzavegusaribufate
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add esi, 0x61c88647
mov dword [ebp - 0x10], esi
dec edi
jne 0x401404
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d337
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407aeb
mov dword [ebp - 0x14], eax
cmp dword [0x8140bc], esi
jne 0x40d42a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d50a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d50a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d50a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8140bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8140c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8140c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8140cc], eax
test eax, eax
je 0x40d427
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8140c8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d44f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d442
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d464
push 4
pop eax
jmp 0x40d50c
cmp dword [ebp - 0x14], esi
je 0x40d464
push dword [0x8140bc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d449
mov eax, dword [0x8140c8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d4c2
cmp dword [0x8140cc], edi
je 0x40d4c2
push eax
call ebx
push dword [0x8140cc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d4c2
test eax, eax
je 0x40d4c2
call ecx
test eax, eax
je 0x40d4b7
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 0x40d4b7
test byte [ebp - 8], 1
jne 0x40d4c2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4f2
mov eax, dword [0x8140c0]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
call eax
mov esi, eax
test esi, esi
je 0x40d4ef
mov eax, dword [0x8140c4]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8140bc]
call ebx
test eax, eax
je 0x40d50a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d50c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404010
mov esp, ebp
pop ebp
ret