joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18030b1c
Capabilities:
Authenticate hmac

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x18030b5e
call fcn.18030d90
mov ecx, esi
cmp eax, 0xef
jne 0x18030b59
call fcn.18030d90
cmp eax, 0xbb
jne 0x18030b4d
mov ecx, esi
call fcn.18030d90
cmp eax, 0xbf
je 0x18030b5e
mov dword [esi + 0x40], str.invalid_BOM__must_be_0xEF_0xBB_0xBF_if_given
push 0xe
pop eax
pop esi
ret
call fcn.18031856
mov ecx, esi
call fcn.18030d90
mov eax, dword [esi + 8]
cmp eax, 0x20
je 0x18030b5e
cmp eax, 9
je 0x18030b5e
cmp eax, 0xa
je 0x18030b5e
cmp eax, 0xd
je 0x18030b5e
cmp eax, 0x36
jg 0x18030bd7
je 0x18030ba6
cmp eax, 0x30
jg 0x18030bbe
je 0x18030ba6
cmp eax, 0xffffffff
je 0x18030bba
test eax, eax
je 0x18030bba
cmp eax, 0x22
je 0x18030bb2
cmp eax, 0x2c
je 0x18030bae
cmp eax, 0x2d
jne 0x18030c26
mov ecx, esi
pop esi
jmp fcn.18030e3a
push 0xd
jmp 0x18030b56
mov ecx, esi
pop esi
jmp fcn.18031200
push 0xf
jmp 0x18030b56
sub eax, 0x31
je 0x18030ba6
sub eax, 1
je 0x18030ba6
sub eax, 1
je 0x18030ba6
sub eax, 1
je 0x18030ba6
sub eax, 1
jmp 0x18030ba0
cmp eax, 0x5d
jg 0x18030c0c
je 0x18030c05
sub eax, 0x37
je 0x18030ba6
sub eax, 1
je 0x18030ba6
sub eax, 1
je 0x18030ba6
sub eax, 1
je 0x18030bfe
sub eax, 0x21
jne 0x18030c26
push 8
jmp 0x18030b56
push 0xc
jmp 0x18030b56
push 0xa
jmp 0x18030b56
sub eax, 0x66
je 0x18030c56
sub eax, 8
je 0x18030c4b
sub eax, 6
je 0x18030c40
sub eax, 7
je 0x18030c39
dec eax
sub eax, 1
je 0x18030c32
mov dword [esi + 0x40], str.invalid_literal
jmp 0x18030b54
push 0xb
jmp 0x18030b56
push 9
jmp 0x18030b56
push 1
push 4
push str.true
jmp 0x18030c5f
push 3
push 4
push str.null
jmp 0x18030c5f
push 2
push 5
push str.false
mov ecx, esi
call fcn.18030dfc
pop esi
ret
Function at 0x1803b5f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x181d000c]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
push 0x400
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.18132f00
add esp, 0xc
mov dword [esp + 0x18], edi
push 0x60
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1803b670
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1803b670
call fcn.180079f0
mov esi, eax
jmp 0x1803b723
push dword [esp + 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1803b68c
call fcn.180079f0
jmp 0x1803b716
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1803b682
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea ecx, [esi + 1]
cmp ecx, esi
jae 0x1803b6b2
mov esi, 0x8007000e
jmp 0x1803b718
push 2
pop edx
lfence
call fcn.180103c5
cmp eax, 0x400
jbe 0x1803b6d3
push eax
lea ecx, [esp + 0x1c]
lfence
call fcn.18041903
jmp 0x1803b6db
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x1803b6ab
push esi
lfence
push dword [esp + 0x1c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1803b682
mov eax, dword [esp + 0x18]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [esp + 0x14]
push dword [esp + 0x1c]
call fcn.1803c1d8
mov esi, eax
test edi, edi
je 0x1803b723
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x1c]
cmp dword [esp + 0x18], eax
je 0x1803b736
lea ecx, [esp + 0x18]
call fcn.18040a37
mov ecx, dword [esp + 0x424]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1811e248
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1803d57e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 0x98]
cmp dword [esi], 0
jne 0x1803d5d9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esi + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor edi, edi
inc edi
test eax, eax
je 0x1803d5d5
jmp 0x1803d5cf
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
cmp eax, ebx
jae 0x1803d5c6
or ecx, 0xffffffff
sub ecx, ebx
add ecx, eax
cmp ecx, dword [ebp - 4]
jae 0x1803d5d5
cmp dword [esi + 4], 0
jg 0x1803d5aa
xchg dword [esi], edi
pop edi
pop ebx
pop esi
leave
ret

Function at 0x18042075
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push edi
push eax
xor edi, edi
lea eax, [ebp - 0x204]
push edi
push dword [ebp + 0xc]
push 0xff
push 0x100
push eax
call fcn.180078ef
push dword [eax + 4]
push dword [eax]
call fcn.1813a81b
xor eax, eax
add esp, 0x20
mov word [ebp - 6], ax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
cmp dword [esi + 0x260], edi
jne 0x180420db
push eax
call fcn.181425a1
pop ecx
lea eax, [esi + 0x40]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1804210a
push edi
lea eax, [ebp - 0x208]
push eax
push edi
push 1
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1811e248
leave
ret
Function at 0x180423a3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, 0x181d1f60
push edi
mov edi, ecx
cmp dword [0x181d1f60], ebx
je 0x180423e4
push ecx
mov ecx, esi
call fcn.1803ae69
mov ebx, eax
mov ecx, ebx
call fcn.1801d0b7
test ebx, ebx
js 0x18042452
add esi, 0x24
xor ebx, ebx
cmp dword [esi], ebx
jne 0x180423c6
lfence
cmp byte [edi + 0x3c], 0
je 0x18042460
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x18042459
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push edi
push 0x180425b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18042427
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18042459
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18042449
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18042468
lfence
mov eax, ebx
jmp 0x18042473
mov esi, 0x80004005
jmp 0x1804246c
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18042471
call fcn.1804235f
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret 4

Function at 0x180424c8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, 0x181d2030
push edi
mov edi, ecx
cmp dword [0x181d2030], ebx
je 0x18042509
push ecx
mov ecx, esi
call fcn.1803ae69
mov ebx, eax
mov ecx, ebx
call fcn.1801d0b7
test ebx, ebx
js 0x18042577
add esi, 0x24
xor ebx, ebx
cmp dword [esi], ebx
jne 0x180424eb
lfence
cmp byte [edi + 0x3c], 0
je 0x18042585
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x1804257e
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push edi
push 0x180425b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x1804254c
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1804257e
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1804256e
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1804258d
lfence
mov eax, ebx
jmp 0x18042598
mov esi, 0x80004005
jmp 0x18042591
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18042596
call fcn.18042484
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret 4
Function at 0x18045aab
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esi + 0x1c]
call fcn.18047169
mov edi, dword [esi + 0x18]
and dword [esi + 0x18], 0
test edi, edi
je 0x18045ad5
mov ecx, edi
call fcn.18085534
push 0x24
push edi
call fcn.1811e776
pop ecx
pop ecx
mov ecx, dword [0x181d5efc]
pop edi
pop esi
mov ecx, dword [ecx]
jmp fcn.1803d57e

Function at 0x18049e4a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.18048370
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x18049e80
cmp dword [edi], ebx
je 0x18049e80
push ecx
mov ecx, edi
call fcn.1803ae69
test eax, eax
js 0x18049eed
add edi, 0x24
jne 0x18049e6b
lfence
cmp byte [esi + 0x3c], bl
je 0x18049ef9
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x18049ef2
lea eax, [ebp - 8]
push eax
push ebx
push esi
push 0x1804c930
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18049ec2
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x30], ebx
test ebx, ebx
je 0x18049ef2
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x18049ee4
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18049f01
lfence
jmp 0x18049f0e
mov edi, 0x80004005
jmp 0x18049f05
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x18049f0c
mov ecx, esi
call fcn.1804848d
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret 4
Function at 0x1804e2a5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x181d000c]
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], 0x1819d9e4
je 0x1804e2cf
call fcn.1804e8cf
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.1801577d
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 0x1804e331
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1804e322
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181623e8]
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 0x1804e300
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 0x1804e375
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1804e366
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181623e8]
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 0x1804e344
mov ebx, dword [edi + 0x38]
and dword [edi + 0x38], 0
test ebx, ebx
je 0x1804e392
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181623e8]
mov ecx, ebx
call esi
lea eax, [edi + 4]
mov ecx, dword [eax]
xchg dword [eax], ecx
call fcn.18066684
lea ecx, [esp + 0x14]
call fcn.180157a8
mov ecx, dword [edi + 0x98]
sub ecx, 0x10
call fcn.18006f52
lea ecx, [edi + 0x88]
mov esi, 0x1819d1d8
mov dword [ecx], esi
call fcn.1800bb80
lea ecx, [edi + 0x78]
mov dword [ecx], esi
call fcn.1800bb80
lea ecx, [edi + 0x68]
mov dword [ecx], esi
call fcn.1800bb80
lea ecx, [edi + 0x58]
mov dword [ecx], esi
call fcn.1800bb80
lea ecx, [edi + 0x54]
call fcn.1803fc59
lea ecx, [edi + 0x48]
call fcn.1800fc91
lea ecx, [edi + 0x3c]
call fcn.1800fc91
mov ebx, dword [edi + 0x38]
test ebx, ebx
je 0x1804e416
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181623e8]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0x30]
push 0x10
pop ebx
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x2c]
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x28]
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x18]
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x14]
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x10]
sub ecx, ebx
call fcn.18006f52
lea ecx, [edi + 8]
call fcn.18051001
lea ecx, [edi + 4]
call fcn.1804e0ee
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1811e248
mov esp, ebp
pop ebp
ret
Function at 0x18060f9b
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 0x180610f7
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x180610f7
cmp ecx, 0x29
jne 0x18060fdb
cmp dword [esi + 0x10], 0
jne 0x180610f7
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x180610fb
jmp 0x180610b5
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x18060ff9
push 5
lea ecx, [esi + 0x24]
call fcn.180611cb
mov ecx, esi
call fcn.18060f72
jmp 0x180610e5
cmp ecx, 0x5c
jne 0x1806104f
mov ecx, esi
call fcn.18060f72
test byte [edi], 0x80
je 0x18061043
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x1806102b
push 4
lea ecx, [esi + 0x24]
call fcn.180611cb
mov ecx, esi
call fcn.18060f72
jmp 0x180610ec
cmp ecx, 0x42
jne 0x18061043
push 4
lea ecx, [esi + 0x24]
call fcn.180611cb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1806101f
mov ecx, esi
call fcn.18061b0f
jmp 0x180610e5
cmp ecx, 0x5b
jne 0x1806106f
mov ecx, esi
call fcn.18060f72
mov ecx, esi
call fcn.18061ac3
cmp dword [esi + 0x4c], 0x5d
je 0x18060fed
push 4
jmp 0x180610fd
cmp ecx, 0x28
jne 0x1806108c
mov ecx, esi
call fcn.18060f72
mov ecx, esi
call fcn.18061be0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x180610fb
jmp 0x180610da
cmp ecx, 0x5e
jne 0x18061095
push 2
jmp 0x18061017
cmp ecx, 0x24
jne 0x180610a1
push 3
jmp 0x18061017
cmp ecx, 0x2a
je 0x180610f3
cmp ecx, 0x2b
je 0x180610f3
cmp ecx, 0x3f
je 0x180610f3
cmp ecx, 0x7b
je 0x180610f3
cmp ecx, 0x7d
jne 0x180610c2
test dword [edi], edx
jne 0x180610cb
push 6
jmp 0x180610fd
cmp ecx, 0x5d
jne 0x180610cb
test dword [edi], edx
je 0x18061068
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.18061d47
mov bl, 1
mov ecx, esi
call fcn.18060f72
test bl, bl
je 0x180610ec
mov ecx, esi
call fcn.18061c65
mov al, 1
jmp 0x18060fa2
push 0xa
jmp 0x180610fd
pop edi
pop esi
pop ebx
ret
push 5
call fcn.1806066f
int3

Function at 0x1806e460
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 0x1806e483
test eax, eax
je 0x1806e480
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.180187b7
mov eax, dword [ebx + 4]
test eax, eax
je 0x1806e499
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 0x1806e4b0
call fcn.1801e84f
test edi, edi
je 0x1806e4c4
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x181623e8]
call esi
xor ebx, ebx
push ebx
push ebx
push edi
push 0x1806e820
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, eax
lea ecx, [edi + 0x34]
call fcn.180187b7
cmp dword [edi + 0x34], ebx
jne 0x1806e4fc
call fcn.1801baa5
mov ecx, dword [edi]
mov ebx, eax
push edi
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x181623e8]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x1806e623
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10018
call fcn.18159d00
mov eax, dword [0x181d000c]
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 0x1806e76a
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 0x1806e6b6
test ecx, ecx
je 0x1806e6ba
cmp ebx, edi
je 0x1806e6ba
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 0x1806e681
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.1801577d
test edi, edi
je 0x1806e731
mov edi, dword [ebp - 0x10018]
xor eax, eax
mov word [ebp + ebx - 0x10008], ax
lea eax, [ebp - 0x10008]
push eax
call fcn.18136f50
pop ecx
push eax
lea eax, [ebp - 0x10008]
push eax
lea ecx, [edi + 0x54]
call fcn.180075cd
jmp 0x1806e756
cmp ebx, 0x10002
jae 0x1806e777
mov ecx, dword [ebp - 0x10018]
lea eax, [ebp - 0x10008]
push eax
mov byte [ebp + ebx - 0x10008], 0
lea ecx, [ecx + 0x54]
call fcn.180114c9
lea ecx, [ebp - 0x10010]
call fcn.180157a8
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.1811e248
leave
ret
call fcn.1811eca8
int3
Function at 0x1807c960
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 0x1807ca2c
mov eax, dword [ebx + 0x88]
cmp dword [eax + 0x30], esi
je 0x1807ca48
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x1807ca35
cmp eax, 0x7fffffff
ja 0x1807ca35
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 0x1807ca13
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 0x1807ca4b
push edi
lfence
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
cmp edi, 0xffffffff
jmp 0x1807ca2a
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 0x1807ca4b
call fcn.1801baa5
mov esi, eax
jmp 0x1807ca3a
mov esi, 0x80004005
cmp edi, 0xffffffff
je 0x1807ca50
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1807ca50
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 0x1807e138
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x181d000c]
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 0x1807e1b5
call fcn.1801baa5
test eax, eax
js 0x1807e278
jmp 0x1807e1d8
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.1807d85c
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.1801577d
lea ecx, [edi + 0x1c]
push ebx
call fcn.1807e770
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1807e233
push dword [ebp - 0x24]
lea ecx, [edi + 0x1c]
call fcn.1807e7a2
push dword [ebp - 0xc]
lea ecx, [edi + 0x28]
call fcn.1807e7a2
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x34]
call fcn.1807e6f6
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xffff
push eax
lea ecx, [edi + 0x40]
call fcn.1807e652
mov esi, dword [ebp - 0x20]
jmp 0x1807e270
push dword [ebp - 0xc]
lea ecx, [edi + 0x28]
push ebx
call fcn.1807e62a
mov ecx, eax
call fcn.18009e6a
push ebx
lea ecx, [edi + 0x34]
call fcn.1807e6ce
lea ecx, [ebp - 0x20]
cmp eax, ecx
je 0x1807e261
push dword [ebp - 0x1c]
mov ecx, eax
push esi
call fcn.1807e829
push ebx
lea ecx, [edi + 0x40]
call fcn.1807e62a
mov dword [eax], 0xffff
lea ecx, [ebp - 0x14]
call fcn.180157a8
test esi, esi
je 0x1807e2ac
mov eax, dword [ebp - 0x18]
sub eax, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], eax
cmp eax, 0x1000
jb 0x1807e2a3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.18007b72
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x24]
pop ecx
pop ecx
push eax
push esi
call fcn.1811e776
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret 0xc