joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x43f168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x43f14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x43f145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x43f145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret

Function at 0x43f1d2
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
jmp edx
mov ecx, dword [ebx + 0x28]
cmp ecx, 1
je 0x43f1c1
mov ecx, ebx
sub ecx, dword [ebx + 4]
xor cx, cx
mov dword [ebx + 0x24], ecx
add ecx, dword [ebx + 8]
mov esi, ecx
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 4
cmp edx, ecx
jl 0x43f1f5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebx + 0x1c]
mov esi, ecx
mov ecx, dword [ebx + 0x20]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 4
cmp edx, ecx
jl 0x43f285
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebx + 0x28], 1
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
mov dword [esp + 0x34], edx
jmp edx
Function at 0x428bc0
Capabilities:
Terminate process

Disassembly:
inc dword [0x4ab02c]
mov ecx, dword [0x4ab02c]
movsx eax, word [0x4ab27c]
add ecx, 0x33f40e40
dec word [0x4ab27c]
cmp ecx, eax
jge 0x428c0b
inc dword [0x4ab1b0]
mov eax, dword [0x4ab1b0]
movsd xmm0, qword [0x4ab0f0]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
movsd qword [0x4ab0f0], xmm0
push dword [0x4ac418]
call fcn.00401380
mov ax, word [0x4ab458]
add esp, 4
movsx edx, ax
mov eax, dword [0x4ab068]
sub edx, eax
movsx eax, word [0x4ab0a8]
add edx, 0xdd32ca2a
mov ecx, dword [0x4ab168]
add eax, 0xe0dbf3bc
dec word [0x4ab458]
add ecx, eax
cmp edx, ecx
jg 0x428cb9
movss xmm0, dword [0x4ab11c]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4ab368]
subsd xmm1, xmm0
movsd xmm0, qword [0x4ab368]
addsd xmm0, qword [0x49cfa8]
comisd xmm1, xmmword [0x49dc28]
movsd qword [0x4ab368], xmm0
movss xmm0, dword [0x4ab11c]
addss xmm0, dword [0x49cfa4]
movss dword [0x4ab11c], xmm0
jb 0x428cde
movss xmm0, dword [0x4ab178]
subss xmm0, dword [0x49f15c]
movss dword [0x4ab178], xmm0
jmp 0x428cde
mov eax, dword [0x4ab100]
movss xmm0, dword [0x4ab300]
add eax, 0x52509635
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [0x4ab300], xmm0
push 1
call fcn.00454372
int3
Function at 0x4463e0
Capabilities:
Hash data with md5

Disassembly:
movsd xmm0, qword [0x4ab500]
mov edx, ecx
movsd xmm2, qword [0x49cfa8]
subsd xmm0, xmm2
movsd qword [0x4ab500], xmm0
movsd xmm0, qword [0x4ab2d8]
subsd xmm0, xmm2
movsd qword [0x4ab2d8], xmm0
movsd xmm1, qword [0x4ab500]
movsd xmm0, qword [0x4ab2d8]
subsd xmm0, qword [0x49db70]
comisd xmm1, xmm0
jb 0x446454
movsd xmm0, qword [0x4ab500]
movsd qword [0x4ab3a0], xmm0
movsd xmm0, qword [0x4ab500]
addsd xmm0, xmm2
movsd qword [0x4ab500], xmm0
mov dword [edx], 0
movsx eax, word [0x4ab08c]
movss xmm0, dword [0x4ab09c]
add eax, 0x6bdad113
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movss dword [0x4ab09c], xmm0
dec word [0x4ab08c]
mov dword [edx + 4], 0
mov ax, word [0x4ab074]
movsx ecx, word [0x4ab040]
dec word [0x4ab074]
cwde
add ecx, eax
cmp ecx, 0xcdc8635c
jne 0x4464d2
movsd xmm1, qword [0x4ab038]
addsd xmm1, qword [0x49d6f0]
movsd xmm0, qword [0x4ab428]
mulsd xmm0, xmm1
movsd qword [0x4ab428], xmm0
mov dword [edx + 8], 0x67452301
inc dword [0x4ab45c]
mov ax, word [0x4ab27c]
mov ecx, dword [0x4ab45c]
dec word [0x4ab27c]
cwde
add ecx, eax
cmp ecx, 0x7e7fdeaa
jle 0x446515
movsd xmm0, qword [0x4ab1e0]
subsd xmm0, qword [0x49f9b8]
movsd qword [0x4ab1e0], xmm0
mov dword [edx + 0xc], 0xefcdab89
mov eax, dword [0x4ab120]
mov ecx, dword [0x4ab274]
add eax, 0xdd7a18c2
imul ecx, eax
mov dword [0x4ab274], ecx
dec dword [0x4ab120]
mov dword [edx + 0x10], 0x98badcfe
movss xmm0, dword [0x4ab474]
addss xmm0, dword [0x49e9dc]
addss xmm0, dword [0x49f050]
cvttss2si eax, xmm0
mov word [0x4ab3c4], ax
mov dword [edx + 0x14], 0x10325476
mov eax, dword [0x4ab170]
mov ecx, dword [0x4ab0cc]
sub ecx, eax
mov eax, dword [0x4ab218]
imul eax, ecx
mov dword [0x4ab218], eax
inc dword [0x4ab0cc]
ret
Function at 0x483f96
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00483d8a

Function at 0x4861f4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004859ce

Function at 0x4861ff
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00485c09

Function at 0x48fef4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048faf9

Function at 0x48feff
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048fc7a
Function at 0x407281
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461124], 0
jne 0x4072bf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407295
mov dword [ecx*4 + 0x461120], eax
inc ecx
cmp ecx, 0x100
jl 0x407290
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4072ec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461120]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072cd
not eax
pop ebp
ret 0xc

Function at 0x401a80
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x406480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4064a1
mov eax, 0xff
call fcn.00401a80
xor byte [esi], al
inc esi
dec ebx
jne 0x406491
pop esi
pop ebx
ret
Function at 0x4043a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncDefaultFindAttachmentPerms
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
mov edi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4043f6
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncDefaultFindAttachmentPerms
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404478
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push esi
push esi
push esi
push str.tSearchAttachmentsWhiteList
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
je 0x404419
test eax, eax
jne 0x40446f
mov eax, dword [ebp - 4]
inc eax
push eax
mov dword [ebp - 4], eax
call fcn.00405ad3
mov esi, eax
pop ecx
test esi, esi
je 0x40446f
push dword [ebp - 4]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push str.tSearchAttachmentsWhiteList
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404468
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbslwr]
pop ecx
push esi
mov ecx, ebx
call fcn.004040f4
mov edi, eax
push esi
call fcn.00405483
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40451a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404586
lea eax, [ebp - 0x10]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
push esi
push str.bEnableATL7Compat
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40457d
cmp dword [ebp - 8], 4
jne 0x40457d
inc eax
cmp dword [ebp - 0xc], eax
cmove esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x40458b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push esi
push edi
push eax
push 0x20019
xor edi, edi
xor esi, esi
push edi
push str.SoftwareAdobeAdobe_AcrobatDCSecurity
push reloc.OLEAUT32.dll_SysReAllocString
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4045f1
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push edi
push 0x4074f4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4045e8
cmp dword [ebp - 4], eax
cmove esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x40477f
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0x230
mov eax, 0x406b23
call fcn.004054fb
xor eax, eax
mov byte [ebp - 0x231], al
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x4048fd
push str.__alloweddir
mov byte [ebp - 0x231], 1
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov esi, eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0x238], esi
pop ecx
cmp dword [ebp - 0x23c], eax
jle 0x4048f6
cmp dword [ebx + edi*4], 0
je 0x4048e9
push esi
push str.__alloweddir
push dword [ebx + edi*4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4048e9
mov eax, dword [ebx + edi*4]
xor ecx, ecx
mov byte [ebp - 0x231], cl
lea esi, [eax + esi*2]
cmp word [esi], cx
je 0x4048e3
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
cmp eax, 0x104
jae 0x4048e3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4048e3
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4048e3
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004046e8
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x220], eax
je 0x4048cd
mov ecx, 0x104
cmp dword [ebp - 0x220], ecx
jae 0x4048cd
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
test eax, eax
jne 0x4048cd
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x4048cd
lea eax, [ebp - 0x218]
mov ecx, section..data
push eax
call fcn.00404a8c
mov byte [ebp - 0x231], 1
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.0040157b
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x238]
inc edi
cmp edi, dword [ebp - 0x23c]
jl 0x4047e5
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 0x231]
call fcn.004054b6
ret
Function at 0x404b45
Capabilities:
Accept command line arguments

Disassembly:
push esi
push 1
call fcn.004049c3
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call fcn.0040477f
test al, al
jne 0x404b74
xor eax, eax
inc eax
jmp 0x404b83
push esi
call fcn.00404986
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
ret 0x10
Function at 0x401280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f8af3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push esi
call edi
mov dword [esp + 0x14], 0
lea eax, [esi + 0x18]
push eax
call edi
mov byte [esp + 0x14], 1
push 0
push 1
push 1
push 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x34], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x403dd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403de7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403e18
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x403e14
cmp esi, eax
jae 0x403e18
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x403e04
cmp esi, eax
jb 0x403e1e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x60a31a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x38]
push eax
call fcn.00463950
mov dword [esp + 0x2c], esi
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
add ebp, 0x78
mov eax, ebp
mov dword [esp + 0x14], 1
call fcn.0040e100
mov edi, eax
mov dword [esp + 0x1c], edi
cmp ebp, esi
jne 0x404738
call fcn.005c475a
mov esi, dword [ebp]
mov dword [esp + 0x18], esi
nop
mov ebx, dword [esp + 0x3c]
mov eax, ebp
call fcn.0040e160
mov ebx, eax
test ebp, ebp
jne 0x404756
call fcn.005c475a
mov eax, dword [ebp]
test esi, esi
je 0x404761
cmp esi, eax
je 0x404766
call fcn.005c475a
cmp edi, ebx
je 0x4047bc
test esi, esi
jne 0x4047b8
call fcn.005c475a
cmp edi, dword [esi + 0x18]
jne 0x40477d
call fcn.005c475a
mov ecx, dword [esp + 0x38]
mov esi, dword [ecx + 0x14]
mov edx, dword [esi + 4]
lea eax, [edi + 0x28]
push eax
push edx
push esi
call fcn.004c6ca0
mov ecx, dword [esp + 0x38]
mov edi, eax
call fcn.004c6d50
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea esi, [esp + 0x18]
mov dword [eax], edi
call fcn.004297e0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x404740
mov esi, dword [esi]
jmp 0x404773
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x406430
Capabilities:
Check for peb beingdebugged flag
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x6005c9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
xor eax, eax
mov word [esp + 0x38], ax
mov eax, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
lea ecx, [eax + 2]
jmp 0x406490
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x406490
sub eax, ecx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x38]
call fcn.0040d7f0
mov dword [esp + 0x5c], 1
push ebx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
xor ecx, ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
add esi, 2
mov word [edi + 4], cx
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x10], 1
neg ecx
or ecx, eax
push ecx
call fcn.005c2957
add esp, 4
push esi
mov ebx, eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, 7
test eax, eax
je 0x406563
xor eax, eax
mov word [esp + 0x18], ax
push esi
mov eax, ebx
lea esi, [esp + 0x18]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], 0
call fcn.0040d7f0
mov byte [esp + 0x5c], 2
push 0xffffffffffffffff
push 0
mov eax, esi
mov ecx, edi
call fcn.0040d740
mov byte [esp + 0x5c], 1
cmp dword [esp + 0x2c], 8
jb 0x406550
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005c396f
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], 0
mov word [esp + 0x18], dx
push ebx
call fcn.005c47cb
add esp, 4
mov byte [esp + 0x5c], 0
cmp dword [esp + 0x4c], 8
jb 0x406585
mov eax, dword [esp + 0x38]
push eax
call fcn.005c396f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], 0
mov word [esp + 0x38], cx
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005c397a
add esp, 0x50
ret
Function at 0x406980
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x605a39
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], ebx
lea ebp, [esi + 4]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x30], esi
mov word [ebp], ax
mov dword [esp + 0x40], ebx
mov eax, ecx
mov dword [esp + 0x10], 1
lea edi, [eax + 2]
jmp 0x4069e0
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4069e0
sub eax, edi
sar eax, 1
je 0x406a95
push ecx
lea edi, [esp + 0x18]
call fcn.00406430
add esp, 4
mov dword [esp + 0x40], 1
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0040d740
mov byte [esp + 0x40], bl
mov edi, 8
cmp dword [esp + 0x2c], edi
jb 0x406a30
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005c396f
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esi + 0x18], edi
jb 0x406a4b
mov ebp, dword [ebp]
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004065c0
add esp, 8
mov dword [esp + 0x40], 2
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0040d740
mov byte [esp + 0x40], bl
cmp dword [esp + 0x2c], edi
jb 0x406a82
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005c396f
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x408530
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push 0x114
lea eax, [esp + 8]
push 0
push eax
xor bl, bl
call fcn.005c8fb0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4085df
cmp dword [esp + 8], 6
jb 0x4085c0
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x40859c
cmp eax, 0x80010119
jne 0x4085df
push 0x6ca140
push esi
call fcn.00407620
add esp, 8
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.005c397a
add esp, 0x120
ret
push esi
call fcn.00407120
add esp, 4
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.005c397a
add esp, 0x120
ret
mov ecx, dword [esp + 0x120]
mov al, bl
pop ebx
xor ecx, esp
call fcn.005c397a
add esp, 0x120
ret