joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4240e0
Capabilities:
Get file size

Disassembly:
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
push ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x424106
pop edi
xor eax, eax
pop esi
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret
Function at 0x424660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push dword [ecx]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, 0xffffffff
je 0x4247cb
push esi
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [0x545d90]
mov dword [ebp - 0x24], 0
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x18
idiv ecx
cmp edx, 0x13
jne 0x424766
mov eax, esi
cdq
sub eax, edx
push edi
lea edi, [ecx + 0x66]
xor ecx, ecx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], ebx
test ebx, ebx
jle 0x42475a
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ecx]
xor edx, edx
xor esi, esi
xor ebx, ebx
cmp eax, 2
jl 0x424731
mov eax, ecx
mov ecx, dword [ebp - 8]
add ecx, 0xfffffffe
shr ecx, 1
inc ecx
lea ebx, [ecx + ecx]
lea esp, [esp]
dec esi
add edx, eax
add esi, eax
sub eax, 2
dec ecx
jne 0x424720
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
cmp ebx, eax
jge 0x42473b
mov eax, ecx
sub eax, ebx
add edi, eax
add ecx, dword [ebp - 0xc]
lea eax, [edx + esi]
add edi, eax
dec dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
jne 0x424700
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x20]
mov esi, dword [0x545d90]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, edi
jl 0x4246e3
mov ebx, dword [ebp - 0x18]
pop edi
mov eax, dword [ebp - 0x1c]
push 0
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
je 0x4247c4
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [0x545d90]
mov ecx, eax
imul ecx, eax
imul eax, ecx
cdq
mov ecx, 9
idiv ecx
cmp edx, 3
jne 0x4247c0
push 0xa9
push 0xa8
push 0x5220bc
call fcn.004b05f1
add esp, 0xc
mov byte [ebp - 1], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a0d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d9e10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x540c80]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
cmp eax, 6
ja case.default.0x43a109
jmp dword [eax*4 + 0x43a2d4]
lea ecx, [esp + 0xc]
call fcn.0041be30
mov dword [esp + 0x30], 0
push eax
push 1
mov ecx, esi
call fcn.0043a2f0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402650
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x10]
call fcn.0041bf20
mov dword [esp + 0x30], 1
push eax
push 0
mov ecx, esi
call fcn.0043a2f0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402650
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x14]
call fcn.0041c100
mov dword [esp + 0x30], 2
push eax
push 2
mov ecx, esi
call fcn.0043a2f0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402650
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x18]
call fcn.0041c1f0
mov dword [esp + 0x30], 3
push eax
push 3
mov ecx, esi
call fcn.0043a2f0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00402650
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x1c]
call fcn.0041c2e0
mov dword [esp + 0x30], 4
push eax
push 4
mov ecx, esi
call fcn.0043a2f0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402650
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x20]
call fcn.0041c010
mov dword [esp + 0x30], 5
push eax
push 5
mov ecx, esi
call fcn.0043a2f0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402650
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43c180
Capabilities:
Check os version

Disassembly:
mov ecx, dword [0x545d90]
push ebx
push esi
lea esi, [ecx + 1]
imul esi, ecx
mov eax, esi
push edi
cdq
mov edi, 0x14
idiv edi
cmp edx, 0x13
jne 0x43c1f4
mov eax, esi
cdq
mov esi, 0x16
idiv esi
cmp edx, 0x12
je 0x43c1d6
mov eax, ecx
imul eax, ecx
imul eax, ecx
and eax, 0x80000003
jns 0x43c1c1
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 2
jne 0x43c1d6
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
push 4
call fcn.004afe4a
mov esi, eax
call fcn.004aff67
push esi
mov dword [esi], eax
mov dword [0x545d90], eax
call fcn.004af5b5
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, dword [0x545d90]
mov ebx, eax
mov eax, ecx
imul eax, ecx
cdq
mov esi, 0x18
idiv esi
cmp edx, 0x16
jne 0x43c27d
test ecx, ecx
je 0x43c27d
jmp 0x43c220
mov eax, ecx
and eax, 0x80000001
jns 0x43c22e
dec eax
or eax, 0xfffffffe
inc eax
jne 0x43c23b
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x43c242
lea ecx, [ecx*2 + 1]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*2]
sub edx, eax
mov dword [0x545d90], ecx
sub edx, 0
je 0x43c26c
sub edx, 2
je 0x43c26f
dec edx
je 0x43c270
jmp 0x43c279
add ecx, 2
inc ecx
add ecx, 2
mov dword [0x545d90], ecx
test ecx, ecx
jne 0x43c220
movzx eax, bl
cmp eax, 6
ja 0x43c295
jne 0x43c28f
shr ebx, 8
cmp bl, 1
ja 0x43c295
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x43c2a0
Capabilities:
Check os version

Disassembly:
call fcn.0043be60
test al, al
jne 0x43c310
mov ecx, dword [0x545d90]
test ecx, ecx
je 0x43c310
mov eax, ecx
and eax, 0x80000001
jns 0x43c2c1
dec eax
or eax, 0xfffffffe
inc eax
jne 0x43c2ce
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x43c2d5
lea ecx, [ecx*2 + 1]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*2]
sub edx, eax
mov dword [0x545d90], ecx
sub edx, 0
je 0x43c2ff
sub edx, 2
je 0x43c302
dec edx
je 0x43c303
jmp 0x43c30c
add ecx, 2
inc ecx
add ecx, 2
mov dword [0x545d90], ecx
test ecx, ecx
jne 0x43c2b3
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
sbb eax, eax
neg eax
ret
Function at 0x43d4f0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push esi
push eax
push 0xf003f
push 0
push dword [ecx]
mov esi, edx
push dword [0x54231c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43d51d
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x43d538
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
jmp 0x43d56a
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x43d56a
push dword [edi]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43de90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da94b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x540c80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], edx
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
sub esp, 8
push 0x2001f
push 0x100
push ecx
push dword [esi]
lea ecx, [ebp - 0x88]
push edi
call fcn.004193e0
test eax, eax
je 0x43df38
sub esp, 8
push 0x2001f
push 0
push ecx
push dword [esi]
lea ecx, [ebp - 0x88]
push edi
call fcn.004193e0
test eax, eax
je 0x43df38
mov edi, dword [ebp - 0x88]
xor bl, bl
jmp 0x43e003
mov edx, dword [ebp - 0x8c]
mov ebx, dword [ebx]
mov edx, dword [edx]
mov edi, dword [ebp - 0x88]
xor eax, eax
test edx, edx
setne al
test eax, eax
jne 0x43df5a
mov ebx, 0xd
jmp 0x43df86
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43df60
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test edi, edi
je 0x43df99
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x88], edi
mov esi, dword [0x545d90]
mov dword [ebp - 0x84], 0
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0xf
idiv ecx
cmp edx, 8
jne 0x43dffe
xor ecx, ecx
mov eax, dword [ebp + ecx*4 - 0x68]
add eax, dword [ebp + ecx*4 - 0x6c]
add ecx, 6
add eax, dword [ebp + ecx*4 - 0x88]
add eax, dword [ebp + ecx*4 - 0x8c]
add eax, dword [ebp + ecx*4 - 0x90]
add eax, dword [ebp + ecx*4 - 0x94]
imul eax, eax, 0x89
add esi, eax
cmp ecx, 0x6c
jb 0x43dfc4
mov dword [0x545d90], esi
test ebx, ebx
sete bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x43e01f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x88], 0
mov al, bl
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af5ba
mov esp, ebp
pop ebp
ret
Function at 0x43e2d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da76b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x540c80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 4], 0
push 0x2001f
push dword [eax]
lea ecx, [ebp - 0xc8]
push esi
call fcn.00419460
test eax, eax
je 0x43e351
mov edi, dword [ebp - 0xc8]
xor bl, bl
jmp 0x43e41d
lea eax, [ebp - 0xd0]
push eax
push edi
mov edi, dword [ebp - 0xc8]
lea eax, [ebp - 0xcc]
push eax
push 0
push dword [ebx]
mov dword [ebp - 0xd0], 4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x43e390
cmp dword [ebp - 0xcc], 4
mov eax, 0xd
cmovne ebx, eax
mov esi, dword [0x545d90]
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x13
idiv ecx
cmp edx, 0xf
jne 0x43e3c2
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov esi, dword [0x545d90]
test edi, edi
je 0x43e3db
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0xc8], edi
mov esi, dword [0x545d90]
lea eax, [esi + 1]
imul eax, esi
cdq
mov ecx, 9
idiv ecx
mov dword [ebp - 0xc4], 0
cmp edx, 7
jne 0x43e418
xor ecx, ecx
test esi, esi
je 0x43e412
mov edi, edi
mov eax, esi
and eax, 1
add ecx, eax
mov eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jne 0x43e400
mov dword [0x545d90], ecx
test ebx, ebx
sete bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x43e439
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc8], 0
mov al, bl
mov dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af5ba
mov esp, ebp
pop ebp
ret

Function at 0x43e470
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
lea ecx, [ebp - 4]
push ecx
push 0x2001f
push 0
push dword [eax]
mov ebx, edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43e4a2
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx]
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push dword [edi]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43eb40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x545d90]
mov dword [ebp - 4], edx
lea eax, [esi + 1]
imul eax, esi
push edi
mov edi, ecx
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 0xb
jne 0x43eb74
mov eax, 1
test esi, esi
cmove esi, eax
mov dword [0x545d90], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0x2001f
push 0
push dword [eax]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43eb99
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push dword [edi]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4437f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x540c80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x545d90]
mov eax, ebx
imul eax, ebx
cdq
mov ecx, 0x18
idiv ecx
push esi
cmp edx, 0xa
jne 0x44382d
push edi
xor esi, esi
mov edi, ebx
inc esi
dec edi
cmp esi, 0x88
jb 0x443822
pop edi
cmp byte [0x547062], 0
jne 0x4438b1
mov dword [ebp - 0x34], 0x30008
mov dword [ebp - 0x30], 0x90000
mov dword [ebp - 0x2c], 0x80011
mov dword [ebp - 0x28], 0x16003b
mov dword [ebp - 0x24], 0x3c001b
mov dword [ebp - 0x20], 0x30001
mov dword [ebp - 0x1c], 0x70000
mov dword [ebp - 0x18], 0x1001f
mov dword [ebp - 0x14], 0x7003d
mov dword [ebp - 0x10], 0x20019
mov dword [ebp - 0xc], 0xe0002
mov dword [ebp - 8], 0x1f
xor eax, eax
lea esp, [esp]
movzx ecx, byte [eax + 0x542360]
xor cx, word [ebp + eax*2 - 0x34]
inc eax
mov word [eax*2 + 0x5424ca], cx
cmp eax, 0x17
jl 0x443890
mov byte [0x547062], 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 0x5424cc
pop ebx
call fcn.004af5ba
mov esp, ebp
pop ebp
ret
Function at 0x443970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e0
mov eax, dword [0x540c80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x54705f], 0
jne 0x443b27
mov ecx, dword [0x545d90]
push esi
lea eax, [ecx + 2]
inc ecx
imul eax, ecx
mov ecx, dword [0x545d90]
imul eax, ecx
cdq
mov esi, 0x17
idiv esi
cmp edx, 0xb
jne 0x443a80
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1dc], eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1d8], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x1e0], eax
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c8], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1d4], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1cc], eax
mov eax, ecx
cdq
and edx, 7
push ebx
xor ebx, ebx
add eax, edx
sar eax, 3
push edi
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0x1d0], eax
lea esi, [ebp - 0x1bb]
mov edi, edi
mov edi, 1
mov dword [ebp - 0x1c4], 3
nop
add esi, 8
inc edi
dec dword [ebp - 0x1c4]
jne 0x443a60
mov ebx, dword [ebp - 0x1c0]
inc ebx
mov dword [ebp - 0x1c0], ebx
cmp ebx, 0x10
jl 0x443a50
pop edi
pop ebx
xor eax, eax
mov dword [ebp - 0x3c], 0x140000
mov dword [ebp - 0x38], 0x3a0019
mov dword [ebp - 0x34], 0x20001
mov dword [ebp - 0x30], 0x1a0001
mov dword [ebp - 0x2c], 0x60004
mov dword [ebp - 0x28], 0x50001
mov dword [ebp - 0x24], 0x20000
mov dword [ebp - 0x20], 0x160034
mov dword [ebp - 0x1c], 0x1d0007
mov dword [ebp - 0x18], 0x18001f
mov dword [ebp - 0x14], 0x3e0003
mov dword [ebp - 0x10], 0xc0000
mov dword [ebp - 0xc], 0x1d0005
mov word [ebp - 8], ax
pop esi
jmp 0x443af0
movzx ecx, byte [eax + 0x542360]
xor cx, word [ebp + eax*2 - 0x3c]
add eax, 2
mov word [eax*2 + 0x542800], cx
movzx ecx, byte [eax + 0x54235f]
xor cx, word [ebp + eax*2 - 0x3e]
mov word [eax*2 + 0x542802], cx
cmp eax, 0x1a
jl 0x443af0
mov byte [0x54705f], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x542804
call fcn.004af5ba
mov esp, ebp
pop ebp
ret
Function at 0x443b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x540c80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x54704e], 0
jne 0x443bff
xor eax, eax
mov dword [ebp - 0x28], 0xa000d
mov dword [ebp - 0x24], 0x1d002c
mov dword [ebp - 0x20], 0x18001d
mov dword [ebp - 0x1c], 0xd0027
mov dword [ebp - 0x18], 0x60010
mov dword [ebp - 0x14], 0x120044
mov dword [ebp - 0x10], 0x2000a
mov dword [ebp - 0xc], 0x59000e
mov word [ebp - 8], ax
jmp 0x443ba0
movzx ecx, byte [eax + 0x542360]
xor cx, word [ebp + eax*2 - 0x28]
add eax, 4
mov word [eax*2 + 0x5427d8], cx
movzx ecx, byte [eax + 0x54235d]
xor cx, word [ebp + eax*2 - 0x2e]
mov word [eax*2 + 0x5427da], cx
movzx ecx, byte [eax + 0x54235e]
xor cx, word [ebp + eax*2 - 0x2c]
mov word [eax*2 + 0x5427dc], cx
movzx ecx, byte [eax + 0x54235f]
xor cx, word [ebp + eax*2 - 0x2a]
mov word [eax*2 + 0x5427de], cx
cmp eax, 0x10
jl 0x443ba0
mov byte [0x54704e], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x5427e0
call fcn.004af5ba
mov esp, ebp
pop ebp
ret

Function at 0x443e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x540c80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x547056], 0
jne 0x443f51
push ebx
push esi
mov esi, dword [0x545d90]
mov ebx, 0x18
lea eax, [esi + 1]
imul eax, esi
cdq
idiv ebx
push edi
lea edi, [ebx - 0x11]
cmp edx, 0xd
jne 0x443e99
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, dword [0x545d90]
test eax, eax
cmove esi, edi
mov dword [0x545d90], esi
lea eax, [esi + 2]
lea ecx, [esi + 1]
imul eax, ecx
imul eax, esi
mov edi, 0x15
cdq
idiv edi
pop edi
pop esi
mov dword [ebp - 0x40], 0x6002f
mov dword [ebp - 0x3c], 0x100003
mov dword [ebp - 0x38], 0x180007
mov dword [ebp - 0x34], 0xd0030
mov dword [ebp - 0x30], 0x6001f
mov dword [ebp - 0x2c], 0x21000c
mov dword [ebp - 0x28], 0xf0017
mov dword [ebp - 0x24], 0xd001d
mov dword [ebp - 0x20], 0x15000e
mov dword [ebp - 0x1c], 0x90017
mov dword [ebp - 0x18], 0x410015
mov dword [ebp - 0x14], 0xc000e
mov dword [ebp - 0x10], 0x50000
mov dword [ebp - 0xc], 0xa000c
mov dword [ebp - 8], 0x49
pop ebx
cmp edx, 8
jne 0x443f24
dec dword [0x546db0]
xor eax, eax
jmp 0x443f30
movzx ecx, byte [eax + 0x542360]
xor cx, word [ebp + eax*2 - 0x40]
inc eax
mov word [eax*2 + 0x54267a], cx
cmp eax, 0x1d
jl 0x443f30
mov byte [0x547056], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x54267c
call fcn.004af5ba
mov esp, ebp
pop ebp
ret
Function at 0x443f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x540c80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x547053], 0
jne 0x44406d
xor eax, eax
push esi
mov dword [ebp - 0x34], 0xe000f
mov dword [ebp - 0x30], 0x450005
mov dword [ebp - 0x2c], 0x200030
mov dword [ebp - 0x28], 0x110028
mov dword [ebp - 0x24], 0x70054
mov dword [ebp - 0x20], 0x14000d
mov dword [ebp - 0x1c], 0x80016
mov dword [ebp - 0x18], 0x44001f
mov dword [ebp - 0x14], 0x80007
mov dword [ebp - 0x10], 0x1f0019
mov dword [ebp - 0xc], 0x4f0012
mov word [ebp - 8], ax
movzx ecx, byte [eax + 0x542360]
xor cx, word [ebp + eax*2 - 0x34]
add eax, 2
mov word [eax*2 + 0x542760], cx
movzx ecx, byte [eax + 0x54235f]
xor cx, word [ebp + eax*2 - 0x36]
mov word [eax*2 + 0x542762], cx
cmp eax, 0x16
jl 0x443fe1
mov esi, dword [0x545d90]
mov ecx, 0x18
lea eax, [esi + 1]
imul eax, esi
cdq
idiv ecx
cmp edx, 0x17
jne 0x444065
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aed89
push eax
call fcn.004afe1b
add esp, 8
mov byte [0x547053], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x542764
call fcn.004af5ba
mov esp, ebp
pop ebp
ret

Function at 0x4441a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x540c80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x545d90]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 0xd
jne 0x4441f0
mov edx, 1
mov eax, edx
mov ecx, 0xe6
lea esp, [esp]
dec ecx
lea esi, [eax + edx]
lea edx, [eax]
mov eax, esi
jns 0x4441e0
mov dword [0x545d90], esi
cmp byte [0x547038], 0
jne 0x444301
lea eax, [esi + 1]
imul eax, esi
cdq
mov ecx, 0x13
idiv ecx
push ebx
push edi
mov dword [ebp - 0x44], 0x70029
mov dword [ebp - 0x40], 0x35001d
mov dword [ebp - 0x3c], 0x30006
mov dword [ebp - 0x38], 0x230007
mov dword [ebp - 0x34], 0x70010
mov dword [ebp - 0x30], 0x140010
mov dword [ebp - 0x2c], 0x150016
mov dword [ebp - 0x28], 0xb004b
mov dword [ebp - 0x24], 0x500004
mov dword [ebp - 0x20], 0x3003c
mov dword [ebp - 0x1c], 0x50007
mov dword [ebp - 0x18], 0x40024
mov edi, 4
mov dword [ebp - 0x14], 0x1b000b
mov dword [ebp - 0x10], 0x1c0008
mov dword [ebp - 0xc], 0x4f0010
mov dword [ebp - 8], 0x50
cmp edx, 0xd
jne 0x4442d3
mov eax, dword [0x5262ac]
movq xmm0, qword [str.ewm9xRuFBbSx]
mov dword [ebp - 0x4c], eax
mov al, byte [0x5262b0]
mov byte [ebp - 0x48], al
lea eax, [ebp - 0x54]
movq qword [ebp - 0x54], xmm0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4442b0
xor ecx, ecx
sub eax, edx
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aed89
push eax
call fcn.004afe1b
add esp, 8
pop edi
xor eax, eax
pop ebx
jmp 0x4442e0
movzx ecx, byte [eax + 0x542360]
xor cx, word [ebp + eax*2 - 0x44]
inc eax
mov word [eax*2 + 0x5426b6], cx
cmp eax, 0x1f
jl 0x4442e0
mov byte [0x547038], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x5426b8
pop esi
call fcn.004af5ba
mov esp, ebp
pop ebp
ret