joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1807e834
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 4]
push edi
call fcn.18009c8e
push str.F3C4FE00_EFD5_403B_9569_398A20F1BA4A
lea ecx, [ebp - 8]
call fcn.18006d98
mov cl, byte [esi]
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
call fcn.180222f1
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.1800687d
lea ecx, [ebp - 4]
call fcn.1800b132
cmp edx, 0x10003
ja 0x1807e88e
jb 0x1807e884
test eax, eax
jae 0x1807e88e
mov ebx, 0x80004001
jmp 0x1807e97d
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.18010286
lea ecx, [ebp + 8]
call fcn.18009c8e
lea edx, [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.18010aed
push 0x1e
lea ecx, [ebp - 0x44]
call fcn.18025312
mov edi, dword [ebp + 8]
lea ecx, [ebp + 8]
mov edx, edi
push dword [edi - 0xc]
call fcn.18010331
pop ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.18009c40
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.1800687d
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.18025447
mov cl, byte [esi]
lea eax, [ebp + 8]
and dword [ebp + 8], 0
xor edx, edx
push eax
push dword [ebp - 0xc]
inc edx
call fcn.1801f727
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x1807e94c
cmp dword [ebp + 0xc], 0
je 0x1807e94a
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp + 0xc], 0
test eax, eax
jne 0x1807e933
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1807e943
mov ebx, dword [ebp + 0xc]
jmp 0x1807e94c
cmp eax, 0x102
jne 0x1807e943
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x1807e94c
xor ebx, ebx
test esi, esi
je 0x1807e957
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.1800687d
lea ecx, [ebp - 0x44]
call fcn.18025379
lea ecx, [edi - 0x10]
call fcn.1800687d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1800687d
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.1800687d
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x180847d5
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push ecx
xor edi, edi
mov dword [esp + 0x18], edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov ebx, eax
test ebx, ebx
jne 0x180847ff
call fcn.18017850
jmp 0x18084880
lea ecx, [esp + 0xc]
call fcn.18009c8e
lea ecx, [esp + 0xc]
call fcn.180160e0
test eax, eax
jns 0x18084820
lea eax, [esp + 0xc]
push eax
call fcn.18016000
pop ecx
mov esi, dword [esp + 0xc]
mov eax, edi
mov dword [esp + 0x10], eax
cmp dword [esi - 0xc], edi
je 0x1808483f
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
mov eax, dword [esp + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push 1
push eax
push dword [ebp + 0xc]
push edi
push dword [esp + 0x30]
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x18084865
call fcn.18017850
mov edi, eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea ecx, [esi - 0x10]
call fcn.1800687d
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x18084a99
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov bl, cl
call fcn.1801a8a4
test bl, bl
je 0x18084af1
lea ecx, [ebp - 0xc]
call fcn.18009c8e
lea eax, [ebp - 0xc]
push eax
xor eax, eax
lea ecx, [ebp - 0x10]
inc eax
push eax
push str.MicrosoftCrashReports
mov dword [ebp - 0x14], eax
call fcn.18006d98
push 0x26
mov edx, eax
pop ecx
call fcn.18019ba2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov eax, dword [ebp - 0xc]
xor edi, edi
mov dword [ebp - 0x10], edi
jmp 0x18084b32
lea ecx, [ebp - 8]
call fcn.18009c8e
lea eax, [ebp - 8]
push eax
push 1
push str.MicrosoftCrashReports
lea ecx, [ebp - 0x14]
call fcn.18006d98
push 0x1c
mov edx, eax
pop ecx
call fcn.18019ba2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov eax, dword [ebp - 8]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 2
lea ecx, [eax - 0x10]
call fcn.18009e91
cmp dword [ebp - 0x10], 0
lea esi, [eax + 0x10]
mov dword [ebp - 4], esi
je 0x18084b51
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.1800687d
cmp dword [ebp - 0x14], 0
je 0x18084b62
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.1800687d
test bl, bl
je 0x18084b81
cmp dword [esi - 0xc], edi
je 0x18084b86
lea ecx, [ebp - 4]
call fcn.1808491a
mov esi, dword [ebp - 4]
test eax, eax
jns 0x18084b81
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], edi
jne 0x18084bb1
lea ecx, [ebp - 0x14]
call fcn.180127d3
push eax
lea ecx, [ebp - 4]
call fcn.18009c40
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], edi
jne 0x18084bb1
mov edi, 0x8004fffc
jmp 0x18084bc3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x18084bc3
lea ecx, [ebp - 4]
push ecx
mov ecx, eax
call fcn.18009c40
lea ecx, [esi - 0x10]
call fcn.1800687d
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18098f57
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 8
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18098f8c
cmp dword [ebp - 8], 3
jne 0x18098f8c
cmp dword [ebp - 4], esi
jne 0x18098f8c
mov al, 1
jmp 0x18098f9c
push esi
push 0
push dword [ebp + 8]
call fcn.181620e0
add esp, 0xc
xor al, al
pop esi
leave
ret

Function at 0x18098f9f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18098fd4
cmp dword [ebp - 8], 3
jne 0x18098fd4
cmp dword [ebp - 4], esi
jne 0x18098fd4
mov al, 1
jmp 0x18098fe4
push esi
push 0
push dword [ebp + 8]
call fcn.181620e0
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x1809b96f
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1809babf
mov edx, 0x10000000
cmp eax, 0x7c
je 0x1809babf
cmp eax, 0x29
jne 0x1809b9a8
cmp dword [esi + 0x10], 0
jne 0x1809babf
test dword [esi + 0x50], edx
je 0x1809bac5
cmp eax, 0x2e
jne 0x1809b9c3
push 5
lea ecx, [esi + 0x24]
call fcn.180450b1
mov ecx, esi
call fcn.1809b947
jmp 0x1809baa9
cmp eax, 0x5c
jne 0x1809ba15
mov ecx, esi
call fcn.1809b947
test byte [esi + 0x50], 0x80
je 0x1809ba09
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x1809b9f2
push 4
lea ecx, [esi + 0x24]
call fcn.180450b1
mov ecx, esi
call fcn.1809b947
jmp 0x1809bab0
cmp al, 0x42
jne 0x1809ba09
push 4
lea ecx, [esi + 0x24]
call fcn.180450b1
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1809b9e6
mov ecx, esi
call fcn.1809bf43
jmp 0x1809baa9
cmp eax, 0x5b
jne 0x1809ba35
mov ecx, esi
call fcn.1809b947
mov ecx, esi
call fcn.1809bef7
cmp dword [esi + 0x4c], 0x5d
je 0x1809b9b7
push 4
jmp 0x1809bac7
cmp eax, 0x28
jne 0x1809ba52
mov ecx, esi
call fcn.1809b947
mov ecx, esi
call fcn.1809c014
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1809bac5
jmp 0x1809ba9e
cmp eax, 0x5e
jne 0x1809ba5b
push 2
jmp 0x1809b9de
cmp eax, 0x24
jne 0x1809ba67
push 3
jmp 0x1809b9de
cmp eax, 0x2a
je 0x1809babb
cmp eax, 0x2b
je 0x1809babb
cmp eax, 0x3f
je 0x1809babb
cmp eax, 0x7b
je 0x1809babb
cmp eax, 0x7d
jne 0x1809ba85
test dword [esi + 0x50], edx
je 0x1809bab7
cmp eax, 0x5d
jne 0x1809ba8f
test dword [esi + 0x50], edx
je 0x1809ba2e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1809c15b
mov bl, 1
mov ecx, esi
call fcn.1809b947
test bl, bl
je 0x1809bab0
mov ecx, esi
call fcn.1809c095
mov cl, 1
jmp 0x1809b976
push 6
jmp 0x1809bac7
push 0xa
jmp 0x1809bac7
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.180443ad
int3
Function at 0x180a303c
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
mov esi, ecx
call fcn.1801a8a4
call fcn.1801bf64
mov ebx, eax
call fcn.1801bf64
mov edx, str.AuCheckPeriodMs
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdateDev_
mov edi, eax
call fcn.18016cca
test al, al
jne 0x180a3093
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x180a3093
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x927c1
div ecx
lea edi, [edx + 0x493e0]
and dword [ebp - 0x50], 0
lea eax, [ebp - 0x44]
sub esp, 0x2c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], esi
lea eax, [ebp - 0x74]
mov esi, esp
mov dword [ebp - 0x44], 0x181f68c4
lea ecx, [ebp - 0x44]
push eax
call fcn.180a31e4
and dword [esi + 0x24], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x50], eax
call fcn.180a37f8
lea ecx, [ebp - 0x74]
mov dword [esi + 0x24], eax
call fcn.1803bc9a
mov ecx, dword [ebp + 8]
push ebx
push edi
call fcn.180a365a
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1803bc9a
test esi, esi
jns 0x180a312b
movzx ecx, byte [0x18217983]
neg ecx
sbb ecx, ecx
and ecx, 0x18217880
je 0x180a3127
or dword [ebp - 0x10], 0xffffffff
push 7
pop eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
call fcn.18008988
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push str._Failed_to_start_update_worker_scheduler__0x_08x_
push eax
call fcn.18006aa4
add esp, 0xc
mov eax, esi
jmp 0x180a312d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x180a9e55
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x1820f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push ebx
push 0x181dc774
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
call fcn.18019812
push 0x20a
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.181620e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x180a9f58
xor eax, eax
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
push eax
call fcn.1800ded2
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.180aeb8e
push eax
mov ecx, esi
call fcn.18024d0c
lea ecx, [ebp - 0x248]
call fcn.1801238a
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x180a9f58
mov ecx, dword [ebp - 0x230]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x250], ecx
cmp eax, 0x1000
jb 0x180a9f4f
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.18007386
mov eax, dword [ebp - 0x24c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x250]
push eax
push ecx
call fcn.1814d45b
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1814cf3d
leave
ret
Function at 0x180b39ee
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1820f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x24], edx
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
cmp dword [edi + 0x10], eax
je 0x180b3b47
cmp dword [edi + 0x10], 0x20
jne 0x180b3b47
mov dword [ebp - 0x18], ebx
mov edx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180b3a46
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180b3942
cmp al, 0xff
je 0x180b3b47
mov ecx, dword [ebp - 0x18]
shl ecx, 4
movzx eax, al
add ecx, eax
inc edx
mov dword [ebp - 0x18], ecx
cmp edx, 8
jl 0x180b3a3c
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180b3a74
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180b3942
cmp al, 0xff
je 0x180b3b47
mov ecx, dword [ebp - 0x14]
shl ecx, 4
movzx eax, al
add cx, ax
inc edx
movzx ecx, cx
movzx eax, cx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
cmp edx, 0xc
jl 0x180b3a6a
cmp edx, 0x10
jae 0x180b3ad9
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180b3ab1
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180b3942
cmp al, 0xff
je 0x180b3b47
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
movzx eax, al
add cx, ax
inc edx
movzx ecx, cx
mov dword [ebp - 0x1c], ecx
cmp edx, 0x10
jl 0x180b3aa7
mov byte [ebp - 0xd], bl
mov al, 1
cmp edx, 0x20
jae 0x180b3b29
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], ecx
xor al, 1
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 0xe], al
mov eax, edi
jb 0x180b3af8
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180b3942
mov cl, byte [ebp - 0xd]
shl cl, 4
add cl, al
mov al, byte [ebp - 0xe]
mov byte [ebp - 0xd], cl
test al, al
je 0x180b3b1d
mov esi, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov byte [ebp - 0xd], bl
mov byte [esi], cl
inc edx
cmp edx, 0x20
jl 0x180b3ae9
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x20]
mov word [esi + 4], ax
mov eax, dword [ebp - 0x1c]
mov word [esi + 6], ax
mov eax, dword [ebp - 8]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
jmp 0x180b3b4d
mov eax, dword [ebp - 0x24]
mov byte [eax], 1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1814cf3d
leave
ret
Function at 0x180bf399
Capabilities:
Create http request

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
inc eax
push 0x102
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esi + 0x14]
push eax
mov dword [esi], 0x181f9860
mov dword [esi + 0xc], 0x181f8520
call fcn.18187084
xor ebx, ebx
push 0x2c
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call fcn.1814d7d1
add esp, 0xc
mov dword [eax], eax
push 0x10000000
push ebx
push ebx
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push ebx
mov dword [esi + 0x44], eax
push ebx
mov byte [esi + 0x4c], bl
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x10], eax
mov eax, esi
pop esi
pop ebx
ret
Function at 0x180c552c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x102
mov dword [edi], 0x181f9c38
lea eax, [edi + 0xc]
mov dword [edi + 4], ebx
push eax
mov dword [edi + 8], ebx
call fcn.18187084
lea esi, [edi + 0x3c]
push 2
push esi
call fcn.18187084
lea eax, [esi + 0x30]
push eax
call fcn.1818757c
mov dword [esi + 0x58], ebx
push 0xc
mov dword [edi + 0x98], ebx
mov dword [edi + 0x9c], ebx
call fcn.1814d7d1
push 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
call fcn.1814d7d1
add esp, 0x1c
lea ecx, [edi + 0xa8]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xa0], eax
call fcn.180b32d2
push 8
mov dword [edi + 0x108], ebx
mov dword [edi + 0x104], ebx
call fcn.1814d7d1
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push 0x180c5bfe
push ebx
push ebx
mov dword [eax], edi
mov dword [eax + 4], 0x180c5860
call fcn.1818aae9
add esp, 0x1c
mov dword [ebp - 8], eax
test eax, eax
je 0x180c55fb
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [edi + 8], eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
push 6
mov dword [ebp - 4], ebx
call fcn.18186c8e
int3
Function at 0x180c9f76
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1820f00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov dword [ebp - 8], 0xf
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0xc], ebx
lea esi, [edx + 1]
mov byte [ebp - 0x1c], bl
mov al, byte [edx]
inc edx
test al, al
jne 0x180c9f9c
sub edx, esi
push edx
push ecx
lea ecx, [ebp - 0x1c]
call fcn.18019812
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.180aeb3e
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x180c9ff1
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
cmp eax, 0x1000
jb 0x180c9fe8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.18007386
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
push eax
push ecx
call fcn.1814d45b
pop ecx
pop ecx
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x180c9ffd
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180ca00f
test al, 0x10
jne 0x180ca00f
mov bl, 1
lea ecx, [ebp - 0x34]
call fcn.1800dea4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1814cf3d
leave
ret
Function at 0x180d6767
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
fild dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
fstp qword [esi + 8]
fild dword [ebp + 0xc]
mov dword [esi], 0x181faf88
fstp qword [esi + 0x10]
fld qword [ebp + 0x10]
fstp qword [esi + 0x18]
fld qword [ebp + 0x18]
fstp qword [esi + 0x20]
fldz
fst qword [esi + 0x28]
fst qword [esi + 0x30]
fstp qword [esi + 0x38]
call fcn.18187647
or dword [esi + 0x13c4], 0xffffffff
lea edi, [esi + 0x48]
mov ecx, eax
xor edx, edx
mov dword [esi + 0x44], ecx
inc edx
mov ebx, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, ebx
jl 0x180d67b5
fldz
mov ecx, esi
mov dword [esi + 0x40], ebx
fstp qword [esi + 0x13c8]
fld1
fstp qword [esi + 0x13d0]
call fcn.180d684d
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x180d8f0e
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x180d8f56
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x180d8f1e
jmp 0x180d8f63
cmp dword [esi], 0x4e0
jb 0x180d8f63
call fcn.180d8f9d
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x180d8f9d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x180d8faf
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x180d8ff4
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebx
ret
Function at 0x180d9095
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x1820f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x124], edi
lea edx, [edi + 0x10]
movzx ecx, byte [edx]
lea edx, [edx + 4]
movzx eax, byte [edx - 3]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx - 2]
shl eax, 8
or ecx, eax
movzx eax, byte [edx - 1]
or ecx, eax
mov dword [ebp + esi*4 - 0x104], ecx
inc esi
cmp esi, 0x10
jl 0x180d90b8
push 0x40
pop eax
sub eax, esi
lea ebx, [ebp + esi*4 - 0x10c]
mov dword [ebp - 0x108], eax
mov edi, eax
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x180d90fa
mov edi, dword [ebp - 0x124]
mov eax, dword [edi + 0x50]
mov ebx, eax
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x10c], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x6c]
xor edi, edi
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x108], eax
mov ecx, edx
mov esi, ebx
xor ecx, ebx
ror esi, 0xd
and ecx, dword [ebp - 0x114]
and edx, ebx
xor ecx, edx
mov eax, ebx
rol eax, 0xa
xor esi, eax
mov eax, ebx
ror eax, 2
xor esi, eax
add esi, ecx
mov ecx, dword [ebp - 0x10c]
mov edx, ecx
mov eax, ecx
rol eax, 7
ror edx, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
not ecx
and ecx, dword [ebp - 0x11c]
xor edx, eax
mov eax, dword [ebp - 0x118]
and eax, dword [ebp - 0x10c]
xor ecx, eax
mov eax, dword [ebp - 0x11c]
add edx, ecx
mov ecx, dword [ebp - 0x120]
add edx, dword [edi + 0x181ced60]
add edx, dword [ebp + edi - 0x104]
add edi, 4
add edx, dword [ebp - 0x108]
mov dword [ebp - 0x108], eax
add ecx, edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x110], ebx
lea ebx, [edx + esi]
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], eax
cmp edi, 0x100
jl 0x180d9186
mov edi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
add eax, ebx
add dword [edi + 0x60], ecx
add dword [edi + 0x54], edx
mov ecx, dword [ebp - 0x118]
add dword [edi + 0x64], ecx
mov edx, dword [ebp - 0x114]
add dword [edi + 0x58], edx
mov ecx, dword [ebp - 0x11c]
add dword [edi + 0x68], ecx
mov ecx, dword [ebp - 0x108]
add dword [edi + 0x6c], ecx
mov edx, dword [ebp - 0x120]
add dword [edi + 0x5c], edx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x50], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1814cf3d
leave
ret
Function at 0x180d92a8
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov dword [eax], fcn.180d92a8
mov dword [eax + 0x50], 0x6a09e667
mov dword [eax + 0x54], 0xbb67ae85
mov dword [eax + 0x58], 0x3c6ef372
mov dword [eax + 0x5c], 0xa54ff53a
mov dword [eax + 0x60], 0x510e527f
mov dword [eax + 0x64], 0x9b05688c
mov dword [eax + 0x68], 0x1f83d9ab
mov dword [eax + 0x6c], 0x5be0cd19
pop ebp
ret