joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f240
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push 0
push 0
mov ebx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x47f3bd
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47f39c
mov eax, dword [esp + 0x1c]
cmp eax, 0x104
jae 0x47f296
mov eax, 0x104
mov dword [esp + 0x1c], eax
lea edx, [eax + eax + 2]
push edx
call fcn.0059e258
mov esi, eax
add esp, 4
test esi, esi
je 0x47f3bd
mov eax, dword [esp + 0x1c]
mov edi, esi
lea ecx, [eax + eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x47f3b4
mov ebp, dword [esp + 0x20]
mov eax, ebp
or eax, 0x2001f
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47f3b4
mov edi, dword [esp + 0x20]
test edi, edi
je 0x47f3b4
push ebp
push edi
call fcn.0047f240
add esp, 8
test eax, eax
je 0x47f3a9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x64581c]
test eax, eax
je 0x47f345
test ebp, ebp
je 0x47f345
push 0
push ebp
push esi
push ebx
call eax
test eax, eax
jne 0x47f3b4
jmp 0x47f351
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x47f3b4
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
je 0x47f393
mov edx, dword [esp + 0x1c]
xor eax, eax
mov edi, esi
lea ecx, [edx + edx + 2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x47f3b4
mov eax, dword [esp + 0x14]
jmp 0x47f2ee
push esi
call fcn.0059e281
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
test edi, edi
je 0x47f3b4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0059e281
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x47f3d0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [ecx + 4]
test esi, esi
je 0x47f439
mov eax, dword [esp + 0xc]
test eax, eax
je 0x47f3f9
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x47f439
pop edi
mov eax, 1
pop esi
ret 4
push edi
push esi
call fcn.0047f240
add esp, 8
test eax, eax
je 0x47f439
mov eax, dword [0x64581c]
test eax, eax
je 0x47f426
test edi, edi
je 0x47f426
push 0
push edi
push 0
push esi
call eax
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret 4
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x47f810
Capabilities:
Get user security identifier

Disassembly:
mov eax, dword [0x64587c]
sub esp, 0x120
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
push edi
jne 0x47f85c
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, 2
jne 0x47f857
mov dword [0x645880], eax
mov dword [0x64587c], eax
cmp dword [0x645880], ebx
jne 0x47f870
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
mov ebp, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x14]
push ebx
push eax
push ebx
push ebp
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x47f8bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x47f8bc
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
mov ecx, dword [esp + 0xc]
push esi
push ecx
call fcn.0059e258
mov edx, dword [esp + 0x18]
mov dword [edi], eax
lea eax, [edx + edx]
push eax
call fcn.0059e258
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x47f901
test esi, esi
je 0x47f912
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x47f90e
push esi
call fcn.0059e281
add esp, 4
test ebx, ebx
jne 0x47f921
mov edi, dword [edi]
test edi, edi
je 0x47f921
push edi
call fcn.0059e281
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x120
ret
Function at 0x480030
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfdc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov eax, dword [0x645824]
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
jne 0x48021b
push 1
push 0x645830
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push esi
push esi
push 1
push 0x645830
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea ecx, [ebp - 0x34]
mov dword [0x645848], 0xc
mov dword [0x645850], esi
mov dword [0x64584c], 0x645830
call fcn.0046fb00
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.0059c86f
mov eax, dword [0x645884]
mov byte [ebp - 4], 1
cmp eax, esi
mov dword [ebp - 0x24], str.S_1_1_0
mov dword [ebp - 0x20], str.S_1_15_2_1
mov dword [ebp - 0x1c], str.S_1_15_2_2
mov ebx, 3
jne 0x480131
mov ecx, 0x44
xor eax, eax
lea edi, [ebp - 0x158]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x14c]
mov ecx, 2
cmp eax, ecx
jne 0x480127
mov eax, dword [ebp - 0x158]
cmp eax, 6
ja 0x48011d
jne 0x480127
cmp dword [ebp - 0x154], ecx
jb 0x480127
mov dword [0x645888], 1
mov dword [0x645884], 1
cmp dword [0x645888], esi
jne 0x48013e
mov ebx, 1
cmp ebx, esi
jle 0x480185
lea esi, [ebp - 0x24]
mov edi, ebx
mov ecx, dword [esi]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00468580
mov edx, dword [ebp - 0x30]
push eax
push edx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00470260
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00468df0
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
call fcn.0059ca93
add esi, 4
dec edi
jne 0x480147
xor esi, esi
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x34]
push ecx
push edx
push 0x645868
mov byte [ebp - 4], 3
call fcn.0047fbf0
add esp, 0xc
cmp eax, esi
jne 0x4801d9
lea eax, [ebp - 0x18]
push 0x5f6dc0
push eax
mov dword [ebp - 0x18], esi
call fcn.00450cbe
push 1
push 0x645868
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push 0x645868
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov eax, 0x4801d7
ret
mov eax, 1
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], eax
mov dword [0x645858], 0xc
mov dword [0x645860], esi
mov dword [0x64585c], 0x645868
mov dword [0x645824], eax
mov byte [ebp - 4], 0
call fcn.0059c8a2
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0046fb10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4816b0
Capabilities:
Read .ini file

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x20c
push ebx
push ebp
push esi
xor esi, esi
cmp edx, esi
push edi
je 0x4817dc
mov ebp, dword [esp + 0x224]
cmp ebp, esi
je 0x4817dc
mov ebx, dword [esp + 0x228]
cmp ebx, esi
je 0x4817dc
cmp word [edx], si
je 0x4817dc
cmp word [ebp], si
je 0x4817dc
cmp word [ebx], si
je 0x4817dc
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x18]
push 0x104
push eax
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, esi
je 0x4817dc
cmp eax, 0x103
jae 0x48175a
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x230]
call fcn.0059dd26
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20c
ret
mov dword [esp + 0x10], esi
mov esi, 0x400
cmp esi, 0xa00000
jae 0x4817cd
add esi, esi
lea edx, [esi + esi]
push edx
call fcn.0059e258
mov edi, eax
add esp, 4
test edi, edi
je 0x4817cd
mov eax, dword [esp + 0x220]
push eax
push esi
push edi
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x48179e
lea ecx, [esi - 1]
cmp eax, ecx
jb 0x4817a9
push edi
call fcn.0059e281
add esp, 4
jmp 0x481763
mov ecx, dword [esp + 0x22c]
push edi
mov dword [esp + 0x14], 1
mov word [edi + eax*2], 0
call fcn.0059dd26
push edi
call fcn.0059e281
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret

Function at 0x4822c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5c00fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x5d44ec]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x104
push ecx
mov dword [esp + 0x228], 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.004690d0
lea eax, [esp + 8]
push 1
push eax
mov ecx, esi
call fcn.0046b3b0
mov ecx, dword [eax]
push 0x61061c
push ecx
call fcn.004502ce
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.00468df0
test edi, edi
je 0x482340
push 0x61061c
mov ecx, esi
call fcn.00469a30
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x4824a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5c013b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x5d44ec]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x104
push ecx
mov dword [esp + 0x228], 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.004690d0
lea eax, [esp + 8]
push 1
push eax
mov ecx, esi
call fcn.0046b3b0
mov ecx, dword [eax]
push 0x61061c
push ecx
call fcn.004502ce
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.00468df0
test edi, edi
je 0x482520
push 0x61061c
mov ecx, esi
call fcn.00469a30
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x4842e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x5c037f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], 0
mov dword [ebp], 0
call fcn.0047ab70
mov ecx, dword [esp + 0x3c]
mov edx, 1
cmp ecx, 8
mov dword [esp + 0x2c], edx
mov dword [ebp], 0
jae 0x48433a
mov dword [ebp], 0x29
jmp 0x484377
mov edi, dword [esp + 0x38]
lea esi, [ecx - 4]
mov eax, dword [edi]
and eax, 0xefffffff
cmp esi, edx
jb 0x48435e
lea ecx, [edi + 1]
sub eax, edi
lea ebx, [eax + ecx]
cmp dword [ecx], ebx
je 0x48436f
inc edx
inc ecx
cmp edx, esi
jbe 0x484351
lea ecx, [esp + 0x48]
mov dword [ebp], 0x36
push ecx
jmp 0x48449f
lea ecx, [edx + 4]
cmp ecx, 0xffffff9c
jne 0x484394
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.0047ac60
mov dword [esp + 0x10], 1
jmp 0x4844b2
test ecx, ecx
jg 0x4843a2
lea ecx, [esp + 0x48]
push ecx
jmp 0x48449f
mov esi, dword [esp + 0x44]
mov ebx, 0x10
mov byte [esp + 0x14], 0x43
mov byte [esp + 0x15], 0x44
mov dword [esi], ecx
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 0x24
mov byte [esp + 0x18], 0x57
mov byte [esp + 0x19], 0x96
mov byte [esp + 0x1a], 0x55
mov byte [esp + 0x1b], 0x40
mov byte [esp + 0x1c], 0x54
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x5a
mov byte [esp + 0x1f], 0x42
mov byte [esp + 0x20], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x22], 1
mov byte [esp + 0x23], 0x38
xor eax, eax
mov dl, byte [esp + eax + 0x14]
add dl, al
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, ebx
jb 0x4843fd
add ecx, 0xfffffffc
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x50]
call fcn.0047ad50
lea ecx, [esp + 0x48]
call fcn.0047b480
mov edx, dword [esi]
push eax
sub edx, 4
lea eax, [esp + 0x18]
push edx
push edi
push ebx
push eax
push 3
call fcn.004a3030
test eax, eax
je 0x48448a
cmp eax, 0xffffffff
je 0x48448a
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x50]
call fcn.0047ad50
lea ecx, [esp + 0x48]
call fcn.0047b460
mov ecx, dword [esp + 0x40]
cmp dword [eax + ecx], ecx
je 0x484477
lea ecx, [esp + 0x48]
mov dword [ebp], 0xa5
call fcn.0047b040
lea ecx, [esp + 0x48]
push ecx
jmp 0x48449f
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x50]
call fcn.0047ad50
lea edx, [esp + 0x48]
push edx
jmp 0x48449f
lea ecx, [esp + 0x48]
mov dword [ebp], 0x9b
call fcn.0047b040
lea eax, [esp + 0x48]
push eax
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.0047ac60
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c], 0
call fcn.0047aca0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4844e0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c03cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
call fcn.0047ab70
push 0x6399d8
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], 1
call fcn.00468580
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x138], 2
call fcn.00468580
mov ecx, dword [esp + 0x148]
mov edx, dword [eax]
mov eax, dword [esp + 0x140]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str.__d___s___d______
push ecx
mov byte [esp + 0x148], 3
call fcn.0046be00
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], 2
call fcn.00468df0
mov al, 0x41
mov ecx, 0x3f
mov byte [esp + 0x14], al
mov byte [esp + 0x23], al
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x15], 0x34
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x16], 0x40
mov byte [esp + 0x17], 0x21
mov byte [esp + 0x18], 0x50
mov byte [esp + 0x19], 0x64
mov byte [esp + 0x1a], 0x36
mov byte [esp + 0x1b], 0x71
mov byte [esp + 0x1c], 0x55
mov byte [esp + 0x1d], 0x10
mov byte [esp + 0x1e], 0x5a
mov byte [esp + 0x1f], 0x42
mov byte [esp + 0x20], 9
mov byte [esp + 0x21], 0xa0
mov byte [esp + 0x22], 8
mov ecx, dword [eax - 8]
lea edx, [esp + 0x2c]
add ecx, ecx
push edx
push ecx
push eax
lea edx, [esp + 0x20]
push 0x10
push edx
push 7
call fcn.004a34b0
cmp eax, ebx
jne 0x48462a
mov eax, dword [esp + 0x14c]
mov esi, dword [esp + 0x13c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [eax], 0xc1
call fcn.0047ac60
mov dword [esp + 0x24], 1
jmp 0x484654
lea edx, [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.0047b080
mov esi, dword [esp + 0x13c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0047ac60
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 1
call fcn.00468df0
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], bl
call fcn.0047aca0
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x484690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa4
push esi
mov esi, dword [esp + 0xac]
push edi
mov ecx, esi
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], 0x1e
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x18], 0x37
mov dword [esp + 0x1c], 0x19
mov dword [esp + 0x20], 0x52
mov dword [esp + 0x24], 0x21
mov dword [esp + 0x28], 0x46
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], 0x5f
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x38], 0x84
mov dword [esp + 0x3c], 0x85
mov dword [esp + 0x40], 0x91
mov dword [esp + 0x44], 0xa2
mov dword [esp + 0x48], 0x1a7
mov dword [esp + 0x4c], 0xef
mov dword [esp + 0x50], 0x1f1
mov dword [esp + 0x54], 0x19e
mov dword [esp + 0x58], 0x1ef
mov dword [esp + 0x5c], 0x1f4
mov dword [esp + 0x60], 0x2a2
mov dword [esp + 0x64], 0x226
mov dword [esp + 0x68], 0x2f1
mov dword [esp + 0x6c], 0x27f
mov dword [esp + 0x70], 0x2c5
mov dword [esp + 0x74], 0x32a
mov dword [esp + 0x78], 0x399
mov dword [esp + 0x7c], 0x3ba
mov dword [esp + 0x80], 0x3d4
mov dword [esp + 0x84], 0x3e8
mov dword [esp + 0x88], 0x96a
mov dword [esp + 0x8c], 0x598
mov dword [esp + 0x90], 0x644
mov dword [esp + 0x94], 0x657
mov dword [esp + 0x98], 0x7a2
mov dword [esp + 0x9c], 0xbee
mov dword [esp + 0xa0], 0x1243
mov dword [esp + 0xa4], 0x14d8
mov dword [esp + 0xa8], 0x24d0
call fcn.0047b460
mov ecx, esi
mov edi, eax
call fcn.0047ad40
cmp eax, 0xc
jbe 0x484881
xor ecx, ecx
push ebx
push ebp
mov dword [esp + 0x10], ecx
mov ebx, 0x98
mov edx, dword [esp + 0xbc]
test edx, edx
jne 0x48482f
mov ecx, ebx
mov edx, dword [esp + ecx + 0x14]
mov ecx, dword [esp + ecx + 0x18]
cmp edx, ecx
je 0x48486c
jle 0x484843
mov esi, edx
mov edx, ecx
mov ecx, esi
lea esi, [edx + 4]
cmp esi, eax
jle 0x48484d
lea edx, [eax - 4]
lea esi, [ecx + 4]
cmp esi, eax
jle 0x484857
lea ecx, [eax - 4]
mov esi, ecx
sub esi, edx
cmp esi, 4
jb 0x48486c
mov ebp, dword [ecx + edi]
mov esi, dword [edx + edi]
mov dword [edx + edi], ebp
mov dword [ecx + edi], esi
mov ecx, dword [esp + 0x10]
sub ebx, 8
add ecx, 8
cmp ebx, 0xfffffff8
mov dword [esp + 0x10], ecx
jg 0x484822
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xa4
ret

Function at 0x484890
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c0401
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5d44ec]
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ebp, [esi + 0x14]
mov dword [ebp], eax
xor edi, edi
mov dword [esi + 0x28], 0x5d4d60
mov dword [esp + 0x18], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 1
call fcn.00551cb0
push 0x6399d8
mov ecx, ebp
mov byte [esp + 0x1c], 2
mov dword [esi], 0x5d4d5c
mov dword [esi + 4], 1
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.004690d0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x484a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c0460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push edi
mov esi, ecx
call ebp
lea edi, [esi + 0x3c]
push 0x10b
push str.D:Backup_
push eax
mov ecx, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 2
call fcn.005520e0
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
call ebp
push 0x244
mov ecx, edi
push str.D:Backup_
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 2
call fcn.005520e0
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0xc]
mov byte [esp + 0x38], 1
cmp ecx, ebx
jne 0x484add
cmp eax, ebx
mov byte [esp + 0x38], bl
je 0x484b1e
mov eax, dword [esp + 0x18]
dec eax
je 0x484acb
dec eax
jne 0x484b1e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
call fcn.00552360
jmp 0x484b1e
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00552030
jmp 0x484b1e
push 0x6399d8
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], ebx
call fcn.004690d0
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call fcn.00486ba0
lea ecx, [esp + 0x10]
mov dword [esi + 0xc], ebx
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov byte [esp + 0x38], bl
call fcn.00484b80
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], edx
call fcn.004690d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
mov ebp, 1
cmp eax, ebx
mov dword [esi + 0x18], ecx
mov dword [esi + 0xc], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebx
mov dword [esp + 0x38], 0xffffffff
je 0x484b63
mov edx, dword [esp + 0x20]
mov ecx, edi
push edx
call fcn.00552360
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x485cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c05d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
lea ebx, [esi + 0x3c]
push 0x281
push str.D:Backup_
push edi
mov ecx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 2
call fcn.005520e0
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0xc]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x34], ebp
jne 0x485d2f
cmp eax, ebp
mov dword [esi + 4], 0xf002
mov dword [esi + 8], 0x284
mov dword [esp + 0x34], 0xffffffff
je 0x485eb8
jmp 0x485eb0
cmp dword [esp + 0x3c], ebp
je 0x485e96
cmp dword [esp + 0x40], ebp
je 0x485e96
mov eax, dword [esi + 0x30]
xor ebx, ebx
cmp eax, ebp
jle 0x485d89
mov edi, dword [esi + 0x2c]
mov eax, dword [esp + 0x3c]
add edi, ebp
push eax
mov ecx, dword [edi]
push ecx
call fcn.0044febe
add esp, 8
test eax, eax
jne 0x485d7e
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 4]
push edx
push eax
call fcn.0044febe
add esp, 8
test eax, eax
je 0x485e64
mov eax, dword [esi + 0x30]
inc ebx
add ebp, 0xc
cmp ebx, eax
jl 0x485d4c
mov eax, dword [0x5d44ec]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call fcn.0047ab70
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x38], 3
call fcn.004690d0
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.004690d0
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x18]
push edx
call fcn.0047acd0
mov edi, dword [esi + 0x30]
add esi, 0x28
push 0xffffffffffffffff
mov ecx, esi
lea eax, [edi + 1]
push eax
call fcn.00486ba0
mov edx, dword [esi + 4]
lea ecx, [edi + edi*2]
lea eax, [esp + 0x10]
lea esi, [edx + ecx*4]
push eax
mov ecx, esi
call fcn.00468fa0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
call fcn.00468fa0
lea edx, [esp + 0x18]
lea ecx, [esi + 8]
push edx
call fcn.0047acd0
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 5
call fcn.0047aca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.00468df0
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call fcn.00468df0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x485e5d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00552360
mov eax, 1
jmp 0x485eba
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [edi + 8]
call fcn.0047acd0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x485e8f
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push edx
call fcn.00552360
mov eax, 2
jmp 0x485eba
cmp eax, ebp
mov dword [esi + 4], 0xf000
mov dword [esi + 8], 0x28a
mov dword [esp + 0x34], 0xffffffff
je 0x485eb8
push edi
mov ecx, ebx
call fcn.00552360
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc