joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002341
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov dword [ebp - 0x234], edx
mov esi, ecx
mov bl, byte [ebp + 8]
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.100053a0
add esp, 0xc
mov dword [ebp - 0x22c], 0x104
lea eax, [ebp - 0x230]
mov dword [eax], 0xffffffff
movzx ecx, bl
mov edx, 0x80000002
sub edx, ecx
push eax
push 0x20219
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
je 0x100023c8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100037cc
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, str.location
mov ecx, str.EBWebView
mov edx, dword [ebp - 0x234]
mov esi, edx
test dl, dl
cmovne ecx, eax
lea eax, [ebp - 0x22c]
push eax
push edi
push ebx
push ebx
push ecx
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x10002477
cmp dword [ebp - 0x22c], 3
jb 0x10002477
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x218]
push eax
call fcn.100030e0
xor edi, edi
mov eax, esi
test al, al
je 0x10002477
mov dword [ebp - 0x22c], 0x104
xor eax, eax
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
push eax
push 0x10016722
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x10002477
cmp dword [ebp - 0x22c], 3
jb 0x10002477
mov esi, dword [ebp + 0x10]
mov ecx, esi
push 0x10016308
call fcn.100031aa
mov ecx, esi
lea eax, [ebp - 0x218]
push eax
call fcn.100031aa
xor edi, edi
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
test edi, edi
jne 0x100023b1
cmp dword [ebp - 0x22c], 3
jb 0x100023b1
mov ecx, dword [ebp + 0x10]
call fcn.100032b6
push 0x5c
push eax
call fcn.100054fa
add esp, 8
test eax, eax
je 0x100024f1
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [ebp - 0x228]
movdqu xmmword [edx], xmm0
mov ecx, edi
call fcn.10002255
test al, al
je 0x100024f1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100024dc
push edi
call fcn.100030e0
lea ecx, [ebp - 0x228]
mov edx, dword [ebp + 0x10]
call fcn.100024f8
mov ebx, eax
jmp 0x100023b1
xor ebx, ebx
jmp 0x100023b1

Function at 0x100024f8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x10016728]
cmp dword [ecx + eax], edx
ja 0x10002516
jb 0x10002521
add eax, 4
cmp eax, 0x10
jne 0x10002501
push esi
call fcn.100010f1
add esp, 4
jmp 0x10002545
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WebView2:_skipped_an_incompatible_version
call edi
mov ecx, esi
call fcn.100032b6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x1001636e
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x10002e33
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x28], edx
mov edx, ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x10002ea1
mov dword [ebp - 0x1c], ecx
mov ecx, edx
mov edx, dword [ebp - 0x28]
push ebx
push esi
call fcn.10002f4b
add esp, 8
test al, al
je 0x10002f02
mov ecx, ebx
call fcn.10003276
test al, al
jne 0x10002f02
mov edx, dword [esi]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.10002bc7
add esp, 8
jmp 0x10002f31
mov eax, dword [ebp - 0x28]
mov edi, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
test ecx, ecx
je 0x10002f06
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
lea esi, [ebp - 0x14]
mov dword [esi], ecx
mov ebx, eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push esi
push ecx
push 0x10
push eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x10002f22
mov ecx, edi
mov edx, ebx
push dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
push esi
call fcn.10002f4b
add esp, 8
test al, al
je 0x10002f02
mov eax, dword [esi]
test eax, eax
je 0x10002f47
push eax
call fcn.10006863
add esp, 4
cmp eax, 1
jmp 0x10002f26
xor ebx, ebx
jmp 0x10002f33
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
mov esi, eax
call fcn.100037cc
mov ecx, edi
mov edx, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10002f4b
cmp dword [ebp - 0x14], 1
sete al
mov esi, dword [ebp - 0x1c]
movzx eax, al
mov dword [esi], eax
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100037cc
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x10002f29

Function at 0x10002f4b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov edi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea esi, [ebp - 0x218]
push 0x208
push ebx
push esi
call fcn.100053a0
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push esi
push ebx
push 2
push edi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x10002fc2
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.100030e0
mov ecx, edi
call fcn.100032b6
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100037cc
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100033df
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1000343a
mov edi, eax
push str.CreateWebViewEnvironmentWithOptionsInternal
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100034ac
mov ecx, eax
mov esi, dword [ebp + 0x1c]
mov bl, byte [ebp + 0xc]
call dword [section..00cfg]
movzx eax, bl
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call ecx
mov esi, eax
jmp 0x10003517
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea ebx, [ebp - 0x14]
mov dword [ebx], esi
xor eax, eax
dec eax
lea edi, [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.10002fe0
push edi
push 1
push 4
push ebx
call fcn.10003350
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_LoadLibrary:_hr0x
call ebx
mov ecx, edi
call fcn.100032b6
push eax
call ebx
push str._path
call ebx
push dword [ebp + 8]
call ebx
push 0x10016bd8
call ebx
mov ecx, edi
call fcn.10002ff2
jmp 0x1000352e
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea eax, [ebp - 0x14]
mov dword [eax], esi
xor eax, eax
dec eax
lea ebx, [ebp - 0x20]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.10002fe0
push ebx
push 1
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.10003350
add esp, 0x10
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_call_into_EmbeddedBrowserWebView.dll._hr0x
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebx
call fcn.100032b6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x10016bd8
call eax
mov ecx, ebx
call fcn.10002ff2
push str.DllCanUnloadNow
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000352e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100037cc
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000583c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000587b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000587b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000587b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000587b
cmp dword [ecx + 0x74], 0xe
jbe 0x1000587b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10008790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ax, word [edi + 6]
cmp ax, bx
ret
jbe 0x1000878e
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10008788
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10008779
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
test al, 0x88
pop ebp
test eax, 0x58aa45c6
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10008534
sub al, 0x49
xchg ecx, eax
jg 0x1000876a
inc ebp
test al, 0x50
call fcn.10008544
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.100084f9
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
push dword [ebx]
sal bh, cl
int1
invalid
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10008822
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10008534
mov al, 6
jne 0x100087f8
lea eax, [ebp - 0x40]
push eax
call fcn.10008544
push eax
push esi
push dword [ebp + 8]
call fcn.100084f9
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10008534
xchg ecx, eax
xor al, 0x40
fmul qword [ebp + 0x5d88e845]
call 0xf95e10f5
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.10008544
push eax
push esi
push dword [ebp + 8]
call fcn.100084f9
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
invalid

Function at 0x10008924
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov eax, dword [0xa245c62e]
xor eax, 0x24a345c6
Function at 0x1000896f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x100089cf
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10008544
push eax
push esi
push dword [ebp + 8]
call fcn.100084f9
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10008534
stosd dword es:[edi], eax
aam 0x58
retf
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], pe_nt_image_headers32
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x100089ca
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x100089d2
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.10008534
cmp eax, 0x8d9fc6fe
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x10008c61
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
Function at 0x10008c78
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10008c0b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10008c29
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10008c87
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10008c6e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10008c77
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10008c81
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10008c63
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10008bed
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10008cd4
dec eax
je 0x10008ccb
sub eax, 3
je 0x10008cc2
mov dword [ebp - 4], 0x40
jmp 0x10008cf1
mov dword [ebp - 4], 4
jmp 0x10008cd7
mov dword [ebp - 4], 0x20
jmp 0x10008cd7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10008d23
invalid
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10008ca3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
js fcn.10008d34
add edi, esi
call fcn.10008534
sub bl, byte [ebp + 0x75ff3b2f]
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x10008d2f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b676
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000b713
push ebx
push esi
call fcn.1000b716
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000b57a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b6c0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b712
push edi
push eax
call fcn.1000b9f0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000b6e0
call fcn.10009d99
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b711
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b57a
add esp, 0x20
test eax, eax
jne 0x1000b6ff
push edi
call fcn.10009d99
jmp 0x1000b707
push ebx
call fcn.10009d99
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4351d4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.004113e5
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x435210
call fcn.004353ef
mov dword [esi + 0xc], 1
jmp 0x435215
call fcn.004353ef
cmp dword [esi], 0
je 0x43525e
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x435238
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004057a4
jmp 0x435249
push 0xff
mov ecx, esi
call fcn.004023c0
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004057c7
jmp 0x435282
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x435282
push dword [esi]
push dword [ebp - 4]
call fcn.004142d5
pop esi
leave
ret 0xc

Function at 0x435346
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004353ef
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43538e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004057a4
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004057c7
jmp 0x435399
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004142d5
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x46bc32
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x46bc4a
call fcn.004082d5
mov esi, dword [eax + 0xc]
push 0x54e168
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x46bca0
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46bc9f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x46bc80
xor esi, esi
jmp 0x46bc96
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.0046bca6
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x46c354
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rol esi, 0x45
ret 0x88ec
inc ebp
rcl byte [ebx]
call fcn.0046c01e
cdq
outsb dx, byte [esi]
jb 0x46c31b
lea eax, [ebp - 0x40]
push eax
call fcn.0046c02e
push eax
push esi
push dword [ebp + 8]
invalid
invalid
Function at 0x46e1d6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x46e1e2
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0046c01e
popfd
stc
scasd eax, dword es:[edi]
pop esp
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.0046c01e
adc byte [ebp - 0x74b6334c], bl
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x46e20b
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x46e20b
call fcn.0046c01e
jmp 0x8bb898e2

Function at 0x4f817d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x4f8197
mov edi, dword [esi + 0xc]
jmp 0x4f81d7
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4f81b0
call fcn.00409cf4
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4f81c5
call fcn.00409cf4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4f81d7
call fcn.00409cf4
call fcn.004082d5
cmp dword [eax + 0x3c], 0
je 0x4f81ec
push edi
mov ecx, ebx
call fcn.004f7a97
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004f83af
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4f820f
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x4f8218
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10001110
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 2
pop edx
xor esi, esi
cmp dword [ebp + 0x10], edx
jbe 0x100011b2
mov dword [ebp - 4], 1
sub dword [ebp - 4], edi
lea ecx, [edi + 1]
push ebx
movzx edi, byte [ecx - 1]
shr edi, 2
mov di, word [edi*2 + 0x100173a0]
mov word [eax], di
movzx edi, byte [ecx - 1]
movzx ebx, byte [ecx]
and edi, 3
shl edi, 4
shr ebx, 4
or edi, ebx
mov di, word [edi*2 + 0x100173a0]
add eax, edx
mov word [eax], di
movzx edi, byte [ecx]
movzx ebx, byte [ecx + 1]
and edi, 0xf
shl edi, 2
shr ebx, 6
or edi, ebx
mov di, word [edi*2 + 0x100173a0]
add eax, edx
mov word [eax], di
movzx edi, byte [ecx + 1]
and edi, 0x3f
mov di, word [edi*2 + 0x100173a0]
add eax, edx
mov word [eax], di
mov edi, dword [ebp - 4]
add ecx, 3
add edi, ecx
add eax, edx
add esi, 3
cmp edi, dword [ebp + 0x10]
jb 0x10001138
mov edi, dword [ebp + 0xc]
pop ebx
cmp esi, dword [ebp + 0x10]
jae 0x10001228
lea ecx, [esi + edi]
movzx edi, byte [ecx]
shr edi, 2
mov di, word [edi*2 + 0x100173a0]
mov word [eax], di
mov edi, dword [ebp + 0x10]
add eax, edx
dec edi
cmp esi, edi
jne 0x100011ed
movzx ecx, byte [ecx]
and ecx, 3
shl ecx, 5
mov cx, word [ecx + 0x100173a0]
push 0x3d
mov word [eax], cx
pop ecx
jmp 0x10001219
movzx esi, byte [ecx]
movzx edi, byte [ecx + 1]
and esi, 3
shl esi, 4
shr edi, 4
or esi, edi
mov si, word [esi*2 + 0x100173a0]
mov word [eax], si
movzx ecx, byte [ecx + 1]
and ecx, 0xf
mov cx, word [ecx*8 + 0x100173a0]
add eax, edx
mov word [eax], cx
push 0x3d
add eax, edx
pop ecx
mov word [eax], cx
add eax, edx
xor ecx, ecx
mov word [eax], cx
sub eax, dword [ebp + 8]
pop edi
add eax, edx
sar eax, 1
pop esi
leave
ret

Function at 0x10001427
Capabilities:
Encode data using xor
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x180
mov esi, eax
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push 8
mov ecx, 0x100171a0
pop ebx
mov eax, esi
sub ecx, esi
mov edx, ebx
mov edi, dword [ecx + eax]
mov dword [eax], edi
mov edi, dword [ecx + eax + 4]
mov dword [eax + 4], edi
add eax, ebx
dec edx
jne 0x1000144d
mov edi, dword [ebp + 8]
sub edi, esi
mov dword [ebp + 8], ebx
lea ecx, [edi + esi]
call fcn.10001308
xor dword [esi], eax
xor dword [esi + 4], edx
add esi, ebx
dec dword [ebp + 8]
jne 0x10001466
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret