joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464d90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x464dc3
push esi
call fcn.00467ea0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x464dbc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x464e49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x464e32
mov eax, dword [esi + 8]
test eax, eax
je 0x464de7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x464e2e
cmp eax, 2
je 0x464e32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x464dda
cmp eax, 3
je 0x464e0d
cmp eax, 1
jne 0x464dda
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x464dda
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x464dda
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00464e70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x464e58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00464e70
add esp, 4
pop esi
ret

Function at 0x472780
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4727e6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4727e6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4727c7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x472b70
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x472ba8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4737d0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x473819
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x473c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cc4e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00473840
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004738c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004738c0
lea ecx, [esi + 0xc]
call fcn.004bd4c0
lea ecx, [esi + 0x10]
call fcn.004bd4c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00474e50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00474e50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00474e50
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004bd535
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004bd535
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4766a0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4766ea
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x476719
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x47675b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x486eb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x486fe0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x542cc0]
sub esp, 0x138
test eax, eax
je 0x48700c
push 0x118
push eax
lea eax, [esp + 8]
push eax
call fcn.004accd0
add esp, 0xc
mov byte [esp + 0x118], 0
jmp 0x48701c
lea ecx, [esp]
push ecx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebp
push esi
push edi
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x487041
lea eax, [esp + 0xc]
dec eax
cmp byte [eax + ecx], 0x5c
jne 0x487041
dec ecx
test ecx, ecx
jg 0x487036
mov esi, dword [esp + 0x148]
mov byte [esp + ecx + 0xc], 0
lea edx, [esp + 0xc]
push edx
push str._s_sqlite_
push esi
call fcn.004ad93f
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea eax, [edi + esi]
push eax
push 0xf
call fcn.004968b0
add esp, 0x14
mov ecx, 0xf
xor eax, eax
xor edx, edx
mov al, byte [edi + esi]
mov ebp, 0x3e
div ebp
inc edi
dec ecx
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], dl
jne 0x48707e
push esi
mov byte [edi + esi], 0
call fcn.00486eb0
add esp, 4
test eax, eax
jne 0x48704d
pop edi
pop esi
pop ebp
add esp, 0x138
ret

Function at 0x487120
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
test esi, esi
push edi
jle 0x48716b
mov ebx, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx]
lea eax, [esp + 0x1c]
push 0
push eax
push esi
push edi
push ecx
call ebp
test eax, eax
je 0x48716b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x48715c
sub esi, ecx
add edi, ecx
test esi, esi
jg 0x48713a
test eax, eax
je 0x48716b
cmp esi, ecx
jg 0x48716b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
ret

Function at 0x487210
Capabilities:
Get file size

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push esi
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [esp + 8]
push 1
push 0
push 0
push eax
call fcn.004ac360
mov ecx, eax
xor eax, eax
add ecx, esi
pop esi
adc edx, eax
mov eax, dword [esp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
ret

Function at 0x487250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x48725d
xor eax, eax
pop esi
ret
call fcn.004872a0
test eax, eax
jne 0x48727c
push edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp ecx, 0x104
jbe 0x48727c
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x48728c
xor eax, eax
pop esi
ret
and al, 0x10
xor ecx, ecx
cmp al, 0x10
pop esi
sete cl
mov eax, ecx
ret
Function at 0x48c950
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 8]
mov cl, byte [esi + 0x41]
mov eax, dword [esi + 0x18]
test cl, cl
jne 0x48c96d
mov eax, dword [esp + 0xc]
pop esi
mov dword [eax], 1
xor eax, eax
ret
mov ecx, dword [esi + 0x1c]
xor edx, edx
inc ecx
mov word [esi + 0x3a], 0
mov dword [esi + 0x1c], ecx
mov dx, word [eax + 0x14]
cmp ecx, edx
jl 0x48ca2a
mov cl, byte [eax + 4]
test cl, cl
jne 0x48c9c8
mov edx, dword [eax + 0x44]
xor ecx, ecx
mov cl, byte [eax + 8]
lea eax, [ecx + edx + 8]
push eax
call fcn.0048b430
push eax
push esi
call fcn.0048c590
add esp, 0xc
test eax, eax
jne 0x48ca48
push esi
call fcn.0048c5f0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], 0
pop esi
ret
push eax
call fcn.0048ca50
add esp, 4
test eax, eax
jne 0x48c9fb
push esi
call fcn.0048ca90
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
xor edx, edx
add esp, 4
mov dx, word [eax + 0x14]
cmp ecx, edx
jl 0x48ca0d
push eax
call fcn.0048ca50
add esp, 4
test eax, eax
je 0x48c9d5
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov byte [esi + 0x41], 0
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
mov dl, byte [eax + 6]
test dl, dl
je 0x48ca3b
push ecx
push esi
call fcn.0048c950
add esp, 8
pop esi
ret
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
mov cl, byte [eax + 4]
test cl, cl
je 0x48ca3f
xor eax, eax
pop esi
ret
push esi
call fcn.0048c5f0
add esp, 4
pop esi
ret
Function at 0x493b70
Capabilities:
Reference sql statements

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
cmp edi, 2
jl 0x493bf3
mov ebx, dword [esp + 0x10]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov al, byte [ebx + edi - 1]
mov dl, byte [ebx]
mov cl, byte [eax + 0x4fa1b4]
mov eax, ecx
xor ecx, ecx
mov cl, byte [edx + 0x4fa1b4]
lea eax, [eax + eax*2]
shl ecx, 2
xor eax, ecx
mov ecx, 0x7f
xor eax, edi
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + str._QhZ]
mov esi, eax
dec esi
js 0x493bf3
xor ecx, ecx
mov cl, byte [esi + 0x4fa8fc]
cmp ecx, edi
jne 0x493be6
xor edx, edx
push edi
mov dx, word [esi*2 + 0x4fa970]
push ebx
add edx, 0x4fa5f8
push edx
call fcn.0047f510
add esp, 0xc
test eax, eax
je 0x493bfc
xor eax, eax
mov al, byte [esi + 0x4fa888]
mov esi, eax
dec esi
jns 0x493bbb
pop edi
pop esi
mov eax, 0x1b
pop ebx
ret
xor eax, eax
pop edi
mov al, byte [esi + 0x4faa54]
pop esi
pop ebx
ret
Function at 0x4bf903
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4bf93b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004bd990
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004bd968
jmp 0x4bf947
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c0ff8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c103a
call fcn.004c6db6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c103a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c1031
xor eax, eax
jmp 0x4c1042
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c1048
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c72e6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c7314
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c7332
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c724c
jmp 0x4c7332
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c7332
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c724c
test edi, edi
mov eax, edi
jne 0x4c731c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1000b130
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.1000bcb0
mov byte [esi], 0x80
pop esi
ret
Function at 0x1000df00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
mov al, byte [edi + 4]
test al, al
jne 0x1000df2a
push 0x1803178
lea ecx, [esp + 8]
call fcn.1000e5e7
lea eax, [esp + 4]
push 0x17fdb40
push eax
call fcn.100036ef
mov eax, dword [edi + 0x3cc]
xor edx, edx
test eax, eax
jle 0x1000df57
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
mov cl, byte [esi]
mov bl, byte [eax]
xor bl, cl
inc esi
mov byte [eax], bl
mov ecx, dword [edi + 0x3cc]
inc eax
inc edx
cmp edx, ecx
jl 0x1000df40
pop esi
pop ebx
pop edi
add esp, 0xc
ret 8
Function at 0x408d70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f71b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004657f8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408df2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045fd4b
mov eax, dword [eax]
push 0x48cbbc
push eax
call fcn.004527fa
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00465a83
test bl, bl
je 0x408df2
push 0x48cbbc
lea ecx, [esp + 0xc]
call fcn.00465e5f
push 0x48cbc8
lea ecx, [esp + 0xc]
call fcn.00465e5f
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x408e2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00465a83
jmp 0x408ef9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x408eb2
lea edx, [esp + 0x7c]
push 0x48cbc4
push edx
call fcn.004527fa
add esp, 8
test eax, eax
je 0x408eb2
lea eax, [esp + 0x7c]
push 0x48cbc0
push eax
call fcn.004527fa
add esp, 8
test eax, eax
je 0x408eb2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408e42
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00465a83
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409720
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409782
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x409790
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f79b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x493fc8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4098c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4097f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00465a83
xor eax, eax
jmp 0x40993f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00465c0c
push esi
lea ecx, [esp + 0xc]
call fcn.00465e9b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40991d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00409720
test eax, eax
jne 0x40991d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.00409720
test eax, eax
jne 0x40991d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00452d30
mov esi, eax
add esp, 8
test esi, esi
jne 0x4098fc
lea ecx, [esp + 0x14]
push 0x48cbdc
push ecx
call fcn.00452cb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4098fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4098ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00465bbc
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40980e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00465a83
xor eax, eax
jmp 0x40993f
mov byte [esi], 0
push 0x48cbd8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00465a83
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41c8b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x470718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0041d430
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x41c959
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0041c540
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.00469699
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00432980
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.0046970b
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x41ce90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041aa90
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x41cee9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.004245d0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.004245c0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0041c540
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x4c]
call fcn.00469699
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00432980
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041a4f0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, ebx
call fcn.00424540
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x41cfb4
push edi
mov ecx, esi
call fcn.0041a600
push eax
push ebp
mov ecx, esi
call fcn.0041a7c0
cmp eax, dword [esp + 0x40]
jg 0x41cfb0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x41cf8e
mov eax, ebx
jmp 0x41cfba
cmp edi, ebx
jl 0x41cfb8
mov eax, ebx
jmp 0x41cfba
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x41cfcb
mov dword [esp + 0x30], eax
jmp 0x41cfd6
cmp edi, ebx
jl 0x41cfd1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00424500
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x41d01d
push edi
mov ecx, esi
call fcn.0041a520
push eax
push ebx
mov ecx, esi
call fcn.0041a8f0
cmp eax, dword [esp + 0x44]
jg 0x41d015
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x41cfef
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x41d027
cmp edi, ebp
jl 0x41d021
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x41d027
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x41d030
mov ecx, eax
jmp 0x41d039
cmp edi, ebp
jl 0x41d036
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0041a510
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0046970b
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc