joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a550
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47dc2c]
cmp dword [eax + 0x30], 0
je 0x45a5fa
cmp dword [ebx + 0x94], 0
jne 0x45a5f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a4e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a5f4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a5ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a5f4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415e1c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a5c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b0d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45b10d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004044d0
jmp 0x45b11a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404434
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c1c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c209
mov eax, esi
call fcn.004421d0
test al, al
je 0x45c209
mov eax, dword [ebx + 0x84]
call fcn.00441ecc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c209
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441ecc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x462d14
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x462d42
mov eax, ebx
call fcn.004637cc
cmp dword [ebx + 0x3c], 0
je 0x462d3b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x462db3
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x462da5
cmp dword [ebx + 8], 0
je 0x462d64
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x462d76
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462da5
cmp dword [ebx + 8], 0
je 0x462d57
cmp eax, 3
je 0x462d89
dec eax
jne 0x462d57
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x462d57
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x462d57
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x462dd1
cmp dword [ebx + 0x10], 0xcc
je 0x462dd1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00462ddc
pop ebx
ret
Function at 0x475e18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476078
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x475e7b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00475930
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c4fc
cmp al, 1
jne 0x475e7b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00475bf8
test al, al
je 0x476007
cmp dword [ebp - 8], 0
jge 0x475e99
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00475930
mov eax, dword [ebp - 0x210]
call fcn.00404698
cmp ebx, eax
jge 0x475ee3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00475930
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x47cb54]
and eax, 0xff
bt dword [edx], eax
jae 0x475ee3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x475ef7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00475df4
cmp ebx, dword [ebp - 8]
je 0x475ff9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x475f23
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403870
and eax, 0x7f
movzx eax, word [eax*2 + 0x47c750]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x475fe6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403870
and eax, 0x7f
movzx eax, word [eax*2 + 0x47c750]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00441ecc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403870
and eax, 0x7f
movzx eax, word [eax*2 + 0x47c750]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00441ecc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475fed
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x47605a
cmp dword [ebp - 8], 0
jge 0x476012
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00475930
mov eax, dword [ebp - 0x218]
call fcn.00404698
cmp eax, dword [ebp - 8]
jg 0x47604c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00475930
mov eax, dword [ebp - 0x21c]
call fcn.00404698
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00475df4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47607f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404404
ret
Function at 0x4045e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x438010]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x435780]
push ebx
push esi
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ebp - 0x2c]
mov dword [ebp - 0xc], 0
movaps xmm0, xmmword [0x435790]
push edi
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 8], 3
nop word [eax + eax]
push dword [esi]
call fcn.00404700
add esi, 4
lea eax, [ebp - 4]
cmp esi, eax
jne 0x404620
mov eax, 0x21
cmp eax, 0x1c5
jl 0x40463f
call 0x7444bb87
add ch, al
pop esi
jne 0x404645
je 0x404645
call 0xf6f72ea6
invalid
call fcn.00403d00
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add eax, 0x13
jne 0x404660
call 0xdc2c2eb3
invalid
call 0x402250
mov eax, 0x13
cmp eax, 0x1a5
jl 0x404673
jmp 0x7444bc70
jne 0x404679
je 0x404679
call 0x6a40b0a7
add bh, bh
adc eax, sym.imp.ADVAPI32.dll_AreAnyAccessesGranted
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AreAnyAccessesGranted]
call fcn.00406770
mov edi, eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edi + 0x30]
mov esi, dword [ecx + 4]
mov ecx, esi
mov dword [ebp - 0x30], esi
mov edx, dword [esi]
call dword [edx + 4]
lea eax, [ebp - 0x34]
push eax
call fcn.00406f50
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
call dword [edx + 0x30]
movzx ebx, ax
test esi, esi
je 0x4046cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test eax, eax
je 0x4046cf
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push ebx
mov ecx, edi
call fcn.004077e0
mov ecx, edi
call fcn.00405fb0
call fcn.00404310
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b18c
mov esp, ebp
pop ebp
ret
Function at 0x41c878
Capabilities:
Read file on windows

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

Function at 0x41c883
Capabilities:
Read file on windows

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

Function at 0x41cc7d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040bd00
mov eax, dword [0x438010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041a2b2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ccbf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ce1b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00428750
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x441538]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041de4d
mov ecx, dword [esi*4 + 0x441538]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41ce14
cmp eax, dword [edi + ecx + 0x24]
jne 0x41ce14
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ce14
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041de4d
add esp, 0x14
test edx, edx
jl 0x41ce14
jg 0x41cd8a
test eax, eax
jb 0x41ce14
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41ce14
jl 0x41cda4
cmp dword [ebp - 0x1008], eax
ja 0x41ce14
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41cdc2
test ebx, ebx
je 0x41cdfb
cmp ecx, edi
jae 0x41cdfb
mov al, byte [ecx]
cmp al, 0xd
jne 0x41cddc
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41cde8
cmp byte [ecx + 1], 0xa
jne 0x41cde8
inc ecx
jmp 0x41cde8
movzx eax, al
movsx eax, byte [eax + 0x4382a0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41cdc2
cmp edx, ebx
jne 0x41cdc2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ce19
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b18c
leave
ret
Function at 0x41d2eb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x441538]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d32b
cmp byte [ebx], 0xa
jne 0x41d32b
or byte [eax + edi + 0x28], 4
jmp 0x41d330
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d42e
mov al, byte [edx]
cmp al, 0x1a
je 0x41d410
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d35f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d384
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d38e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41d341
jmp 0x41d42e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d40b
cmp dword [ebp - 0xc], 0
je 0x41d40b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x441538]
test byte [eax + edi + 0x28], 0x48
je 0x41d3e5
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d3d0
mov byte [esi], dl
jmp 0x41d3e1
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x441538]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d42e
cmp byte [ebp - 1], 0xa
jne 0x41d3f4
cmp esi, ebx
jne 0x41d3f4
mov byte [esi], 0xa
jmp 0x41d42d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041de6b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d42e
mov byte [esi], 0xd
jmp 0x41d42d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x441538]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d42a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d42e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d437
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x441538]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d47a
cmp word [esi], dx
jne 0x41d47a
or byte [edi + eax + 0x28], 4
jmp 0x41d47f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d5d2
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d5b2
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d4c1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d4f7
cmp eax, edx
jae 0x41d503
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d499
jmp 0x41d5d2
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d5ae
cmp dword [ebp - 0x14], 0
je 0x41d5ae
mov eax, dword [ebx*4 + 0x441538]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d586
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d54f
mov word [esi], cx
jmp 0x41d582
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x441538]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x441538]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x441538]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d5d2
pop ebx
cmp word [ebp - 4], bx
jne 0x41d597
cmp esi, dword [ebp + 0xc]
jne 0x41d597
mov word [esi], bx
jmp 0x41d5cf
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041de6b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d5d2
push 0xd
jmp 0x41d5cb
mov ecx, dword [ebx*4 + 0x441538]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d5c9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d5d2
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4019e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4137f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x4164ac]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x401a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4137f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x41649c]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x401ae0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41381b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push esi
push edi
xor ebx, ebx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
push str.mailto:
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov byte [esp + 0x24], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx - 0xc]
push ebx
push 0x40
lea ecx, [esp + 0x18]
mov edi, eax
call dword [sym.imp.MFC71U.DLL_CWnd::FilterToolTipMessage]
cmp eax, 0xffffffff
je 0x401b73
push esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_CToolBar::Layout]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, eax
mov ebx, 1
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
mov byte [esp + 0xf], bl
jne 0x401b78
mov byte [esp + 0xf], 0
test bl, 1
je 0x401b87
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, byte [esp + 0xf]
test al, al
je 0x401bc0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov edx, dword [esp + 0x10]
push 5
push 0x4168b4
push 0
push edx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x14]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x401db0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp]
push eax
push 1
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401e4d
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push ecx
lea edx, [edi + 1]
lea eax, [edi + edi]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
call fcn.00401d40
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edx, dword [esp + 0x34]
push edi
push esi
push edx
mov ebx, eax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov dword [esp + 0xc], 0
je 0x401e48
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x1c
ret
Function at 0x401e60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8b4
mov eax, dword [0x4205ac]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x8b8], eax
push edi
je 0x402005
cmp dword [ebp + 0x10], ebx
je 0x401ea9
push esi
call fcn.00401ae0
add esp, 4
mov ecx, dword [esp + 0x8bc]
call fcn.00412cbe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [esp + 0x90], bx
mov ecx, 0x208
lea edi, [esp + 0x92]
rep stosd dword es:[edi], eax
push 0x410
lea eax, [esp + 0x94]
push eax
push str..htm
push SysReAllocStringLen
call fcn.00401db0
add esp, 0x10
test eax, eax
jne 0x401fdf
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea ecx, [esp + 0x94]
push ecx
call edi
push 0x410
lea edx, [esp + 0x94]
push edx
mov eax, edx
push eax
push SysReAllocStringLen
call fcn.00401db0
add esp, 0x10
test eax, eax
jne 0x402005
mov ebx, dword [sym.imp.MSVCR71.dll_wcsstr]
lea ecx, [esp + 0x90]
push str.__1_
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x401f6f
lea edx, [esp + 0x90]
push 0x41695c
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x401f6f
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esp + eax*2 + 0x8e]
jmp 0x401f74
mov word [esi], 0
push 0x416958
push esi
call edi
mov ecx, dword [ebp + 8]
push ecx
push esi
call edi
lea edx, [esp + 0x10]
mov dword [esp + 0xc], edx
call dword [0x420044]
push eax
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
call fcn.00401730
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x401fca
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x8bc]
call fcn.00412cbe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
push edx
push ebx
push ebx
push esi
push str.explore
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x8bc]
call fcn.00412cbe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x8bc]
mov eax, ebx
call fcn.00412cbe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret