joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1804fe15
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x181d600c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x1e], 0
mov dword [edi], 0x181a213c
je 0x1804fe3f
call fcn.1805043f
and dword [esp + 0x14], 0
lea ecx, [edi + 4]
and dword [esp + 0x18], 0
mov eax, dword [ecx]
xchg dword [ecx], eax
add eax, 4
lea ecx, [esp + 0x14]
push eax
call fcn.1801582d
lea edx, [edi + 0x3c]
xor ebx, ebx
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1804fea1
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1804fe92
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181663e8]
mov ecx, dword [esp + 0x14]
call esi
lea edx, [edi + 0x3c]
mov eax, dword [edx + 4]
inc ebx
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1804fe70
lea edx, [edi + 0x48]
xor ebx, ebx
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1804fee5
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1804fed6
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181663e8]
mov ecx, dword [esp + 0x14]
call esi
lea edx, [edi + 0x48]
mov eax, dword [edx + 4]
inc ebx
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1804feb4
mov ebx, dword [edi + 0x38]
and dword [edi + 0x38], 0
test ebx, ebx
je 0x1804ff02
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181663e8]
mov ecx, ebx
call esi
lea eax, [edi + 4]
mov ecx, dword [eax]
xchg dword [eax], ecx
call fcn.180683a4
lea ecx, [esp + 0x14]
call fcn.18015858
mov ecx, dword [edi + 0x98]
sub ecx, 0x10
call fcn.18006f72
lea ecx, [edi + 0x88]
mov esi, 0x181a1928
mov dword [ecx], esi
call fcn.1800bba0
lea ecx, [edi + 0x78]
mov dword [ecx], esi
call fcn.1800bba0
lea ecx, [edi + 0x68]
mov dword [ecx], esi
call fcn.1800bba0
lea ecx, [edi + 0x58]
mov dword [ecx], esi
call fcn.1800bba0
lea ecx, [edi + 0x54]
call fcn.180417c9
lea ecx, [edi + 0x48]
call fcn.1800fcb0
lea ecx, [edi + 0x3c]
call fcn.1800fcb0
mov ebx, dword [edi + 0x38]
test ebx, ebx
je 0x1804ff86
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181663e8]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0x30]
push 0x10
pop ebx
sub ecx, ebx
call fcn.18006f72
mov ecx, dword [edi + 0x2c]
sub ecx, ebx
call fcn.18006f72
mov ecx, dword [edi + 0x28]
sub ecx, ebx
call fcn.18006f72
mov ecx, dword [edi + 0x18]
sub ecx, ebx
call fcn.18006f72
mov ecx, dword [edi + 0x14]
sub ecx, ebx
call fcn.18006f72
mov ecx, dword [edi + 0x10]
sub ecx, ebx
call fcn.18006f72
lea ecx, [edi + 8]
call fcn.18052b71
lea ecx, [edi + 4]
call fcn.1804fc5e
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18122438
mov esp, ebp
pop ebp
ret
Function at 0x18052a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax - 0x4f000007], esp
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.18051f66
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.18051f1b
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.18051f66
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.18051f1b
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.18051f56
add al, 0x47
invalid
ret 0xa580
in al, dx
cli

Function at 0x180532e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x14]
call fcn.18051f1b
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x180540e9
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.18051ec7
add esp, 0xc
and dword [ebp - 0x700], 0
stc
invalid
inc dword [eax]
jmp 0x18053363
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x180533ac
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
insb byte es:[edi], dx
cld
invalid
push edi
ror byte [ebx - 0x6ff73], 1
dec dword [eax - 0x393f27c]
invalid
invalid
jmp 0x18053356
call fcn.18051f56
fsubrp st(2)
xor ecx, dword [edx]
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
invalid
pop ss
Function at 0x18062cbb
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x18062e17
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x18062e17
cmp ecx, 0x29
jne 0x18062cfb
cmp dword [esi + 0x10], 0
jne 0x18062e17
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x18062e1b
jmp 0x18062dd5
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x18062d19
push 5
lea ecx, [esi + 0x24]
call fcn.18062eeb
mov ecx, esi
call fcn.18062c92
jmp 0x18062e05
cmp ecx, 0x5c
jne 0x18062d6f
mov ecx, esi
call fcn.18062c92
test byte [edi], 0x80
je 0x18062d63
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x18062d4b
push 4
lea ecx, [esi + 0x24]
call fcn.18062eeb
mov ecx, esi
call fcn.18062c92
jmp 0x18062e0c
cmp ecx, 0x42
jne 0x18062d63
push 4
lea ecx, [esi + 0x24]
call fcn.18062eeb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x18062d3f
mov ecx, esi
call fcn.1806382f
jmp 0x18062e05
cmp ecx, 0x5b
jne 0x18062d8f
mov ecx, esi
call fcn.18062c92
mov ecx, esi
call fcn.180637e3
cmp dword [esi + 0x4c], 0x5d
je 0x18062d0d
push 4
jmp 0x18062e1d
cmp ecx, 0x28
jne 0x18062dac
mov ecx, esi
call fcn.18062c92
mov ecx, esi
call fcn.18063900
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x18062e1b
jmp 0x18062dfa
cmp ecx, 0x5e
jne 0x18062db5
push 2
jmp 0x18062d37
cmp ecx, 0x24
jne 0x18062dc1
push 3
jmp 0x18062d37
cmp ecx, 0x2a
je 0x18062e13
cmp ecx, 0x2b
je 0x18062e13
cmp ecx, 0x3f
je 0x18062e13
cmp ecx, 0x7b
je 0x18062e13
cmp ecx, 0x7d
jne 0x18062de2
test dword [edi], edx
jne 0x18062deb
push 6
jmp 0x18062e1d
cmp ecx, 0x5d
jne 0x18062deb
test dword [edi], edx
je 0x18062d88
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.18063a67
mov bl, 1
mov ecx, esi
call fcn.18062c92
test bl, bl
je 0x18062e0c
mov ecx, esi
call fcn.18063985
mov al, 1
jmp 0x18062cc2
push 0xa
jmp 0x18062e1d
pop edi
pop esi
pop ebx
ret
push 5
call fcn.1806238f
int3
Function at 0x1806be60
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x181d600c]
xor eax, esp
mov dword [esp + 0x270], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x250
mov dword [esp + 0x14], eax
xor edi, edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], edx
mov ebx, ecx
push edi
push eax
mov dword [esp + 0x18], ebx
call fcn.181370e0
add esp, 0xc
lea ecx, [esp + 0x20]
mov edx, ebx
push 0x181a5618
call fcn.18009ca1
pop ecx
lea ecx, [esp + 0x28]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x20]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.18006f72
cmp esi, 0xffffffff
jne 0x1806bf00
call fcn.1801bab5
mov ebx, eax
mov edi, ebx
cmp esi, 0xffffffff
je 0x1806bee9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x27c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18122438
mov esp, ebp
pop ebp
ret
mov ebx, edi
mov eax, dword [esp + 0x1c]
sub eax, edi
je 0x1806bfa0
sub eax, 1
je 0x1806bf4a
sub eax, 1
jne 0x1806c00c
cmp dword [esp + 0x28], 0x80
je 0x1806bf31
test byte [esp + 0x28], 0x10
jne 0x1806c004
push dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
call fcn.1806bd9b
pop ecx
mov ebx, eax
jmp 0x1806c004
test byte [esp + 0x28], 0x10
je 0x1806c004
lea ecx, [esp + 0x28]
call fcn.1806bd5e
test al, al
jne 0x1806c004
lea eax, [esp + 0x54]
mov dword [esp + 0x24], edi
push eax
lea ecx, [esp + 0x18]
call fcn.180074fa
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.1801648c
pop ecx
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f72
push dword [esp + 0x10]
push 2
pop edx
jmp 0x1806bfec
test byte [esp + 0x28], 0x10
je 0x1806c004
lea ecx, [esp + 0x28]
call fcn.1806bd5e
test al, al
jne 0x1806c004
lea eax, [esp + 0x54]
mov dword [esp + 0x24], edi
push eax
lea ecx, [esp + 0x1c]
call fcn.180074fa
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.1801648c
pop ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.18006f72
push dword [esp + 0x10]
xor edx, edx
inc edx
lea ecx, [esp + 0x28]
call fcn.1806be60
pop ecx
mov ecx, dword [esp + 0x24]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.18006f72
test ebx, ebx
js 0x1806bedb
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1806bf02
jmp 0x1806bee2
Function at 0x1806cb42
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
lea ecx, [ebp - 0x14]
lea eax, [edi + 0x14]
push eax
call fcn.1801582d
mov ecx, esi
call fcn.1800c099
mov ecx, eax
mov dword [ebp - 0x27c], eax
or ecx, edx
mov dword [ebp - 0x278], edx
jne 0x1806cb97
mov edi, 0x80070057
jmp 0x1806cd88
and dword [ebp - 0xc], 0
call fcn.18006f9c
push eax
lea ecx, [ebp - 0xc]
call fcn.180076af
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x26c]
call fcn.180076af
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call fcn.1806cfb9
mov ecx, dword [ebp - 8]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.18006f72
test edi, edi
js 0x1806cd7d
push 0x250
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.181370e0
add esp, 0xc
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x274]
push 0x181a5618
call fcn.18009ca1
pop ecx
lea ecx, [ebp - 0x268]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x274]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.18006f72
cmp esi, 0xffffffff
jne 0x1806cc5c
call fcn.1801bab5
mov edi, eax
jmp 0x1806cd7d
lea ecx, [ebp - 0x268]
call fcn.1806bd5e
test al, al
jne 0x1806cd5e
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x26c]
call fcn.180074fa
lea ecx, [ebp - 0x26c]
call fcn.1800c099
mov ecx, dword [ebp - 0x26c]
mov ebx, eax
add ecx, 0xfffffff0
mov edi, edx
call fcn.18006f72
mov ecx, ebx
or ecx, edi
je 0x1806cd5e
cmp edi, dword [ebp - 0x278]
ja 0x1806cd5e
jb 0x1806ccc2
cmp ebx, dword [ebp - 0x27c]
jae 0x1806cd5e
and dword [ebp - 8], 0
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x270]
call fcn.180074fa
lea eax, [ebp - 0x270]
push eax
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.1801648c
pop ecx
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 8]
call fcn.1800d0cf
movzx ecx, byte [0x181dc05a]
mov edi, eax
neg ecx
sbb ecx, ecx
and ecx, 0x181dbf50
je 0x1806cd53
push 7
pop ebx
push 3
pop eax
push eax
push ebx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x284], eax
call fcn.18008b5d
push edi
push dword [ebp - 8]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x28c]
push str._Purge_version___s__0x_x_
push eax
call fcn.18007230
add esp, 0x10
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea eax, [ebp - 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1806cc5c
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [ebp - 0x14]
call fcn.18015858
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122438
leave
ret 8
Function at 0x1806fee3
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
call fcn.18006f9c
push eax
mov ecx, ebx
call fcn.180076af
xor ecx, ecx
lea eax, [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [ebp - 8], ecx
mov ecx, dword [esi]
sub ecx, 0x10
mov dword [ebp - 0x14], eax
call fcn.1800a0da
xor ebx, ebx
inc ebx
lea edi, [eax + 0x10]
mov dword [ebp - 0xc], edi
cmp dword [edi - 4], ebx
jle 0x1806ff44
push dword [edi - 0xc]
lea ecx, [ebp - 0xc]
call fcn.1800785c
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x1806ffdf
cmp dword [ebp - 8], ebx
jl 0x1806ffd8
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1806ff6b
xor ecx, ecx
jmp 0x1806ff77
push eax
call fcn.1813b130
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
call fcn.180075ed
cmp dword [ebp - 8], ebx
jle 0x1806ffd8
mov edi, dword [ebp - 0x14]
push dword [esi + ebx*4]
lea ecx, [ebp - 0x10]
call fcn.180074fa
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 8]
je 0x1806ffb8
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1800a0da
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x1806ffc4
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.1800a147
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f72
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x1806ff89
mov edi, dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [edi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.18122438
leave
ret 4

Function at 0x18070180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 0x24]
cmp eax, esi
je 0x180701a3
test eax, eax
je 0x180701a0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x24], esi
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 0x28]
call fcn.180187c5
mov eax, dword [ebx + 4]
test eax, eax
je 0x180701b9
lock inc dword [eax + 4]
mov ecx, dword [edi + 0x30]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], edx
test ecx, ecx
je 0x180701d0
call fcn.1801e4e4
test edi, edi
je 0x180701e4
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x181663e8]
call esi
xor ebx, ebx
push ebx
push ebx
push edi
push 0x18070540
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, eax
lea ecx, [edi + 0x34]
call fcn.180187c5
cmp dword [edi + 0x34], ebx
jne 0x1807021c
call fcn.1801bab5
mov ecx, dword [edi]
mov ebx, eax
push edi
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x181663e8]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x18070343
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10018
call fcn.1815dee0
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
mov dword [ebp - 0x10018], eax
mov esi, dword [eax + 0x28]
test esi, esi
je 0x1807048a
push ebx
push edi
xor ecx, ecx
mov edi, 0x10000
push ecx
mov dword [eax + 0x28], ecx
lea eax, [ebp - 0x1000c]
push eax
push edi
lea eax, [ebp - 0x10008]
mov dword [ebp - 0x1000c], ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x1000c]
mov ebx, ecx
jmp 0x180703d6
test ecx, ecx
je 0x180703da
cmp ebx, edi
je 0x180703da
and dword [ebp - 0x1000c], 0
lea eax, [ebp - 0x1000c]
push 0
push eax
mov eax, edi
sub eax, ebx
push eax
lea eax, [ebp - 0x10008]
add eax, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x1000c]
add ebx, ecx
test eax, eax
jne 0x180703a1
lea eax, [ebp - 0x10014]
mov dword [ebp - 0x10014], 0xf
push eax
push ebx
lea eax, [ebp - 0x10008]
push eax
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
mov ecx, dword [ebp - 0x10018]
mov edi, eax
and dword [ebp - 0x10010], 0
add ecx, 0x38
and dword [ebp - 0x1000c], 0
push ecx
lea ecx, [ebp - 0x10010]
call fcn.1801582d
test edi, edi
je 0x18070451
mov edi, dword [ebp - 0x10018]
xor eax, eax
mov word [ebp + ebx - 0x10008], ax
lea eax, [ebp - 0x10008]
push eax
call fcn.1813b130
pop ecx
push eax
lea eax, [ebp - 0x10008]
push eax
lea ecx, [edi + 0x54]
call fcn.180075ed
jmp 0x18070476
cmp ebx, 0x10002
jae 0x18070497
mov ecx, dword [ebp - 0x10018]
lea eax, [ebp - 0x10008]
push eax
mov byte [ebp + ebx - 0x10008], 0
lea ecx, [ecx + 0x54]
call fcn.180114e6
lea ecx, [ebp - 0x10010]
call fcn.18015858
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.18122438
leave
ret
call fcn.18122e98
int3
Function at 0x1807d92c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push edi
mov edi, edx
xor edx, edx
push edx
push eax
push edx
push edx
push edi
push ecx
mov dword [ebp - 8], edx
call dword [sym.imp.DNSAPI.dll_DnsQuery_W]
test eax, eax
jne 0x1807da21
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + 8]
cmp eax, 5
jne 0x1807d99f
mov eax, dword [ebp + 8]
test eax, eax
je 0x1807d98a
dec eax
mov edx, edi
lfence
mov ecx, dword [ecx + 0x18]
push esi
push eax
call fcn.1807d92c
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov esi, eax
jmp 0x1807d98f
mov esi, 0x251d
push 1
push ecx
call dword [sym.imp.DNSAPI.dll_DnsFree]
mov eax, esi
jmp 0x1807da21
xor edi, edi
inc edi
cmp eax, 0x1c
jne 0x1807d9df
movzx eax, word [ecx + 0x26]
push eax
movzx eax, word [ecx + 0x24]
push eax
movzx eax, word [ecx + 0x22]
push eax
movzx eax, word [ecx + 0x20]
push eax
movzx eax, word [ecx + 0x1e]
push eax
movzx eax, word [ecx + 0x1c]
push eax
movzx eax, word [ecx + 0x1a]
push eax
movzx eax, word [ecx + 0x18]
push eax
push 0x181b9a78
push esi
call fcn.18048d40
add esp, 0x28
jmp 0x1807da06
cmp ax, di
jne 0x1807da14
movzx eax, byte [ecx + 0x1b]
push eax
movzx eax, byte [ecx + 0x1a]
push eax
movzx eax, byte [ecx + 0x19]
push eax
movzx eax, byte [ecx + 0x18]
push eax
push 0x181a559c
push esi
call fcn.18048d40
add esp, 0x18
push edi
push dword [ebp - 8]
call dword [sym.imp.DNSAPI.dll_DnsFree]
xor eax, eax
jmp 0x1807da21
push edi
push ecx
call dword [sym.imp.DNSAPI.dll_DnsFree]
mov eax, 0x251d
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.18122438
leave
ret
Function at 0x1807e7a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], eax
xor esi, esi
push edi
push esi
mov eax, dword [ebx + 0x88]
push 0x80
cmp dword [eax + 0x30], esi
setne dl
lea edx, [edx*2 + 2]
push edx
push esi
push esi
push 0x40000000
push dword [ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1807e86c
mov eax, dword [ebx + 0x88]
cmp dword [eax + 0x30], esi
je 0x1807e888
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x1807e875
cmp eax, 0x7fffffff
ja 0x1807e875
mov edx, dword [ebx + 0x88]
push esi
cmp eax, dword [edx + 0x30]
setg cl
cmp eax, dword [edx + 0x34]
setne al
or cl, al
je 0x1807e853
push 0x80
push 2
push esi
push esi
push 0x40000000
mov dword [edx + 0x34], esi
push dword [ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp edi, ebx
je 0x1807e88b
push edi
lfence
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
cmp edi, 0xffffffff
jmp 0x1807e86a
lfence
mov eax, dword [ebx + 0x88]
push esi
push esi
push dword [eax + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1807e88b
call fcn.1801bab5
mov esi, eax
jmp 0x1807e87a
mov esi, 0x80004005
cmp edi, 0xffffffff
je 0x1807e890
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1807e890
mov dword [eax + 0x34], esi
mov eax, dword [ebp - 4]
mov dword [eax], edi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1807ff78
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov esi, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov eax, dword [ecx - 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
lea eax, [eax*2 + 2]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x14]
push eax
push 1
push edx
push edx
lea eax, [ebp - 0x2c]
push eax
push str.edgeupdate
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x1807fff5
call fcn.1801bab5
test eax, eax
js 0x180800b8
jmp 0x18080018
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, ecx
push eax
push ecx
push 0
lea ecx, [ebp - 0x20]
call fcn.1807f69c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x20]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
and dword [ebp - 0x10], 0
push edi
call fcn.1801582d
lea ecx, [edi + 0x1c]
push ebx
call fcn.180805b0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x18080073
push dword [ebp - 0x24]
lea ecx, [edi + 0x1c]
call fcn.180805e2
push dword [ebp - 0xc]
lea ecx, [edi + 0x28]
call fcn.180805e2
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x34]
call fcn.18080536
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xffff
push eax
lea ecx, [edi + 0x40]
call fcn.18080492
mov esi, dword [ebp - 0x20]
jmp 0x180800b0
push dword [ebp - 0xc]
lea ecx, [edi + 0x28]
push ebx
call fcn.1808046a
mov ecx, eax
call fcn.18009e8a
push ebx
lea ecx, [edi + 0x34]
call fcn.1808050e
lea ecx, [ebp - 0x20]
cmp eax, ecx
je 0x180800a1
push dword [ebp - 0x1c]
mov ecx, eax
push esi
call fcn.18080669
push ebx
lea ecx, [edi + 0x40]
call fcn.1808046a
mov dword [eax], 0xffff
lea ecx, [ebp - 0x14]
call fcn.18015858
test esi, esi
je 0x180800ec
mov eax, dword [ebp - 0x18]
sub eax, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], eax
cmp eax, 0x1000
jb 0x180800e3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.18007b92
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x24]
pop ecx
pop ecx
push eax
push esi
call fcn.18122966
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122438
leave
ret 0xc