joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412830
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x412920
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.00421980
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x412977
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x412974
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x412960
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.00411b70
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00411c00
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.00421980
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x4129b8
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x4129b8
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x4129a4
lea esi, [ebx + 0x5c]
push esi
call fcn.00411b70
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00411c00
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041ca50
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
Function at 0x416cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x54], ebx
test eax, eax
jle 0x416e8b
push esi
push edi
mov edi, dword [edx + 0x14]
cmp eax, edi
mov byte [ebp - 0x45], cl
cmovle edi, eax
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x48], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x47], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x46], al
mov eax, dword [edx]
mov dword [ebp - 0x60], edi
call eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
mov esi, eax
push dword [ebp - 0x58]
push esi
mov ecx, dword [ecx + 8]
call ecx
push 4
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 8]
call eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x4c]
add esp, 0x20
inc ecx
xor eax, eax
mov dword [ebp - 0x4c], ecx
test edi, edi
jle 0x416e71
cmp edi, 8
jb 0x416e50
lea edx, [ebx - 1]
lea ecx, [ebp + edi - 0x45]
add edx, edi
cmp ebx, ecx
ja 0x416d81
lea ecx, [ebp - 0x44]
cmp edx, ecx
jae 0x416e50
cmp edi, 0x40
jb 0x416e0c
mov ecx, edi
and ecx, 0x8000003f
jns 0x416d99
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea edi, [ebp - 0x34]
sub esi, ebx
lea ecx, [ebx + 0x20]
sub edi, ebx
mov dword [ebp - 0x5c], edi
mov ebx, edi
nop
movups xmm0, xmmword [ecx - 0x20]
lea edi, [ebp - 0x44]
movups xmm1, xmmword [edi + eax]
mov edi, dword [ebp - 0x60]
lea ecx, [ecx + 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [ebp + eax - 0x34]
add eax, 0x40
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [esi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [ebx + ecx - 0x40]
movups xmm0, xmmword [ecx - 0x30]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp eax, edx
jl 0x416db0
mov ebx, dword [ebp - 0x54]
mov ecx, edi
and cl, 0x3f
cmp cl, 8
jb 0x416e4c
mov ecx, edi
and ecx, 0x80000007
jns 0x416e1b
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea ecx, [eax + ebx]
sub esi, ebx
nop word [eax + eax]
movq xmm1, qword [ecx + esi]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add eax, 8
xorps xmm1, xmm0
movq qword [ecx - 8], xmm1
cmp eax, edx
jl 0x416e30
cmp eax, edi
jge 0x416e6e
lea esi, [ebp - 0x44]
lea edx, [eax + ebx]
sub esi, ebx
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, edi
jl 0x416e60
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x18]
add ebx, edi
mov edx, dword [ebp - 0x50]
sub eax, edi
mov dword [ebp - 0x54], ebx
mov dword [ebp + 0x18], eax
test eax, eax
jg 0x416cf5
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
Function at 0x4181f0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x4184c0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.00421980
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x418517
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x418514
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x418500
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004183d0
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004180f0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.00421980
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x418558
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x418558
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x418544
lea esi, [ebx + 0x6c]
push esi
call fcn.004183d0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004180f0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041ca50
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
Function at 0x41ae90
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x41b180
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.00421980
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x41b1d7
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x41b1d4
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41b1c0
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0041b010
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0041ad90
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.00421980
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x41b218
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x41b218
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41b204
lea esi, [ebx + 0x60]
push esi
call fcn.0041b010
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0041ad90
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041ca50
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret

Function at 0x41c9b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x47a190]
push esi
push edi
test ecx, ecx
jne 0x41c9f6
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
lea eax, [esi + esi*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push 1
add esi, 0x200
push esi
push ecx
call fcn.00402980
add esp, 0xc
mov dword [0x47a190], eax
push esi
push eax
call edi
mov ecx, dword [0x47a190]
cmp eax, esi
jge 0x41c9c7
push 0
push dword [ebp + 8]
push 0x46b520
push ecx
call fcn.00402170
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.004028c0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x41cd20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x200]
push eax
push 4
mov dword [ebp - 0x60], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0xc9
push dword [0x47b4c8]
mov dword [ebp - 0x200], 0x1fc
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1f8], 1
mov dword [ebp - 0x1f4], 7
mov dword [ebp - 0x1f0], 0x8006
call dword [sym.imp.USER32.dll_LoadIconA]
movups xmm0, xmmword [str.asdfghj__qwert_authentication_agent_]
mov ecx, dword [0x46bdd0]
mov ebx, eax
lea eax, [ebp - 0x200]
mov dword [ebp - 0x1c8], ecx
mov cl, byte [0x46bdd4]
movups xmmword [ebp - 0x1e8], xmm0
push eax
movups xmm0, xmmword [0x46bdc0]
push 0
mov dword [ebp - 0x1ec], ebx
movups xmmword [ebp - 0x1d8], xmm0
mov byte [ebp - 0x1c4], cl
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, eax
test ebx, ebx
je 0x41cde7
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
Function at 0x41e4e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.004022a0
add esp, 8
mov esi, eax
push 0x1010
push str.asdfghj_Fatal_Error
push esi
push dword [0x47b4d0]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.004028c0
add esp, 4
push 1
call fcn.00440e44
int3

Function at 0x41e690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x41e6e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_run___.100s___Error:__d
call fcn.00402230
add esp, 0xc
mov esi, eax
push 0x30
push str.asdfghj
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.004028c0
add esp, 4
pop esi
pop ebp
ret
Function at 0x41e770
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47a1ac], 0
je 0x41e956
lea eax, [ebp - 0x218]
push eax
push str.SoftwareSimonTathamqwertSessions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41e956
push esi
push edi
push dword [0x47a1a4]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, eax
cmp esi, dword [0x47a1b4]
jle 0x41e7e8
mov edi, dword [sym.imp.USER32.dll_RemoveMenu]
nop dword [eax]
push 0x400
push 0
push dword [0x47a1a4]
call edi
dec esi
cmp esi, dword [0x47a1b4]
jg 0x41e7d0
push 0x104
lea eax, [ebp - 0x10c]
xor edi, edi
push eax
push edi
push dword [ebp - 0x218]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x41e8fb
push ebx
mov ebx, 0x1000
push 0x104
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0041e6f0
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov eax, str.Default_20Settings
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41e860
test dl, dl
je 0x41e85c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41e860
add ecx, 2
add eax, 2
test dl, dl
jne 0x41e840
xor eax, eax
jmp 0x41e865
sbb eax, eax
or eax, 1
test eax, eax
je 0x41e8d8
lea eax, [ebp - 0x214]
mov dword [ebp - 0x248], 0x30
mov dword [ebp - 0x224], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x248]
movlpd qword [ebp - 0x234], xmm0
push eax
push 1
push edi
push dword [0x47a1a4]
movlpd qword [ebp - 0x22c], xmm0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x244], 0x13
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], ebx
call dword [sym.imp.USER32.dll_InsertMenuItemA]
inc edi
add ebx, 0x10
push 0x104
lea eax, [ebp - 0x10c]
inc esi
push eax
push esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x41e813
pop ebx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
pop esi
jne 0x41e956
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 0x30
push eax
push 1
push 0
push dword [0x47a1a4]
mov dword [ebp - 0x244], 0x11
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 3
mov dword [ebp - 0x224], str._No_sessions_
call dword [sym.imp.USER32.dll_InsertMenuItemA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
Function at 0x41ef20
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x47a1d8], 0
jne 0x41f0a7
push esi
push str.advapi32.dll
mov dword [0x47a1d8], 1
call fcn.0041c9b0
add esp, 4
mov dword [0x47a1e0], eax
test eax, eax
je 0x41f09e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x47b488], eax
test eax, eax
je 0x41f09e
mov eax, dword [0x47a1e0]
test eax, eax
je 0x41f094
push str.SetSecurityInfo
push eax
call esi
mov dword [0x47b484], eax
test eax, eax
je 0x41f09e
mov eax, dword [0x47a1e0]
test eax, eax
je 0x41f081
push str.OpenProcessToken
push eax
call esi
mov dword [0x47b498], eax
test eax, eax
je 0x41f09e
mov eax, dword [0x47a1e0]
test eax, eax
je 0x41f06e
push str.GetTokenInformation
push eax
call esi
mov dword [0x47b494], eax
test eax, eax
je 0x41f09e
mov eax, dword [0x47a1e0]
test eax, eax
je 0x41f05b
push 0x46e9d4
push eax
call esi
mov dword [0x47b490], eax
test eax, eax
je 0x41f09e
mov eax, dword [0x47a1e0]
test eax, eax
je 0x41f048
push 0x46e9f4
push eax
call esi
mov dword [0x47b48c], eax
test eax, eax
je 0x41f09e
mov eax, dword [0x47a1e0]
test eax, eax
je 0x41f035
push str.SetEntriesInAclA
push eax
call esi
mov dword [0x47b480], eax
test eax, eax
je 0x41f09e
mov eax, 1
mov dword [0x47a1dc], eax
pop esi
ret
xor eax, eax
mov dword [0x47b480], 0
mov dword [0x47a1dc], eax
pop esi
ret
xor eax, eax
mov dword [0x47b48c], 0
mov dword [0x47a1dc], eax
pop esi
ret
xor eax, eax
mov dword [0x47b490], 0
mov dword [0x47a1dc], eax
pop esi
ret
xor eax, eax
mov dword [0x47b494], 0
mov dword [0x47a1dc], eax
pop esi
ret
xor eax, eax
mov dword [0x47b498], 0
mov dword [0x47a1dc], eax
pop esi
ret
mov dword [0x47b484], 0
xor eax, eax
mov dword [0x47a1dc], eax
pop esi
ret
mov eax, dword [0x47a1dc]
ret

Function at 0x420727
Capabilities:
Parse pe header

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

Function at 0x44c1ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044bde6

Function at 0x44c1f9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044bf70

Function at 0x44edc1
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044ec95

Function at 0x451abb
Capabilities:
Set environment variable

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

Function at 0x4626e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46270d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46270d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401028
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4372a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push 0
mov dword [esp + 8], esi
call sub.MFC71.DLL_CWinApp::CWinApp
push 0x43f5e8
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
mov dword [esi], 0x43f528
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 1
push 1
push eax
mov byte [esp + 0x38], 1
call fcn.004022f0
add esp, 0xc
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x402720
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x49b5e4]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x40274e
mov ecx, dword [0x49b5d8]
xor eax, eax
cmp ecx, ebx
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x24
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp edx, 2
sete cl
push str.USER32
mov dword [0x49b5e8], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, ebx
je 0x402823
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43ffcc
push esi
call edi
cmp eax, ebx
mov dword [0x49b5c8], eax
je 0x402823
push str.MonitorFromWindow
push esi
call edi
cmp eax, ebx
mov dword [0x49b5cc], eax
je 0x402823
push str.MonitorFromRect
push esi
call edi
cmp eax, ebx
mov dword [0x49b5d0], eax
je 0x402823
push str.MonitorFromPoint
push esi
call edi
cmp eax, ebx
mov dword [0x49b5d4], eax
je 0x402823
push str.EnumDisplayMonitors
push esi
call edi
cmp eax, ebx
mov dword [0x49b5dc], eax
je 0x402823
push str.GetMonitorInfoA
push esi
call edi
cmp eax, ebx
mov dword [0x49b5d8], eax
je 0x402823
push str.EnumDisplayDevicesA
push esi
call edi
cmp eax, ebx
mov dword [0x49b5e0], eax
je 0x402823
mov eax, 1
mov dword [0x49b5e4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x49b5c8], ebx
mov dword [0x49b5cc], ebx
mov dword [0x49b5d0], ebx
mov dword [0x49b5d4], ebx
mov dword [0x49b5d8], ebx
mov dword [0x49b5dc], ebx
mov dword [0x49b5e0], ebx
mov dword [0x49b5e4], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402970
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_fseek]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 2
push 0
push esi
mov edi, ecx
call ebx
push esi
call dword [sym.imp.MSVCR71.dll_ftell]
push 0
push 0
push esi
mov ebp, eax
call ebx
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
xor eax, eax
push esi
push 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
push 4
push eax
call ebx
push esi
push 1
lea ecx, [esp + 0x4c]
push 4
push ecx
call ebx
mov edx, dword [esp + 0x58]
push esi
push 1
push 4
push edx
call ebx
mov eax, dword [esp + 0x5c]
add esp, 0x4c
cmp eax, 0x100
jne 0x402a34
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0xc]
cmp ebp, ecx
jne 0x402a34
push eax
mov dword [edi + 4], eax
call sub.MFC71.DLL_operator_new_1
mov edx, dword [esp + 0x1c]
push esi
push edx
push 1
push eax
mov dword [edi], eax
call ebx
mov ecx, dword [esp + 0x2c]
add esp, 0x14
xor eax, eax
test ecx, ecx
jle 0x402a2a
mov ecx, dword [edi]
mov dl, byte [ecx + eax]
add ecx, eax
add dl, 8
mov byte [ecx], dl
mov edx, dword [edi]
mov bl, byte [edx + eax]
lea ecx, [edx + eax]
xor bl, 0x32
mov byte [ecx], bl
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
jl 0x402a08
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
Function at 0x404aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438c0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebp, [esi + 0x1174]
mov ecx, ebp
mov dword [esp + 0xc], esi
mov dword [esi], 0x445018
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 6
mov dword [esi + 0x24], 0x16
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call fcn.004045f0
mov dword [ebp + 4], eax
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebp, [esi + 0x1198]
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004045f0
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x11c8], edi
mov dword [esi + 0x11cc], edi
mov dword [esi + 0x11d0], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x409180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438c49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 8]
call dword [0x43f174]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret