joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f4c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x566098
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x10]
call fcn.004f4a90
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], 0
call fcn.004f6470
mov edi, dword [esp + 0x4c]
mov esi, eax
test edi, edi
jne 0x4f4ca8
mov edi, 0x582230
test esi, esi
jne 0x4f4cd1
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049ac30
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f4d4d
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x34]
call fcn.0049b510
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 1
call fcn.0049b510
mov byte [esp + 0x38], 2
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.004f72a0
push eax
lea ecx, [esp + 0x2c]
call fcn.0049b080
test al, al
jne 0x4f4d31
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.004f6470
mov esi, eax
test esi, esi
jne 0x4f4d03
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.0049ac30
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0
call fcn.0049ac30
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049ac30
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret

Function at 0x4f7610
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x566423
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.004f6ed0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x5becb4
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x5703dc
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.004f5a50
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4fafd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x566958
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x14]
call fcn.0049eff0
mov dword [esp + 0xc], vtable.cFindPattern.0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.004faec0
test al, al
jne 0x4fb080
cmp byte [esp + 0x40], al
je 0x4fb0ce
mov edi, dword [esp + 0x38]
cmp esi, dword [edi + 4]
je 0x4fb0ce
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.00406a80
mov edi, dword [edi + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0xc], vtable.cWCS.0
call fcn.0049ee80
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc
lea ecx, [esp + 0xc]
call fcn.004fada0
push eax
call fcn.004fad90
push eax
mov ecx, edi
call fcn.004fae50
test eax, eax
je 0x4fb0a7
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x14]
call fcn.004faef0
lea ecx, [esp + 0xc]
call fcn.004fadb0
test al, al
jne 0x4fb080
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.004fae40
mov esi, dword [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00406a80
mov esi, dword [esi + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0xc], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc
Function at 0x500c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x566f80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0049b4e0
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x14]
mov ebx, 1
mov byte [esp + 0x28], bl
cmp eax, esi
je 0x500d5c
push eax
call fcn.004fe3a0
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x500d3b
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ecx
cmp dword [eax + 4], ebx
jne 0x500d43
push esi
push str.systemEvent
push eax
call fcn.004fe530
add esp, 0xc
cmp eax, esi
jne 0x500cdc
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x500d5c
cmp dword [eax], esi
je 0x500d5c
mov edx, dword [eax]
jmp 0x500d49
push 0x575a68
push eax
call fcn.004fe690
add esp, 8
cmp eax, esi
jne 0x500cf9
lea ecx, [esp + 0xc]
call fcn.004189a0
jmp 0x500d5c
mov ecx, dword [str.stopMessage]
push 0xffffffffffffffff
push ecx
push eax
call fcn.00434f50
add esp, 0xc
lea ecx, [esp + 0xc]
mov bl, al
call fcn.004189a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0049ac30
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
mov ecx, dword [esp + 0xc]
cmp ecx, esi
je 0x500d5c
cmp dword [ecx], esi
je 0x500d5c
mov edx, dword [ecx]
push edx
call fcn.004fd3b0
mov eax, dword [esp + 0x10]
mov dword [eax], esi
add esp, 4
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0049ac30
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x5010f0
Capabilities:
Get common file path
Query environment variable

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 0x104
lea eax, [esp + 0xc]
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push ebx
lea ecx, [esp + 0xc]
push 0xffffffffffffffff
push ecx
call fcn.00402e30
lea edx, [esp + 0x14]
push ebx
push edx
mov dword [esi], eax
call fcn.004ff910
add esp, 0x14
test al, al
je 0x5011ff
push edi
push ebx
lea eax, [esp + 0x10]
push 0xffffffffffffffff
push eax
call fcn.00402e30
add esp, 0xc
mov dword [esi + 4], eax
call fcn.0045e770
cmp dword [0x5b1f24], 0xffffffff
mov edi, eax
jne 0x50118b
push 0x5b1f24
mov dword [0x5b1f24], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, edi
call fcn.0046b950
test eax, eax
je 0x5011be
cmp dword [0x5b1f24], ebx
setg al
cmp al, bl
je 0x5011be
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.004ff910
add esp, 8
test al, al
je 0x5011be
push ebx
lea edx, [esp + 0x10]
push 0xffffffffffffffff
push edx
call fcn.00402e30
add esp, 0xc
mov dword [esi + 8], eax
push 0x104
lea eax, [esp + 0x10]
push eax
push str._ProgramData_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
pop edi
test eax, eax
je 0x5011ff
push 0x56b9a8
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.0051c0c0
push ebx
lea edx, [esp + 0x18]
push 0xffffffffffffffff
push edx
call fcn.00402e30
add esp, 0x18
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0051916c
add esp, 0x20c
ret
Function at 0x506ba0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x567708
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 8], 0
mov dword [esi + 4], 0xbc00
mov byte [esi + 0xc], 0
mov eax, dword [esp + 0x1c]
push 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x20], 0
mov dword [esi], vtable.cParams4updateAndPostComputerState.0
mov dword [esi + 0x10], 0x52415943
call fcn.00402e30
mov ecx, dword [esp + 0x2c]
push 0
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x14], eax
call fcn.00402e30
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push 0
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
push edx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
call fcn.00402e30
mov ecx, dword [esp + 0x5c]
mov dl, byte [esp + 0x60]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x30], eax
mov al, byte [esp + 0x64]
mov byte [esi + 0x39], al
add esp, 0x24
mov dword [esi + 0x34], ecx
mov byte [esi + 0x38], dl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x28

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

Disassembly:
push 0xffffffffffffffff
push 0x5678b3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], 0xbc00
mov byte [esi + 0xc], bl
push ebx
push ebx
push ebx
push ebx
lea edi, [esi + 0x14]
push ebx
mov ecx, edi
mov dword [esp + 0x38], ebx
mov dword [esi], vtable.cMoveFilesParams.0
call fcn.00405970
mov eax, dword [esp + 0x2c]
push ebx
push 0xffffffffffffffff
push eax
mov byte [esp + 0x30], 1
call fcn.00402e30
mov ebp, dword [esp + 0x3c]
push 2
push str.fromToPairs
push ebp
mov dword [esi + 0x10], eax
call fcn.004fe530
lea ecx, [esp + 0x2f]
push ecx
push str.flags
push ebp
mov dword [esp + 0x50], eax
mov byte [esp + 0x3b], bl
call fcn.004fe610
add esp, 0x24
mov dword [esi + 0x34], eax
cmp byte [esp + 0x17], bl
jne 0x507452
mov dword [esi + 0x34], ebx
mov edx, dword [esp + 0x2c]
push ebx
push edx
push edi
call fcn.00501220
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x507cc0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x567a30
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0xa8]
lea ecx, [esp + 0x17]
push ecx
push str.drive
push esi
mov dword [esp + 0x40], eax
call fcn.004fe610
mov bl, byte [esp + 0x23]
add esp, 0xc
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
test bl, bl
jne 0x507d32
mov dword [esp + 0x1c], 0xffffffff
push 0x580e9c
mov ecx, esi
call fcn.00417cd0
cmp dword [eax + 4], 5
mov edi, 0x5703dc
jne 0x507d4c
mov edi, dword [eax + 0x14]
mov dx, word [0x5845dc]
mov al, byte [0x5845de]
push edi
mov word [esp + 0x1c], dx
mov byte [esp + 0x1e], al
call fcn.004349c0
add esp, 4
test al, al
je 0x507d85
test bl, bl
je 0x507d85
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x507d85
add al, 0x41
mov byte [esp + 0x18], al
lea edi, [esp + 0x18]
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x48]
call fcn.00402f20
mov ecx, dword [eax + 4]
push ecx
mov dword [esp + 0x98], 0
call fcn.00423bd0
add esp, 4
lea ecx, [esp + 0x38]
mov esi, eax
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x38], vtable.cWCS.0
call fcn.0049ee80
mov byte [esp + 0x2c], 0
mov ebx, 1
cmp esi, 4
je 0x507de1
test esi, esi
jne 0x507de1
mov byte [esp + 0x2c], bl
push 0
lea ecx, [esp + 0x24]
call fcn.0049ab60
push 0xffffffffffffffff
push str._event_:_event_:_checkSystemRestore__
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], ebx
call fcn.0049af70
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
push 0
push 0
push 0
push 0xa
lea edx, [esp + 0x58]
push edx
push esi
push ebp
call fcn.0051ab7b
add esp, 0x10
push eax
lea eax, [esp + 0x30]
push str.eventId
push eax
call fcn.004fecb0
add esp, 0x18
push 0xffffffffffffffff
push str._checkSystemRestore_:
lea ecx, [esp + 0x28]
call fcn.0049af70
cmp byte [esp + 0x17], 0
je 0x507e6e
mov eax, dword [esp + 0x1c]
push 0xa
push 0
cdq
push edx
push eax
lea ecx, [esp + 0x30]
push str.drive
push ecx
call fcn.004feb40
jmp 0x507e83
push 0
push 0
push ebx
push edi
lea edx, [esp + 0x30]
push 0x580e9c
push edx
call fcn.004fecb0
mov eax, dword [esp + 0x44]
add esp, 0x18
push ebx
push eax
lea ecx, [esp + 0x28]
push str.isActive
push ecx
call fcn.004fedb0
add esp, 0x10
push 0xffffffffffffffff
push 0x56edf4
lea ecx, [esp + 0x28]
call fcn.0049af70
push 0xffffffffffffffff
push 0x57f494
lea ecx, [esp + 0x28]
call fcn.0049af70
mov edx, dword [esp + 0x20]
push edx
push esi
push ebp
call fcn.00507ae0
add esp, 0xc
test eax, eax
je 0x507ee5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push 0
push eax
push ecx
call fcn.004ca100
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x94], 0xffffffff
call fcn.0049ac30
xor eax, eax
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0051916c
add esp, 0x84
ret
Function at 0x509090
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x567c2b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0x10
call fcn.0051a2f5
add esp, 4
test eax, eax
je 0x5090d7
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], 0x627470
mov esi, eax
jmp 0x5090d9
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x18], eax
test esi, esi
je 0x509162
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.004abdf0
add esp, 8
push 0
push 4
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00421370
push 0
push 8
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.00421370
push 0
push 8
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00421370
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x509030
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x509160
mov edx, dword [esp + 0xc]
push str.postMessage_TaskCmd
push edx
call fcn.004661d0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x50a730
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x567df8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x5c]
cmp dword [ebx + 4], 2
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x20], eax
je 0x50a782
mov eax, 0x41
jmp 0x50a872
xor esi, esi
xor edi, edi
cmp dword [ebx + 0x10], esi
jbe 0x50a7ab
jmp 0x50a790
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + edi*4]
push ebp
call fcn.0050a6a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x50a7ab
inc edi
cmp edi, dword [ebx + 0x10]
jb 0x50a790
push 0
lea ecx, [esp + 0x18]
call fcn.0049ab60
mov dword [esp + 0x50], 0
test esi, esi
je 0x50a7c5
add esi, 0x64
or edi, 0xffffffff
push edi
push str.___systemEvent_:__
lea ecx, [esp + 0x1c]
call fcn.0049af70
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push 0
push 0
push 0
push 0xa
lea edx, [esp + 0x34]
push edx
push eax
push ecx
call fcn.0051ab7b
add esp, 0x10
push eax
lea edx, [esp + 0x24]
push str.eventId
push edx
call fcn.004fecb0
add esp, 0x18
push 0
push 1
push 0
push 0xa
lea eax, [esp + 0x34]
push eax
push esi
call fcn.0051aaa1
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
push str.eventCode
push ecx
call fcn.004fecb0
add esp, 0x18
push edi
push 0x584aa0
lea ecx, [esp + 0x1c]
call fcn.0049af70
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push 0
push edx
push eax
call fcn.004ca100
add esp, 0xc
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x14]
test al, al
jne 0x50a86b
call fcn.0049ac30
lea eax, [edi + 0xf]
jmp 0x50a872
call fcn.0049ac30
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0051916c
add esp, 0x40
ret
Function at 0x50d150
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
test esi, esi
jle 0x50d17f
push ebx
push edi
mov eax, dword [edx + ecx*4]
rol eax, 0x10
mov edi, eax
shr edi, 8
mov ebx, eax
shl ebx, 8
xor edi, ebx
and edi, 0xff00ff
shl eax, 8
xor edi, eax
mov dword [edx + ecx*4], edi
inc ecx
cmp ecx, esi
jl 0x50d158
pop edi
pop ebx
ret

Function at 0x50d180
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
xor eax, eax
ret
Function at 0x510b30
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x568511
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0043f9f0
mov ebx, 1
push ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x20], 0
mov dword [esi], vtable.cModeViewDirtyRecords.0
call fcn.00424330
push 0xffffffffffffffff
lea edi, [esi + 0x2e0]
push 0
mov ecx, edi
mov byte [esp + 0x24], bl
call fcn.0049eff0
mov dword [edi], vtable.cWCStr.0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, 2
mov byte [esp + 0x1c], al
mov byte [esi + 0x28], bl
mov dword [esi + 0x3c], eax
or eax, 0xffffffff
mov dword [esi + 0x20], ecx
lea ebx, [esi + 0x2d4]
mov ecx, esi
mov dword [esi + 0x24], edx
mov dword [esi + 0x2d0], 0
mov dword [esi + 0x2cc], 0
mov dword [ebx], eax
mov dword [esi + 0x2d8], eax
mov dword [esi + 0x2dc], eax
call fcn.005102b0
test al, al
je 0x510c38
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00413c80
mov ecx, esi
call fcn.00414e80
push ebx
push 0
push esi
push 0x510a70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2d0], eax
test eax, eax
jne 0x510c28
push esi
call fcn.0043e680
add esp, 4
jmp 0x510c38
mov ecx, dword [ebx]
push str.cModeViewDirtyRecords::static_createObjectThread
push ecx
call fcn.004661d0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

Function at 0x510d60
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x56856b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
push 0x20
call fcn.0051a2f5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
test esi, esi
je 0x510dd6
mov eax, dword [esp + 0x24]
push 0
push 0xffffffffffffffff
push eax
call fcn.00402e30
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov dword [esi], edi
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jmp 0x510dd8
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x510e42
mov eax, dword [edi + 0x2d8]
add edi, 0x2d8
cmp eax, 0xffffffff
je 0x510dfe
push eax
call fcn.005109e0
add esp, 4
push edi
push 0
push esi
push 0x510c70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x510e2b
lea edx, [esi + 0x18]
push edx
call fcn.004ae5e0
push esi
call fcn.0051964d
add esp, 8
jmp 0x510e42
mov eax, dword [edi]
push str.cModeViewDirtyRecords::static_fillRecords
push eax
call fcn.004661d0
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x5113f0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x568633
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.cModeViewDirtyRecords.0
lea eax, [esi + 0x2dc]
push eax
push 0
push esi
push 0x510c50
push 0
push 0
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x511456
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x2e0]
mov dword [ecx], vtable.cWCS.0
call fcn.0049ee80
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 0
call fcn.004028f0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0043f780
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x512020
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x56886b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x78], 0
je 0x512063
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
inc dword [esi + 0x74]
mov eax, dword [esi + 0x74]
cmp eax, dword [esi + 0x4c]
jl 0x512083
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov ecx, dword [esi + 0x48]
mov edi, dword [ecx + eax*4]
mov edx, dword [0x5b37fc]
mov eax, edx
mov dword [esp + 0x10], 0
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5120a0
sub eax, ebx
sar eax, 1
mov ebx, eax
push ebx
push edx
push edi
call fcn.0051a35a
add esp, 0xc
test eax, eax
jne 0x5120f3
push 0x10
call fcn.0051a2f5
add esp, 4
test eax, eax
je 0x51206e
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [edi + ebx*2]
push eax
mov dword [eax + 4], 0
mov dword [eax], vtable.cWalkFilesThreadBlock.0
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
push 0x511620
jmp 0x51215f
mov edx, dword [0x5b3800]
mov eax, edx
lea ebx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x512100
sub eax, ebx
sar eax, 1
mov ebx, eax
push ebx
push edx
push edi
call fcn.0051a35a
add esp, 0xc
test eax, eax
jne 0x51216c
push 0x20
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x51206e
lea edx, [edi + ebx*2]
push edx
push esi
mov ecx, eax
call fcn.00511f20
test eax, eax
je 0x51206e
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
push 0x511ad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x78], eax
cmp dword [esi + 0x78], 0
setne al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret