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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x51a744]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 4
lea eax, [edi - 4]
movzx edx, ax
mov ecx, edx
mov dword [ebp - 0x1c], edx
and ecx, 3
je 0x439aa1
mov eax, dword [ebp - 0x24]
sub eax, ecx
movzx eax, ax
mov dword [ebp - 0x18], eax
movzx eax, ax
push eax
movzx eax, dx
add eax, 4
add eax, esi
push 0
push eax
call fcn.0045da00
add esp, 0xc
lea eax, [edi - 4]
xor ch, ch
cmp word [ebp - 0x24], di
jae 0x439ad5
lea edx, [esi + 4]
movzx edi, ax
nop
mov al, byte [edx]
lea edx, [edx + 1]
mov cl, byte [ebx + 9]
add ch, al
add al, cl
add cl, 5
movzx eax, al
mov al, byte [eax + ebx + 0x112]
mov byte [ebx + 9], cl
mov byte [edx - 1], al
dec edi
jne 0x439ab0
mov edi, dword [ebp + 0xc]
not ch
mov word [esi + 2], di
inc ch
mov byte [esi + 1], ch
mov al, byte [ebx + 0x212]
mov byte [esi], al
cmp dword [ebx + 4], 0
mov esi, dword [ebx + 0xa]
jne 0x439b59
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
call esi
movzx ecx, word [ebp - 0x14]
imul edi, eax
movzx eax, word [ebp - 0xc]
xor ecx, eax
movzx eax, di
xor ecx, eax
movzx eax, word [ebp - 0xe]
xor ecx, eax
movzx eax, word [ebp - 0x10]
xor ecx, eax
imul ecx, ecx, 0x3adcf
add ecx, 0x26a6ed
shr ecx, 0x10
mov eax, ecx
shr eax, 0x10
imul esi, eax, 0x3adcf
add esi, 0x26a6ed
and esi, 0xffff0000
or esi, ecx
xor esi, dword [ebx + 0x213]
mov dword [ebx + 0xa], esi
mov dword [ebx + 0xe], esi
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
movzx ecx, ax
add edi, 4
mov eax, dword [ebp - 0x1c]
mov edx, edi
movzx eax, ax
add ecx, eax
shr ecx, 2
movzx eax, cx
xor ecx, ecx
cmp cx, ax
jae 0x439bc4
mov dword [ebp - 0x18], eax
nop
xor dword [edx], esi
lea edi, [edi + 4]
movzx ecx, word [edi - 4]
add edx, 4
movzx eax, word [edi - 2]
mov dword [ebp - 0x1c], edx
imul edx, eax, 0x3adcf
imul esi, ecx, 0x3adcf
add edx, 0x26a6ed
add esi, 0x26a6ed
and edx, 0xffff0000
shr esi, 0x10
or esi, edx
mov edx, dword [ebp - 0x1c]
xor esi, dword [ebx + 0x213]
dec dword [ebp - 0x18]
jne 0x439b80
cmp dword [ebx + 4], 0
mov eax, dword [ebp + 0xc]
jne 0x439bf7
mov ecx, dword [ebp - 0x20]
movzx eax, ax
push eax
lea edi, [ecx + 8]
lea eax, [ecx + 0xc]
push edi
push eax
call fcn.0045a7f0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebx + 0xa]
mov dword [edi], ecx
add word [eax + 2], 4
mov eax, dword [ebp + 0xc]
add eax, 4
mov ecx, dword [ebp - 4]
inc dword [ebx + 4]
xor ecx, ebp
pop edi
mov dword [ebx + 0xa], esi
pop esi
pop ebx
call fcn.0045a560
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43b070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x51a744]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
lea eax, [esi - 4]
mov dword [ebp - 0x18], 0
movzx edx, ax
mov ecx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], 4
and ecx, 3
je 0x43b0d1
mov eax, dword [ebp - 0x1c]
sub eax, ecx
movzx eax, ax
mov dword [ebp - 0x18], eax
movzx eax, ax
push eax
movzx eax, dx
add eax, 4
add eax, edi
push 0
push eax
call fcn.0045da00
add esp, 0xc
lea eax, [esi - 4]
xor ch, ch
cmp word [ebp - 0x1c], si
jae 0x43b105
lea edx, [edi + 4]
movzx esi, ax
nop
mov al, byte [edx]
lea edx, [edx + 1]
mov cl, byte [ebx + 9]
add ch, al
add al, cl
add cl, 3
movzx eax, al
mov al, byte [eax + ebx + 0x112]
mov byte [ebx + 9], cl
mov byte [edx - 1], al
dec esi
jne 0x43b0e0
mov esi, dword [ebp + 0xc]
not ch
mov word [edi + 2], si
inc ch
mov byte [edi + 1], ch
mov al, byte [ebx + 0x212]
mov byte [edi], al
cmp dword [ebx + 4], 0
mov esi, dword [ebx + 0xa]
jne 0x43b18c
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
call esi
movzx ecx, word [ebp - 0x14]
imul edi, eax
movzx eax, word [ebp - 0xc]
xor ecx, eax
movzx eax, di
xor ecx, eax
mov edi, dword [ebp - 0x20]
movzx eax, word [ebp - 0xe]
xor ecx, eax
movzx eax, word [ebp - 0x10]
xor ecx, eax
imul ecx, ecx, 0x3adcf
add ecx, 0x26a6ed
shr ecx, 0x10
mov eax, ecx
shr eax, 0x10
imul esi, eax, 0x3adcf
add esi, 0x26a6ed
and esi, 0xffff0000
or esi, ecx
xor esi, dword [ebx + 0x213]
mov dword [ebx + 0xa], esi
mov dword [ebx + 0xe], esi
mov eax, dword [ebp - 0x18]
lea edx, [edi + 4]
movzx ecx, ax
mov eax, dword [ebp - 0x24]
movzx eax, ax
add ecx, eax
mov dword [ebp - 0x1c], edx
shr ecx, 2
movzx eax, cx
xor ecx, ecx
cmp cx, ax
jae 0x43b1f2
mov dword [ebp - 0x18], eax
mov edi, edx
xor dword [edi], esi
lea edi, [edi + 4]
movzx eax, word [edx]
lea edx, [edx + 4]
imul ecx, eax, 0x3adcf
movzx eax, word [edx - 2]
imul esi, eax, 0x3adcf
add ecx, 0x26a6ed
shr ecx, 0x10
add esi, 0x26a6ed
and esi, 0xffff0000
or esi, ecx
xor esi, dword [ebx + 0x213]
dec dword [ebp - 0x18]
jne 0x43b1b2
mov edi, dword [ebp - 0x20]
cmp dword [ebx + 4], 0
mov eax, dword [ebp + 0xc]
jne 0x43b225
movzx eax, ax
add edi, 8
push eax
mov eax, dword [ebp - 0x20]
add eax, 0xc
push edi
push eax
call fcn.0045a7f0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebx + 0xa]
mov dword [edi], ecx
add word [eax + 2], 4
mov eax, dword [ebp + 0xc]
add eax, 4
mov ecx, dword [ebp - 4]
inc dword [ebx + 4]
xor ecx, ebp
pop edi
mov dword [ebx + 0xa], esi
pop esi
pop ebx
call fcn.0045a560
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43d350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 4], 0
mov esi, 4
lea eax, [edi - 4]
movzx edx, ax
mov ecx, edx
mov dword [ebp - 8], edx
and ecx, 3
je 0x43d3a1
sub esi, ecx
movzx eax, si
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, ax
push eax
movzx eax, dx
add eax, 4
add eax, esi
push 0
push eax
call fcn.0045da00
add esp, 0xc
lea eax, [edi - 4]
jmp 0x43d3a4
mov esi, dword [ebp + 8]
mov edx, 4
xor ch, ch
cmp dx, di
jae 0x43d3db
lea edx, [esi + 4]
movzx edi, ax
mov al, byte [edx]
lea edx, [edx + 1]
mov cl, byte [ebx + 9]
add ch, al
add al, cl
add cl, 3
movzx eax, al
mov al, byte [eax + ebx + 0x112]
mov byte [ebx + 9], cl
mov byte [edx - 1], al
dec edi
jne 0x43d3b6
mov edi, dword [ebp + 0xc]
not ch
mov word [esi + 2], di
inc ch
mov byte [esi + 1], ch
mov al, byte [ebx + 0x212]
mov byte [esi], al
cmp dword [ebx + 4], 0
mov edi, dword [ebx + 0xa]
jne 0x43d403
mov edi, dword [ebx + 0x213]
mov dword [ebx + 0xa], edi
mov dword [ebx + 0xe], edi
mov eax, dword [ebp - 4]
lea edx, [esi + 4]
movzx ecx, ax
mov eax, dword [ebp - 8]
movzx eax, ax
add ecx, eax
mov dword [ebp - 0xc], edx
shr ecx, 2
movzx eax, cx
xor ecx, ecx
cmp cx, ax
jae 0x43d472
mov dword [ebp - 4], eax
mov esi, edx
lea esp, [esp]
xor dword [esi], edi
lea esi, [esi + 4]
movzx eax, word [edx + 2]
lea edx, [edx + 4]
movzx ecx, word [edx - 4]
imul edi, eax, 0x3adcf
mov eax, ecx
imul eax, eax, 0x3adcf
add edi, 0x26a6ed
add eax, 0x26a6ed
and edi, 0xffff0000
shr eax, 0x10
or edi, eax
xor edi, dword [ebx + 0x213]
dec dword [ebp - 4]
jne 0x43d430
mov esi, dword [ebp + 8]
cmp dword [ebx + 4], 0
mov eax, dword [ebp + 0xc]
jne 0x43d4a5
movzx eax, ax
add esi, 8
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push esi
push eax
call fcn.0045a7f0
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebx + 0xa]
mov dword [esi], ecx
add word [eax + 2], 4
mov eax, dword [ebp + 0xc]
add eax, 4
inc dword [ebx + 4]
mov dword [ebx + 0xa], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43fa10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43fa29
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43fa64
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x43fa60
lea ebx, [ebx]
cmp esi, edx
jae 0x43fa64
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x43fa50
cmp esi, edx
jb 0x43fa6b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43fbc0
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x51a744]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 2]
lea ecx, [ecx]
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [ebp + edx - 0xc], cl
movzx ecx, byte [eax - 5]
mov byte [ebp + edx - 0xb], cl
movzx ecx, byte [eax - 4]
mov byte [ebp + edx - 0xa], cl
movzx ecx, byte [eax - 3]
mov byte [ebp + edx - 9], cl
add edx, 4
cmp edx, 8
jb 0x43fbe0
mov eax, dword [esi]
mov ecx, 0x38
shr eax, 3
and eax, 0x3f
cmp eax, 0x38
jb 0x43fc22
mov ecx, 0x78
sub ecx, eax
lea ebx, [esi + 0x58]
push ecx
push ebx
mov ecx, esi
call fcn.0043faf0
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.0043faf0
lea ecx, [edi + 1]
mov edi, 4
lea edx, [esi + 0xa]
jmp 0x43fc50
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 4], al
movzx eax, byte [edx - 4]
mov byte [ecx - 3], al
movzx eax, byte [edx - 3]
mov byte [ecx - 2], al
dec edi
jne 0x43fc50
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
xor ecx, ebp
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x40], xmm0
movdqu xmmword [esi + 0x50], xmm0
movdqu xmmword [esi + 0x60], xmm0
movdqu xmmword [esi + 0x70], xmm0
movdqu xmmword [esi + 0x80], xmm0
movq qword [esi + 0x90], xmm0
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
movdqu xmmword [ebx], xmm0
pop edi
movdqu xmmword [ebx + 0x10], xmm0
pop esi
movdqu xmmword [ebx + 0x20], xmm0
movdqu xmmword [ebx + 0x30], xmm0
mov byte [ebx], 0x80
pop ebx
call fcn.0045a560
mov esp, ebp
pop ebp
ret 4
Function at 0x440410
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x51a744]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
push 3
lea eax, [ebp - 0x134]
mov dword [ebp - 0xac], 0
push ecx
movdqu xmmword [ebp - 0x58], xmm0
lea ecx, [ebp - 0x138]
mov dword [ebp - 0xa8], 0x67452301
mov edi, edx
mov dword [ebp - 0xa4], 0xefcdab89
mov dword [ebp - 0xa0], 0x98badcfe
mov dword [ebp - 0x9c], 0x10325476
movdqu xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x58], 0x80
movdqu xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x138], eax
movdqu xmmword [ebp - 0x28], xmm0
call fcn.00440520
mov esi, dword [ebp - 0x138]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
lea ecx, [ebp - 0xb0]
call fcn.0043faf0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0043fbc0
xor eax, eax
xor esi, esi
mov word [edi], ax
jmp 0x4404d0
movzx eax, byte [ebp + esi - 0x14]
push eax
push 0x50329c
push 3
push edi
call fcn.0045d7e8
inc esi
add esp, 0x10
add edi, 4
cmp esi, 0x10
jl 0x4404d0
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x134]
cmp eax, ecx
je 0x440508
push eax
call fcn.0045baef
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0045a560
mov esp, ebp
pop ebp
ret

Function at 0x459320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7e80
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51a744]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0045a653
mov dword [esi], vtable.boost::system::system_error.0
lea ecx, [esi + 0x14]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.00419190
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x4593b2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4593f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7ea8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51a744]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
call fcn.0045a653
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.00419190
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x45a210
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4e8088
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51a744]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x51a1b8]
cmp eax, 0xffffffff
jne 0x45a249
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x45a256
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x45a2bd
jmp 0x45a28c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x18], 0
mov edi, dword [ebp + 0xc]
jne 0x45a2fa
test edi, edi
jne 0x45a300
push 0x459bb0
push 0x521c74
call fcn.004598f0
mov eax, dword [0x51a1b8]
add esp, 8
cmp eax, 0xffffffff
je 0x45a2bd
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x45a2e6
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x45a2e6
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x45a338
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x45a329
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x45a300
mov ebx, dword [ebp + 0x14]
lea eax, [ebp + 0x14]
mov dword [esp + 0x18], eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x45a280
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x45a397
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x45a37c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x45a397
jmp 0x45a370
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x45a370
jmp 0x45a397
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x45a395
cmp esi, dword [eax + 8]
jne 0x45a395
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x45a385
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x45a3ab
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x45a3ab
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.00430890
cmp esi, ebx
jne 0x45a350
mov ebp, dword [esp + 0x14]
jmp 0x45a280
Function at 0x45a3d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x45a440
push 0
push 0
call fcn.0045af74
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x45a3f9
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
mov eax, 1
push edi
add ecx, 4
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x45a41d
cmp eax, 0xffffffff
je 0x45a41d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x463668
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x47bc95
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x51a744]
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.00463fc4
mov dword [ebp - 0x14], eax
cmp dword [0x522cb8], esi
jne 0x47bd88
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47bd15
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47be68
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47be68
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47be68
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x522cb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x522cbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x522cc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x522cc8], eax
test eax, eax
je 0x47bd85
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x522cc4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47bdad
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47bda0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47bdc2
push 4
pop eax
jmp 0x47be6a
cmp dword [ebp - 0x14], esi
je 0x47bdc2
push dword [0x522cb8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47bda7
mov eax, dword [0x522cc4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47be20
cmp dword [0x522cc8], edi
je 0x47be20
push eax
call ebx
push dword [0x522cc8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47be20
test eax, eax
je 0x47be20
call ecx
test eax, eax
je 0x47be15
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 0x47be15
test byte [ebp - 8], 1
jne 0x47be20
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47be50
mov eax, dword [0x522cbc]
cmp eax, edi
je 0x47be4d
push eax
call ebx
test eax, eax
je 0x47be4d
call eax
mov esi, eax
test esi, esi
je 0x47be4d
mov eax, dword [0x522cc0]
cmp eax, edi
je 0x47be4d
push eax
call ebx
test eax, eax
je 0x47be4d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x522cb8]
call ebx
test eax, eax
je 0x47be68
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47be6a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a560
mov esp, ebp
pop ebp
ret
Function at 0x48dd20
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e8e00
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x51a744]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x7c]
mov dword [esi + 4], eax
push 0x4f0d28
lea ecx, [esp + 0x3c]
mov dword [esp + 0x78], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00418890
lea eax, [esp + 0xc]
mov byte [esp + 0x74], 1
push eax
call fcn.00440e70
add esp, 4
lea ecx, [esp + 0x38]
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 8], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.004189a0
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x70
ret 4