joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18091bd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x18091bfe
jl 0x18091bf5
test edi, edi
jne 0x18091bfe
xor eax, eax
xor edx, edx
jmp 0x18091cb3
cmp dword [ebx + 0x38], 0
je 0x18091c11
push eax
push edi
push edx
call fcn.18036c10
jmp 0x18091cb3
mov eax, dword [ebx + 0x1c]
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x18091c52
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x18091c52
cmp eax, edi
jb 0x18091c33
mov eax, edi
mov dword [esp + 0x14], edi
push eax
push ecx
push edx
call fcn.1812f180
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
sub esi, ecx
add dword [esp + 0x10], ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
cmp dword [ebx + 0x4c], 0
je 0x18091ca9
mov ecx, ebx
call fcn.18092d47
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x18091c94
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.18158136
mov ecx, dword [esp + 0x20]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x18091ca9
jmp 0x18091c65
test edx, edx
je 0x18091ca9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.18158136
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x18091fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x18091fc3
xor eax, eax
jmp 0x1809209d
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x18091fef
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x18091fef
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x18092095
cmp dword [edi + 0x4c], 0
je 0x18092099
mov ecx, edi
call fcn.18092d47
mov eax, dword [edi + 0x38]
mov cl, bl
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x18092012
push dword [edi + 0x4c]
push ecx
jmp 0x18092059
mov byte [ebp - 0x28], cl
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x1815e3d4]
mov ecx, dword [ebp - 0x34]
call esi
sub eax, 0
je 0x18092069
sub eax, 1
je 0x18092069
dec eax
sub eax, 1
jne 0x18092099
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.1808805c
pop ecx
pop ecx
test al, al
jne 0x18092095
or ebx, 0xffffffff
jmp 0x18092095
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x18092089
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.18157caa
add esp, 0x10
cmp esi, eax
jne 0x18092099
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x18092099
mov eax, ebx
jmp 0x1809209c
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 4
Function at 0x1809e3d9
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.1801fada
mov edi, eax
call fcn.1801201e
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.18156220
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 8], bl
jne 0x1809e41f
mov ecx, str.HKCUSoftwareMicrosoftEdgeUpdate_
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 4
mov edx, str.RetryAfter
call fcn.1801a561
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jns 0x1809e43f
mov ecx, ebx
cmp esi, ecx
jae 0x1809e44d
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x1809e49c
push ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 0xe], bl
push eax
mov ecx, edi
call fcn.180218d0
mov esi, eax
test esi, esi
jne 0x1809e4a3
movzx ecx, byte [0x181d4056]
neg ecx
sbb ecx, ecx
and ecx, 0x181d3f50
je 0x1809e49c
push 7
pop edx
inc eax
mov dword [ebp - 0x20], ecx
push eax
push edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call fcn.18008b3f
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._ShouldCheckForUpdates_returned_0__checks_disabled_
push eax
call fcn.18007210
pop ecx
pop ecx
xor al, al
jmp 0x1809e540
push dword [ebp - 8]
call fcn.18021c10
mov edi, eax
call fcn.1801fada
push ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push ecx
mov ecx, eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
call fcn.18024021
test eax, eax
js 0x1809e4d7
cmp byte [ebp - 0xd], bl
jne 0x1809e53e
cmp edi, esi
jl 0x1809e53e
lea eax, [esi + 0xe10]
cmp edi, eax
jge 0x1809e53c
cmp byte [ebp - 0xe], bl
jne 0x1809e53c
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 4
mov edx, str.DisableUpdateAppsHourlyJitter
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdateDev_
call fcn.1801a561
add esp, 0xc
test eax, eax
js 0x1809e514
cmp dword [ebp - 8], ebx
setne al
test al, al
jne 0x1809e53c
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
movzx eax, al
neg eax
push 0x64
sbb eax, eax
xor edx, edx
and eax, dword [ebp - 8]
pop ecx
div ecx
cmp edx, 0x5a
setb bl
jmp 0x1809e53e
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret
Function at 0x1809fc90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x1809fcaa
push dword [ebp + 0x14]
call fcn.1809e8cd
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 0x180a0a9b
call dword [eax - 1]
mov ch, 0x88
cld
invalid
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.1809e879
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x1809fd15
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x1809fd5e
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]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x1809fd08
call fcn.1809e908
xor bh, al
or bl, al
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
call fcn.1809e908
test byte [ecx - 0x7a720592], dl
aam 0xf8
invalid
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180a744b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], ebx
call fcn.18006f7b
push eax
lea ecx, [ebp - 0x14]
call fcn.1800768f
push str.F3C4FE00_EFD5_403B_9569_398A20F1BA4A
lea ecx, [ebp - 0x10]
call fcn.180074da
mov cl, byte [esi]
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
call fcn.1802ca51
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea ecx, [ebp - 0x14]
call fcn.1800c079
cmp edx, 0x10003
ja 0x180a74bd
jb 0x180a74b3
cmp eax, ebx
jae 0x180a74bd
mov ebx, 0x80004001
jmp 0x180a75cb
mov edx, edi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
call fcn.18012810
mov dword [ebp - 8], ebx
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.1801313d
push 0x34
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.1812f700
add esp, 0xc
lea ecx, [ebp - 0x48]
push 0x1e
call fcn.18038bb8
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
mov edx, edi
push dword [edi - 0xc]
call fcn.180128d1
pop ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.18009e6a
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.18038d2a
mov cl, byte [esi]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0xc], ebx
inc edx
call fcn.18026fd2
mov esi, dword [ebp - 0xc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180a759a
cmp dword [ebp + 0xc], 0
je 0x180a7598
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0xc], 0
test eax, eax
jne 0x180a757e
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180a7591
mov ebx, dword [ebp - 0xc]
jmp 0x180a759a
cmp eax, 0x102
jne 0x180a7591
push 0xa0432501
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180a759a
xor ebx, ebx
test esi, esi
je 0x180a75a5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea ecx, [ebp - 0x48]
call fcn.18038c55
lea ecx, [edi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.18006f52
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 8
Function at 0x180b0917
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
xor ebx, ebx
mov byte [ebp - 9], cl
call fcn.1801fada
cmp byte [ebp - 9], bl
je 0x180b0987
mov dword [ebp - 0x14], ebx
call fcn.18006f7b
push eax
lea ecx, [ebp - 0x14]
call fcn.1800768f
lea eax, [ebp - 0x14]
push eax
xor eax, eax
lea ecx, [ebp - 0x18]
inc eax
push eax
push str.MicrosoftCrashReports
mov dword [ebp - 0x10], eax
call fcn.180074da
push 0x26
mov edx, eax
pop ecx
call fcn.1801ede2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
jmp 0x180b09d1
mov dword [ebp - 8], ebx
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
lea eax, [ebp - 8]
push eax
push 1
push str.MicrosoftCrashReports
lea ecx, [ebp - 0x10]
call fcn.180074da
push 0x1c
mov edx, eax
pop ecx
call fcn.1801ede2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov edi, dword [ebp - 8]
mov eax, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 2
lea ecx, [eax - 0x10]
call fcn.1800a0ba
lea esi, [eax + 0x10]
mov dword [ebp - 8], esi
cmp dword [ebp - 0x18], ebx
je 0x180b09ec
lea ecx, [edi - 0x10]
call fcn.18006f52
cmp dword [ebp - 0x10], ebx
je 0x180b09fc
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f52
cmp byte [ebp - 9], bl
je 0x180b0a1c
cmp dword [esi - 0xc], ebx
je 0x180b0a21
lea ecx, [ebp - 8]
call fcn.180b07a7
mov esi, dword [ebp - 8]
test eax, eax
jns 0x180b0a1c
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x180b0a4c
lea ecx, [ebp - 0x10]
call fcn.18015051
push eax
lea ecx, [ebp - 8]
call fcn.18009e6a
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x180b0a4c
mov ebx, 0x8004fffc
jmp 0x180b0a5e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x180b0a5e
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.18009e6a
lea ecx, [esi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret
Function at 0x180c6756
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 0x180c68ad
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x180c68ad
cmp ecx, 0x29
jne 0x180c6796
cmp dword [esi + 0x10], 0
jne 0x180c68ad
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x180c68b1
jmp 0x180c686b
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x180c67b4
push 5
lea ecx, [esi + 0x24]
call fcn.180611ab
mov ecx, esi
call fcn.180c672e
jmp 0x180c689b
cmp ecx, 0x5c
jne 0x180c6805
mov ecx, esi
call fcn.180c672e
test byte [edi], 0x80
je 0x180c67f9
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x180c67e2
push 4
lea ecx, [esi + 0x24]
call fcn.180611ab
mov ecx, esi
call fcn.180c672e
jmp 0x180c68a2
cmp al, 0x42
jne 0x180c67f9
push 4
lea ecx, [esi + 0x24]
call fcn.180611ab
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x180c67d6
mov ecx, esi
call fcn.180c6cc2
jmp 0x180c689b
cmp ecx, 0x5b
jne 0x180c6825
mov ecx, esi
call fcn.180c672e
mov ecx, esi
call fcn.180c6c76
cmp dword [esi + 0x4c], 0x5d
je 0x180c67a8
push 4
jmp 0x180c68b3
cmp ecx, 0x28
jne 0x180c6842
mov ecx, esi
call fcn.180c672e
mov ecx, esi
call fcn.180c6d93
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x180c68b1
jmp 0x180c6890
cmp ecx, 0x5e
jne 0x180c684b
push 2
jmp 0x180c67ce
cmp ecx, 0x24
jne 0x180c6857
push 3
jmp 0x180c67ce
cmp ecx, 0x2a
je 0x180c68a9
cmp ecx, 0x2b
je 0x180c68a9
cmp ecx, 0x3f
je 0x180c68a9
cmp ecx, 0x7b
je 0x180c68a9
cmp ecx, 0x7d
jne 0x180c6878
test dword [edi], edx
jne 0x180c6881
push 6
jmp 0x180c68b3
cmp ecx, 0x5d
jne 0x180c6881
test dword [edi], edx
je 0x180c681e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.180c6ed8
mov bl, 1
mov ecx, esi
call fcn.180c672e
test bl, bl
je 0x180c68a2
mov ecx, esi
call fcn.180c6e18
mov al, 1
jmp 0x180c675d
push 0xa
jmp 0x180c68b3
pop edi
pop esi
pop ebx
ret
push 5
call fcn.1806064f
int3
Function at 0x180d285d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
push 0x181a059c
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1801e728
push 0x20a
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.1812f700
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x180d295d
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], edi
push eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], 7
call fcn.1800fd89
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.180d7f43
push eax
mov ecx, esi
call fcn.180384b5
lea ecx, [ebp - 0x250]
call fcn.18014b4d
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x180d295d
mov ecx, dword [ebp - 0x238]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], ecx
cmp eax, 0x1000
jb 0x180d2954
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.18007b72
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x220]
push eax
push ecx
call fcn.1811af76
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1811aa48
leave
ret
Function at 0x180dd41f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x181ce00c]
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 - 0x14], 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 0x180dd574
cmp dword [edi + 0x10], 0x20
jne 0x180dd574
mov dword [ebp - 0x18], ebx
mov edx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180dd477
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180dd373
cmp al, 0xff
je 0x180dd574
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 0x180dd46d
jmp 0x180dd4ca
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180dd4a7
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180dd373
cmp al, 0xff
je 0x180dd574
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, 0xc
jl 0x180dd49d
cmp edx, 0x10
jae 0x180dd506
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180dd4de
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180dd373
cmp al, 0xff
je 0x180dd574
mov ecx, dword [ebp - 0x20]
shl ecx, 4
movzx eax, al
add cx, ax
inc edx
movzx ecx, cx
mov dword [ebp - 0x20], ecx
cmp edx, 0x10
jl 0x180dd4d4
mov byte [ebp - 0xd], bl
mov al, 1
cmp edx, 0x20
jae 0x180dd556
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 0x180dd525
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180dd373
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 0x180dd54a
mov esi, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov byte [ebp - 0xd], bl
mov byte [esi], cl
inc edx
cmp edx, 0x20
jl 0x180dd516
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov word [esi + 4], ax
mov eax, dword [ebp - 0x20]
mov word [esi + 6], ax
mov eax, dword [ebp - 8]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
jmp 0x180dd57a
mov eax, dword [ebp - 0x14]
mov byte [eax], 1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret
Function at 0x180e9bf3
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], 0x1819e6c0
mov dword [esi + 0xc], 0x1819e1c0
call fcn.18156e55
xor ebx, ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
push 0x2c
lfence
call fcn.1811b2f8
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 0x180f0414
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], 0x1819e938
lea eax, [edi + 0xc]
mov dword [edi + 4], ebx
push eax
mov dword [edi + 8], ebx
call fcn.18156e55
lea esi, [edi + 0x3c]
push 2
push esi
call fcn.18156e55
lea eax, [esi + 0x30]
push eax
call fcn.1815727e
mov dword [esi + 0x58], ebx
mov dword [edi + 0x98], ebx
mov dword [edi + 0x9c], ebx
push 0xc
lfence
call fcn.1811b2f8
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
lfence
call fcn.1811b2f8
add esp, 0x1c
lea ecx, [edi + 0xa8]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xa0], eax
call fcn.180dcbe1
push 8
mov dword [edi + 0x108], ebx
mov dword [edi + 0x104], ebx
call fcn.1811b2f8
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push 0x180f0b40
push ebx
push ebx
mov dword [eax], edi
mov dword [eax + 4], 0x180f0780
call fcn.18158c0c
add esp, 0x1c
mov dword [ebp - 8], eax
test eax, eax
je 0x180f04ee
cmp dword [edi + 8], ebx
jne 0x180f04f8
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, edi
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
leave
ret
push 6
mov dword [ebp - 4], ebx
call fcn.18156ab0
call fcn.180f03a6
int3
Function at 0x180f534f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov dword [ebp - 0x28], 0xf
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x3c], ebx
lea esi, [edx + 1]
mov dword [ebp - 0x2c], ebx
mov al, byte [edx]
inc edx
test al, al
jne 0x180f5375
sub edx, esi
push edx
push ecx
lea ecx, [ebp - 0x3c]
call fcn.1801e728
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x20]
call fcn.180d7ee3
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x180f53ca
mov ecx, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], ecx
cmp eax, 0x1000
jb 0x180f53c1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.18007b72
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.1811af76
pop ecx
pop ecx
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
jb 0x180f53d6
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180f53e8
test al, 0x10
jne 0x180f53e8
mov bl, 1
lea ecx, [ebp - 0x20]
call fcn.1800fd5b
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret

Function at 0x180ff01b
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], 0x1819eb00
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.1815742d
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
jb 0x180ff069
fldz
mov ecx, esi
mov dword [esi + 0x40], ebx
fstp qword [esi + 0x13c8]
fld1
fstp qword [esi + 0x13d0]
call fcn.180ff116
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18