joyce8/EMBER2024-capa huggingface dataset:
Function at 0x115ff32
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x100fbc8
call fcn.01160594
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x115ff6f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x115ff6f
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x115ff87
cmp eax, 0x20b
je 0x115ff74
mov dword [ebp - 0x1c], ebx
jmp 0x115ff9b
cmp dword [ecx + 0x84], 0xe
jbe 0x115ff6f
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x115ff95
cmp dword [ecx + 0x74], 0xe
jbe 0x115ff6f
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x12d53b4], 0xffffffff
or dword [0x12d53b8], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x12d3290]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x12d328c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x12d53b0], eax
call fcn.011a555f
cmp dword [0x12cf8d0], ebx
jne 0x115fff6
push fcn.011a555f
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0116057b
push 0x12ce09c
push 0x12ce098
call sub.msvcrt.dll__initterm
mov eax, dword [0x12d3288]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x12d3284]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x12ce094
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x116008c
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1160060
cmp al, 0x22
jne 0x1160052
cmp byte [esi], 0x22
jne 0x1160069
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1160073
cmp al, 0x20
jbe 0x1160065
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1160097
movzx eax, word [ebp - 0x50]
jmp 0x116009a
cmp byte [esi], 0x20
jbe 0x1160069
inc esi
mov dword [ebp - 0x20], esi
jmp 0x116008c
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x11600b7
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x11600ec
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.011605cf
ret
Function at 0x116093f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x12d3294], 0
push esi
jne 0x11608ad
call fcn.011607a4
test eax, eax
je 0x11608f0
mov eax, dword [0x12d3294]
cmp eax, 1
jne 0x11608ce
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x11608f0
pop esi
ret
push eax
call dword [0x12d329c]
test eax, eax
jne 0x1160938
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x11608f4
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x12d3294]
call dword [0x12d329c]
mov edi, eax
test edi, edi
je 0x1160919
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1160935
mov edi, esi
add esi, 0xff0
push edi
push dword [0x12d3294]
call dword [0x12d3298]
add edi, 0x10
cmp edi, esi
jb 0x1160921
mov eax, edi
pop edi
pop esi
ret
jmp 0x116089a
Function at 0x116d452
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x12cf8c8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
mov dword [ebp - 4], eax
jne 0x116d471
mov eax, 0x80004003
jmp 0x116d4d4
mov ecx, esi
call fcn.010478ab
fld qword [ebp + 8]
push ecx
push ecx
fstp qword [esp]
push 0x1010cb8
push 0x100
mov ecx, esi
call fcn.01032987
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x10
push 0xffffffffffffffff
mov ecx, esi
call fcn.010329f4
push 4
lea eax, [ebp - 0xc]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x116d4c2
mov eax, 0x80004005
jmp 0x116d4d4
push 0x1005244
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.01075397
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.0115fe1a
leave
ret 0xc

Function at 0x116f6e5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1e0
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
mov dword [ebp - 4], eax
je 0x116f819
mov dword [ebp - 0x1c0], esi
call fcn.0115c6ca
test eax, eax
je 0x116f724
mov dword [ebp - 0x1c0], 0x20
lea eax, [ebp - 0x1e0]
push eax
push ebx
mov word [edi], si
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x116f819
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test eax, eax
je 0x116f819
cmp word [ebp - 0x1d0], 0x76c
jb 0x116f819
push 0x50
lea eax, [ebp - 0x1bc]
push eax
mov word [edi], si
push 0x1f
mov esi, 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetDateFormatW]
je 0x116f7ac
push dword [ebp + 0xc]
lea eax, [ebp - 0x1bc]
push edi
push eax
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x1c0]
push esi
call ebx
test eax, eax
jne 0x116f7c6
push dword [ebp + 0xc]
lea eax, [ebp - 0x1d0]
push edi
push 0
push eax
mov eax, dword [ebp - 0x1c0]
or eax, 1
push eax
push esi
call ebx
cmp byte [ebp + 0x14], 0
je 0x116f819
push 0x50
lea eax, [ebp - 0x11c]
push eax
push 0x1003
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
push 0x3b
lea eax, [ebp - 0x7a]
mov word [ebp - 0x7c], 0x20
push eax
je 0x116f7fa
lea eax, [ebp - 0x11c]
push eax
jmp 0x116f7fc
push 0
lea eax, [ebp - 0x1d0]
push eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push eax
push edi
call fcn.0118c3db
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0115fe1a
leave
ret 0x10
Function at 0x116f82d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
je 0x116f921
push edi
xor edi, edi
call fcn.0115c6ca
test eax, eax
je 0x116f85f
push 0x20
pop edi
and word [ebx], 0
lea eax, [ebp - 0x1cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x116f920
cmp word [ebp - 0x1cc], 0x76c
jb 0x116f920
push 0x50
lea eax, [ebp - 0x11c]
push eax
push 0x1f
mov esi, 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
push dword [ebp + 0xc]
push ebx
je 0x116f8b9
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x1cc]
push eax
push 0
jmp 0x116f8c6
push 0
lea eax, [ebp - 0x1cc]
push eax
or edi, 1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
cmp byte [ebp + 0x14], 0
je 0x116f920
push 0x50
lea eax, [ebp - 0x1bc]
push eax
push 0x1003
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
push 0x3b
lea eax, [ebp - 0x7a]
mov word [ebp - 0x7c], 0x20
push eax
je 0x116f901
lea eax, [ebp - 0x1bc]
push eax
jmp 0x116f903
push 0
lea eax, [ebp - 0x1cc]
push eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push eax
push ebx
call fcn.0118c3db
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0115fe1a
leave
ret 0x10
Function at 0x116fa5b
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1286156
call fcn.01160118
sub esp, 0x1c
mov eax, dword [0x12cf8c8]
push ebx
push esi
xor ebx, ebx
test byte [0x12d3328], 1
mov dword [ebp - 0x10], eax
push edi
jne 0x116faa1
or dword [0x12d3328], 1
mov dword [ebp - 4], ebx
mov eax, dword [0x12ce0a0]
push 0x12987b6
mov dword [0x12d3324], eax
call fcn.01160258
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x116fab4
mov eax, dword [0x12d3324]
cmp dword [eax - 8], ebx
jne 0x116fb74
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov word [ebp - 0x24], bx
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xa
lea eax, [ebp - 0x24]
push eax
push 0x1e
mov edi, 0x400
push edi
call esi
test eax, eax
jle 0x116faec
push 0xa
lea eax, [ebp - 0x24]
push eax
call fcn.0116f9e1
test eax, eax
jne 0x116fafb
push 0x1010df0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 2
lea eax, [ebp - 0x28]
push eax
push 0x25
push edi
call esi
test eax, eax
je 0x116fb6f
mov esi, 0x12d3324
push 0x1010c40
mov ecx, esi
call fcn.01044f8b
cmp word [ebp - 0x28], 0x30
je 0x116fb2e
push 0x1010e10
mov ecx, esi
call fcn.010524eb
push 0x1010e08
mov ecx, esi
call fcn.010524eb
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.010524eb
mov edi, 0x1010dfc
push edi
mov ecx, esi
call fcn.010524eb
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.010524eb
push edi
mov ecx, esi
call fcn.010524eb
mov eax, dword [0x12d3324]
cmp dword [eax - 8], ebx
jne 0x116fb74
mov eax, 0x100355c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret 4
Function at 0x116fb92
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1286173
call fcn.01160118
sub esp, 0x30
mov eax, dword [0x12cf8c8]
push ebx
xor ebx, ebx
test byte [0x12d3330], 1
mov dword [ebp - 0x10], eax
push esi
jne 0x116fbd7
or dword [0x12d3330], 1
mov dword [ebp - 4], ebx
mov eax, dword [0x12ce0a0]
push 0x12987c5
mov dword [0x12d332c], eax
call fcn.01160258
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x116fbea
mov eax, dword [0x12d332c]
cmp dword [eax - 8], ebx
jne 0x116fcf3
push edi
xor eax, eax
mov word [ebp - 0x24], bx
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov word [ebp - 0x38], bx
lea edi, [ebp - 0x36]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 5
lea eax, [ebp - 0x24]
push eax
push 0x1e
mov edi, 0x400
push edi
call esi
test eax, eax
jle 0x116fc32
push 0xa
lea eax, [ebp - 0x24]
push eax
call fcn.0116f9e1
test eax, eax
jne 0x116fc41
push 0x1010df0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 5
lea eax, [ebp - 0x38]
push eax
push 0xe
push edi
call esi
test eax, eax
jg 0x116fc5f
push 0x1005244
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 2
lea eax, [ebp - 0x3c]
push eax
push 0x25
push edi
call esi
test eax, eax
pop edi
je 0x116fcee
mov esi, 0x12d332c
push 0x1010e4c
mov ecx, esi
call fcn.01044f8b
cmp word [ebp - 0x3c], 0x30
je 0x116fc93
push 0x1010e10
mov ecx, esi
call fcn.010524eb
push 0x1010e44
mov ecx, esi
call fcn.010524eb
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.010524eb
push 0x1010e34
mov ecx, esi
call fcn.010524eb
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.010524eb
push 0x1010e24
mov ecx, esi
call fcn.010524eb
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.010524eb
push 0x1010e14
mov ecx, esi
call fcn.010524eb
mov eax, dword [0x12d332c]
cmp dword [eax - 8], ebx
jne 0x116fcf3
mov eax, 0x100355c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret 4
Function at 0x116fdf7
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x12861c5
call fcn.01160118
sub esp, 0x9c
mov eax, dword [0x12cf8c8]
and word [ebp - 0x1c], 0
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jl 0x116feec
and word [ebp - 0xa0], 0
push 0x20
xor eax, eax
pop ecx
lea edi, [ebp - 0x9e]
rep stosd dword es:[edi], eax
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0xa4], eax
and dword [ebp - 4], 0
push dword [ebp + 0x14]
lea eax, [ebp - 0xa4]
push 0x1010ebc
push eax
call fcn.01032a27
fld qword [ebp + 8]
add esp, 4
fstp qword [esp]
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push 0x40
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xa8]
call fcn.01039819
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
push 0x1005244
lea ecx, [ebp - 0xa8]
call fcn.01075397
lea eax, [ebp - 0xa8]
push eax
mov ecx, esi
call fcn.01044bd5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0103290a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0103290a
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0115fe1a
leave
ret 0x10
Function at 0x1170057
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x128620f
call fcn.01160118
sub esp, 0xac
mov eax, dword [0x12cf8c8]
push ebx
xor ebx, ebx
test byte [0x12d3340], 1
mov dword [ebp - 0x10], eax
jne 0x117009e
or dword [0x12d3340], 1
mov dword [ebp - 4], ebx
mov eax, dword [0x12ce0a0]
push 0x1298798
mov dword [0x12d333c], eax
call fcn.01160258
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x12d333c]
cmp dword [eax - 8], ebx
jne 0x11701d6
push edi
call fcn.0116f934
push eax
lea ecx, [ebp - 0xb4]
call fcn.01039819
mov dword [ebp - 4], 1
push 0x27
pop ecx
xor eax, eax
mov word [ebp - 0xb0], bx
lea edi, [ebp - 0xae]
rep stosd dword es:[edi], eax
push 0x50
stosw word es:[edi], ax
lea eax, [ebp - 0xb0]
push eax
push 0x1003
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jg 0x1170146
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 2
push dword [ebp - 0xb4]
lea eax, [ebp - 0xb8]
push 0x1010ee8
push eax
call fcn.01032a27
add esp, 0xc
lea eax, [ebp - 0xb8]
push eax
mov ecx, 0x12d333c
call fcn.01044bd5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.0103290a
jmp 0x11701c6
push esi
lea eax, [ebp - 0xb0]
mov esi, 0x12d333c
push eax
mov ecx, esi
call fcn.01044f8b
mov edi, 0x100355c
push edi
push 0x1006808
mov ecx, esi
call fcn.01075397
push edi
push 0x1010ee0
mov ecx, esi
call fcn.01075397
push 0x1010edc
push 0x1010ed8
mov ecx, esi
call fcn.01075397
push edi
push 0x1010ee4
mov ecx, esi
call fcn.01075397
push ebx
push dword [ebp - 0xb4]
mov ecx, esi
call fcn.01044d39
cmp eax, ebx
jle 0x11701c5
inc eax
push eax
push dword [ebp - 0xb4]
mov ecx, esi
call fcn.01044d39
cmp eax, ebx
jle 0x11701c5
push ebx
push eax
mov ecx, esi
call fcn.01061503
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.0103290a
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x12d333c]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret
Function at 0x1171b7e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
add ecx, 0xffffffe4
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
je 0x1171bef
push ebx
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 8], 0xffffffff
mov edi, eax
push edi
call fcn.01055a1b
test eax, eax
je 0x1171be2
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call fcn.010329f4
cmp dword [ebp - 8], edi
pop edi
pop ebx
jge 0x1171c16
and dword [ebp - 4], 0
jmp 0x1171c06
mov eax, dword [ebp + 0xc]
push dword [eax]
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.0103261a
test eax, eax
mov dword [ebp - 4], eax
jne 0x1171c3f
push dword [ebp + 0x14]
lea ecx, [esi + 0x1c]
push dword [ebp + 8]
call fcn.01171670
jmp 0x1171c3f
cmp dword [ebp + 0x18], 0
je 0x1171c3f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x1171c3f
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x1c]
push dword [ebp + 8]
call fcn.011716a8
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18
Function at 0x1171d00
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1286427
call fcn.01160118
push ecx
mov eax, dword [0x12ce0a0]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x14]
push dword [ebp - 0x10]
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi]
lea ebx, [esi + 0x28]
push ebx
mov ecx, esi
call dword [eax + 0x10]
xor eax, eax
push eax
push eax
push eax
push eax
push ebx
push 0x66f
lea ecx, [esi + 0x1c]
call fcn.01171b7e
mov eax, dword [esi + 0x40]
cmp eax, 1
je 0x1171d6a
cmp eax, 3
je 0x1171d6a
cmp eax, 4
je 0x1171d6a
xor eax, eax
jmp 0x1171d6d
xor eax, eax
inc eax
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esi + 0x34], eax
jne 0x1171d89
push 0
push 2
push dword [edi]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x40]
cmp eax, 3
je 0x1171d9a
cmp eax, 4
je 0x1171d9a
xor eax, eax
jmp 0x1171d9d
xor eax, eax
inc eax
test eax, eax
mov dword [esi + 0x38], eax
push 0
jne 0x1171daa
push 6
jmp 0x1171dac
push 1
push dword [edi]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x40]
cmp eax, 3
je 0x1171dc8
cmp eax, 4
je 0x1171dc8
xor eax, eax
jmp 0x1171dcb
xor eax, eax
inc eax
test eax, eax
mov dword [esi + 0x3c], eax
jne 0x1171de0
push eax
push 7
push dword [edi]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x44]
cmp eax, 0x10
mov ecx, 0x7f04
jne 0x1171df2
add ecx, 0xfffffffd
jmp 0x1171e08
cmp eax, 0x20
jne 0x1171dfe
mov ecx, 0x7f02
jmp 0x1171e08
cmp eax, 0x30
jne 0x1171e08
mov ecx, 0x7f03
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x671
push dword [edi]
mov dword [esi + 0x48], eax
call ebx
push 0
push dword [esi + 0x48]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
mov ecx, edi
call fcn.01061427
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0103290a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x117a296
Capabilities:
Encrypt data using dpapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], edi
je 0x117a2c1
test edi, edi
je 0x117a2c1
test ebx, ebx
jne 0x117a2cb
mov eax, 0x80004003
jmp 0x117a393
and dword [ebp - 0x30], 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x20
shl eax, 1
mov dword [ebp - 0x40], esi
pop esi
mov dword [ebp - 0x44], eax
push esi
lea eax, [ebp - 0x24]
push eax
call fcn.0117a258
test eax, eax
jl 0x117a393
lea eax, [ebp - 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x100355c
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x117a36b
cmp dword [ebp - 0x28], 0
je 0x117a36b
push dword [ebp - 0x2c]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
jne 0x117a340
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 0x8007000e
jmp 0x117a393
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov dword [edx], ecx
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x117a390
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x117a37b
call esi
jmp 0x117a387
call esi
and eax, 0xffff
or eax, 0x80070000
and dword [edi], 0
and dword [ebx], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0115fe1a
leave
ret 0xc
Function at 0x117a3a7
Capabilities:
Encrypt data using dpapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x34], ebx
je 0x117a3cc
cmp ebx, esi
jne 0x117a3d6
mov eax, 0x80004003
jmp 0x117a4a7
push edi
push 0x20
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [ebp - 0x3c], eax
push edi
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], esi
call fcn.0117a258
cmp eax, esi
jl 0x117a4a6
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
push 1
push esi
push esi
lea eax, [ebp - 0x44]
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x117a482
cmp dword [ebp - 0x2c], esi
je 0x117a482
mov eax, dword [ebp - 0x30]
mov ecx, eax
not ecx
test cl, 1
jne 0x117a434
mov eax, 0x80004005
jmp 0x117a4a6
shr eax, 1
lea ebx, [eax + eax]
lea eax, [ebx + 2]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
jne 0x117a457
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 0x8007000e
jmp 0x117a4a6
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and word [ebx + eax], 0
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x2c]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x117a4a3
mov dword [ebx], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x117a494
call esi
jmp 0x117a4a0
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0115fe1a
leave
ret 0xc