joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100052d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100052e9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10005326
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10005322
nop word [eax + eax]
cmp esi, edx
jae 0x10005326
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10005310
cmp esi, edx
jb 0x1000532d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10008cb6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1002ecde
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002e99e

Function at 0x1003a990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1005600c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x4178]
or eax, dword [ebx + 0x417c]
push esi
lea esi, [ebx + 0x4178]
push edi
jne 0x1003aa01
cmp dword [ebx + 0x41b0], 8
lea eax, [ebx + 0x419c]
jb 0x1003a9ca
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [0x10058c98]
mov edi, eax
cmp edi, 0xffffffff
je 0x1003aa01
push 0
lea eax, [ebp - 0x14]
push eax
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x24], ax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
movq qword [ebp - 0x22], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0xc]
xor edx, edx
or edx, dword [ebp - 0x10]
and ecx, 0x7fffffff
mov edi, edx
mov eax, ecx
sub edi, dword [esi]
sbb eax, dword [esi + 4]
cmp eax, 0xc9
jl 0x1003aabe
jg 0x1003aa5c
cmp edi, 0x2b025680
jb 0x1003aabe
lea eax, [ebx + 0x419c]
mov dword [esi], edx
mov dword [esi + 4], ecx
cmp dword [eax + 0x14], 8
jb 0x1003aa6f
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [0x10058c98]
mov edi, eax
cmp edi, 0xffffffff
je 0x1003aaa6
push 0
lea eax, [ebp - 0x14]
push eax
push 8
push esi
push edi
call dword [0x10058c44]
push edi
call dword [0x10058c64]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10006f48
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006f48
mov esp, ebp
pop ebp
ret 4
Function at 0x1003aae0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x1005600c]
xor eax, esp
mov dword [esp + 0x10], eax
cmp byte [0x10058a1a], 0
push esi
mov esi, ecx
je 0x1003aba8
mov eax, 0x64
mov dword [esp + 4], 0x700055
mov word [esp + 8], ax
xor eax, eax
mov word [esp + 0xe], ax
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0x12], 0x6d0054
call fcn.1003abc0
test eax, eax
je 0x1003aba8
push ecx
mov ecx, esi
call fcn.1003a990
test eax, eax
je 0x1003aba8
push str.GlobalPCAProMutex
push 0
push 0x100000
call dword [0x10058c50]
test eax, eax
je 0x1003ab6d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10006f48
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1003aba8
cmp dword [0x10058c28], 0
je 0x1003ab8d
mov eax, dword [0x10058c28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x1003f500
push 0
push 0
call fcn.10026aa0
add esp, 0x18
mov dword [0x10058c28], eax
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.10006f48
mov esp, ebp
pop ebp
ret
Function at 0x1003ba90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x10058cbc]
push edi
push 0x44
push 0
lea eax, [esi + 0x40e0]
mov dword [ebp - 8], esi
push eax
call fcn.10020430
push 0x10058cc0
call fcn.100065fd
add esp, 0x10
test eax, eax
je 0x1003bacc
push eax
call fcn.100060e8
add esp, 4
lea ecx, [esi + 0x407c]
mov byte [esi + 0x40dd], 0
mov byte [esi + 0x40da], 0
mov byte [esi + 0x29], 0
call fcn.10002020
push dword [ebp + 8]
lea ebx, [esi + 0x4130]
mov dword [esi + 0x40a4], 0
mov dword [esi + 0x416c], 0
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
mov dword [ebp - 4], ebx
call fcn.100047c0
mov eax, dword [ebx]
add esp, 8
mov dword [ebx + 4], eax
mov edx, dword [esi + 0x4140]
push dword [ebp + 8]
push ecx
mov ecx, dword [esi + 0x413c]
call fcn.100047c0
mov edi, dword [ebp + 8]
add esp, 8
mov eax, dword [esi + 0x413c]
xor ebx, ebx
mov dword [esi + 0x4140], eax
mov eax, 0x2aaaaaab
mov byte [esi + 0x40dc], 1
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003bb94
xor esi, esi
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
add eax, esi
push eax
call fcn.10001580
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
inc ebx
imul ecx
add esi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1003bb66
mov esi, dword [ebp - 8]
push 0
push 0
push esi
push 0x10040f20
push 0
push 0
call fcn.10026aa0
push 0x10058cc0
mov dword [esi + 0x416c], eax
call fcn.10006622
add esp, 0x1c
pop edi
pop esi
pop ebx
test eax, eax
je 0x1003bbca
push eax
call fcn.100060e8
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x1003bbd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x10058cbc]
push 0x44
push 0
mov dword [ebp - 8], edi
lea eax, [edi + 0x40e0]
push eax
call fcn.10020430
push 0x10058cc0
call fcn.100065fd
add esp, 0x10
test eax, eax
je 0x1003bc0c
push eax
call fcn.100060e8
add esp, 4
lea ecx, [edi + 0x407c]
mov byte [edi + 0x40dd], 0
mov byte [edi + 0x40da], 0
mov byte [edi + 0x29], 0
call fcn.10002020
push dword [ebp + 8]
mov dword [edi + 0x40a4], 0
mov dword [edi + 0x416c], 0
mov edx, dword [edi + 0x4134]
push ecx
mov ecx, dword [edi + 0x4130]
call fcn.100047c0
mov eax, dword [edi + 0x4130]
lea ebx, [edi + 0x413c]
add esp, 8
mov dword [edi + 0x4134], eax
mov edx, dword [ebx + 4]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
push ecx
mov ecx, dword [ebx]
call fcn.100047c0
mov eax, dword [ebx]
add esp, 8
mov esi, dword [ebp + 8]
mov dword [ebx + 4], eax
mov eax, 0x2aaaaaab
mov byte [edi + 0x40dc], 1
xor ebx, ebx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003bcd4
xor edi, edi
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
add eax, edi
push eax
call fcn.10001580
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
inc ebx
imul ecx
add edi, 0x18
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x1003bca6
mov edi, dword [ebp - 8]
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
push 0
push 0
sar edx, 2
push edi
mov eax, edx
push 0x10040f20
shr eax, 0x1f
add eax, edx
push 0
push 0
mov dword [edi + 0x40fc], eax
call fcn.10026aa0
push 0x10058cc0
mov dword [edi + 0x416c], eax
call fcn.10006622
add esp, 0x1c
pop edi
pop esi
pop ebx
test eax, eax
je 0x1003bd26
push eax
call fcn.100060e8
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x1003e5c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044cfa
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x1005600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push eax
push 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x1003e63a
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1003e66f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x1003e651
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10003220
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006f48
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp word [ebp - 0x230], 0
jne 0x1003e683
xor eax, eax
jmp 0x1003e69f
lea eax, [ebp - 0x230]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003e690
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002560
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.10001580
lea eax, [ebp - 0x254]
push eax
push esi
call edi
test eax, eax
jne 0x1003e675
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x1003e63c
Function at 0x1003f3e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
push esi
push edi
mov edi, ecx
mov byte [0x10058a18], 0
xor esi, esi
inc esi
cmp esi, 0x1e
jg 0x1003f41c
push edi
push 0x1003f420
call ebx
cmp byte [0x10058a18], 0
jne 0x1003f41c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x10058a18], 0
je 0x1003f3f4
pop edi
pop esi
pop ebx
ret

Function at 0x1003fd80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b0
mov eax, dword [0x1005600c]
xor eax, esp
mov dword [esp + 0x1ac], eax
push esi
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
push 0x101
call dword [0x10058c78]
push 6
push 1
push 2
call dword [0x10058c90]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
je 0x1003fe61
mov eax, 2
mov dword [esp + 0x1ad], 0x474e49
lea esi, [edi + 0x40c0]
mov byte [esp + 0x1ac], 0x50
mov word [esi], ax
lea eax, [esp + 0x19c]
push eax
mov word [esp + 0x1a5], 0x302e
mov dword [esp + 0x1a0], 0x2e373231
mov word [esp + 0x1a8], 0x31
mov byte [esp + 0x1a4], 0x30
mov byte [esp + 0x1a7], 0x2e
call dword [0x10058c8c]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x10058c88]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x10058c84]
cmp eax, 0xffffffff
jne 0x1003fe7d
push dword [edi + 0x78]
call dword [0x10058c94]
call dword [0x10058c74]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.10006f48
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1ac]
mov ecx, edi
push eax
call fcn.10040680
mov ecx, edi
call fcn.100400b0
mov ecx, dword [esp + 0x1b4]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.10006f48
mov esp, ebp
pop ebp
ret

Function at 0x100406d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1005600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0x2e373231
mov dword [ebp - 0xf], 0x312e302e
mov byte [ebp - 0x10], 0x30
mov byte [ebp - 0xb], 0
push dword [edi + 0x78]
call dword [0x10058c94]
push 6
push 1
push 2
call dword [0x10058c90]
mov dword [edi + 0x78], eax
lea esi, [edi + 0x40c0]
mov eax, 2
mov word [esi], ax
lea eax, [ebp - 0x14]
push eax
call dword [0x10058c8c]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x10058c88]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x10058c84]
mov ecx, dword [ebp - 4]
cmp eax, 0xffffffff
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.10006f48
mov esp, ebp
pop ebp
ret
Function at 0x10040770
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044f2d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1005600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
mov word [ebp - 0x1b], 0x4143
mov word [ebp - 0x18], 0x20
mov byte [ebp - 0x19], 0x4e
mov byte [ebp - 0x1c], 0x53
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x100407d1
mov eax, dword [ecx]
jmp 0x100407d3
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push esi
mov word [eax], dx
call fcn.10002660
lea ecx, [ebp - 0x74]
call fcn.10041d90
add esp, 0x18
mov ebx, eax
mov dword [ebp - 4], 0
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jne 0x10040811
xor ecx, ecx
jmp 0x10040820
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040817
sub ecx, edx
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100029b0
push ebx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10003f30
add esp, 4
lea ecx, [ebp - 0x5c]
call fcn.10001a40
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.10001a40
cmp dword [esi + 0x14], 8
mov eax, 0x3a
mov dword [ebp - 0x26], 0x4f0020
mov word [ebp - 0x28], ax
mov dword [ebp - 0x22], 0x4b
jb 0x10040875
mov eax, dword [esi]
jmp 0x10040877
mov eax, esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [0x10058c98]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10040907
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80000
ja 0x100408eb
cmp dword [ebp - 0x2c], 0
jne 0x100408eb
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov ecx, edi
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.10040680
test al, al
je 0x100408fe
mov ecx, edi
mov byte [edi + 0x415c], 1
call fcn.100400b0
push ebx
mov byte [edi + 0x415c], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10040943
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.100017e0
push esi
mov ecx, edi
call fcn.1003feb0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10040943
cmp word [ebp - 0x28], 0
jne 0x10040912
xor ecx, ecx
jmp 0x1004092f
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10040920
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10002780
push esi
mov ecx, edi
call fcn.1003feb0
lea ecx, [ebp - 0x44]
call fcn.10001a40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006f48
mov esp, ebp
pop ebp
ret 4
Function at 0x10041e80
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x67c
mov eax, dword [0x1005600c]
xor eax, esp
mov dword [esp + 0x678], eax
push ebx
push esi
push edi
push 0x400
lea eax, [esp + 0x284]
mov ebx, ecx
push 0
push eax
call fcn.10020430
add esp, 0xc
mov dword [esp + 0x27a], 0x2a
mov eax, 0x25
mov dword [esp + 0x276], 0x2e002a
mov word [esp + 0x270], ax
lea eax, [esp + 0x270]
mov dword [esp + 0x272], 0x5c0073
push ebx
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x28c]
push 0x200
push eax
call fcn.10004e00
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10041fc2
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test byte [esp + 0x10], 0x10
je 0x10041fa7
cmp word [esp + 0x3c], 0x2e
je 0x10041fa7
cmp word [esp + 0x3e], 0x2e
je 0x10041fa7
xor eax, eax
mov dword [esp + 0x260], 0x730025
mov word [esp + 0x26a], ax
mov eax, 0x5c
mov word [esp + 0x264], ax
lea eax, [esp + 0x3c]
push eax
push ebx
lea eax, [esp + 0x268]
mov dword [esp + 0x26e], 0x730025
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x290]
push 0x200
push eax
call fcn.10004e00
add esp, 0x18
lea ecx, [esp + 0x280]
call fcn.10041fe0
lea eax, [esp + 0x280]
push eax
call edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x10058cb4]
test eax, eax
jne 0x10041f28
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10006f48
mov esp, ebp
pop ebp
ret
Function at 0x40449c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x42600c]
xor eax, esp
mov dword [esp + 0x258], eax
push esi
mov esi, ecx
test esi, esi
jne 0x4044c1
push 0xd
jmp 0x404516
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404514
push 0x250
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004095e0
add esp, 0xc
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x404514
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ecx
xor edx, edx
mov ecx, esi
call fcn.00403c3e
neg eax
pop ecx
sbb eax, eax
and eax, 0xfffffc12
add eax, 0x3ee
jmp 0x404517
push 2
pop eax
mov ecx, dword [esp + 0x25c]
pop esi
xor ecx, esp
call fcn.0040797f
mov esp, ebp
pop ebp
ret

Function at 0x4045e3
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0xc], ecx
push esi
push 0x80
push 1
push esi
push 1
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404697
mov eax, 0x100000
mov dword [ebp - 8], esi
push eax
mov dword [ebp - 4], eax
mov edi, esi
call fcn.0040d559
pop ecx
mov esi, eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404687
cmp dword [ebp - 8], 0
jbe 0x404687
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x404667
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and dword [ebp - 8], 0
mov eax, 0x100000
mov dword [ebp - 4], eax
test esi, esi
je 0x404683
push eax
push 0
push esi
call fcn.004095e0
add esp, 0xc
test edi, edi
je 0x404629
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040d414
pop ecx
jmp 0x40469f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404823
Capabilities:
Get common file path

Disassembly:
push 0x41c
mov eax, 0x41a46b
call fcn.004198de
mov esi, dword [ebp + 8]
push 1
push dword [ebp + 0xc]
call fcn.00404298
pop ecx
pop ecx
lea ecx, [ebp - 0x424]
call fcn.00406594
lea eax, [ebp - 0x425]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x424]
push esi
mov byte [ebp - 0x425], bl
call fcn.0040692b
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004095e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x2b
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4048bc
push str.AdobeARM1.0Temp
mov edx, 0x104
lea ecx, [ebp - 0x218]
call fcn.00403aa0
test eax, eax
js 0x4048bc
lea ecx, [ebp - 0x218]
call fcn.004046a6
call fcn.00419888
ret
Function at 0x4076ba
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095e0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072a6
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x40774c
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407816
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077a0
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407745
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077bc
call fcn.0040d2f6
mov dword [eax], 0x16
call fcn.0040d22a
jmp 0x4077cb
push 0x1034
push edi
push eax
call fcn.00408df0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b07
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040797f
leave
ret

Function at 0x410fc1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
invalid
invalid

Function at 0x411009
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x78c]
push eax
call fcn.0040f41f
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.0040f380
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x411387
Function at 0x401fd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430110]
jne 0x401fdf
repz ret
jmp fcn.00402f06

Function at 0x40ffa0
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.00404ea6
and dword [ebp - 4], 0
cmp dword [0x43191c], 0
mov ebx, eax
jne 0x410051
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410102
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x410102
push eax
call fcn.00404e34
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43191c], eax
call esi
push eax
call fcn.00404e34
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x431920], eax
call esi
push eax
call fcn.00404e34
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x431924], eax
call esi
push eax
call fcn.00404e34
pop ecx
mov dword [0x43192c], eax
test eax, eax
je 0x410051
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404e34
pop ecx
mov dword [0x431928], eax
mov eax, dword [0x431928]
cmp eax, ebx
je 0x4100a9
cmp dword [0x43192c], ebx
je 0x4100a9
push eax
call fcn.00404eaf
push dword [0x43192c]
mov esi, eax
call fcn.00404eaf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4100a9
test edi, edi
je 0x4100a9
call esi
test eax, eax
je 0x4100a0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4100a0
test byte [ebp - 0xc], 1
jne 0x4100a9
or dword [ebp + 0x10], 0x200000
jmp 0x4100e2
mov eax, dword [0x431920]
cmp eax, ebx
je 0x4100e2
push eax
call fcn.00404eaf
pop ecx
test eax, eax
je 0x4100e2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4100e2
mov eax, dword [0x431924]
cmp eax, ebx
je 0x4100e2
push eax
call fcn.00404eaf
pop ecx
test eax, eax
je 0x4100e2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43191c]
call fcn.00404eaf
pop ecx
test eax, eax
je 0x410102
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410104
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret