joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32cb
mov ecx, dword [edi + 0x5c]
call fcn.0041a580
push eax
lea ecx, [ebp - 4]
call fcn.004031f0
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041ad86
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x40d380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x332f
mov ecx, dword [edi + 0x5c]
call fcn.0041a580
push eax
lea ecx, [ebp - 4]
call fcn.004031f0
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041ad86
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x40d3d0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
push 0xa091
mov ecx, dword [ebx + 0x5c]
call fcn.0041a580
push eax
lea ecx, [ebp - 4]
call fcn.004031f0
mov ecx, dword [ebx + 0x5c]
push 0xa092
call fcn.0041a580
push eax
lea ecx, [ebp - 8]
call fcn.004031f0
lea ecx, [ebp - 4]
push dword [eax]
call fcn.0040cb00
push dword [ebp - 8]
call fcn.0041ad86
mov ecx, dword [ebx + 0x5c]
add esp, 4
push 0xa090
call fcn.0041a580
push eax
lea ecx, [ebp - 8]
call fcn.004031f0
xor esi, esi
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
sub eax, 1
je 0x40d44b
sub eax, 0xc
jne 0x40d450
mov esi, 0x180000
or esi, 0x131
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 8]
mov esi, eax
call fcn.0041ad86
add esp, 4
cmp esi, 1
jne 0x40d4d4
mov ecx, dword [ebx + 0x7c]
call fcn.00407cd0
test al, al
jne 0x40d4d4
mov ecx, dword [ebx + 0x5c]
push 0x2cec
call fcn.0041a580
push eax
lea ecx, [ebp - 8]
call fcn.004031f0
mov ecx, dword [ebx + 0x5c]
push 0x2cee
call fcn.0041a580
push eax
lea ecx, [ebp - 0xc]
call fcn.004031f0
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
push 0x10
push edi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call fcn.0041ad86
push edi
call fcn.0041ad86
add esp, 8
push dword [ebp - 4]
call fcn.0041ad86
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e9d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ad00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, ecx
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0
sub eax, 0x1e
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
test edi, edi
je 0x40ea96
and edi, 0xfffffbff
cmp byte [ebx + 0x64], 0
je 0x40ea8a
push esi
push 0
push 0
push 0x474
push dword [ebx + 4]
or edi, 0x400000
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x402000
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop esi
push edi
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0041ad75
mov esp, ebp
pop ebp
ret

Function at 0x40f4e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32ca
mov ecx, dword [edi + 0x5c]
call fcn.0041a580
push eax
lea ecx, [ebp - 4]
call fcn.004031f0
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041ad86
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x410350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32c8
mov ecx, dword [edi + 0x5c]
call fcn.0041a580
push eax
lea ecx, [ebp - 4]
call fcn.004031f0
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041ad86
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x410a20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32cc
mov ecx, dword [edi + 0x5c]
call fcn.0041a580
push eax
lea ecx, [ebp - 4]
call fcn.004031f0
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041ad86
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x4113d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ad8b
add esp, 4
mov esi, eax
push edi
push esi
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push dword [ebx + 4]
mov dword [ebx + 0x38], esi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x415a30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
sub esp, 8
mov ebx, ecx
mov dword [ebp - 4], ebx
call fcn.00414a10
push 0
push 0
lea eax, [ebx + 0x2c]
push 0x1009
push dword [eax]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xd
mov dword [ebx + 0x48], 0
call fcn.0041ad8b
mov esi, eax
add esp, 4
test esi, esi
je 0x415a8d
movq xmm0, qword [str.trustedPaths]
movq qword [esi], xmm0
mov ecx, dword [0x43d830]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 8], esi
call fcn.00408ec0
mov ecx, dword [ebx + 0x3c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00409160
mov edi, eax
test esi, esi
je 0x415ab1
push esi
call fcn.0041ad86
add esp, 4
test edi, edi
je 0x415b90
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x415b90
xor edi, edi
cmp dword [eax + 8], edi
jbe 0x415b90
mov eax, dword [eax + 4]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x415b80
mov eax, dword [ebx]
test eax, eax
je 0x415b80
cmp byte [eax], 0
je 0x415b80
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x415af8
sub edx, esi
mov esi, dword [ebp - 4]
lea ecx, [edx + 1]
cmp ecx, dword [esi + 0x48]
jbe 0x415b1d
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415b10
sub eax, edx
inc eax
mov dword [esi + 0x48], eax
push 0
push 0
push 0xffffffffffffffff
push dword [ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov dword [ebp - 8], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ad8b
mov esi, eax
add esp, 4
test esi, esi
je 0x415b9b
push dword [ebp - 8]
push esi
push 0xffffffffffffffff
push dword [ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x415b77
push esi
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.00413ad0
push esi
call fcn.0041ad86
add esp, 4
mov eax, dword [ebp - 0x10]
inc edi
cmp edi, dword [eax + 8]
jb 0x415ad2
mov ebx, dword [ebp - 4]
push 0
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418c80
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov byte [ebx + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
sub eax, 1
je 0x418cc3
sub eax, 0xc
jne 0x418cc7
mov byte [ebx + 0x20], 1
mov dword [ebx], 0x43de30
lea ecx, [ebx + 0x44]
mov dword [ebx + 0x28], 0
sub esp, 0xc
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
call fcn.00419700
mov ecx, dword [ebp + 8]
push 0x14050
mov dword [ebx + 0x48c], ecx
call fcn.0041a580
push eax
lea ecx, [ebp - 8]
call fcn.004031f0
mov ecx, dword [ebx + 0x48c]
push 0x14051
call fcn.0041a580
push eax
lea ecx, [ebp - 0xc]
call fcn.004031f0
mov edi, dword [ebp - 8]
mov ebx, edi
lea ecx, [ebx + 2]
nop dword [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x418d40
mov esi, dword [ebp - 0xc]
sub ebx, ecx
mov ecx, esi
sar ebx, 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418d57
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 3]
xor ecx, ecx
add eax, ebx
mov dword [ebp - 8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ad8b
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ecx + 0x40], eax
test eax, eax
je 0x418dc9
mov ecx, dword [ebp - 8]
push edi
push ecx
push eax
call fcn.0041dc65
mov eax, dword [ebp - 8]
sub eax, ebx
dec eax
push esi
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
lea eax, [eax + ebx*2]
add eax, 2
push eax
call fcn.0041dc65
mov eax, dword [ebp - 4]
add esp, 0x18
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [eax + 0x40]
mov word [eax + ecx*2 - 2], dx
push 0x484
call fcn.0041ada2
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, ebx
push dword [eax + 0x40]
sub esp, 0x10
call fcn.00419520
mov eax, dword [ebp - 4]
mov dword [ebx], 0x43de20
push esi
mov dword [eax + 0x488], ebx
mov dword [eax + 0x3c], 0
call fcn.0041ad86
push edi
call fcn.0041ad86
mov eax, dword [ebp - 4]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4190e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea ebx, [eax + 1]
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ad8b
mov edi, eax
add esp, 4
test edi, edi
je 0x41911d
push ebx
push edi
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push dword [esi + 4]
mov dword [esi + 0x3c], edi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x419520
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ad00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
push 0x58
push 0
mov dword [esi + 4], 0
lea edi, [esi + 0x20]
mov dword [esi + 0x14], 0
push edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call fcn.0041c660
xor eax, eax
lea ebx, [esi + 0x27c]
mov word [ebx], ax
xor ecx, ecx
push pe_nt_image_headers32
push ecx
lea eax, [ebp - 0x114]
mov word [esi + 0x7c], cx
push eax
mov dword [esi + 0x78], 1
mov dword [edi], 0x58
call fcn.0041c660
add esp, 0x18
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4195c8
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x4195ce
cmp eax, 4
jne 0x4195c8
cmp dword [ebp - 0x110], 0x5a
jae 0x4195ce
mov dword [edi], 0x4c
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0x7c]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], eax
mov eax, esi
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x5c], 0
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x54], 0x880024
mov ecx, dword [0x4ad950]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x64], 0x40d800
xor ecx, ebp
mov dword [esi + 0x24], 0
pop esi
pop ebx
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 0x18

Function at 0x41a330
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
xor ecx, ecx
mov edx, 2
lea esi, [ebx + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ad8b
add esp, 4
mov edi, eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0xc]
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.0041ad86
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4241ed
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042406c
Function at 0x186430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x20d028]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
push 4
lea ecx, [ebp - 8]
call fcn.001865c0
mov eax, dword [ebp + 8]
push eax
call fcn.00186420
add esp, 4
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.001866d0
add esp, 8
push eax
lea ecx, [ebp - 8]
call fcn.00186740
lea ecx, [ebp - 0x10]
call fcn.00186620
mov dword [ebp - 0x14], 0x185b80
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
push 0
lea ecx, [ebp - 8]
call fcn.00186610
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
call fcn.001b40ee
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
je 0x1864b7
lea ecx, [ebp - 8]
call fcn.001865e0
jmp 0x1864c8
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0
push 6
call fcn.00186e4c
lea ecx, [ebp - 8]
call fcn.00186620
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.001a55e3
mov esp, ebp
pop ebp
ret 4

Function at 0x1a6644
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x1f70d8]
test eax, eax
je 0x1a6683
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1a6683
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1a6683
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1a6683
cmp dword [ecx + 0x74], 0xe
jbe 0x1a6683
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1dd840
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.001dd438

Function at 0x1dd84b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.001dd5c2

Function at 0x1f35d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1f35fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1f35fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1f43c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x20d028]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
jle 0x1f43e5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x1f43ec
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x10], 0
jmp 0x1f4411
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jae 0x1f44b6
mov byte [ebp - 5], 5
push 1
push 0
lea edx, [ebp - 5]
push edx
call fcn.001a77a0
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 0x11], cl
movzx ecx, byte [ebp - 0x11]
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0x10]
movzx edx, byte [edx + 0x23fabc]
xor ecx, edx
mov byte [ebp - 5], cl
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 5]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
add ecx, edx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x10]
mov byte [edx], cl
push fcn.00183f00
push 0x204e3c
push 0x241488
call fcn.00184810
add esp, 8
mov ecx, eax
call fcn.00183b40
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x13], al
movzx ecx, byte [ebp - 0x13]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov byte [ecx], al
jmp 0x1f4408
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.001a55e3
mov esp, ebp
pop ebp
ret
Function at 0x1f44d0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x20d028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0x64616f4d
cmp dword [0x242d84], 0
je 0x1f450e
cmp dword [0x242d80], 0
jne 0x1f45ec
xor ebx, ebx
mov edi, dword fs:[ebx + 0x30]
mov edi, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edi, eax
add edi, dword [eax + 0x3c]
mov edx, dword [edi + 0x78]
add edx, eax
mov edi, dword [edx + 0x20]
add edi, eax
push ebp
mov ebp, ebx
mov esi, dword [edi + ebp*4]
add esi, eax
inc ebp
push ebx
push ecx
mov ecx, 0x64616f4e
sub ecx, 1
dec ecx
dec ecx
mov ebx, ecx
pop ecx
add ebx, 1
cmp dword [esi], ebx
pop ebx
jne 0x1f4533
push ebx
pushal
or ch, ch
sbb ax, 0x2a
popal
mov ebx, 0x41797262
sub ebx, 2
add ebx, 1
cmp dword [esi + 8], ebx
pop ebx
jne 0x1f4533
mov edi, dword [edx + 0x24]
add edi, eax
mov bp, word [edi + ebp*2]
mov edi, dword [edx + 0x1c]
add edi, eax
sub ebp, 1
mov edi, dword [edi + ebp*4]
add edi, eax
pop ebp
mov dword [0x242d84], edi
xor ebx, ebx
mov edi, dword fs:[ebx + 0x30]
mov edi, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edi, eax
add edi, dword [eax + 0x3c]
mov edx, dword [edi + 0x78]
add edx, eax
mov edi, dword [edx + 0x20]
add edi, eax
push ebp
mov ebp, ebx
mov esi, dword [edi + ebp*4]
add esi, eax
inc ebp
push eax
mov eax, 0x50746546
add eax, 1
cmp dword [esi], eax
pop eax
jne 0x1f45ac
push ebx
mov ebx, 0x73736571
add ebx, 1
cmp dword [esi + 0xa], ebx
pop ebx
jne 0x1f45ac
mov edi, dword [edx + 0x24]
add edi, eax
mov bp, word [edi + ebp*2]
mov edi, dword [edx + 0x1c]
add edi, eax
sub ebp, 1
mov edi, dword [edi + ebp*4]
add edi, eax
pop ebp
mov dword [0x242d80], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1f4600
cmp dword [ebp - 0x10], 1
je 0x1f4615
jmp 0x1f4628
mov ecx, dword [str.WQGUF]
mov eax, ecx
push eax
mov eax, dword [0x242d84]
call eax
mov dword [ebp - 0xc], eax
jmp 0x1f4628
mov ecx, dword [0x20dab4]
mov eax, ecx
push eax
mov eax, dword [0x242d84]
call eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x242d80]
call eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.001a55e3
mov esp, ebp
pop ebp
ret
Function at 0x6d209d16
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea eax, [eax + 0xc]
mov edx, eax
cmp edx, eax
je 0x6d209d70
push eax
push 0x6d20887a
call fcn.6d209dae
push 7
push 0x6d3600bc
push dword [eax + 0x30]
call fcn.6d20a107
cmp eax, 0
jne 0x6d209d4a
inc eax
jmp 0x6d209d72
push 0x6d208892
call fcn.6d209dae
push 7
push 0x6d3600bc
push dword [eax + 0x30]
call fcn.6d20a107
cmp eax, 0
jne 0x6d209d6b
inc eax
jmp 0x6d209d72
pop eax
mov eax, dword [eax]
jmp 0x6d209d24
xor eax, eax
ret

Function at 0x6d209d88
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 0x68]
and al, 0x70
cmp al, 0x70
sete al
movzx eax, al
ret

Function at 0x6d209d9c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
setne al
movzx eax, al
ret

Function at 0x6d209dae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x6d3600bc]
mov esi, dword [ebp + 8]
lodsw ax, word [esi]
xor ax, 0xc7
stosw word es:[edi], ax
cmp ax, 0
jne 0x6d209dbc
pop edi
pop esi
leave
ret 4

Function at 0x6d209dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x6d3600bc]
mov esi, dword [ebp + 8]
lodsb al, byte [esi]
xor al, 0xc7
stosb byte es:[edi], al
cmp al, 0
jne 0x6d209dde
pop edi
pop esi
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov edi, dword [edx + ebx]
test edi, edi
je 0x6d20a063
add edi, ebx
xchg esi, eax
push ecx
xor eax, eax
lea ecx, [eax - 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg esi, eax
mov esi, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
pop ecx
jne 0x6d20a063
sub ecx, dword [eax + 0x18]
neg ecx
mov edx, dword [eax + 0x24]
add edx, ebx
movzx edx, word [edx + ecx*2]
mov eax, dword [eax + 0x1c]
add eax, ebx
mov eax, dword [eax + edx*4]
add eax, ebx
jmp 0x6d20a06a
add edx, 4
loop 0x6d20a02a
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x6d20a071
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea ebp, [eax + 0xc]
mov eax, dword [ebp]
mov esi, dword [eax + 0x30]
movzx ecx, word [eax + 0x2e]
mov edi, dword [esp + 0x10]
mov dx, word [esi]
cmp dx, word [edi]
je 0x6d20a0bd
cmp dx, 0x41
jb 0x6d20a0a2
cmp dx, 0x5a
jbe 0x6d20a0a8
cmp dx, 0x61
jb 0x6d20a0b4
cmp dx, 0x7a
ja 0x6d20a0b4
xor dx, 0x20
jmp 0x6d20a0b6
jmp 0x6d20a0d0
cmp dx, word [edi]
je 0x6d20a0bd
jmp 0x6d20a0d0
add edi, 2
add esi, 2
sub ecx, 2
cmp ecx, 0
jne 0x6d20a08e
mov eax, dword [eax + 0x18]
jmp 0x6d20a0d8
mov eax, dword [eax]
cmp ebp, eax
jne 0x6d20a083
xor eax, eax
pop edi
pop esi
pop ebp
ret 4