joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x8b0473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x8ca2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x8ca2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x8c910c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8b047a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x10001ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101b4fe4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.100040e0
xor eax, eax
mov dword [ebp - 0x2c], 0x6f0043
push eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x28], 0x73006e
mov dword [ebp - 0x24], 0x6c006f
mov dword [ebp - 0x20], 0x570065
mov dword [ebp - 0x1c], 0x6e0069
mov dword [ebp - 0x18], 0x6f0064
mov dword [ebp - 0x14], 0x430077
mov dword [ebp - 0x10], 0x61006c
mov dword [ebp - 0xc], 0x730073
call dword [sym.imp.USER32.dll_FindWindowW]
pop edi
pop esi
pop ebx
test eax, eax
je 0x10001f38
push 0
push eax
call dword [0x101bf50c]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1013a305
mov esp, ebp
pop ebp
ret
Function at 0x10002740
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x101b4fe4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 0x2e484e5c
push eax
push 0
mov dword [ebp - 0x10c], 0x747874
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0x110]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10002793
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100027a3
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0x80
push 3
push 0
push 1
mov ecx, edx
and ecx, 3
push SysReAllocStringLen
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000281c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.1000317f
add esp, 4
mov dword [ebp - 0x10c], 0
mov edi, eax
lea eax, [ebp - 0x10c]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test edi, edi
je 0x1000281c
mov ecx, edi
call fcn.10001f50
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1013a305
mov esp, ebp
pop ebp
ret
Function at 0x10005fc8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x101572ae
call fcn.1013ad1b
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x10006072
push dword [ebp + 8]
mov ecx, eax
call fcn.10006300
mov esi, eax
test esi, esi
je 0x10006105
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x1000605b
push edx
call fcn.1000317f
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000605b
xor edi, edi
inc edi
jmp 0x10006065
push dword [ebx]
call fcn.10003188
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.10005e8d
jmp 0x10006103
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.1013acde
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x100060fb
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.1000317f
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x100060f5
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.10005e69
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.10005e69
add al, bl
mov edx, edi
test edx, edx
jns 0x100060e6
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x100060bd
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.1000474a
mov eax, edi
call fcn.1013ace4
ret 0x10

Function at 0x1000610d
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x10006160
push esi
push dword [ebp + 8]
call fcn.10006300
mov edi, eax
test edi, edi
jne 0x10006130
mov eax, dword [ebp + 0x10]
jmp 0x10006172
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000612b
mov eax, dword [ebp - 8]
jmp 0x10006172
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10011704
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x10011749
call fcn.10008217
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10011749
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10011765
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001c4be
mov ebx, eax
test edi, edi
je 0x10011763
test esi, esi
je 0x10011763
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10012152
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x10012210
cmp dword [esi + 0x20], 0
je 0x10012210
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10012210
cmp dword [ebp + 8], 0
je 0x10012210
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.10008217
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100121e1
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10012210
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.1001d06e
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x10012201
test edi, edi
je 0x10012201
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x1001220c
mov ecx, esi
call fcn.10011ef5
mov eax, ebx
jmp 0x10012212
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10016692
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1015fee4
call fcn.1013ad1b
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x100166b8
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10016717
call fcn.10009c6f
push eax
lea ecx, [ebp - 0x10]
call fcn.100031a2
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.1013acde
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.1014215b
push eax
call fcn.100037b6
add esp, 0x14
test esi, esi
je 0x1001670a
push esi
call fcn.10140274
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000474a
mov eax, ebx
call fcn.1013ace4
ret 8
Function at 0x1001d6a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x1001d6d2
cmp dword [ebx + 0x80], 0
jne 0x1001d6d2
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.10008217
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.1001d965
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001d70c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.10008217
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001d743
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1001d764
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001f86a
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
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x1001f884
mov edi, dword [esi + 0xc]
jmp 0x1001f8c4
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001f89d
call fcn.1000eb62
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1001f8b2
call fcn.1000eb62
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1001f8c4
call fcn.1000eb62
call fcn.10008217
cmp dword [eax + 0x3c], 0
je 0x1001f8d9
push edi
mov ecx, ebx
call fcn.1001eefe
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1001fab6
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1001f902
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1001f90e
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10021d50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.100165dc
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 0x10021d8c
call fcn.10021f72
mov dword [esi + 0xc], 1
jmp 0x10021d91
call fcn.10021f72
cmp dword [esi], 0
je 0x10021dda
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x10021db4
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.10009970
jmp 0x10021dc5
push 0xff
mov ecx, esi
call fcn.10004395
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1000643c
jmp 0x10021dfe
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 0x10021dfe
push dword [esi]
push dword [ebp - 4]
call fcn.1000b2de
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10021ec7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.10021f72
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10021f0f
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10009970
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000643c
jmp 0x10021f1a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1000b2de
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1003385f
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.100822ae
call fcn.1000826b
cmp dword [eax + 0x14], 0
jne 0x1003387a
mov ecx, esi
pop esi
jmp fcn.10032baa
pop esi
ret

Function at 0x100347ae
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.10001e60
call fcn.1000826b
cmp dword [eax + 0x14], 0
jne 0x100347c9
mov ecx, esi
pop esi
jmp fcn.10033fcd
pop esi
ret
Function at 0x10043076
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x1004308f
call fcn.10008217
mov esi, dword [eax + 0xc]
push 0x1016ee94
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x100430e5
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100430e4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x100430c5
xor esi, esi
jmp 0x100430db
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.100430ed
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10152f1c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10152bdc
Function at 0x6e039111
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push 0x50
mov eax, 0x6e04db53
call fcn.6e04936c
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], eax
xor eax, eax
cmp word [ebp + 0x1c], ax
setne al
movzx eax, ax
push eax
push esi
call fcn.6e03baad
pop ecx
pop ecx
test eax, eax
jne 0x6e039235
mov eax, dword [esi + 4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
inc dword [eax + 0x38]
inc dword [esi + 0x14]
and dword [ebp - 4], 0
xor eax, eax
mov ebx, dword [esi + 4]
mov word [ebp - 0x4c], ax
lea eax, [esi + 0xc]
mov dword [ebp - 0x48], eax
xor eax, eax
push 4
pop ecx
mov word [ebp - 0x3c], ax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor eax, eax
push 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x54]
push SysReAllocString
push eax
mov dword [ebp - 0x50], 0x50525350
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0x52535043
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0x52535048
mov dword [ebp - 0x28], eax
call fcn.6e03baad
mov dword [ebp - 0x24], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x20], 0x55524544
cmp byte [0x6e07047b], 0
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jne 0x6e0391d9
cmp byte [0x6e07047a], 0
je 0x6e03920d
push ebx
push str.__lx__PDFXSendOrSave_kPDFXPushResponse_
mov esi, 0x6e06fc48
push esi
call fcn.6e03baad
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e0391fd
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e03920d
push esi
call fcn.6e003fc0
pop ecx
xor eax, eax
cmp word [ebp + 0x1c], ax
push 8
pop ecx
cmovne eax, ecx
push eax
push 4
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.6e038da1
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.6e03baad
mov eax, esi
call fcn.6e049316
ret

Function at 0x6e03baad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x6e03babc
pop dword [ebp - 0x44]
mov eax, 0xabc9eec0
sub eax, 0x3dc63404
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x47c9c
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x2d4c1780
add ecx, 0xd2b4299a
xor esi, esi
add esi, eax
mov edi, 0x7569f52
sub edi, 0x9949f952
add edi, dword [ebp - 0x44]
mov ebx, 0x625f53fe
add dword [ebp - 0x24], edi
mov edx, dword [edi]
xor dword [ebp - 0x40], ecx
add edx, ebx
add dword [ebp - 0x10], 0x9c497397
mov dword [esi], edx
add esi, 0x466e38c1
sub esi, 0x466e38bd
add edi, 4
loop 0x6e03bb12
add eax, 0x790c6693
sub eax, 0x790b6f58
mov ebx, eax
add eax, 5
mov ecx, 0x1a045465
sub ecx, 0xac045465
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x6e047f54
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x6e04e1e0
call fcn.6e04936c
cmp byte [0x6e07047b], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x6e047f81
cmp byte [0x6e07047a], 0
je 0x6e047fd0
call fcn.6e03baad
test al, al
mov edx, 0x6e051790
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x6e071858
call fcn.6e03baad
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047fbc
push 0x6e071858
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047fd0
push 0x6e071858
call fcn.6e003fc0
pop ecx
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.6e03baad
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.6e03d080
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.6e0108ff
test ebx, ebx
jne 0x6e04804e
cmp byte [0x6e07047b], bl
jne 0x6e04801a
cmp byte [0x6e07047a], bl
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x6e071858
push ebx
call fcn.6e03baad
cmp byte [0x6e07047a], 0
pop ecx
pop ecx
je 0x6e04803c
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e0480c2
push ebx
call fcn.6e003fc0
pop ecx
jmp 0x6e0480c2
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x6e04807d
cmp byte [0x6e07047b], al
jne 0x6e048076
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x6e04801f
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x6e0480b2
cmp byte [0x6e07047b], al
jne 0x6e0480a8
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x6e04801f
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
call fcn.6e049316
ret