joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cdb00
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x1c
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebx, ecx
mov ecx, dword [edi + 0x14]
cmp ecx, dword [0x635210]
jne 0x4cdb49
mov ecx, edi
call fcn.004cee20
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00583f9f
add esp, 0x1c
ret
cmp ecx, dword [0x635218]
jne 0x4cdc5e
mov eax, dword ds:[edi + 0x24]
sub eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x4cdc49
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x20]
mov esi, eax
push dword [esp + 0x20]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x6330dd], 0
je 0x4cdbda
mov ecx, dword [0x6365b4]
sub ecx, 1
jne 0x4cdc09
push 0x2b2b2b
jmp 0x4cdbdf
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov eax, dword [0x635790]
test eax, eax
jne 0x4cdbfc
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x635790], eax
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push 0xcc0020
push 0
push 0
push esi
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x10]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00583f9f
add esp, 0x1c
ret
mov ecx, dword [0x635224]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
je 0x4cdc7f
mov ecx, dword [ecx + 8]
nop
mov esi, dword [ecx]
cmp ebx, dword [esi + 0x5c]
je 0x4cdc94
inc eax
add ecx, 4
cmp eax, edx
jb 0x4cdc70
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00583f9f
add esp, 0x1c
mov edx, dword ds:[edi + 0x18]
lea eax, [edi + 0x1c]
push eax
mov ecx, esi
call fcn.004cf020
mov ecx, dword [esp + 0x24]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f9f
add esp, 0x1c
ret
Function at 0x4cee20
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x10], 0
push ebp
push esi
push edi
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x1c]
push dword [ebx + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x20]
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
je 0x4cf006
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x28]
mov esi, eax
push dword [esp + 0x28]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x6330dd], 0
je 0x4cef2e
mov ecx, dword [0x6365b4]
sub ecx, 0
je 0x4ceeff
nop word [eax + eax]
sub ecx, 1
jne 0x4cef4c
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x62dbbc]
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov eax, dword [0x635790]
test eax, eax
jne 0x4ceefc
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x635790], eax
push eax
jmp 0x4cef40
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov eax, dword [0x635790]
test eax, eax
jne 0x4ceefc
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x635790], eax
push eax
jmp 0x4cef40
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 6
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
cmp byte [0x633f3f], 0
jne 0x4cef5e
cmp byte [0x634005], 0
je 0x4cef9c
cmp byte [0x634004], 0
je 0x4cef8e
mov edi, dword [0x63573c]
test edi, edi
je 0x4cef9c
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
push eax
push 2
push 1
push esi
push dword [0x6352d8]
call dword [0x5a9914]
call edi
jmp 0x4cef9c
push 6
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [0x635234]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x25
lea eax, [esp + 0x20]
push eax
push 4
push str.Back
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xcc0020
push 0
push 0
push esi
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f9f
add esp, 0x24
ret
Function at 0x4cfa60
Capabilities:
Hide graphical window

Disassembly:
push ecx
cmp dword [0x63528c], 0
push ebx
push ebp
push esi
push edi
je 0x4cfb2b
mov eax, dword [0x635224]
xor ecx, ecx
xor esi, esi
mov dword [0x63528c], ecx
mov dword [0x6352e0], ecx
cmp dword [eax], ecx
jbe 0x4cfafb
xor ebp, ebp
nop dword [eax]
mov eax, dword [eax + 8]
push 0
push ecx
push 3
mov ebx, dword [eax + ebp]
push ebx
mov edi, dword [ebx + 0xc]
mov ecx, edi
call dword [0x5a9914]
call edi
mov edi, dword [ebx + 0x20]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 3
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4cfae6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x635224]
inc esi
add ebp, 4
cmp esi, dword [eax]
jae 0x4cfafb
mov ecx, dword [0x63528c]
jmp 0x4cfa90
push 0
push dword [0x635294]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x635210]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x635218]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004cf460
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4d3680
Capabilities:
Get system information on windows

Disassembly:
sub esp, 8
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push esi
push edi
push 0x100
push 4
push dword [0x633a54]
mov dword [esp + 0x18], 0x100
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push 0x100
push ebx
push 0x64
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
xor esi, esi
cmp edi, 0xc0000004
jne 0x4d3717
cmp esi, 8
jae 0x4d3735
push ebx
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [esp + 0xc]
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push 0x64
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
inc esi
cmp edi, 0xc0000004
je 0x4d36d2
test edi, edi
js 0x4d3735
mov eax, edi
mov dword [0x6353c0], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00583f9f
add esp, 8
ret
push ebx
push 0
lfence
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f9f
add esp, 8
ret
Function at 0x4d3a40
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [0x62db64], 0x64
push ebp
push edi
mov ebp, ecx
jb 0x4d3ba9
push esi
mov esi, dword [0x6306ac]
push esi
push 4
push dword [0x633a54]
mov dword [esp + 0x18], esi
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
push 0
push edi
call fcn.005861d0
add esp, 0xc
mov dword [esp + 0x10], 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push edi
push 4
push eax
push 0xaf
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
cmp eax, 0xc0000023
jne 0x4d3b0c
add dword [esp + 0xc], 4
push edi
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [esp + 0xc]
push esi
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
push 0
push edi
call fcn.005861d0
add esp, 0xc
mov dword [esp + 0x14], 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edi
push 4
push eax
push 0xaf
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
pop esi
test eax, eax
js 0x4d3ba9
lfence
mov eax, dword [esp + 8]
add eax, 4
cmp dword [0x6306ac], 0x100000
mov dword [esp + 8], eax
ja 0x4d3b34
mov dword [0x6306ac], eax
push ebx
push 0
push eax
push edi
push 4
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 0xaf
xor bl, bl
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
test eax, eax
js 0x4d3b83
mov edx, dword [edi]
lea ecx, [edi + 0x20]
add edx, edi
mov eax, edi
cmp ecx, edx
ja 0x4d3b83
movzx ecx, byte [eax + 0xe]
cmp ecx, ebp
je 0x4d3b7d
add eax, dword [eax]
mov edx, dword [eax]
lea ecx, [eax + 0x20]
add edx, eax
cmp ecx, edx
jbe 0x4d3b66
jmp 0x4d3b83
mov bl, byte [eax + 0x13]
and bl, 1
push edi
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov al, bl
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00583f9f
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
xor al, al
pop edi
pop ebp
xor ecx, esp
call fcn.00583f9f
add esp, 0x14
ret
Function at 0x4d3d40
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x34
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp byte [0x633a48], 0
xorps xmm0, xmm0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x34], ecx
movlpd qword [esp + 0x28], xmm0
je 0x4d3e26
mov eax, dword [0x635328]
push 0
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [0x6353a8]
push 0x17
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebp, dword [0x635328]
mov ebx, dword [0x6353a8]
test eax, eax
jns 0x4d3db0
lea eax, [ebp*2]
add eax, ebp
shl eax, 3
push eax
push 0
push ebx
call fcn.005861d0
add esp, 0xc
xorps xmm0, xmm0
xor eax, eax
movlpd qword [esp + 0x18], xmm0
mov edi, dword [esp + 0x1c]
movlpd qword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
cmp ebp, 2
jb 0x4d3e02
lea esi, [ebp - 2]
shr esi, 1
lea eax, [ebx + 0x1c]
mov ebx, dword [esp + 0x18]
inc esi
lea ecx, [esi + esi]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14]
add ebx, dword [eax - 0x18]
lea eax, [eax + 0x30]
adc edi, 0
add edx, dword [eax - 0x30]
adc ecx, 0
sub esi, 1
jne 0x4d3de6
mov eax, dword ds:[esp + 0x38]
jmp 0x4d3e0a
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ebp
jae 0x4d3f23
mov esi, dword [0x6353a8]
lea eax, [eax + eax*2]
mov eax, dword [esi + eax*8 + 4]
xor esi, esi
jmp 0x4d3f2b
xor eax, eax
xor esi, esi
mov word [esp + 0x38], ax
cmp ax, word [0x633a4c]
jae 0x4d3eb0
nop dword [eax + eax]
push dword [esp + 0x38]
call sym.SystemInformer.exe_Ordinal_1505
movzx eax, ax
mov dword [esp + 0x18], eax
movzx eax, ax
push 0
lea edi, [eax + eax*2]
movzx eax, si
shl edi, 3
push edi
lea ebx, [eax + eax*2]
mov eax, dword [0x6353a8]
shl ebx, 3
add eax, ebx
push eax
push 2
lea eax, [esp + 0x48]
push eax
push 0x17
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov ebp, dword [0x6353a8]
test eax, eax
jns 0x4d3e95
push edi
lea eax, [ebx + ebp]
push 0
push eax
call fcn.005861d0
add esp, 0xc
mov ax, word [esp + 0x38]
add esi, dword [esp + 0x18]
inc ax
mov word [esp + 0x38], ax
cmp ax, word [0x633a4c]
jb 0x4d3e40
jmp 0x4d3eb6
mov ebp, dword [0x6353a8]
mov ecx, dword [0x635328]
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
xor eax, eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
movlpd qword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
cmp ecx, 2
jb 0x4d3f0c
lea esi, [ecx - 2]
shr esi, 1
lea eax, [ebp + 0x1c]
inc esi
lea ecx, [esi + esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
add ebx, dword [eax - 0x18]
lea eax, [eax + 0x30]
adc edi, 0
add edx, dword [eax - 0x30]
adc ecx, 0
sub esi, 1
jne 0x4d3ef2
mov eax, dword [esp + 0x18]
jmp 0x4d3f10
mov ecx, dword [esp + 0x24]
cmp eax, dword [0x635328]
jae 0x4d3f23
lea eax, [eax + eax*2]
xor esi, esi
mov eax, dword [ebp + eax*8 + 4]
jmp 0x4d3f2b
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add edx, ebx
adc ecx, edi
add eax, edx
pop edi
adc esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], esi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f9f
add esp, 0x34
ret
Function at 0x4e61c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x84]
cmp dword [esi], ebx
jbe 0x4e6205
movzx eax, dl
push edi
xor edi, edi
lea ecx, [eax*4]
mov dword [esp + 0x10], ecx
mov eax, dword ds:[esi + 8]
lea edi, [edi + 4]
inc ebx
mov edx, dword [edi + eax - 4]
xor ecx, dword [edx]
and ecx, 4
xor dword [edx], ecx
mov esi, dword [ebp + 0x84]
mov ecx, dword [esp + 0x10]
cmp ebx, dword [esi]
jb 0x4e61e3
pop edi
push 0
push 0
push 0x404
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4ef2a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
mov esi, ecx
push edi
movzx eax, word [esi + 8]
dec eax
cmp eax, 0xf
ja case.0x4ef2d0.7
movzx eax, byte [eax + 0x4ef4ac]
jmp dword [eax*4 + 0x4ef48c]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + edx*8 + 4]
lea edx, [eax + edx*8]
mov eax, dword [edx]
mov dword [esp + 0x10], 6
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], str.__0x
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x14]
push 4
push eax
mov dword [esp + 0x4c], 0x109
mov dword [esp + 0x60], ecx
mov byte [esp + 0x56], 0x10
mov dword [esp + 0x64], 1
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], 0x604e10
call sym.SystemInformer.exe_Ordinal_1375
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00583f9f
add esp, 0x74
ret
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + edx*8 + 4]
lea edx, [eax + edx*8]
mov eax, dword [edx]
mov dword [esp + 0x10], 9
jmp 0x4ef2eb
mov eax, dword ds:[esi + 0x14]
movzx ecx, word [eax + edx*8]
lea eax, [eax + edx*8]
test cx, cx
jne 0x4ef39b
call sym.SystemInformer.exe_Ordinal_1430
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00583f9f
add esp, 0x74
ret
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, ecx
jmp 0x4ef467
mov ecx, dword [esi + 0x14]
shl edx, 4
add ecx, edx
push dword [ecx + 0xc]
movzx eax, word [ecx + 8]
shr eax, 1
push eax
push dword [ecx + 4]
push dword [ecx]
push str.Version__I64u:__.s
call sym.SystemInformer.exe_Ordinal_1378
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00583f9f
add esp, 0x74
ret
mov eax, dword [esi + 0x14]
lea edi, [edx*8]
mov eax, dword [edi + eax]
test eax, eax
je 0x4ef418
cmp byte [eax], 1
jne 0x4ef418
cmp byte [eax + 1], 0xf
ja 0x4ef418
push 0
push 1
push eax
call sym.SystemInformer.exe_Ordinal_1860
test eax, eax
jne 0x4ef479
mov eax, dword [esi + 0x14]
push dword [eax + edi]
call sym.SystemInformer.exe_Ordinal_1867
test eax, eax
jne 0x4ef479
mov dword [esp + 0xc], str._Invalid_SID_
push str._Invalid_SID_
jmp 0x4ef460
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + edx*8]
or eax, dword [ecx + edx*8 + 4]
mov eax, str.True
jne 0x4ef43d
mov eax, str.False
mov dword [esp + 0xc], eax
push eax
jmp 0x4ef460
mov dword [esp + 0xc], str._Octet_string_
push str._Octet_string_
jmp 0x4ef460
mov dword [esp + 0xc], str._Unknown_
push str._Unknown_
call sym.SystemInformer.exe_Ordinal_1322
add eax, eax
push 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push 0
push eax
call sym.SystemInformer.exe_Ordinal_1331
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.00583f9f
add esp, 0x74
ret
Function at 0x4f5500
Capabilities:
Enumerate pe sections
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
movups xmm0, xmmword [eax]
mov edi, dword [ebp + 0x10]
movd eax, xmm0
movaps xmmword [esp + 0x100], xmm0
bswap eax
mov dword [esp + 0x100], eax
movzx eax, word [esp + 0x104]
mov ch, al
mov cl, ah
movzx eax, word [esp + 0x106]
mov word [esp + 0x104], cx
mov ch, al
mov cl, ah
lea eax, [esi + 0x10]
push eax
push 4
push dword [0x633a54]
mov word [esp + 0x112], cx
mov dword [esp + 0x24], eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
movups xmm0, xmmword ds:[esp + 0x100]
push esi
push edi
lea ecx, [eax + 0x10]
mov dword [esp + 0x1c], eax
push ecx
movups xmmword [eax], xmm0
call fcn.00586330
add esp, 0xc
cmp byte [ebp + 0x18], 3
jne 0x4f5674
lea eax, [esi + 0x10]
mov dword [esp + 0x28], 0x67452301
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
mov edx, esi
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.00572ae0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x38]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
add ecx, eax
sub edx, eax
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x4f5639
push edx
push 0
push ecx
call fcn.005861d0
add esp, 0xc
lea edx, [esp + 0x38]
lea ecx, [esp + 0x28]
call fcn.00572c50
push 0x38
push 0
lea eax, [esp + 0x40]
push eax
jmp 0x4f5640
lea eax, [edx - 8]
push eax
push 0
push ecx
call fcn.005861d0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
mov dword [esp + 0x74], eax
call fcn.00572c50
movups xmm0, xmmword [esp + 0x28]
movups xmmword [esp + 0x78], xmm0
jmp 0x4f56f7
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x88]
mov esi, dword [esp + 0x14]
mov edx, esi
push eax
mov dword [esp + 0xa4], 0x67452301
mov dword [esp + 0xa8], 0xefcdab89
mov dword [esp + 0xac], 0x98badcfe
mov dword [esp + 0xb0], 0x10325476
mov dword [esp + 0xb4], 0xc3d2e1f0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
call fcn.00575260
lea edx, [esp + 0x100]
lea ecx, [esp + 0x88]
call fcn.00575300
movups xmm0, xmmword [esp + 0x100]
mov byte [ebp + 0x18], 5
push esi
push 0
push dword [0x633a54]
movups xmmword [esp + 0x10c], xmm0
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edx, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x100]
pop edi
pop esi
movups xmmword [edx], xmm0
mov eax, dword [edx]
bswap eax
mov dword [edx], eax
movzx eax, word [edx + 4]
mov ch, al
mov cl, ah
movzx eax, word [edx + 6]
mov word [edx + 4], cx
mov ch, al
mov al, byte [ebp + 0x18]
mov cl, ah
mov word [edx + 6], cx
shr ecx, 8
shl al, 4
and cl, 0xf
or cl, al
movzx eax, byte [edx + 8]
mov byte [edx + 7], cl
and al, 0x3f
mov ecx, dword [esp + 0x124]
or al, 0x80
xor ecx, esp
mov byte [edx + 8], al
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4f6580
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
test byte [0x630810], 1
push ebx
push esi
jne 0x4f6605
mov esi, 0x630810
lock bts dword [esi], 0x1f
setb al
test al, al
je 0x4f65b9
test byte [0x630810], 1
jne 0x4f6605
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_Ordinal_1388
jmp 0x4f6605
push 4
push 0x635670
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4f65db
mov dword [0x635670], 0x2e
push 4
push 0x6356a4
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4f65fd
mov dword [0x6356a4], 0x2c
mov ecx, esi
call sym.SystemInformer.exe_Ordinal_1358
mov eax, dword [ebp + 0xc]
mov ecx, 3
mov dword [esp + 0x10], eax
xor eax, eax
cmp byte [ebp + 0x10], al
push 0
cmovne eax, ecx
mov dword [esp + 0x18], 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
mov dword [esp + 0x2c], 0x635670
push 0
push 0x400
mov dword [esp + 0x38], 0x6356a4
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov esi, eax
mov dword [esp + 0xc], 0
push 0
push 0
lea eax, [esp + 0x10]
lea ecx, [esi + esi]
push eax
mov dword [esp + 0x14], ecx
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, eax
lea eax, [esp + 0x10]
push esi
push dword [ebx + 4]
push eax
push dword [ebp + 8]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x4f66b2
lea ecx, ds:[ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4f66a8
call fcn.004fe1e0
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebx + 4]
call sym.SystemInformer.exe_Ordinal_1322
add eax, eax
mov dword [ebx], eax
mov eax, ebx
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4f8080
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 8], eax
mov ecx, dword [0x63568c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x4f80c3
mov eax, dword [0x635688]
mov dword [edi], eax
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x50], 0
je 0x4f80f4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
cmp dword [eax], 0
je 0x4f80f4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 0x50]
add esi, 0x1e
jmp 0x4f80f9
mov esi, 0x7ffe0030
push esi
call sym.SystemInformer.exe_Ordinal_1322
lea ecx, [eax + eax]
movzx eax, word [ecx + esi - 2]
mov edx, ecx
mov ebx, eax
cmp eax, 0x5c
jne 0x4f8113
lea edx, [ecx - 2]
lea eax, ds:[ecx - 2]
mov dword [edi], edx
cmp ebx, 0x5c
mov dword [edi + 4], esi
cmovne eax, ecx
xor ecx, ecx
mov dword [0x635688], eax
lea eax, [esp + 0x10]
lock or dword [eax], ecx
mov ecx, dword [esp + 0x14]
pop edi
mov dword [0x63568c], esi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 4