joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ae8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push 0x40abcc
push esi
call fcn.004046f5
test eax, eax
jne 0x406b54
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ebx, ebx
push ebx
push ebx
push str.HOMEPATH
call edi
push ebx
push ebx
mov ebx, str.HOMEDRIVE
mov esi, eax
push ebx
call edi
add esi, eax
push esi
mov esi, dword [esp + 0x18]
push esi
call fcn.0040460d
test eax, eax
je 0x406b9a
push dword [esi + 0xc]
push dword [esi + 4]
push ebx
call edi
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], eax
sub ecx, eax
push ecx
mov ecx, dword [esi + 4]
lea eax, [ecx + eax*2]
push eax
push str.HOMEPATH
call edi
add dword [esi + 8], eax
jmp 0x406bdf
push str.APPDIR
push esi
call fcn.004046f5
test eax, eax
jne 0x406ba8
mov esi, dword [esp + 0x14]
push 0x8000
push esi
call fcn.0040460d
test eax, eax
je 0x406b9a
push dword [esi + 0xc]
xor ebx, ebx
push dword [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push esi
mov dword [esi + 8], eax
call fcn.0040485f
cmp eax, ebx
jne 0x406b9e
push esi
call fcn.004045f2
xor eax, eax
jmp 0x406be2
sub eax, dword [esi + 4]
sar eax, 1
mov dword [esi + 8], eax
jmp 0x406bdf
mov edi, dword [esp + 0x14]
push edi
push esi
call fcn.00406ab3
test eax, eax
jne 0x406bdf
push str.DOWNLOADS
push esi
call fcn.004046f5
test eax, eax
jne 0x406bd3
push edi
push 0x409b10
call fcn.004069b8
jmp 0x406be2
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x407743
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
push 0x2300000
push 3
push 0
push 7
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4077e4
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x4077b5
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x10]
jmp 0x4077f8
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [ebp + 8]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x4077dd
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4077ed
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
lea eax, [esi + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], 0
je 0x407831
push 0x5c
push ebx
call fcn.00407f40
add esi, 0x2c
test eax, eax
je 0x40781d
add eax, 2
push eax
jmp 0x40781e
push ebx
push 0x40a8e8
push 0x104
push esi
call fcn.004052bb
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4077e6

Function at 0x407b64
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x40c3ec]
test eax, eax
je 0x407b96
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x40c3f0]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x40c3f4]
mov dword [eax], ecx
jmp 0x407c46
cmp dword [0x40c5c4], 0
push ebx
push esi
push edi
je 0x407bdd
mov esi, 0x114
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00404528
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
push eax
call dword [0x40c5c4]
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x118]
mov ebx, dword [ebp - 0x114]
jmp 0x407bf2
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor ecx, ecx
movzx esi, al
mov cl, ah
shr eax, 0x10
movzx edi, cl
mov ebx, eax
cmp esi, 6
jne 0x407c22
cmp edi, 2
jne 0x407c22
cmp ebx, 0x23f0
jne 0x407c22
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00407b08
test eax, eax
je 0x407c22
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [0x40c3ec], esi
mov dword [0x40c3f0], edi
mov dword [0x40c3f4], ebx
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
leave
ret 0xc
Function at 0x407e86
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov bx, word [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
lea eax, [ebp - 8]
push esi
push eax
mov word [ebp - 8], 0x3d
mov word [ebp - 6], bx
mov word [ebp - 4], 0x3a
mov word [ebp - 2], si
call edi
cmp eax, esi
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
jbe 0x407eeb
push eax
push esi
call fcn.0040460d
test eax, eax
je 0x407ef7
push dword [esi + 0xc]
lea eax, [ebp - 8]
push dword [esi + 4]
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x407ee3
cmp eax, dword [ebp + 8]
jb 0x407f16
push esi
call fcn.004045f2
jmp 0x407ef7
push 4
push esi
call fcn.0040460d
test eax, eax
jne 0x407efb
xor eax, eax
jmp 0x407f19
movzx eax, bx
push eax
push str._c:_
push dword [esi + 4]
call fcn.004052d2
add esp, 0xc
mov dword [esi + 8], 3
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4214a0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0047a999
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0047a999
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.0047a999
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x47f430
call fcn.0047a9b7
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x421559
mov eax, 0
jmp 0x42169d
cmp dword [ebp + 0xc], 0
jne 0x421585
mov dword [ebp - 0x18], esp
mov eax, 0x4a
call fcn.0047a9b1
cmp dword [ebp - 0x18], esp
je 0x421582
push 6
call fcn.0047a9ab
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x4215ad
mov eax, 0x5474a1
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4215a7
push ebx
call fcn.0047a99f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x4b
call fcn.0047a9b1
cmp dword [ebp - 0x18], esp
je 0x4215d8
push 6
call fcn.0047a9ab
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x54570a
mov eax, 0x4c
call fcn.0047a9b1
cmp dword [ebp - 0x18], esp
je 0x421604
push 6
call fcn.0047a9ab
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x4d
call fcn.0047a9b1
cmp dword [ebp - 0x18], esp
je 0x421698
push 6
call fcn.0047a9ab
add esp, 4
jmp 0x42169d
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0047a99f
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0047a99f
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0047a99f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x423837
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x423865
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x42385c
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x423854
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x423886
mov esp, ebp
pop ebp
ret

Function at 0x42388a
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x4238f6
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x423923
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x423912
xor ecx, eax
xor edx, ebx
dec edi
jne 0x423903
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x423949
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4238ea
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x423975
mov esp, ebp
pop ebp
ret 0xc
Function at 0x479aff
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x479b0f
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x479b64
push dword [ebp + 8]
call fcn.00479d10
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x479b64
xor eax, eax
jmp 0x479b69
mov eax, 1
test eax, eax
je 0x479b7b
mov eax, 0
jmp 0x479d0a
push 0x3c
push dword [ebp + 8]
call fcn.00479d52
push eax
call fcn.00479d2c
push eax
push dword [ebp + 8]
call fcn.00479d52
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.00479d2c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x479bd6
push 0x7c
push dword [ebp - 4]
call fcn.00479d52
push eax
call fcn.00479d2c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x479bd6
xor eax, eax
jmp 0x479bdb
mov eax, 1
test eax, eax
je 0x479bed
mov eax, 0
jmp 0x479d0a
push 0x78
push dword [ebp - 4]
call fcn.00479d52
push eax
call fcn.00479d2c
push eax
push dword [ebp + 8]
call fcn.00479d52
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.00479d52
push eax
call fcn.00479d2c
push eax
push dword [ebp + 8]
call fcn.00479d52
push eax
call fcn.00479d2c
push eax
push dword [ebp + 8]
call fcn.00479d52
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.00479d52
push eax
call fcn.00479d2c
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.00479d79
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x479cfd
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.00479d52
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00479da0
test eax, eax
je 0x479ce0
push 0x1c
push dword [ebp - 8]
call fcn.00479d52
push eax
call fcn.00479d2c
push eax
push dword [ebp + 8]
call fcn.00479d52
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.00479dd4
push eax
push dword [ebp - 0x24]
call fcn.00479d52
push eax
call fcn.00479d2c
push eax
push dword [ebp + 8]
call fcn.00479d52
jmp 0x479d0a
push dword [ebp - 0x14]
call fcn.00479dfc
push eax
push dword [ebp - 0x18]
call fcn.00479d52
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x479c69
add esp, 0xc
mov eax, 0
jmp 0x479d0a
mov esp, ebp
pop ebp
ret 8
Function at 0x479e9b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
jmp 0x479ea3
sub esp, 0x28
push ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0
jle 0x479ee8
mov eax, dword [ecx]
mov dword [ebp - 8], eax
cmp word [ebp - 8], 0x5a4d
jne 0x479ee8
lea eax, [ecx + 0x3c]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [ecx]
cmp eax, 0x4550
jne 0x479ee8
lea eax, [ecx + 0x16]
mov eax, dword [eax]
cwde
and eax, 0x2000
test eax, eax
je 0x479ee8
lea eax, [ecx + 0x28]
mov eax, dword [eax]
add eax, dword [ebp + 8]
jmp 0x479eec
xor eax, eax
jmp 0x479f17
nop
push 0
push 0
push 0
call eax
call fcn.00479f1c
push 0x700ed6df
push eax
push 0
call fcn.00479f6f
push 0
push 0x8000
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call eax
pop ecx
leave
ret 4

Function at 0x479f1c
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x479f4a
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x479f41
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x479f39
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x479f6b
mov esp, ebp
pop ebp
ret

Function at 0x479f6f
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x479fdb
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x47a008
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x479ff7
xor ecx, eax
xor edx, ebx
dec edi
jne 0x479fe8
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x47a02e
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x479fcf
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x47a05a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48a840
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x538cab
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.0052a3ab
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x48a8c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00527900
mov eax, dword [eax]
push 0x5b3274
push eax
call fcn.00518f84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0052a636
test bl, bl
je 0x48a8c2
push 0x5b3274
lea ecx, [esp + 0xc]
call fcn.0052aa12
push 0x5b6e08
lea ecx, [esp + 0xc]
call fcn.0052aa12
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 0x48a8fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0052a636
jmp 0x48a9c9
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 0x48a982
lea edx, [esp + 0x7c]
push 0x5b6e04
push edx
call fcn.00518f84
add esp, 8
test eax, eax
je 0x48a982
lea eax, [esp + 0x7c]
push 0x5b6e00
push eax
call fcn.00518f84
add esp, 8
test eax, eax
je 0x48a982
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 0x48a912
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.0052a636
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 0x48b1e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x538d2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5c8694]
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 0x48b318
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x48b246
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0052a636
xor eax, eax
jmp 0x48b38f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0052a7bf
push esi
lea ecx, [esp + 0xc]
call fcn.0052aa4e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5b6e40
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x48b36d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x5b6e38
push closesocket
call fcn.004f0610
test eax, eax
jne 0x48b36d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x5b6e24
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004f0610
test eax, eax
jne 0x48b36d
lea eax, [esp + 0x14]
push 0x5b6e1c
push eax
call fcn.0051a160
mov esi, eax
add esp, 8
test esi, esi
jne 0x48b34c
lea ecx, [esp + 0x14]
push 0x5b6e18
push ecx
call fcn.0051a0e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x48b34c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x48b34f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0052a76f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48b25e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0052a636
xor eax, eax
jmp 0x48b38f
mov byte [esi], 0
push 0x5b6e14
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.0052a636
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 0x49156a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x539598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0052bc98
xor ebp, ebp
mov dword [esi], 0x59a780
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.004d8c40
call fcn.00481250
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.00529581
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00481250
mov dword [ebx], 0x5984fc
mov dword [edi], 0x59a6a4
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], vtable.CFont.0
lea ecx, [esi + 0xb0]
call fcn.00481250
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x59a6ac
mov dword [esi + 0xac], ebp
call fcn.00534c27
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00531410
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x491720
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x539625
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x59a6ac
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.00531467
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x5984f8
call fcn.00481450
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.00531467
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x5984f8
call fcn.00481450
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.005295b4
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x5984f8
call fcn.00481450
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00532a05
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret