joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f3e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [0x49f708]
test edi, edi
jne 0x44f4eb
push 0x4740f1
call sub.KERNEL32.dll_GetModuleHandleA
test eax, eax
je 0x44f42f
mov esi, eax
push str.WaitOnAddress
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x44f42f
mov ebx, eax
push str.WakeByAddressSingle
push esi
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x44f42f
xor esi, esi
mov dword [ebp - 0x10], eax
inc esi
jmp 0x44f49e
push 0x4740ac
call sub.KERNEL32.dll_GetModuleHandleA
test eax, eax
je 0x44f4f5
mov ebx, eax
push str.NtCreateKeyedEvent
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x44f4f5
mov edi, eax
push str.NtReleaseKeyedEvent
push ebx
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [ebp - 0x10], eax
je 0x44f4f5
push str.NtWaitForKeyedEvent
push ebx
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x44f4f5
mov ecx, edi
mov dword [ebp - 0x14], eax
call dword [section..00cfg]
xor esi, esi
lea eax, [ebp - 0x18]
push esi
push esi
push 0xc0000000
push eax
call edi
test eax, eax
jne 0x44f4f5
mov ebx, dword [ebp - 0x18]
push 4
push 0x10
call fcn.00416260
add esp, 8
test eax, eax
je 0x44f4fa
mov dword [eax], esi
mov edi, eax
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xc], eax
xor eax, eax
lock cmpxchg dword [0x49f708], edi
je 0x44f4eb
cmp dword [edi], 0
mov esi, eax
jne 0x44f4dc
push dword [edi + 4]
call sub.KERNEL32.dll_CloseHandle
push 4
push 0x10
push edi
call fcn.004162d0
add esp, 0xc
mov edi, esi
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0045ca40
push 4
push 0x10
call fcn.00451aa0
int3
Function at 0x451e70
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x30]
cmp dword [edi + 4], 0
je 0x451eea
lea ebx, [edi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x451f25
cmp dword [esp + 4], 0
je 0x451f0c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x451f48
mov esi, eax
inc eax
mov dword [edi], eax
mov eax, dword [0x49f264]
nop word [eax + eax]
mov dword [edi + 8], eax
lock cmpxchg dword [0x49f264], edi
jne 0x451ed0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
jmp 0x451f1c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x451f8f
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [edi], ecx
jne 0x451f10
mov esi, dword [esp]
jmp 0x451f1c
mov esi, dword [edi]
jmp 0x451f1b
mov esi, eax
push dword [esp]
call dword [sym.imp.KERNEL32.dll_TlsFree]
dec esi
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 0x10], 0
lea eax, [esp + 8]
mov ecx, esp
mov edx, 0x460aec
push 0x460b20
push eax
call fcn.00451ac0
add esp, 8
ud2
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
mov dword [esp + 0x10], 0x460b44
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0x45f570
mov dword [esp + 0x1c], 0
lea eax, [esp + 8]
push 0x460b4c
push eax
call fcn.00451500
add esp, 8
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0x460b44
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x45f570
mov dword [esp + 0x1c], 0
call fcn.00451b80
ud2
Function at 0x452600
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x270
mov eax, dword [0x49f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x452652
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 4
add eax, 0xffffff07
cmp eax, 0xfffffefc
jae 0x45266b
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450100
mov eax, ebx
add esp, 0x270
pop esi
pop edi
pop ebx
pop ebp
ret
push str.control.exe
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor ebx, ebx
test eax, eax
je 0x452654
lea esi, [ebp - 0x220]
mov dword [esi], ebx
mov ecx, esi
call fcn.00452450
mov eax, dword [esi]
mov dword [ebp - 0x278], eax
mov ecx, str.control.exe__name_Microsoft.DefaultPrograms__page_pageDefaultProgrampageAdvancedSettings_pszAppName_s
push eax
push ecx
call fcn.00452540
add esp, 8
lea ecx, [eax + 1]
mov dword [ebp - 0x27c], ecx
lea ecx, [eax + eax]
add ecx, 2
xor esi, esi
dec esi
cmp eax, 0xffffffff
cmovge esi, ecx
push esi
call fcn.0044fa47
add esp, 4
push esi
push ebx
mov esi, eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp - 0x278]
mov eax, str.control.exe__name_Microsoft.DefaultPrograms__page_pageDefaultProgrampageAdvancedSettings_pszAppName_s
push eax
push 0xffffffffffffffff
push dword [ebp - 0x27c]
push esi
call fcn.004525a0
add esp, 0x14
xorps xmm0, xmm0
lea eax, [ebp - 0x264]
movups xmmword [eax + 0x24], xmm0
movups xmmword [eax + 0x34], xmm0
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax], 0x44
mov dword [eax + 0x2c], 1
mov word [eax + 0x30], 0xa
lea ecx, [ebp - 0x274]
movups xmmword [ecx], xmm0
sub esp, 0x28
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne bl
je 0x452765
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x274]
call edi
push dword [ebp - 0x270]
call edi
push esi
call fcn.0044fa50
add esp, 4
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x452654
push eax
call fcn.0044fa50
add esp, 4
jmp 0x452654
Function at 0x455060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x49f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [ecx + 0x38], 0
je 0x455102
mov esi, ecx
cmp byte [ecx + 0x3d], 0
je 0x455102
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0xffffffffffffffff
call edi
cmp eax, 0xffffffff
je 0x455100
mov ebx, dword [esi + 0x38]
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [section..00cfg]
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x30]
mov ecx, ebx
mov ebx, edx
push eax
lea eax, [ebp - 0x10]
push eax
push edx
push dword [ebp - 0x38]
call edi
cmp eax, 3
je 0x455116
cmp eax, 1
je 0x4550dc
test eax, eax
jne 0x455100
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x34]
sub edi, ebx
je 0x4550f7
push dword [esi + 0x4c]
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x455100
cmp byte [esi + 0x3d], 0
sete bl
jmp 0x455102
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450100
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 0x3d], 0
mov bl, 1
jmp 0x455102
Function at 0x4013d2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x401407
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x401404
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x401410
add edx, 0x28
cmp edx, esi
jne 0x4013f2
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40140d

Function at 0x40184f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40188e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40188e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40188e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40188e
cmp dword [ecx + 0x74], 0xe
jbe 0x40188e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41b6c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push edi
push esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
sete dl
test eax, eax
sete dh
or dh, dl
jne 0x41b705
mov dh, byte [ecx]
test dh, dh
je 0x41b710
inc ecx
nop
movzx esi, byte [eax]
test esi, esi
setne dl
je 0x41b712
movzx edi, dh
mov dh, byte [edi + 0x8db588]
cmp dh, byte [esi + 0x8db588]
jne 0x41b720
inc eax
mov dh, byte [ecx]
inc ecx
test dh, dh
jne 0x41b6e0
jmp 0x41b712
or ecx, eax
sete al
movzx eax, al
pop esi
pop edi
ret
mov dl, 1
cmp byte [eax], 0
setne al
xor al, dl
movzx eax, al
pop esi
pop edi
ret
xor eax, eax
movzx eax, al
pop esi
pop edi
ret
Function at 0x47ad40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c0
mov ebp, edx
mov ebx, ecx
mov edi, dword [esp + 0x1d8]
mov eax, dword [ecx + 8]
mov dword [esp], eax
lea esi, [esp + 0x5c]
push 0x100
push 0x8ebc6c
push esi
call fcn.00786d70
add esp, 0xc
mov dword [esp + 4], ebp
push ebp
push ebx
call fcn.0042b8f0
add esp, 8
mov dword [esp + 8], eax
call fcn.005b4c90
mov ebp, eax
and eax, 0xff800000
cmp eax, 0xa000000
jne 0x47ae28
mov eax, ebp
and eax, 0x7fffff
cmp eax, 0x414
jg 0x47adcb
cmp eax, 0x86
je 0x47addd
cmp eax, 0xcf
jne 0x47ae28
mov eax, dword [esp]
or byte [eax + 0x2d8], 8
mov esi, 0x8ebdac
jmp 0x47af77
cmp eax, 0x45c
je 0x47af2d
cmp eax, 0x415
jne 0x47ae28
mov eax, dword [esp]
push dword [eax + 0x10c]
call fcn.00506120
add esp, 4
mov edi, 0x3c
test eax, eax
je 0x47af72
mov ecx, dword [esp + 8]
mov dword [ecx + 0x48], eax
push eax
call fcn.00630c50
add esp, 4
lea esi, [esp + 0x5c]
push eax
push 0x8ebd6c
push 0x100
push esi
call fcn.0040b350
add esp, 0x10
jmp 0x47af77
mov byte [esp + 0x5c], 0
push 0x100
push esi
push ebp
call fcn.005b54b0
add esp, 0xc
cmp byte [esp + 0x5c], 0
je 0x47ae51
mov eax, edi
xor eax, 0x23
or eax, ebp
je 0x47ae7b
jmp 0x47af77
test ebp, ebp
mov eax, 0x8ebe0d
mov ecx, 0x8ebdff
cmove ecx, eax
lea eax, [esp + 0x5c]
push ecx
push eax
call fcn.00786b80
add esp, 8
mov eax, edi
xor eax, 0x23
or eax, ebp
jne 0x47af77
mov ebp, dword [esp + 0x1d4]
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x3c], xmm0
movups xmmword [esp + 0x2c], xmm0
movups xmmword [esp + 0x1c], xmm0
movups xmmword [esp + 0xc], xmm0
call dword [0xa24bec]
mov esi, eax
lea edi, [esp + 0x15c]
push edi
push 0
push 0
push dword [esp + 0x10]
push dword [ebx + 4]
call fcn.00438e90
add esp, 0x14
test esi, esi
sete al
cmp ebp, 5
setne cl
or cl, al
jne 0x47aef2
lea ebx, [esp + 0xc]
push 0x50
push ebx
push esi
call fcn.0041ba80
add esp, 0xc
cmp byte [esp + 0xc], 0
mov eax, 0x8ebe77
cmovne eax, ebx
mov ecx, dword [esp]
jmp 0x47af06
mov eax, 0x8ebefa
cmp ebp, 0xa
mov ecx, dword [esp]
ja 0x47af06
mov eax, dword [ebp*4 + 0x8ec704]
push edi
push dword [esp + 0x1bc]
push dword [ecx + 0xf4]
push eax
push 0x8ebdcf
push dword [esp + 0x18]
call fcn.00443930
add esp, 0x18
mov edi, 0x23
jmp 0x47af89
mov byte [esp + 0x5c], 0
lea esi, [esp + 0x5c]
push 0x100
push esi
push ebp
call fcn.005b54b0
add esp, 0xc
mov edi, 0x62
cmp byte [esp + 0x5c], 0
jne 0x47af77
mov word [esp + 0x68], 0x72
mov dword [esp + 0x64], 0x6f727265
mov dword [esp + 0x60], 0x206e776f
mov dword [esp + 0x5c], 0x6e6b6e55
jmp 0x47af77
mov esi, 0x8ebd88
push esi
push 0x8ebdfc
push dword [esp + 0xc]
call fcn.00443930
add esp, 0xc
mov eax, edi
add esp, 0x1c0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4b48e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + 0x28]
push dword [edi + 0x84]
call fcn.004bdd90
add esp, 4
mov esi, eax
mov dword [esp + 4], edi
imul esi, dword [edi + 8]
push dword [ebx + 0x2c]
call fcn.004bddf0
add esp, 4
push dword [ebx + 0x30]
call fcn.004bd4b0
add esp, 4
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x38], 0
test ebp, ebp
je 0x4b494b
mov dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x48]
cmp dword [esp + 8], 0
je 0x4b4959
inc eax
mov dword [ebx + 0x48], eax
cmp eax, esi
jae 0x4b4967
cmp dword [ebx + 0x5c], 0
je 0x4b4a27
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x4b497a
mov dword [ebx + 0x54], 0xc
mov esi, 0xc
mov edi, dword [esp]
push edi
push esi
push 0
push ebx
call fcn.004cad10
add esp, 0x10
push edi
push dword [ebx + 0x58]
push esi
push dword [ebx + 0x44]
call dword [ebx + 0x40]
add esp, 0x10
push dword [ebx + 0x2c]
call fcn.004bddf0
add esp, 4
push dword [ebx + 0x30]
call fcn.004bd4b0
add esp, 4
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x38], 0
mov eax, dword [ebx + 0x28]
movzx ecx, word [ebx]
push ecx
push dword [eax + 0x90]
call fcn.004bd0e0
add esp, 8
push dword [ebx + 0x34]
call fcn.004bd4b0
add esp, 4
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
push dword [ebx + 0x3c]
call fcn.004c18c0
add esp, 4
mov eax, dword [0xa1be04]
push ebx
call dword [eax]
add esp, 4
push dword [esp + 4]
call fcn.004c7270
add esp, 4
mov eax, 0xc
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004b4a40
Function at 0x5ee910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, edx
mov dword [esp + 0xc], ecx
mov esi, dword [ecx + 0x14]
cmp esi, edx
jae 0x5eea5b
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x18]
mov ebx, eax
sub ebx, edx
jb 0x5ee971
mov edi, eax
and ebx, 0xfffffffc
lea eax, [edx + ebx]
add eax, 4
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x18], eax
shl eax, 4
push 0x71
push 0x950220
push eax
mov ebx, ecx
push dword [ecx + 0x40]
call fcn.005db4d0
add esp, 0x10
test eax, eax
je 0x5eea6d
mov dword [ebx + 0x40], eax
mov eax, edi
mov edx, esi
shl edx, 4
add edx, 0x1f
movdqa xmm0, xmmword [0x950200]
movdqa xmm1, xmmword [0x950210]
nop dword [eax]
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx + 0x40]
mov bh, byte [edi + edx - 0x10]
mov bl, bh
movzx ecx, byte [edi + edx - 0x11]
shr bh, 7
mov ch, cl
add ch, cl
or ch, bh
mov byte [edi + edx - 1], ch
mov ch, byte [edi + edx - 0x12]
shr cl, 7
mov bh, ch
add bh, ch
or bh, cl
mov byte [edi + edx - 2], bh
mov cl, byte [edi + edx - 0x13]
shr ch, 7
add cl, cl
or cl, ch
add bl, bl
mov byte [edi + edx - 3], cl
movd xmm2, dword [edi + edx - 0x17]
movd xmm4, dword [edi + edx - 0x16]
psrlw xmm4, 7
pand xmm4, xmm0
movq xmm3, xmm2
paddb xmm2, xmm2
por xmm2, xmm4
movd dword [edi + edx - 7], xmm2
movq xmm2, qword [edi + edx - 0x1f]
movdqa xmmword [esp + 0x10], xmm2
mov bh, byte [esp + 0x10]
sar bh, 7
and bh, 0x87
xor bh, bl
movdqa xmm4, xmm2
pand xmm4, xmm1
por xmm4, xmm3
psllq xmm4, 0x38
movdqa xmm3, xmm2
psrlq xmm3, 8
por xmm3, xmm4
psrlw xmm3, 7
pand xmm3, xmm0
paddb xmm2, xmm2
por xmm2, xmm3
movq qword [edi + edx - 0xf], xmm2
mov byte [edi + edx], bh
inc esi
add edx, 0x10
cmp eax, esi
jne 0x5ee990
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x14], eax
shl eax, 4
mov ecx, dword [esp + 0xc]
add eax, dword [ecx + 0x40]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x5eea65
Function at 0x61cb10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x61cb3d
mov eax, dword [eax]
test eax, eax
je 0x61cb3d
mov eax, dword [eax + 0x20]
test eax, eax
je 0x61cb3d
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp eax
mov dword [esp + 0xf], 0x207265
mov dword [esp + 0xc], 0x65746e45
mov word [esp + 8], 0x20
mov dword [esp + 4], 0x726f6620
mov word [esp + 2], 0x3a
test ebp, ebp
je 0x61cbf2
push ebp
call fcn.00786b90
add esp, 4
mov esi, eax
test ebx, ebx
je 0x61cb8a
push ebx
call fcn.00786b90
add esp, 4
add esi, eax
add esi, 0xb
jmp 0x61cb8d
add esi, 6
add esi, 2
push 0x166
push 0x96a1d0
push esi
call fcn.005db3a0
add esp, 0xc
test eax, eax
je 0x61cbf2
mov edi, eax
lea eax, [esp + 0xc]
push esi
push eax
push edi
call fcn.005dd240
add esp, 0xc
push esi
push ebp
push edi
call fcn.005dd2a0
add esp, 0xc
test ebx, ebx
je 0x61cbe1
lea eax, [esp + 4]
push esi
push eax
push edi
call fcn.005dd2a0
add esp, 0xc
push esi
push ebx
push edi
call fcn.005dd2a0
add esp, 0xc
lea eax, [esp + 2]
push esi
push eax
push edi
call fcn.005dd2a0
add esp, 0xc
jmp 0x61cbf4
xor edi, edi
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x66cb38
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x66cd3e
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x820
mov dword [esp + 8], edx
mov edi, dword [ecx + 0x44]
mov eax, dword [ecx + 0x54]
mov ebx, eax
shl eax, 0xa
mov dword [esp + 0x14], eax
add eax, edi
add eax, 0xfffffc00
lea edx, [esp + 0x18]
push 0x400
push eax
push edx
mov esi, ecx
call fcn.00786d70
add esp, 0xc
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
mov dword [esp + 4], eax
cmp eax, 2
jb 0x66cc97
mov edx, ebx
shl edx, 0xb
mov esi, dword [esp + 4]
imul esi, ebx
shl esi, 0xa
add esi, edi
lea eax, [esp + 0x18]
cmp eax, esi
lea esi, [edi + edx - 0x400]
setb cl
lea eax, [esp + 0x418]
cmp esi, eax
setb ch
and ch, cl
shr ebx, 0x15
and ebx, 1
or bl, ch
mov dword [esp + 0x10], ebx
lea ecx, [edi + edx]
add ecx, 0xfffffc30
add edx, edi
add edx, 0xfffffc08
mov edi, 1
jmp 0x66cbf3
inc edi
mov eax, dword [esp + 0x14]
add ecx, eax
add edx, eax
cmp edi, dword [esp + 4]
je 0x66cc97
cmp byte [esp + 0x10], 0
je 0x66cc30
xor esi, esi
nop dword [eax]
mov eax, dword [edx + esi*8 - 8]
mov ebx, dword [edx + esi*8 - 4]
xor dword [esp + esi*8 + 0x18], eax
xor dword [esp + esi*8 + 0x1c], ebx
mov eax, dword [edx + esi*8]
mov ebx, dword [edx + esi*8 + 4]
xor dword [esp + esi*8 + 0x24], ebx
xor dword [esp + esi*8 + 0x20], eax
add esi, 2
cmp esi, 0x80
jne 0x66cc00
jmp 0x66cbe0
xor esi, esi
nop word cs:[eax + eax]
movups xmm0, xmmword [ecx + esi*8 - 0x30]
movups xmm1, xmmword [ecx + esi*8 - 0x20]
movups xmm2, xmmword [esp + esi*8 + 0x18]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + esi*8 + 0x28]
xorps xmm0, xmm1
movups xmmword [esp + esi*8 + 0x18], xmm2
movups xmmword [esp + esi*8 + 0x28], xmm0
movups xmm0, xmmword [ecx + esi*8 - 0x10]
movups xmm1, xmmword [ecx + esi*8]
movups xmm2, xmmword [esp + esi*8 + 0x38]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + esi*8 + 0x48]
xorps xmm0, xmm1
movups xmmword [esp + esi*8 + 0x38], xmm2
movups xmmword [esp + esi*8 + 0x48], xmm0
add esi, 8
cmp esi, 0x80
jne 0x66cc40
jmp 0x66cbe0
xor eax, eax
nop dword [eax]
mov ecx, dword [esp + eax*8 + 0x18]
mov edx, dword [esp + eax*8 + 0x1c]
mov dword [esp + eax*8 + 0x420], edx
mov dword [esp + eax*8 + 0x41c], ecx
inc eax
cmp eax, 0x80
jne 0x66cca0
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x5c]
lea esi, [esp + 0x41c]
mov edx, dword [esp + 8]
push 0x400
push esi
push dword [edi + 4]
call fcn.0066cd40
add esp, 0xc
push 0x400
lea eax, [esp + 0x1c]
push eax
call fcn.005e8480
add esp, 8
push 0x400
push esi
call fcn.005e8480
add esp, 8
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x4c]
shl ecx, 0xa
cmp dword [edi + 0x40], 0
je 0x66cd23
push 0x310
push 0x984dd8
push ecx
push eax
call fcn.005dc920
jmp 0x66cd34
push 0x313
push 0x984dd8
push ecx
push eax
call fcn.005db780
add esp, 0x10
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6a20a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6a20e1
mov esi, dword [esp + 0x1c]
movzx ebx, byte [esi]
mov edi, ebx
and edi, 0xffffff80
test edx, edx
je 0x6a20c1
mov dword [edx], edi
mov dword [esp], edi
cmp eax, 1
jne 0x6a2118
mov eax, 1
test ecx, ecx
je 0x6a2110
movzx edx, byte [esi]
cmp byte [esp], 0
je 0x6a20dd
neg dl
mov byte [ecx], dl
jmp 0x6a2110
call fcn.005b5b10
push 0x990f22
push 0xa0
push 0x990ed2
call fcn.005b5c10
add esp, 0xc
push 0
push 0xde
push 0xd
call fcn.005b5d00
add esp, 0xc
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, byte [esi]
test edx, edx
je 0x6a21bf
cmp edx, 0xff
jne 0x6a21fa
cmp eax, 9
jae 0x6a213d
xor edi, edi
mov edx, 1
jmp 0x6a21b0
lea ebp, [eax - 1]
mov dword [esp + 4], ebp
and ebp, 0xfffffff8
lea edx, [ebp + 1]
pxor xmm1, xmm1
xor edi, edi
pxor xmm2, xmm2
pxor xmm0, xmm0
nop dword [eax + eax]
movd xmm3, dword [esi + edi + 1]
movd xmm4, dword [esi + edi + 5]
punpcklbw xmm3, xmm1
punpcklwd xmm3, xmm1
por xmm2, xmm3
punpcklbw xmm4, xmm1
punpcklwd xmm4, xmm1
por xmm0, xmm4
add edi, 8
cmp ebp, edi
jne 0x6a2160
por xmm0, xmm2
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd edi, xmm0
cmp dword [esp + 4], ebp
je 0x6a21bb
nop dword [eax + eax]
movzx ebp, byte [esi + edx]
or edi, ebp
inc edx
cmp eax, edx
jne 0x6a21b0
test edi, edi
je 0x6a21fa
mov edi, eax
movzx edx, byte [esi + 1]
and dl, 0x80
cmp byte [esp], dl
mov eax, 0xffffffff
jne 0x6a21fe
call fcn.005b5b10
push 0x990f22
push 0xc1
push 0x990ed2
call fcn.005b5c10
add esp, 0xc
push 0
push 0xdd
jmp 0x6a2104
mov edi, eax
xor eax, eax
add eax, edi
test ecx, ecx
je 0x6a2110
test eax, eax
je 0x6a210e
mov dh, bl
sar dh, 7
add esi, edi
add ecx, eax
shr ebx, 7
test al, 1
mov byte [esp], dh
jne 0x6a2230
mov edi, eax
cmp eax, 1
je 0x6a2110
jmp 0x6a224e
lea edi, [eax - 1]
mov dl, byte [esi - 1]
xor dl, dh
dec esi
movzx edx, dl
add ebx, edx
mov byte [ecx - 1], bl
dec ecx
shr ebx, 8
cmp eax, 1
je 0x6a2110
mov dword [esp + 4], eax
neg edi
xor ebp, ebp
movzx eax, byte [esp]
nop word [eax + eax]
movzx edx, byte [esi + ebp - 1]
xor dl, al
movzx edx, dl
add edx, ebx
mov byte [ecx + ebp - 1], dl
shr edx, 8
mov ah, byte [esi + ebp - 2]
xor ah, al
movzx ebx, ah
add ebx, edx
mov byte [ecx + ebp - 2], bl
shr ebx, 8
add ebp, 0xfffffffe
cmp edi, ebp
jne 0x6a2260
mov eax, dword [esp + 4]
jmp 0x6a2110
Function at 0x701230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [ecx]
xor eax, eax
cmp ecx, 1
sbb eax, eax
mov dword [esp], eax
mov eax, 1
test ebx, ebx
je 0x7013ae
mov edx, dword [ebx]
test edx, edx
je 0x7013ae
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
mov dword [esp + 8], eax
or dword [esp], ecx
nop word [eax + eax]
xorps xmm0, xmm0
movsd qword [esp + 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [esp + 0x60], xmm1
movups xmmword [esp + 0x50], xmm1
movups xmmword [esp + 0x40], xmm1
movups xmmword [esp + 0x30], xmm1
movups xmmword [esp + 0x20], xmm1
movups xmmword [esp + 0x10], xmm1
lea eax, [esp + 0x88]
movsd qword [eax + 0x10], xmm0
movups xmmword [eax], xmm1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp]
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], edx
lea ecx, [esp + 0x78]
mov edx, 0x9a6a60
push 0x56
call fcn.007015d0
add esp, 4
mov esi, eax
mov edi, fcn.007009b0
test eax, eax
je 0x701317
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x24]
test edi, edi
mov ecx, fcn.007009b0
cmove edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x10]
push eax
push esi
push 7
call edi
add esp, 0xc
mov ebp, eax
test eax, eax
jle 0x70135f
cmp dword [esp + 0x14], 0
je 0x70135f
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.005d0f80
add esp, 0x18
mov ebp, eax
test ebp, ebp
jle 0x701378
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x10]
push eax
push esi
push 8
call edi
add esp, 0xc
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x701393
push 0x2c9
push 0x9a68ec
push eax
call fcn.005db5b0
add esp, 0xc
test ebp, ebp
jle 0x7013ac
mov edx, dword [ebx + 0x14]
add ebx, 0x14
test edx, edx
jne 0x701280
mov eax, 1
jmp 0x7013ae
xor eax, eax
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret