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

Disassembly:
mov eax, 0x80
call fcn.00442090
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
xor eax, eax
push edi
test esi, esi
je 0x4ae55b
mov ebx, dword [esp + 0x94]
mov eax, 1
mov dword [ebx], esi
jmp 0x4ae56d
mov ebx, dword [esp + 0x94]
mov ecx, dword [ebx]
mov dword [esp + 0xa0], ecx
mov esi, ecx
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4ae6d9
push esi
call fcn.004af930
mov edi, eax
add esp, 4
cmp edi, 0x80
jle 0x4ae5a3
push str.j____int_sizeof_ctx__key_
push 0x54
push str..cryptohmachmac.c
call fcn.004af560
add esp, 0xc
mov ebp, dword [esp + 0x9c]
cmp edi, ebp
jge 0x4ae5e2
mov edx, dword [esp + 0xa4]
lea edi, [ebx + 4]
push edx
push esi
push edi
call fcn.004aea70
mov eax, dword [esp + 0xa4]
push ebp
push eax
push edi
call fcn.004aebe0
lea esi, [ebx + 0x34]
lea ecx, [ebx + 0x38]
push esi
push ecx
push edi
call fcn.004aece0
add esp, 0x24
jmp 0x4ae621
test ebp, ebp
jl 0x4ae5ee
cmp ebp, 0x80
jle 0x4ae602
push str.len_0__len__int_sizeof_ctx__key_
push 0x5e
push str..cryptohmachmac.c
call fcn.004af560
add esp, 0xc
mov esi, dword [esp + 0x98]
mov ecx, ebp
mov edx, ecx
lea edi, [ebx + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x34]
mov dword [esi], ebp
mov esi, dword [esi]
cmp esi, 0x80
je 0x4ae646
mov ecx, 0x80
xor eax, eax
sub ecx, esi
lea edi, [esi + ebx + 0x38]
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 esi, dword [esp + 0xa0]
xor eax, eax
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x80
jl 0x4ae64f
mov ebp, dword [esp + 0xa4]
lea edi, [ebx + 0x14]
push ebp
push esi
push edi
call fcn.004aea70
push esi
call fcn.004af930
lea edx, [esp + 0x20]
push eax
push edx
push edi
call fcn.004aebe0
add esp, 0x1c
xor eax, eax
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x80
jl 0x4ae68b
lea edi, [ebx + 0x24]
push ebp
push esi
push edi
call fcn.004aea70
push esi
call fcn.004af930
lea edx, [esp + 0x20]
push eax
push edx
push edi
call fcn.004aebe0
add esp, 0x1c
lea eax, [ebx + 0x14]
add ebx, 4
push eax
push ebx
call fcn.004aed90
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
test eax, eax
je 0x4ae6be
jmp 0x4ae64d
Function at 0x4af3e0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104
call fcn.00442090
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4af429
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4af429
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push 0x6464c0
call fcn.00599c44
add esp, 0xc
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push eax
lea ecx, [ebp - 0x104]
push 0xff
push ecx
call fcn.00599bf4
add esp, 0x10
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4af53b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov ebx, eax
test ebx, ebx
je 0x4af53b
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
jne 0x4af53b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4af53b
mov eax, dword [ebp - 4]
cmp eax, 0x200
ja 0x4af53b
lea esi, [eax + 1]
and esi, 0xfffffffe
mov dword [ebp - 4], esi
lea eax, [esi + 2]
add eax, 3
and al, 0xfc
call fcn.00442090
lea eax, [ebp - 4]
mov edi, esp
push eax
push esi
push edi
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
je 0x4af53b
mov ecx, dword [ebp - 4]
push str.Service_0x
push edi
lea eax, [ecx + 1]
and al, 0xfe
mov dword [ebp - 4], eax
shr eax, 1
mov word [edi + eax*2], 0
call fcn.00441d03
add esp, 8
test eax, eax
je 0x4af53b
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push 0
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x104]
push 1
push esi
mov dword [ebp - 4], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
lea ecx, [ebp - 0x104]
push str.OpenSSL:_FATAL
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dc480
Capabilities:
Get user security identifier

Disassembly:
mov eax, dword [0x668974]
sub esp, 0xa0
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
push edi
jne 0x4dc4cc
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, 2
jne 0x4dc4c7
mov dword [0x668978], eax
mov dword [0x668974], eax
cmp dword [0x668978], ebx
jne 0x4dc4e0
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa0
ret
mov ebp, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
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 0x4dc52c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x4dc52c
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa0
ret
mov ecx, dword [esp + 0xc]
push esi
push ecx
call fcn.005c8d38
mov edx, dword [esp + 0x18]
mov dword [edi], eax
lea eax, [edx + edx]
push eax
call fcn.005c8d38
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x4dc571
test esi, esi
je 0x4dc582
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 0x4dc57e
push esi
call fcn.005c8d61
add esp, 4
test ebx, ebx
jne 0x4dc591
mov edi, dword [edi]
test edi, edi
je 0x4dc591
push edi
call fcn.005c8d61
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x4dcca0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5def58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x66891c]
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
jne 0x4dce8b
push 1
push 0x668928
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push esi
push esi
push 1
push 0x668928
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea ecx, [ebp - 0x34]
mov dword [0x668940], 0xc
mov dword [0x668948], esi
mov dword [0x668944], 0x668928
call fcn.00461db0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.005c7006
mov eax, dword [0x66897c]
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 0x4dcda1
mov ecx, 0x24
xor eax, eax
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xcc]
mov ecx, 2
cmp eax, ecx
jne 0x4dcd97
mov eax, dword [ebp - 0xd8]
cmp eax, 6
ja 0x4dcd8d
jne 0x4dcd97
cmp dword [ebp - 0xd4], ecx
jb 0x4dcd97
mov dword [0x668980], 1
mov dword [0x66897c], 1
cmp dword [0x668980], esi
jne 0x4dcdae
mov ebx, 1
cmp ebx, esi
jle 0x4dcdf5
lea esi, [ebp - 0x24]
mov edi, ebx
mov ecx, dword [esi]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0045a830
mov edx, dword [ebp - 0x30]
push eax
push edx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00462510
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0045b0a0
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
call fcn.005c722a
add esi, 4
dec edi
jne 0x4dcdb7
xor esi, esi
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x34]
push ecx
push edx
push 0x668960
mov byte [ebp - 4], 3
call fcn.004dc860
add esp, 0xc
cmp eax, esi
jne 0x4dce49
lea eax, [ebp - 0x18]
push 0x614f00
push eax
mov dword [ebp - 0x18], esi
call fcn.0044436c
push 1
push 0x668960
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push 0x668960
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov eax, 0x4dce47
ret
mov eax, 1
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], eax
mov dword [0x668950], 0xc
mov dword [0x668958], esi
mov dword [0x668954], 0x668960
mov dword [0x66891c], eax
mov byte [ebp - 4], 0
call fcn.005c7039
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00461dc0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4df7d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, 0x8000
push edi
cmp eax, esi
mov dword [esp + 0x14], esi
jbe 0x4df7ee
mov dword [esp + 0x14], eax
mov esi, eax
push esi
call fcn.005c8d38
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
mov ebp, dword [esp + 0x24]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], ebx
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
push 0
push 0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jne 0x4df82d
xor ebx, ebx
jmp 0x4df84a
lea eax, [esp + 0x24]
push 0
push eax
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4df846
or ebx, 0xffffffff
jmp 0x4df84a
mov ebx, dword [esp + 0x24]
push 0
push 0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4df89d
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push 0
push ecx
push eax
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4df882
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x4df899
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005c8d61
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
cmp ebx, esi
jae 0x4df8c2
test ebx, ebx
je 0x4df996
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push 0
push edx
push ebx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4df996
lea ecx, [ebx + edi]
add edi, eax
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edi
call fcn.005c8d38
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x24], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4df8f6
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x4df935
push 0
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
je 0x4df935
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push 0
push eax
push esi
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4df92f
or esi, 0xffffffff
jmp 0x4df937
mov esi, dword [esp + 0x28]
jmp 0x4df937
xor esi, esi
mov edx, dword [esp + 0x2c]
push 0
push 0
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
je 0x4df95f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0
push eax
push ebx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add edx, ebx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
add edi, esi
mov dword [esp + 0x10], edx
test esi, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov ebx, esi
jg 0x4df8f2
push eax
call fcn.005c8d61
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.005c8d61
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4df9b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
call edi
cmp eax, 0xffffffff
jne 0x4df9d3
or ebx, eax
jmp 0x4df9d5
mov ebx, eax
push 2
push 0
push 0
push esi
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
je 0x4df9ef
mov dword [esp + 0x1c], eax
push 0
push ebx
push esi
call fcn.004dfcf0
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub eax, ebp
sub ecx, ebp
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x4dfa17
mov dword [esp + 0x20], eax
push 0x8000
call fcn.005c8d38
mov ebx, eax
add esp, 4
mov ecx, 0x2000
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push 0
push 0
lea ecx, [eax + ebp]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x24]
push 0
push edx
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4dfa61
or eax, 0xffffffff
jmp 0x4dfa9d
mov edi, dword [esp + 0x24]
mov eax, edi
test edi, edi
mov dword [esp + 0x14], eax
jle 0x4dfa9d
push 0
push 0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
je 0x4dfa99
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4dfaa8
cmp dword [esp + 0x10], edi
jne 0x4dfaa8
mov eax, dword [esp + 0x14]
add ebp, eax
cmp eax, 0x8000
jne 0x4dfabb
jmp 0x4dfa31
push ebx
call fcn.005c8d61
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0
sub eax, ecx
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call fcn.005c8d61
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4dfaf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5df14b
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
mov ebx, dword [esp + 0xb4]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
je 0x4dfc94
push ebx
call fcn.00441ab0
add esp, 4
test eax, eax
je 0x4dfc94
push ebx
lea ecx, [esp + 0x18]
call fcn.005c8727
mov esi, dword [esp + 0xc4]
mov dword [esp + 0xb8], ebp
cmp esi, ebp
je 0x4dfb61
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4dfc80
neg esi
sbb esi, esi
mov dword [esp + 0x18], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
and esi, 0xc0000000
add esi, 0xc0000000
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x4dfc34
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4dfb97
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x6552d8]
cmp eax, 0xffffffff
jne 0x4dfbd2
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, 2
sete al
mov dword [0x6552d8], eax
test eax, eax
je 0x4dfbeb
push 0
push 0x80
push 4
push 0
push 1
push esi
push ebx
call ebp
mov edi, eax
jmp 0x4dfc19
push ebx
lea ecx, [esp + 0x14]
call fcn.00454f20
mov edx, dword [esp + 0x10]
push 0
push 0x80
push 4
push 0
push 1
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00455730
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 3
mov dword [esp + 0x18], eax
jl 0x4dfb7e
cmp edi, 0xffffffff
je 0x4dfcca
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push edi
call esi
cmp eax, 0xffffffff
jne 0x4dfc4c
or ebp, eax
jmp 0x4dfc4e
mov ebp, eax
push 2
push 0
push 0
push edi
call esi
cmp eax, 0xffffffff
jne 0x4dfc60
or ebx, eax
jmp 0x4dfc62
mov ebx, eax
push 0
push 0
push ebp
push edi
call esi
test ebx, ebx
jne 0x4dfcca
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x4dfcb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
mov dword [esp + 0xb8], 0xffffffff
call fcn.005c8667
or eax, 0xffffffff
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret
lea eax, [esp + 0x10]
push 2
push eax
push 0
push edi
mov dword [esp + 0x20], 0xfeff
call fcn.004df7d0
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0xb8], 0xffffffff
call fcn.005c8667
mov eax, edi
jmp 0x4dfc97
Function at 0x4e0c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df31f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5f1c04]
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 8], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov byte [esp + 0x28], 2
cmp eax, edi
jle 0x4e0d60
push ebx
push ebp
mov bl, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
lea eax, [eax + edi*8]
cmp ecx, edx
ja 0x4e0d52
jne 0x4e0cca
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.005a3f70
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call fcn.0045b250
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x18]
jmp 0x4e0d26
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.005a3f70
mov ebp, eax
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
mov eax, dword [edx + edi*8]
push eax
push ecx
call fcn.005a3f70
add esp, 0x10
mov edx, dword [ebp]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x655324
push ecx
mov byte [esp + 0x40], 5
call fcn.0045e0b0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0045b0a0
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x20]
call fcn.0045b0a0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x4e0d44
push 0x65531c
lea ecx, [esp + 0x14]
call fcn.0045bce0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.0045bd40
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x4e0c8b
pop ebp
pop ebx
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0045a620
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.0045b0a0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0045b0a0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x5435e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e7f05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [esp + 0x18]
push ebx
push esi
mov esi, dword [esp + 0x1c]
lea eax, [edx + edx*2]
push edi
mov edi, esi
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 3
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x5436d4
inc edx
push ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x1c], 0
je 0x5436b5
mov ecx, dword [0x5f1c04]
mov dword [esi], ecx
mov edx, dword [0x5f1c04]
lea edi, [esi + 4]
mov dword [edi], edx
lea ebp, [esi + 8]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.004dffe0
lea ebx, [esi + 0x3c]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.004dffe0
mov eax, dword [0x5f1c04]
mov dword [esi + 0x74], eax
push 0x6651b4
mov ecx, esi
mov byte [esp + 0x20], 5
call fcn.0045b380
push 0x6651b4
mov ecx, edi
call fcn.0045b380
mov ecx, ebp
call fcn.004e0280
mov ecx, ebx
call fcn.004e0280
push 0x6651b4
lea ecx, [esi + 0x74]
mov dword [esi + 0x70], 0
call fcn.0045b380
mov eax, dword [esp + 0x28]
add esi, 0x78
dec eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jne 0x54362d
pop ebp
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x5436f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e7f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [esp + 0x18]
push ebx
mov ecx, edx
push esi
mov esi, dword [esp + 0x1c]
push edi
shl ecx, 4
add ecx, edx
xor eax, eax
shl ecx, 3
mov ebx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x5437f6
inc edx
push ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x1c], 0
je 0x5437d4
mov ecx, dword [0x5f1c04]
mov dword [esi], ecx
mov edx, dword [0x5f1c04]
lea edi, [esi + 4]
mov dword [edi], edx
lea ebp, [esi + 8]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.004dffe0
lea ebx, [esi + 0x3c]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.004dffe0
mov eax, dword [0x5f1c04]
mov dword [esi + 0x80], eax
push 0x6651b4
mov ecx, esi
mov byte [esp + 0x20], 5
call fcn.0045b380
push 0x6651b4
mov ecx, edi
call fcn.0045b380
mov ecx, ebp
call fcn.004e0280
mov ecx, ebx
call fcn.004e0280
xor eax, eax
push 0x6651b4
mov dword [esi + 0x78], eax
lea ecx, [esi + 0x80]
mov dword [esi + 0x70], eax
mov dword [esi + 0x7c], eax
call fcn.0045b380
mov eax, dword [esp + 0x28]
add esi, 0x88
dec eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jne 0x54373e
pop ebp
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5452f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e8330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
push str.___:_:
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
call fcn.005c86d5
push 0x664250
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.005c86d5
push 0x659288
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.005c86d5
push 0x664250
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.005c86d5
lea edi, [esi + 0x144]
push 0x664250
mov ecx, edi
mov byte [esp + 0x2c], 4
call fcn.005c87f0
mov eax, dword [esp + 0x30]
xor esi, esi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x5453fe
mov al, byte [esi + eax]
mov byte [esp + 0x1c], al
movsx eax, al
push eax
call fcn.0044404a
add esp, 4
test eax, eax
je 0x5453e6
push 0x664250
lea ecx, [esp + 0x14]
call fcn.005c86d5
push esi
lea ecx, [esp + 0x14]
push 0x633cc4
push ecx
mov byte [esp + 0x34], 5
call fcn.005c5f2f
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 8]
push edx
call fcn.005c8a7f
mov eax, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.005c8a6a
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.005c8667
jmp 0x5453f4
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
call fcn.005c8a6a
mov eax, dword [esp + 0x30]
inc esi
cmp esi, dword [eax - 8]
jl 0x54537f
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.004435c6
add esp, 8
test eax, eax
pop edi
pop esi
je 0x545488
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.004435c6
add esp, 8
test eax, eax
je 0x545488
lea ecx, [esp]
mov byte [esp + 0x20], 3
call fcn.005c8667
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.005c8667
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.005c8667
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.005c8667
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.005c8667
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
lea ecx, [esp]
mov byte [esp + 0x20], 3
call fcn.005c8667
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.005c8667
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.005c8667
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.005c8667
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.005c8667
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x24
ret 4