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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
mov eax, dword [ebp + 8]
mov dword [esp], 0xc
mov esi, dword [ebp + 0xc]
mov dword [esp + 4], eax
call fcn.004020c0
test eax, eax
je 0x40361a
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
mov edx, dword [ebp + 8]
mov word [eax + edx], 0x20
lea ebx, [ebp - 0x128]
mov edx, 0x104
xor eax, eax
mov dword [esp + 8], edx
mov edi, 0x696e69
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memset
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp + 4], esi
sub eax, 3
xor esi, esi
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strncpy
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [eax + ebx], 0x2e6a346c
mov dword [eax + ebx + 4], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll__open
mov dword [ebp - 0x12c], eax
inc eax
je 0x403759
mov eax, dword [0x408090]
test eax, eax
jne 0x403764
mov esi, dword [ebp + 8]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov esi, dword [ebp + 8]
mov edx, 0x7c00
sub edx, eax
mov dword [esp + 8], edx
add esi, eax
mov eax, dword [ebp - 0x12c]
mov dword [esp + 4], esi
mov edi, esi
mov dword [esp], eax
call sub.msvcrt.dll__read
mov dword [ebp - 0x130], eax
mov ecx, 1
test eax, eax
mov dword [ebp - 0x134], ecx
jle 0x403724
mov ebx, eax
nop
lea esi, [esi]
movzx ecx, byte [esi]
cmp cl, 0x23
je 0x403790
cmp cl, 0xd
sete al
cmp cl, 0xa
sete dl
or eax, edx
test al, 1
je 0x403780
cmp edi, dword [ebp + 8]
mov ecx, 1
mov dword [ebp - 0x134], ecx
jbe 0x403720
cmp byte [edi - 1], 0x20
je 0x403720
mov byte [edi], 0x20
inc edi
lea esi, [esi]
inc esi
dec ebx
jne 0x4036e0
mov byte [edi], 0
mov ebx, dword [ebp - 0x130]
test ebx, ebx
jle 0x40374b
cmp byte [edi - 1], 0x20
je 0x40374b
mov esi, dword [ebp + 8]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edi, dword [ebp + 8]
mov word [eax + edi], 0x20
mov edx, dword [ebp - 0x12c]
mov dword [esp], edx
call sub.msvcrt.dll__close
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov ebx, str.Loading:_t_s_n
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x403692
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x403720
mov byte [edi], cl
jmp 0x40371b
xor ecx, ecx
mov dword [ebp - 0x134], ecx
jmp 0x403720
Function at 0x403960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov eax, 0x8168
mov ebp, esp
call fcn.00405660
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov edx, dword [0x408028]
test edx, edx
je 0x403990
mov eax, dword [0x408090]
test eax, eax
jne 0x403ac7
mov edx, 0x104
lea ebx, [ebp - 0x128]
xor esi, esi
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memset
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.004020c0
test eax, eax
jne 0x4039d0
mov ebx, dword [ebp - 0xc]
xor eax, eax
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov edx, 0x8000
lea esi, [ebp - 0x8128]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], esi
call sub.msvcrt.dll_memset
mov dword [esp + 0xc], edi
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.00403080
mov eax, dword [0x408090]
test eax, eax
jne 0x403b05
cmp byte [ebp - 0x8128], 0x5c
je 0x403af0
cmp byte [ebp - 0x8127], 0x3a
je 0x403af0
mov dword [esp + 8], edi
mov edi, dword [ebp + 8]
mov dword [esp], 0x4081a4
mov dword [esp + 4], edi
call sub.msvcrt.dll_strncpy
mov dword [esp], 0x4081a4
call sub.msvcrt.dll_strlen
cmp byte [eax + 0x4081a3], 0x5c
je 0x403a63
mov ecx, 0x5c
mov word [eax + 0x4081a4], cx
mov dword [esp + 4], esi
mov dword [esp], 0x4081a4
call sub.msvcrt.dll_strcat
mov dword [esp], 0x4081a4
call fcn.00402560
test eax, eax
je 0x4039c1
mov esi, dword [0x408020]
test esi, esi
jne 0x403b1f
mov ecx, 4
mov dword [0x4102d4], ecx
mov edx, 0x4081a4
mov dword [esp + 4], edx
mov dword [esp], 0x410664
call sub.msvcrt.dll_strcpy
mov ebx, dword [ebp - 0xc]
mov eax, 1
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp + 0xc], eax
mov ebx, 0x13
mov ecx, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], str.bundledJreSearch___n
call sub.msvcrt.dll_fwrite
jmp 0x403990
mov dword [esp + 4], esi
mov dword [esp], 0x4081a4
call sub.msvcrt.dll_strcpy
jmp 0x403a73
mov dword [esp + 8], esi
mov ebx, str.Bundled_JRE:_t_s_n
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x403a11
cld
xor eax, eax
lea ebx, [ebp - 0x8148]
mov edi, ebx
mov ecx, 5
mov esi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 4], ebx
mov edi, 0x407166
mov dword [esp], 0x1d
call fcn.004020c0
cld
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
mov ecx, 0x104
je 0x403a9a
jmp 0x403a95
Function at 0x4043a0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov eax, 0x1001c
mov ebp, esp
push edi
push esi
push ebx
call fcn.00405660
mov edi, dword [ebp + 0xc]
mov eax, 0x8000
xor ebx, ebx
mov dword [esp + 4], ebx
lea esi, [ebp - 0x8018]
lea ebx, [ebp - 0x10018]
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_memset
mov dword [esp], ebx
mov ecx, 0x7fff
xor edx, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call sub.msvcrt.dll_memset
mov dword [esp + 4], ebx
mov dword [esp], 0x13
call fcn.004020c0
mov dword [esp], ebx
mov eax, 0x407535
mov dword [esp + 4], eax
jmp 0x40442f
mov dword [esp], ebx
mov ebx, 0x407535
mov dword [esp + 4], esi
call sub.KERNEL32.dll_SetEnvironmentVariableA
sub esp, 8
mov dword [esp + 4], ebx
mov dword [esp], 0
call sub.msvcrt.dll_strtok
test eax, eax
mov ebx, eax
je 0x404494
mov dword [esp], eax
mov ecx, 0x3d
mov dword [esp + 4], ecx
call sub.msvcrt.dll_strchr
mov byte [eax], 0
mov edx, dword [ebp + 8]
inc eax
mov byte [ebp - 0x8018], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00403080
mov eax, dword [0x408090]
test eax, eax
je 0x404410
mov dword [esp + 0xc], esi
mov edx, str.Set_var:_t_s___s_n
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x404410
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x405250
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov eax, 0x808c
mov ebp, esp
push edi
push esi
push ebx
call fcn.00405660
cld
mov edx, 0x44
xor eax, eax
lea esi, [ebp - 0x68]
xor ebx, ebx
mov edi, 0x4102b0
mov ecx, 4
rep stosd dword es:[edi], eax
mov dword [esp + 8], edx
xor edi, edi
mov dword [esp + 4], ebx
lea ebx, [ebp - 0x8068]
mov dword [esp], esi
call sub.msvcrt.dll_memset
mov dword [ebp - 0x68], 0x44
mov eax, 0x8000
mov dword [esp + 4], edi
mov edi, 0x4102b0
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memset
mov ecx, 0x22
mov edx, 0x4081a4
mov word [ebp - 0x8068], cx
mov dword [esp + 4], edx
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov word [eax + ebx], 0x2022
mov byte [eax + ebx + 2], 0
mov eax, 0x4082a8
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov dword [esp + 0x20], esi
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x24], edi
mov eax, 1
xor edi, edi
mov dword [esp + 0x1c], esi
xor esi, esi
mov dword [esp + 0x18], ecx
mov edx, dword [0x4102c0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
test eax, eax
je 0x405360
mov esi, dword [ebp + 8]
test esi, esi
jne 0x405373
mov ebx, dword [ebp + 0xc]
mov eax, 1
mov dword [ebx], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [edx], 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, 0xffffffff
mov dword [esp + 4], esi
mov eax, dword [0x4102b0]
mov dword [esp], eax
call sub.KERNEL32.dll_WaitForSingleObject
mov edi, dword [ebp + 0xc]
sub esp, 8
mov dword [esp + 4], edi
mov ecx, dword [0x4102b0]
mov dword [esp], ecx
call sub.KERNEL32.dll_GetExitCodeProcess
mov edx, dword [0x4102b4]
sub esp, 8
mov dword [esp], edx
call sub.KERNEL32.dll_CloseHandle
mov ebx, dword [0x4102b0]
sub esp, 4
mov dword [esp], ebx
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov eax, 1
jmp 0x405352
Function at 0x405400
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00405660
call fcn.004055f0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x405438
jmp 0x4054d6
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x405437
cmp cl, 0x22
je 0x405490
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x4054b0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x4054b0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x405470
jmp 0x4054b0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x405490
cmp cl, 0x22
je 0x405512
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x4054d0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x4054c0
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x4054f4
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004013b0
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x4054b0
Function at 0x1782450
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1323000]
push edi
jmp 0x178246a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1782471
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1782460
mov eax, 1
add ebx, ebx
jne 0x1782483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1782494
jne 0x17824b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17824b3
dec eax
add ebx, ebx
jne 0x17824a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1782478
add ebx, ebx
jne 0x17824af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1782505
xor ecx, ecx
sub eax, 3
jb 0x17824cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x178253a
sar eax, 1
mov ebp, eax
jmp 0x17824d6
add ebx, ebx
jne 0x17824d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17824a4
inc ecx
add ebx, ebx
jne 0x17824e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17824a4
add ebx, ebx
jne 0x17824f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x17824e6
jne 0x1782502
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x17824e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1782524
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1782516
jmp 0x1782466
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1782524
add edi, ecx
jmp 0x1782466
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1782542
cmp byte [edi], 0x11
jne 0x1782542
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1782547
lea edi, [esi + 0x137b000]
mov eax, dword [edi]
or eax, eax
je 0x17825bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x261fa30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x261fbac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1782574
mov ecx, edi
jns 0x17825a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x261fbb0]
or eax, eax
je 0x17825b9
mov dword [ebx], eax
add ebx, 4
jmp 0x1782591
call dword [esi + 0x261fbc0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x17825f0
cmp al, 0xef
ja 0x17825e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x17825c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x17825d2
mov ebp, dword [esi + 0x261fbb4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1782624
sub esp, 0xffffff80
jmp 0x420577
Function at 0x41dddf
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x425fd0
call fcn.0041e44f
xor ebx, ebx
cmp dword [0x45af28], ebx
jne 0x41dbbd
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x45af1c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x41dbf7
cmp eax, esi
jne 0x41dbea
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x41dbfa
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41dbd1
xor esi, esi
inc esi
mov eax, dword [0x45af18]
cmp eax, esi
jne 0x41dc0d
push 0x1f
call fcn.00512000
pop ecx
jmp 0x41dc48
mov eax, dword [0x45af18]
test eax, eax
jne 0x41dc42
mov dword [0x45af18], esi
push 0x401348
push 0x401334
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41dc48
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41dd1f
mov dword [0x4598a8], esi
mov eax, dword [0x45af18]
cmp eax, esi
jne 0x41dc6c
push 0x401330
push 0x401308
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x45af18], 2
cmp dword [ebp - 0x1c], ebx
jne 0x41dc79
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x45af2c], ebx
je 0x41dc9a
push 0x45af2c
call fcn.0041e387
pop ecx
test eax, eax
je 0x41dc9a
push ebx
push 2
push ebx
call dword [0x45af2c]
mov eax, dword [0x459890]
mov ecx, dword [sym.imp.MSVCR100.dll___initenv]
mov dword [ecx], eax
push dword [0x459890]
push dword [0x459894]
push dword [0x45988c]
call fcn.00414814
add esp, 0xc
mov dword [0x4598a4], eax
cmp dword [0x459898], ebx
jne 0x41dd05
push eax
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR100.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x4598a8], ebx
jne 0x41dd13
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x4598a4]
call fcn.0041e494
ret
call fcn.0041d25c
jmp 0x41db9c
Function at 0x407443
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406334
and dword [ebp - 4], 0
cmp dword [0x4173a0], 0
mov ebx, eax
jne 0x4074f4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4075a5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4075a5
push eax
call fcn.004062c2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4173a0], eax
call esi
push eax
call fcn.004062c2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4173a4], eax
call esi
push eax
call fcn.004062c2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4173a8], eax
call esi
push eax
call fcn.004062c2
pop ecx
mov dword [0x4173b0], eax
test eax, eax
je 0x4074f4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004062c2
pop ecx
mov dword [0x4173ac], eax
mov eax, dword [0x4173ac]
cmp eax, ebx
je 0x40754c
cmp dword [0x4173b0], ebx
je 0x40754c
push eax
call fcn.0040633d
push dword [0x4173b0]
mov esi, eax
call fcn.0040633d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40754c
test edi, edi
je 0x40754c
call esi
test eax, eax
je 0x407543
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407543
test byte [ebp - 0xc], 1
jne 0x40754c
or dword [ebp + 0x10], 0x200000
jmp 0x407585
mov eax, dword [0x4173a4]
cmp eax, ebx
je 0x407585
push eax
call fcn.0040633d
pop ecx
test eax, eax
je 0x407585
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407585
mov eax, dword [0x4173a8]
cmp eax, ebx
je 0x407585
push eax
call fcn.0040633d
pop ecx
test eax, eax
je 0x407585
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4173a0]
call fcn.0040633d
pop ecx
test eax, eax
je 0x4075a5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4075a7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4092d8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411a08]
jne 0x4092e2
repz ret
jmp fcn.0040aa05

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x41ed50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434a78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x43ffa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov dword [ebp - 0x10], edi
mov word [edi], ax
call fcn.00420280
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.00420280
mov dword [edi + 0x30], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41f7b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
xor bl, bl
push edi
mov edi, dword [ebp + 8]
push eax
push ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
mov dword [ebp - 0x814], edx
push 0x400
push eax
call fcn.0041f9e0
add esp, 0x14
test eax, eax
js 0x41f88a
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0
push eax
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f88a
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x818], 4
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push dword [ebp - 0x814]
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f87e
cmp dword [ebp - 0x810], 4
jne 0x41f87e
cmp dword [ebp - 0x80c], eax
mov bl, 1
setne al
mov dword [esi], eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433bb2
mov esp, ebp
pop ebp
ret
Function at 0x4219d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x21c], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x210], 0
call fcn.00433c26
mov di, word [ebp + 0x10]
lea eax, [ebp - 0x20c]
xor ebx, ebx
mov dword [ebp - 0x218], 0
add esp, 0xc
mov dword [ebp - 0x214], 0
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x220], 4
sete bl
test di, di
je 0x421a56
push str.SoftwareAdobeAcrobat_ReaderDCFeatureState
jmp 0x421a5b
push str.SoftwareAdobeAdobe_AcrobatDCFeatureState
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421b24
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x21c]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421af3
cmp dword [ebp - 0x218], 4
jne 0x421af3
push dword [ebp - 0x210]
xor ebx, ebx
cmp dword [ebp - 0x214], ebx
setne bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433bb2
mov esp, ebp
pop ebp
ret
test di, di
je 0x421b04
test esi, esi
je 0x421b04
mov eax, 1
mov word [esi], ax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433bb2
mov esp, ebp
pop ebp
ret
test di, di
je 0x421b35
test esi, esi
je 0x421b35
mov eax, 1
mov word [esi], ax
mov ecx, dword [ebp - 4]
mov ax, bx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433bb2
mov esp, ebp
pop ebp
ret
Function at 0x422810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x422880
lea eax, [ebp - 0x10]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
push esi
push str.bEnableATL7Compat
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x422877
cmp dword [ebp - 8], 4
jne 0x422877
mov eax, 1
cmp dword [ebp - 0xc], eax
cmove esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x422890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push esi
push eax
push 0x20019
push 0
push str.SoftwareAdobeAdobe_AcrobatDCSecurity
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4228f7
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x436c84
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4228ee
cmp dword [ebp - 4], eax
cmove esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret