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

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov eax, dword [esp + 4]
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x418f83
cmp word [eax + 8], 0x5a4d
lea ecx, [eax + 8]
je 0x418f8c
mov eax, edx
ret 8
add ecx, dword [ecx + 0x3c]
cmp word [ecx + 4], 0x14c
jne 0x418f83
cmp dword [ecx], 0x4550
jne 0x418f83
mov edx, dword [ecx + 0x34]
mov eax, dword [esp + 8]
mov dword [eax], edx
mov edx, dword [ecx + 0x50]
jmp 0x418f83

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x419081
test ecx, ecx
je 0x419081
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x419081
test ebx, ebx
je 0x419081
mov ebx, eax
add ebx, edx
je 0x419081
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x419081
cmp dword [edx + eax + 0x14], 0
je 0x419081
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x419081
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x419071
test dl, dl
je 0x41906d
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x419071
add edi, 2
add esi, 2
test dl, dl
jne 0x419051
xor eax, eax
jmp 0x419076
sbb eax, eax
or eax, 1
test eax, eax
je 0x41908d
inc ebp
cmp ebp, dword [esp + 4]
jb 0x41903e
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x4198e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
test eax, eax
je 0x419900
cmp word [eax + 8], 0x5a4d
lea ebx, [eax + 8]
je 0x419912
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov esi, dword [ebx + 0x3c]
xor eax, eax
lea edx, [esi + ebx]
cmp word [edx + 4], 0x14c
jne 0x419900
cmp dword [edx], 0x4550
jne 0x419900
movzx edx, word [edx + 6]
add esi, 0xf8
mov dword [esp + 4], ebx
xor edi, edi
lea eax, [edx + edx*4]
mov dword [esp + 0x18], edx
lea eax, [esi + eax*8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [esp + 0x4c]
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1000
mov dword [esp], eax
call dword [esp + 0x48]
sub esp, 0x10
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4199f1
lea esi, [esi]
lea ebp, [ebx + esi]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4199e7
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4199e7
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x10]
add eax, ebx
add ecx, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 0x18], ecx
call dword [esp + 0x4c]
sub esp, 0xc
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], 0x40
mov eax, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [esp + 0x48]
sub esp, 0x10
mov edx, dword [esp + 0x1c]
add edi, 1
add esi, 0x28
cmp edx, edi
jne 0x41998a
mov eax, 1
jmp 0x419900
Function at 0x41aa8c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call sub.KERNEL32.dll_GetFileAttributesA_1
cmp dword [ebp - 4], esp
je 0x41aabe
push 0x24
push 0x4019388
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
mov eax, 0
setne al
jmp 0x41aad2
mov esp, ebp
pop ebp
ret 4

Function at 0x41af28
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
call sub.KERNEL32.dll_GetCurrentProcessId_1
cmp dword [ebp - 8], esp
je 0x41af5c
push 0x19
push 0x40193b1
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x41afc9
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xffffffff
push 0x1f0fff
call sub.KERNEL32.dll_OpenProcess
cmp dword [ebp - 8], esp
je 0x41af9a
push 0x59
push 0x40193b1
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 0xc]
call sub.KERNEL32.dll_TerminateProcess_1
cmp dword [ebp - 0x10], esp
je 0x41afc9
push 0x59
push 0x40193b1
push 6
call fcn.0047f8f3
add esp, 0xc
push 1
push dword [ebp - 4]
call fcn.0041b04c
mov dword [ebp - 8], esp
mov eax, 0x25
call fcn.0047f905
cmp dword [ebp - 8], esp
je 0x41affc
push 0xab
push 0x40193b1
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 8], esp
push 0
call sub.KERNEL32.dll_ExitProcess_1
cmp dword [ebp - 8], esp
je 0x41b025
push 0xbe
push 0x40193b1
push 6
call fcn.0047f8f3
add esp, 0xc
push 0
call fcn.0047f91d
add esp, 4
push 1
push dword [ebp - 4]
call fcn.0041b04c
push 0
call fcn.0047f91d
add esp, 4
mov esp, ebp
pop ebp
ret 8

Function at 0x41b04c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x41b0a3
mov dword [ebp - 0xc], esp
call sub.KERNEL32.dll_GetCurrentProcessId_1
cmp dword [ebp - 0xc], esp
je 0x41b0a0
push 0x5c
push 0x40193b2
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 1
push 0x1f0fff
call fcn.0041b180
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41b0cd
mov eax, 0
jmp 0x41b17a
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
mov eax, 0x26
call fcn.0047f905
cmp dword [ebp - 0xc], esp
je 0x41b0fe
push 0xf6
push 0x40193b2
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41b11d
push dword [ebp - 4]
call fcn.0041b2dc
mov eax, 1
jmp 0x41b17a
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
call sub.KERNEL32.dll_TerminateProcess_1
cmp dword [ebp - 0xc], esp
je 0x41b149
push 0x19b
push 0x40193b2
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41b168
push dword [ebp - 4]
call fcn.0041b2dc
mov eax, 1
jmp 0x41b17a
push dword [ebp - 4]
call fcn.0041b2dc
mov eax, 0
jmp 0x41b17a
mov esp, ebp
pop ebp
ret 8
Function at 0x41f3e4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov eax, dword [esp + 4]
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x41f3ff
cmp word [eax + 8], 0x5a4d
lea ecx, [eax + 8]
je 0x41f408
mov eax, edx
ret 8
add ecx, dword [ecx + 0x3c]
cmp word [ecx + 4], 0x14c
jne 0x41f3ff
cmp dword [ecx], 0x4550
jne 0x41f3ff
mov edx, dword [ecx + 0x34]
mov eax, dword [esp + 8]
mov dword [eax], edx
mov edx, dword [ecx + 0x50]
jmp 0x41f3ff
Function at 0x41fbbc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
test eax, eax
je 0x41fbdc
cmp word [eax + 8], 0x5a4d
lea ebx, [eax + 8]
je 0x41fbee
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov esi, dword [ebx + 0x3c]
xor eax, eax
lea edx, [esi + ebx]
cmp word [edx + 4], 0x14c
jne 0x41fbdc
cmp dword [edx], 0x4550
jne 0x41fbdc
movzx edx, word [edx + 6]
add esi, 0xf8
mov dword [esp + 4], ebx
xor edi, edi
lea eax, [edx + edx*4]
mov dword [esp + 0x18], edx
lea eax, [esi + eax*8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [esp + 0x4c]
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1000
mov dword [esp], eax
call dword [esp + 0x48]
sub esp, 0x10
mov edx, dword [esp + 0x18]
test edx, edx
je 0x41fccd
lea esi, [esi]
lea ebp, [ebx + esi]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x41fcc3
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41fcc3
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x10]
add eax, ebx
add ecx, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 0x18], ecx
call dword [esp + 0x4c]
sub esp, 0xc
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], 0x40
mov eax, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [esp + 0x48]
sub esp, 0x10
mov edx, dword [esp + 0x1c]
add edi, 1
add esi, 0x28
cmp edx, edi
jne 0x41fc66
mov eax, 1
jmp 0x41fbdc

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x41fda9
test ecx, ecx
je 0x41fda9
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x41fda9
test ebx, ebx
je 0x41fda9
mov ebx, eax
add ebx, edx
je 0x41fda9
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x41fda9
cmp dword [edx + eax + 0x14], 0
je 0x41fda9
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x41fda9
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x41fd99
test dl, dl
je 0x41fd95
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x41fd99
add edi, 2
add esi, 2
test dl, dl
jne 0x41fd79
xor eax, eax
jmp 0x41fd9e
sbb eax, eax
or eax, 1
test eax, eax
je 0x41fdb5
inc ebp
cmp ebp, dword [esp + 4]
jb 0x41fd66
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x41fee8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
je 0x41ff68
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov eax, 0x6d53c0
xor ecx, ecx
test eax, eax
je 0x41ff2c
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x41ff3f
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x41ff56
dec eax
test ecx, ecx
je 0x41ff56
call fcn.00403064
add esp, 0xc
test eax, eax
je 0x41ff68
mov eax, 1
jmp 0x41ff6d
mov eax, 0
test eax, eax
je 0x4200d4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0xc], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x41ff95
mov eax, 0x6d53c0
push eax
push 1
mov ebx, 0x47fe40
call fcn.0047f8ff
add esp, 0x10
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
lea eax, [ebp - 8]
push eax
push 0x40
push dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call sub.KERNEL32.dll_VirtualProtect_1
cmp dword [ebp - 0x10], esp
je 0x41ffe8
push 0xb4
push 0x4027fa5
push 6
call fcn.0047f8f3
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
call fcn.0041fe48
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.0041fddc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov eax, 0x6d53c0
test eax, eax
je 0x42006b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0047f8e7
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42007e
push ebx
call fcn.0047f8ed
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
cmp dword [ebp - 8], 0x40
je 0x4200d4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call sub.KERNEL32.dll_VirtualProtect_1
cmp dword [ebp - 0x10], esp
je 0x4200d4
push 0x22c
push 0x4027fa5
push 6
call fcn.0047f8f3
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x420d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x420d73
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x420d73
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax + 0x7c], 0
jne 0x420d7c
xor eax, eax
pop esi
add esp, 0xc
ret 8
mov eax, dword [eax + 0x78]
sub ecx, dword [eax + esi + 0x10]
mov edx, dword [eax + esi + 0x14]
push ebx
mov ebx, dword [eax + esi + 0x20]
add eax, esi
push ebp
mov ebp, dword [eax + 0x24]
push edi
mov edi, dword [eax + 0x1c]
add edi, esi
add ebx, esi
add ebp, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x420db7
mov eax, dword [edi + ecx*4]
pop edi
pop ebp
pop ebx
add eax, esi
pop esi
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x420e10
movzx ecx, word [ebp + edi*2]
mov dword [esp + 0x18], ecx
cmp ecx, edx
ja 0x420e0b
mov eax, dword [ebx + edi*4]
mov ecx, dword [esp + 0x24]
add eax, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x420dfa
test dl, dl
je 0x420df6
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x420dfa
add ecx, 2
add eax, 2
test dl, dl
jne 0x420dda
xor eax, eax
jmp 0x420dff
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420e1c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x420dc4
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0xc
ret 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
pop edi
pop ebp
pop ebx
add eax, esi
pop esi
add esp, 0xc
ret 8
Function at 0x45d6b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0x47fdb0
call fcn.0047f8ff
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.KERNEL32.dll_VirtualAlloc_1
cmp dword [ebp - 0xc], esp
je 0x45d723
push 0x39
push 0x401894c
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45d79b
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0x47fdb0
call fcn.0047f8ff
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
call sub.KERNEL32.dll_VirtualAlloc_1
cmp dword [ebp - 0xc], esp
je 0x45d791
push 0xc7
push 0x401894c
push 6
call fcn.0047f8f3
add esp, 0xc
jmp 0x45d7a3
mov eax, dword [ebp - 4]
jmp 0x45d7a3
mov esp, ebp
pop ebp
ret 8
Function at 0x47f624
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x47f672
mov dword [ebp - 8], esp
push 4
push dword [ebp + 8]
call sub.USER32.dll_ShowWindow_1
cmp dword [ebp - 8], esp
je 0x47f66a
push 0x34
push 0x4027f92
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x47f6a1
mov dword [ebp - 8], esp
push 0
push dword [ebp + 8]
call sub.USER32.dll_ShowWindow_1
cmp dword [ebp - 8], esp
je 0x47f69e
push 0x73
push 0x4027f92
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x47f6a9
mov esp, ebp
pop ebp
ret 8
Function at 0x48e7a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6cb4eb
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.006bfb28
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x48e822
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.006bd962
mov eax, dword [eax]
push 0xa08ce4
push eax
call fcn.006aecd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.006bfdb3
test bl, bl
je 0x48e822
push 0xa08ce4
lea ecx, [esp + 0xc]
call fcn.006c0143
push 0xa08cf0
lea ecx, [esp + 0xc]
call fcn.006c0143
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA_1]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x48e85e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.006bfdb3
jmp 0x48e929
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x48e8e2
lea edx, [esp + 0x7c]
push 0xa08cec
push edx
call fcn.006aecd4
add esp, 8
test eax, eax
je 0x48e8e2
lea eax, [esp + 0x7c]
push 0xa08ce8
push eax
call fcn.006aecd4
add esp, 8
test eax, eax
je 0x48e8e2
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_1]
test eax, eax
jne 0x48e872
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose_1]
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.006bfdb3
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 0x48f130
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_1]
mov esi, eax
test esi, esi
jne 0x48f192
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_1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x48f1a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6cb56b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xaad5b8]
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 0x48f2d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x48f206
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006bfdb3
xor eax, eax
jmp 0x48f34f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.006bfef0
push esi
lea ecx, [esp + 0xc]
call fcn.006c017f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xa08d24
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA_1]
mov esi, eax
cmp esi, 0x20
ja 0x48f32d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0048f130
test eax, eax
jne 0x48f32d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA_1]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0048f130
test eax, eax
jne 0x48f32d
lea eax, [esp + 0x14]
push 0xa08d00
push eax
call fcn.006afe20
mov esi, eax
add esp, 8
test esi, esi
jne 0x48f30c
lea ecx, [esp + 0x14]
push 0xa08cfc
push ecx
call fcn.006afda0
mov esi, eax
add esp, 8
test esi, esi
jne 0x48f30c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA_1]
lea esi, [esp + eax + 0x13]
jmp 0x48f30f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.006bfea0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48f21e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006bfdb3
xor eax, eax
jmp 0x48f34f
mov byte [esi], 0
push 0xa08cf8
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.006bfdb3
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