joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18087759
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
push 1
push edx
push edx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edx
push eax
push edx
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], edx
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x180877bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180877b4
call fcn.1801baa5
jmp 0x180877e1
mov eax, 0x8007000d
jmp 0x180877e1
mov esi, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 0x10]
mov eax, dword [edi]
add edx, esi
push edx
push esi
push eax
mov dword [edi + 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.180877ef
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.1811e2a8
leave
ret

Function at 0x18087ca3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x18087cb8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x18087c40
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x18087ce6
xor al, al
jmp 0x18087cf7
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb al, al
inc al
pop esi
pop ebp
ret 4
Function at 0x18091b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x18091b47
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18036b80
jmp 0x18091c10
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x18091b6f
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x18091b75
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x18091bdd
jg 0x18091b8c
test esi, esi
je 0x18091bdd
test ecx, ecx
jl 0x18091bd8
jg 0x18091b96
test eax, eax
je 0x18091bd8
cmp edi, ecx
jg 0x18091baa
jl 0x18091ba0
cmp esi, eax
jae 0x18091baa
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call fcn.181329d0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x18091be0
mov ecx, dword [ebp + 8]
jmp 0x18091bea
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x18091c04
jg 0x18091bea
test esi, esi
je 0x18091c04
cmp dword [ebx + 0x4c], 0
je 0x18091c04
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815b4fa
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x18091c20
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 0x18091c4e
jl 0x18091c45
test edi, edi
jne 0x18091c4e
xor eax, eax
xor edx, edx
jmp 0x18091d03
cmp dword [ebx + 0x38], 0
je 0x18091c61
push eax
push edi
push edx
call fcn.18036c80
jmp 0x18091d03
mov eax, dword [ebx + 0x1c]
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x18091ca2
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x18091ca2
cmp eax, edi
jb 0x18091c83
mov eax, edi
mov dword [esp + 0x14], edi
push eax
push ecx
push edx
call fcn.181329d0
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 0x18091cf9
mov ecx, ebx
call fcn.18092d97
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x18091ce4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1815b986
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 0x18091cf9
jmp 0x18091cb5
test edx, edx
je 0x18091cf9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815b986
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 0x18091ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x18092013
xor eax, eax
jmp 0x180920ed
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x1809203f
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x1809203f
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 0x180920e5
cmp dword [edi + 0x4c], 0
je 0x180920e9
mov ecx, edi
call fcn.18092d97
mov eax, dword [edi + 0x38]
mov cl, bl
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x18092062
push dword [edi + 0x4c]
push ecx
jmp 0x180920a9
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 [0x181623e8]
mov ecx, dword [ebp - 0x34]
call esi
sub eax, 0
je 0x180920b9
sub eax, 1
je 0x180920b9
dec eax
sub eax, 1
jne 0x180920e9
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.180880bc
pop ecx
pop ecx
test al, al
jne 0x180920e5
or ebx, 0xffffffff
jmp 0x180920e5
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x180920d9
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1815b4fa
add esp, 0x10
cmp esi, eax
jne 0x180920e9
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x180920e9
mov eax, ebx
jmp 0x180920ec
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret 4
Function at 0x1809bed6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x19c], ebx
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x1a0], eax
mov byte [ebx], 0
call fcn.1809c31a
and dword [ebp - 8], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
push 0xc02
lea ecx, [ebp - 8]
call fcn.180076c8
xor eax, eax
mov dword [ebp - 0x44], 0x1819d520
push 0x14c
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x198]
push eax
call fcn.18132f50
add esp, 0xc
lea eax, [ebp - 0x44]
push esi
push ecx
push eax
lea ecx, [ebp - 0x198]
call fcn.18110aec
lea ecx, [ebp - 0x198]
call fcn.18110c74
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x1809bfb4
push 4
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
sete cl
test eax, eax
mov byte [ebx], cl
setne bl
jmp 0x1809bff9
push 0
lea ecx, [ebp - 0x194]
call fcn.1800bc14
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x194]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x181d30e8
call fcn.18026921
lea ecx, [ebp - 0x44]
call fcn.1809b94b
mov ecx, dword [ebp - 0x19c]
mov al, byte [ebp - 0x68]
mov byte [ecx], al
mov ecx, dword [ebp - 0x1a0]
mov al, byte [ebp - 0x67]
mov byte [ecx], al
lea ecx, [ebp - 0x198]
call fcn.18110bc5
lea ecx, [ebp - 0x44]
call fcn.18044923
lea ecx, [edi - 0x10]
call fcn.18006f52
lea ecx, [esi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret
Function at 0x1809c169
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xc], 0
push ebx
mov ebx, edx
push esi
mov esi, ecx
mov dword [ebp - 0x184], ebx
push edi
mov edx, esi
mov byte [ebx], 0
lea ecx, [ebp - 0xc]
call fcn.1809c31a
and dword [ebp - 8], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
push dword [esi]
lea eax, [ebp - 8]
push 0xbff
push eax
call fcn.18042617
xor eax, eax
mov dword [ebp - 0x44], 0x1819d520
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push 0x138
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x180]
push eax
call fcn.18132f50
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x180]
call fcn.1811117e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x180]
call fcn.181112af
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x1809c24a
push 4
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
sete cl
test eax, eax
mov byte [ebx], cl
setne bl
jmp 0x1809c27a
push 0
lea ecx, [ebp - 0x17c]
call fcn.1800bc14
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x17c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.1809b94b
mov ecx, dword [ebp - 0x184]
mov al, byte [ebp - 0x54]
mov byte [ecx], al
lea ecx, [ebp - 0x180]
call fcn.18111235
lea ecx, [ebp - 0x44]
call fcn.18044923
lea ecx, [edi - 0x10]
call fcn.18006f52
lea ecx, [esi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret
Function at 0x1809ea38
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.1801fa5a
mov edi, eax
call fcn.18011f7e
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.18159a70
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 8], bl
jne 0x1809ea7e
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.1801a4e1
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jns 0x1809ea9e
mov ecx, ebx
cmp esi, ecx
jae 0x1809eaac
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x1809eafb
push ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 0xe], bl
push eax
mov ecx, edi
call fcn.180217fa
mov esi, eax
test esi, esi
jne 0x1809eb02
movzx ecx, byte [0x181d605a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d5f50
je 0x1809eafb
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 0x1809eb9f
push dword [ebp - 8]
call fcn.18021b3a
mov edi, eax
call fcn.1801fa5a
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.18023f53
test eax, eax
js 0x1809eb36
cmp byte [ebp - 0xd], bl
jne 0x1809eb9d
cmp edi, esi
jl 0x1809eb9d
lea eax, [esi + 0xe10]
cmp edi, eax
jge 0x1809eb9b
cmp byte [ebp - 0xe], bl
jne 0x1809eb9b
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.1801a4e1
add esp, 0xc
test eax, eax
js 0x1809eb73
cmp dword [ebp - 8], ebx
setne al
test al, al
jne 0x1809eb9b
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 0x1809eb9d
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret
Function at 0x180a7b6b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x181d000c]
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.1802cac4
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 0x180a7bdd
jb 0x180a7bd3
cmp eax, ebx
jae 0x180a7bdd
mov ebx, 0x80004001
jmp 0x180a7ceb
mov edx, edi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
call fcn.18012770
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.1801309d
push 0x34
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.18132f50
add esp, 0xc
lea ecx, [ebp - 0x48]
push 0x1e
call fcn.18038c28
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
mov edx, edi
push dword [edi - 0xc]
call fcn.18012831
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.18038d9c
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.18026f42
mov esi, dword [ebp - 0xc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180a7cba
cmp dword [ebp + 0xc], 0
je 0x180a7cb8
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0xc], 0
test eax, eax
jne 0x180a7c9e
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180a7cb1
mov ebx, dword [ebp - 0xc]
jmp 0x180a7cba
cmp eax, 0x102
jne 0x180a7cb1
push 0xa0432501
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180a7cba
xor ebx, ebx
test esi, esi
je 0x180a7cc5
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.18038cc5
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.1811e2a8
leave
ret 8
Function at 0x180b15cc
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x181d000c]
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.1801fa5a
cmp byte [ebp - 9], bl
je 0x180b163c
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.1801ed62
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 0x180b1686
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.1801ed62
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 0x180b16a1
lea ecx, [edi - 0x10]
call fcn.18006f52
cmp dword [ebp - 0x10], ebx
je 0x180b16b1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f52
cmp byte [ebp - 9], bl
je 0x180b16d1
cmp dword [esi - 0xc], ebx
je 0x180b16d6
lea ecx, [ebp - 8]
call fcn.180b145c
mov esi, dword [ebp - 8]
test eax, eax
jns 0x180b16d1
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x180b1701
lea ecx, [ebp - 0x10]
call fcn.18014fb1
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 0x180b1701
mov ebx, 0x8004fffc
jmp 0x180b1713
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x180b1713
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.1811e2a8
leave
ret
Function at 0x180c71e6
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 0x180c733d
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x180c733d
cmp ecx, 0x29
jne 0x180c7226
cmp dword [esi + 0x10], 0
jne 0x180c733d
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x180c7341
jmp 0x180c72fb
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x180c7244
push 5
lea ecx, [esi + 0x24]
call fcn.180611cb
mov ecx, esi
call fcn.180c71be
jmp 0x180c732b
cmp ecx, 0x5c
jne 0x180c7295
mov ecx, esi
call fcn.180c71be
test byte [edi], 0x80
je 0x180c7289
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x180c7272
push 4
lea ecx, [esi + 0x24]
call fcn.180611cb
mov ecx, esi
call fcn.180c71be
jmp 0x180c7332
cmp al, 0x42
jne 0x180c7289
push 4
lea ecx, [esi + 0x24]
call fcn.180611cb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x180c7266
mov ecx, esi
call fcn.180c7752
jmp 0x180c732b
cmp ecx, 0x5b
jne 0x180c72b5
mov ecx, esi
call fcn.180c71be
mov ecx, esi
call fcn.180c7706
cmp dword [esi + 0x4c], 0x5d
je 0x180c7238
push 4
jmp 0x180c7343
cmp ecx, 0x28
jne 0x180c72d2
mov ecx, esi
call fcn.180c71be
mov ecx, esi
call fcn.180c7823
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x180c7341
jmp 0x180c7320
cmp ecx, 0x5e
jne 0x180c72db
push 2
jmp 0x180c725e
cmp ecx, 0x24
jne 0x180c72e7
push 3
jmp 0x180c725e
cmp ecx, 0x2a
je 0x180c7339
cmp ecx, 0x2b
je 0x180c7339
cmp ecx, 0x3f
je 0x180c7339
cmp ecx, 0x7b
je 0x180c7339
cmp ecx, 0x7d
jne 0x180c7308
test dword [edi], edx
jne 0x180c7311
push 6
jmp 0x180c7343
cmp ecx, 0x5d
jne 0x180c7311
test dword [edi], edx
je 0x180c72ae
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.180c7968
mov bl, 1
mov ecx, esi
call fcn.180c71be
test bl, bl
je 0x180c7332
mov ecx, esi
call fcn.180c78a8
mov al, 1
jmp 0x180c71ed
push 0xa
jmp 0x180c7343
pop edi
pop esi
pop ebx
ret
push 5
call fcn.1806066f
int3

Function at 0x180cc570
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.180cc5ca
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, eax
lea ecx, [edi + 8]
call fcn.180187b7
xor eax, eax
push eax
push eax
push edi
push 0x180cc620
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, eax
lea ecx, [edi + 4]
call fcn.180187b7
cmp dword [edi + 8], 0
je 0x180cc5bd
cmp dword [edi + 4], 0
je 0x180cc5bd
mov al, 1
jmp 0x180cc5c6
mov ecx, edi
call fcn.180cc5ca
xor al, al
pop edi
pop esi
pop ebx
ret
Function at 0x180d4e9d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
push 0x181a1674
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1801e6a8
push 0x20a
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.18132f50
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x180d4f9d
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.1800fce5
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.180da583
push eax
mov ecx, esi
call fcn.18038525
lea ecx, [ebp - 0x250]
call fcn.18014aad
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x180d4f9d
mov ecx, dword [ebp - 0x238]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], ecx
cmp eax, 0x1000
jb 0x180d4f94
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.1811e7d6
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1811e2a8
leave
ret