joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446aa0
Capabilities:
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1008
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x54d104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx], vtable.asw::instup::State.0
lea edx, [ecx + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x18], edx
movups xmmword [ecx + 8], xmm0
mov dword [edx], 0
xor edx, edx
mov dword [ecx + 0x1c], 7
mov word [ecx + 8], dx
mov dword [ebp - 4], edx
lea edx, [ecx + 0x30]
movups xmmword [ecx + 0x20], xmm0
mov dword [edx], 0
mov dword [ebp - 0x1c], edx
xor edx, edx
mov dword [ecx + 0x34], 7
mov word [ecx + 0x20], dx
lea edx, [ecx + 0x48]
movups xmmword [ecx + 0x38], xmm0
mov dword [edx], 0
mov dword [ebp - 0x20], edx
xor edx, edx
mov dword [ecx + 0x4c], 7
mov word [ecx + 0x38], dx
movups xmmword [ecx + 0x50], xmm0
xor eax, eax
mov dword [ecx + 0x60], edx
mov dword [ecx + 0x64], 7
mov word [ecx + 0x50], ax
lea edx, [ecx + 0x78]
movups xmmword [ecx + 0x68], xmm0
mov dword [edx], eax
mov dword [ebp - 0x24], edx
xor edx, edx
mov dword [ecx + 0x7c], 7
mov word [ecx + 0x68], dx
lea edi, [ecx + 0x80]
lea eax, [edi + 0x10]
movups xmmword [edi], xmm0
mov dword [eax], edx
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 0x98]
lea eax, [esi + 0x10]
movups xmmword [esi], xmm0
mov dword [eax], edx
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
add ecx, 0xb0
mov byte [ebp - 4], 6
call fcn.00438560
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x1c], 8
lea eax, [ecx + 8]
jb 0x446bc5
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov dword [edx], 0
xor edx, edx
mov word [eax], dx
lea eax, [ecx + 0x20]
cmp dword [eax + 0x14], 8
jb 0x446bde
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0
xor edx, edx
mov word [eax], dx
lea eax, [ecx + 0x38]
cmp dword [eax + 0x14], 8
jb 0x446bf7
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
mov dword [edx], 0
xor edx, edx
mov word [eax], dx
lea eax, [ecx + 0x68]
cmp dword [eax + 0x14], 8
jb 0x446c10
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov dword [edx], 0
xor edx, edx
mov word [eax], dx
cmp dword [edi + 0x14], 8
jb 0x446c26
mov edi, dword [edi]
mov eax, dword [ebp - 0x28]
mov dword [eax], edx
xor eax, eax
mov word [edi], ax
cmp dword [esi + 0x14], 8
jb 0x446c38
mov esi, dword [esi]
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
xor eax, eax
mov word [esi], ax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4518d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x4518da
call fcn.004514e5
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00451530
push eax
push esi
push dword [ebp + 8]
call fcn.004514e5
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00451530
push eax
push esi
push dword [ebp + 8]
call fcn.004514e5
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00451520
and esp, edi
iretd

Function at 0x451e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3c35b], al
inc dword [eax]
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00451530
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004514e5
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00451530
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004514e5
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00451520
out dx, al
sbb eax, 0xa580e057
int3
Function at 0x455030
Capabilities:
Read http header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f258e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov edi, dword [ebx + 0xc]
xor eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x18], eax
mov eax, edi
mov dword [ebp - 0x1c], 1
jb 0x4550bf
mov eax, dword [edi]
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push eax
push 0xffff
push dword [ecx + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4550e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x455194
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x10]
shr eax, 1
cmp eax, ecx
ja 0x45510a
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4550ff
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x455116
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0040b5f0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x455120
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x455128
mov edi, dword [edi]
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov eax, dword [ebp - 0x20]
push edi
push 0xffff
push dword [eax + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4551b6
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x10]
shr eax, 1
cmp eax, ecx
ja 0x455166
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x45515b
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x455172
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0040b5f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.Unable_to_query_response_headers_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x38]
call fcn.00495870
push 0x549cdc
lea eax, [ebp - 0x38]
push eax
call fcn.004b1dab
push str.Unable_to_query_response_headers_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x38]
call fcn.00495870
push 0x549cdc
lea eax, [ebp - 0x38]
push eax
call fcn.004b1dab
int3
Function at 0x455e90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2780
mov eax, dword fs:[0]
push eax
sub esp, 0x244
push ebx
push esi
push edi
mov eax, dword [0x54d104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx - 0x10]
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x18], 0x37434235
mov dword [ebp - 0x14], 0x37314446
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], 0x19
mov dword [eax + ebx - 0x10], 0x530c84
mov eax, dword [ebx - 0x10]
mov eax, dword [eax + 0xc]
mov dword [eax + ebx - 0x10], 0x530c7c
mov eax, dword [ebx - 0x10]
mov eax, dword [eax + 0x10]
mov dword [eax + ebx - 0x10], 0x530c38
mov eax, dword [ebx - 0x10]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x10]
mov dword [ecx + ebx - 0x14], eax
mov eax, dword [ebx - 0x10]
mov ecx, dword [eax + 0x10]
lea eax, [ecx - 0x24]
mov dword [ecx + ebx - 0x14], eax
movzx eax, word [0x530b70]
mov edi, dword [ebx - 0xc]
movq xmm0, qword [str.log_module]
mov ecx, dword [ebp - 0x14]
mov word [ebp - 0x1c], ax
movzx eax, byte [0x530b72]
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x38], ecx
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x48], xmm0
mov esi, dword [edi]
push eax
push 2
lea eax, [ebp - 0x158]
mov esi, dword [esi + 0x10]
mov ecx, esi
push eax
call dword [0x4f933c]
mov ecx, edi
call esi
push ecx
lea ecx, [ebp - 0x158]
call fcn.00456d20
lea ecx, [ebp - 0x158]
call fcn.0043f4a0
movzx eax, word [0x530b70]
mov edi, dword [ebx - 0xc]
movq xmm0, qword [str.log_module]
mov word [ebp - 0x28], ax
movzx eax, byte [0x530b72]
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], 0x37434235
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x37314446
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], ecx
movq qword [ebp - 0x30], xmm0
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0x19
mov esi, dword [edi]
push eax
push 2
lea eax, [ebp - 0x250]
mov esi, dword [esi + 0x10]
mov ecx, esi
push eax
call dword [0x4f933c]
mov ecx, edi
call esi
push ecx
lea ecx, [ebp - 0x250]
call fcn.00456da0
lea ecx, [ebp - 0x250]
call fcn.0043f4a0
mov edi, dword [ebx - 8]
test edi, edi
je 0x456051
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x456051
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4f933c]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x456051
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4f933c]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457e00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2b25
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x88]
cmp dword [ebx], eax
jl 0x457f62
call fcn.00458580
sub esp, 8
mov ecx, ebx
mov eax, esp
mov dword [eax], 0x530ed8
mov dword [eax + 4], 2
lea eax, [ebp - 0x38]
push eax
call fcn.0045c230
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea esi, [edi + 0x44]
movlpd qword [ebp - 0x1c], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x457e84
lock inc dword [eax + 4]
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x60]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], 0
test eax, eax
je 0x457ebb
mov eax, dword [eax]
jmp 0x457ebe
or eax, 0xffffffff
push 0
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x457f80
mov eax, dword [edi + 0x8c]
cmp dword [ebx], eax
jl 0x457ef6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x457eec
mov eax, dword [eax]
jmp 0x457eef
or eax, 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x457f32
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x457f32
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4f933c]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x457f32
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4f933c]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x457f62
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x457f58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457f9c
push ecx
push edx
call fcn.004af3e3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x50]
call fcn.004957b0
push 0x549cdc
mov eax, ecx
push eax
call fcn.004b1dab
call fcn.004bbc4f
int3
Function at 0x459e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2ebd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x54d104]
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, ecx
mov dword [ebp - 0x20], ebx
push 0x64
call fcn.004af3f1
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov word [edi], 0
push 2
push esi
call fcn.004ad864
lea eax, [edi + 0x34]
push eax
call fcn.004ae1ee
add ebx, 0xffffffe4
lea eax, [ebp - 0x24]
add esp, 0xc
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
cmp ebx, eax
je 0x459efc
mov esi, dword [ebx]
mov dword [ebx], edi
test esi, esi
je 0x459f1c
cmp dword [esi + 0x60], 0
jne 0x459f97
lea eax, [esi + 0x34]
push eax
call fcn.004ae1d1
add esp, 4
lea eax, [esi + 4]
push eax
call fcn.004ad83a
add esp, 4
push 0x64
push esi
jmp 0x459f14
lea eax, [edi + 0x34]
push eax
call fcn.004ae1d1
add esp, 4
push esi
call fcn.004ad83a
add esp, 4
push 0x64
push edi
call fcn.004af3e3
add esp, 8
mov esi, dword [ebp - 0x20]
push 4
add esi, 0xffffff54
call fcn.004af3f1
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x45acc0
push 0
push 0
call fcn.004c1d2c
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x459f9c
mov ecx, dword [ebx]
cmp dword [ecx + 0x60], 0
jne 0x459f97
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ecx + 0x5c], edx
mov dword [ecx + 0x60], eax
cmp dword [ebp - 0x18], 0
jne 0x459f97
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.004af3ab
mov esp, ebp
pop ebp
ret
call fcn.004c0585
push 6
mov dword [ebp - 0x18], 0
call fcn.004ad148
int3
Function at 0x46b040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3936
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x54d104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
push eax
mov dword [esi], vtable.asw::mi::ModuleDestructions.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
push 0x40
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.004af3f1
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 2
push 0x40
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.004af3f1
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x30], eax
mov eax, esi
mov byte [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46b220
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x54d104]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [esp + 0x20], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0046b2e0
add esp, 4
test esi, esi
je 0x46b2ce
mov edx, dword [esp + 0x18]
mov ecx, 0x78
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], edx
shr edx, 3
mov dword [esp + 0x68], eax
and edx, 0x3f
sub ecx, edx
mov eax, 0x38
sub eax, edx
cmp edx, 0x38
mov edx, 0x534020
cmovae eax, ecx
lea ecx, [esp + 8]
push eax
call fcn.0046b2e0
push 8
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x10]
call fcn.0046b2e0
movups xmm0, xmmword [esp + 0x10]
add esp, 8
movups xmmword [esi], xmm0
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret
Function at 0x46fe90
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x401c
call fcn.004b0170
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x554d00]
push ebx
push esi
xor bl, bl
mov dword [ebp - 0x400c], 0
xor esi, esi
mov word [ebp - 0x4008], 0x500
cmp eax, 0x10
jl 0x46fedc
cmp eax, 0xf
jl 0x46fedc
mov ecx, 0xfffffffc
mov dword [ebp - 0x4018], ecx
jmp 0x46ff16
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x4018]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x46ff00
mov ecx, dword [ebp - 0x4018]
mov esi, ecx
jmp 0x46ff16
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x4018], ecx
test eax, eax
jne 0x470029
lea eax, [ebp - 0x4014]
mov dword [ebp - 0x4010], 0
push eax
push 4
lea eax, [ebp - 0x4010]
push eax
push 0x14
push ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x47001e
cmp dword [ebp - 0x4010], 0
je 0x47001e
lea eax, [ebp - 0x4014]
push eax
push 0x4000
lea eax, [ebp - 0x4004]
push eax
push 2
push dword [ebp - 0x4018]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x47001e
test esi, esi
je 0x46ff82
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x401c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x400c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
xor esi, esi
cmp dword [ebp - 0x4004], esi
jbe 0x470000
nop word [eax + eax]
push dword [ebp + esi*8 - 0x4000]
push dword [ebp - 0x401c]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x46fffe
inc esi
cmp esi, dword [ebp - 0x4004]
jb 0x46ffc0
push dword [ebp - 0x401c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret
mov bl, 1
push dword [ebp - 0x401c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x470029
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.004af3ab
mov esp, ebp
pop ebp
ret
Function at 0x470480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x20c]
mov dword [ebp - 0x418], edx
push 0x104
mov eax, esi
mov ebx, ecx
push eax
push ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x104
jne 0x4704dc
push 0x10000
call fcn.004bbca0
mov esi, eax
add esp, 4
test esi, esi
je 0x470545
push 0x8000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x47054d
cmp byte [ebp + 8], 0
je 0x470516
push 0x104
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x470516
lea eax, [ebp - 0x20c]
cmp esi, eax
je 0x470510
push esi
call fcn.004bbcb0
add esp, 4
lea esi, [ebp - 0x414]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47054d
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x470527
sub edx, ecx
mov ecx, dword [ebp - 0x418]
sar edx, 1
push edx
push esi
call fcn.0040a680
jmp 0x470555
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x20c]
cmp esi, eax
je 0x470572
lea eax, [ebp - 0x414]
cmp esi, eax
je 0x470572
push esi
call fcn.004bbcb0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004af3ab
mov esp, ebp
pop ebp
ret
Function at 0x470a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov edx, ecx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], edx
push edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x470bb0
test eax, eax
je 0x470bb0
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x470a81
mov ecx, dword [edi]
push ebx
push esi
xor esi, esi
mov dword [edi + 0x10], 0
mov word [ecx], si
xor ecx, ecx
mov word [ebp - 0x20c], cx
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], 0x208
push ecx
push esi
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, 0xea
jne 0x470b6b
mov eax, dword [ebp - 0x210]
add eax, 2
push 0x4ff25c
push eax
mov dword [ebp - 0x214], eax
call fcn.004af426
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x470b53
lea eax, [ebp - 0x214]
push eax
push ebx
push 0
push 0
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x470b37
mov eax, dword [ebp - 0x214]
shr eax, 1
je 0x470b2e
lea edx, [eax - 1]
lea edx, [ebx + edx*2]
nop
cmp word [edx], 0
jne 0x470b2e
sub edx, 2
sub eax, 1
jne 0x470b20
push eax
push ebx
mov ecx, edi
call fcn.0040a680
push ebx
call fcn.004af421
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret
mov esi, 8
mov eax, esi
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x470b9d
mov eax, dword [ebp - 0x210]
shr eax, 1
je 0x470b8e
lea ecx, [ebp + eax*2 - 0x20e]
cmp word [ecx], 0
jne 0x470b8e
sub ecx, 2
sub eax, 1
jne 0x470b80
push eax
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0040a680
mov eax, esi
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x57
xor ecx, ebp
pop edi
call fcn.004af3ab
mov esp, ebp
pop ebp
ret