joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403971
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
jne 0x403990
mov edi, dword [ebp + 8]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov al, 1
jmp 0x403a1c
mov eax, dword [0x40650c]
push ebx
xor ebx, ebx
test eax, eax
jne 0x4039bd
push 0xf0000000
push 1
push 0x401740
push ebx
push 0x40650c
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4039ec
mov eax, dword [0x40650c]
lea ecx, [ebp - 4]
push ecx
push ebx
push ebx
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4039ec
push ebx
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4039f0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor al, al
jmp 0x403a1b
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
push dword [ebp + 8]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x403a10
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov al, bl
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x404c9e
Capabilities:
Extract resource via kernel32 functions
Resolve path using msvcrt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x406014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov ebx, ecx
cmp byte [0x406588], 0
push edi
jne 0x404d5c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p__wpgmptr]
push esi
push esi
mov edi, pe_nt_image_headers32
lea ecx, [ebp - 0x20c]
push edi
push ecx
push edi
lea ecx, [ebp - 0x40c]
push ecx
push 3
lea ecx, [ebp - 0xc]
push ecx
push dword [eax]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
push esi
push esi
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x614]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmakepath_s]
push 0xffffffffffffffff
push 0x4017a0
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
add esp, 0x4c
test eax, eax
jne 0x404d4b
sub esp, 0x18
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x614]
call fcn.00403220
test eax, eax
js 0x404d4b
mov edi, dword [0x40657c]
jmp 0x404d53
mov edi, esi
mov dword [0x40657c], edi
mov byte [0x406588], 1
jmp 0x404d62
mov edi, dword [0x40657c]
movzx eax, word [0x40658c]
push eax
mov eax, ebx
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x404dae
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, eax
test edx, edx
je 0x404dae
and ebx, 0xf
je 0x404da2
movzx eax, word [edx]
lea edx, [edx + eax*2]
add edx, 2
sub ebx, 1
jne 0x404d94
movzx esi, word [edx]
lea ecx, [edx + 2]
neg esi
sbb esi, esi
and esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405010
leave
ret
Function at 0x417170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54eae1
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4171b9
mov ecx, dword [ebp + 0xc]
or ecx, 0x8000
mov dword [ebp + 0xc], ecx
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0050ff40
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x417300
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x234], eax
push 0x10e
lea eax, [ebp - 0x25c]
push eax
call fcn.00414f30
add esp, 8
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], 0
push 0x5841f4
lea ecx, [ebp - 0x274]
call fcn.00407350
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x244]
push eax
call fcn.0045d460
add esp, 4
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x228], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
push str.file:_0__line:_1__LastError_2_n
mov ecx, dword [ebp - 0x228]
call fcn.0040cc60
mov ecx, eax
call fcn.00424840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.0040b8a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x274]
call fcn.004073e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.004073e0
mov ecx, dword [ebp + 8]
call fcn.0040b5e0
mov edx, dword [ebp - 0x21c]
or edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp + 8]
jmp 0x417321
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040b610
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret
Function at 0x417c10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ecc0
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
lea ecx, [ebp - 0x14]
call fcn.004098e0
push 0x584320
mov eax, dword [ebp + 8]
push eax
call fcn.004312a0
add esp, 8
push eax
lea ecx, [ebp - 0x14]
call fcn.00406760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406820
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x417caf
mov dword [ebp - 0x278], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00423180
mov eax, dword [ebp - 0x278]
jmp 0x417dae
mov dword [ebp - 0x26c], 0
mov edx, dword [ebp - 0x268]
and edx, 0x10
jne 0x417cdb
mov eax, dword [ebp - 0x26c]
add eax, dword [ebp - 0x248]
mov dword [ebp - 0x26c], eax
jmp 0x417d64
push 0x584324
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00434440
add esp, 8
movzx edx, al
test edx, edx
jne 0x417d64
push 0x584328
lea eax, [ebp - 0x23c]
push eax
call fcn.00434440
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x417d64
push 4
lea ecx, [ebp - 0x18]
call fcn.004098e0
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004312a0
add esp, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.00406760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00406820
push eax
call fcn.00417c10
add esp, 4
add eax, dword [ebp - 0x26c]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00423180
lea ecx, [ebp - 0x268]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417cb9
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x274], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00423180
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret

Function at 0x417dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
call fcn.004343e0
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x417e17
mov dword [ebp - 4], 1
jmp 0x417e1e
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x417e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 4
lea eax, [ebp + 0x14]
push eax
push 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x417e62
mov dword [ebp - 4], 1
jmp 0x417e69
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x418140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ed28
mov eax, dword fs:[0]
push eax
sub esp, 0xe2c
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe38], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xe1c], 0
lea eax, [ebp + 8]
push eax
mov ecx, 0x5b9cf0
call fcn.0040b770
lea ecx, [ebp + 8]
call fcn.0040b840
push eax
call fcn.004315d0
add esp, 4
mov byte [ebp - 0xe15], al
movzx ecx, byte [ebp - 0xe15]
test ecx, ecx
jne 0x4181c1
mov dword [ebp - 0xe1c], 1
jmp 0x418302
push 0xa
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xe20], eax
mov edx, dword [ebp - 0xe20]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xe28], eax
mov eax, dword [ebp - 0xe28]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xe2c], eax
mov ecx, dword [ebp - 0xe20]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xe24], eax
lea edx, [ebp - 0xe14]
push edx
mov eax, dword [ebp - 0xe24]
push eax
mov ecx, dword [ebp - 0xe2c]
push ecx
call fcn.00431900
add esp, 0xc
mov byte [ebp - 0xe15], al
lea edx, [ebp - 0xe14]
push edx
call fcn.00416fb0
add esp, 4
mov byte [ebp - 0xe15], al
movzx eax, byte [ebp - 0xe15]
test eax, eax
jne 0x418269
mov dword [ebp - 0xe1c], 2
jmp 0x418302
call fcn.00417a60
push 1
call fcn.00417690
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x41829c
push 0
call fcn.00417690
add esp, 4
movzx edx, al
test edx, edx
jne 0x41829c
mov dword [ebp - 0xe1c], 3
jmp 0x418302
push 1
call fcn.004178f0
add esp, 4
movzx eax, al
test eax, eax
jne 0x4182ca
push 0
call fcn.004178f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4182ca
mov dword [ebp - 0xe1c], 4
jmp 0x418302
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe30], esp
lea edx, [ebp + 8]
push edx
call fcn.0040b580
mov dword [ebp - 0xe34], eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00417f30
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b750
jmp 0x418334
cmp dword [ebp - 0xe1c], 1
je 0x418314
cmp dword [ebp - 0xe1c], 2
jne 0x418325
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b750
jmp 0x418334
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41f0e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fc88
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
push 0x5863d8
lea ecx, [ebp - 0x34]
call fcn.0040b610
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00457040
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x41f1a1
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.004098e0
lea ecx, [ebp - 0x1c]
call fcn.00407470
mov byte [ebp - 4], 1
push 0x58644c
lea ecx, [ebp - 0x5c]
call fcn.0040b610
mov byte [ebp - 4], 2
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00422ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040b750
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.00422e00
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00456c80
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00423010
jmp 0x41f1a8
mov byte [0x5b9460], 1
call fcn.00416790
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x421260
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550118
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5ac774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x421365
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp + 8]
call fcn.00407730
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4212ee
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x1c], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b750
mov eax, dword [ebp - 0x1c]
jmp 0x421395
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 8]
call fcn.00407730
shl eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.0040b840
push eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.0050ef60
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00407730
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x10]
push ecx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b750
mov eax, dword [ebp - 0x20]
jmp 0x421395
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b750
mov eax, dword [ebp - 0x24]
jmp 0x421395
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42d2e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5509cb
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.004bfb30
add esp, 4
push 0x84
lea ecx, [ebp - 0x94]
call fcn.004098e0
lea eax, [ebp - 0x94]
push eax
call fcn.004bae1b
add esp, 4
mov dword [ebp - 4], 0
call fcn.004bafee
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
sub ecx, 1
mov dword [ebp - 0x9c], ecx
cmp dword [ebp - 0x9c], 3
ja case.default.0x42d368
mov edx, dword [ebp - 0x9c]
jmp dword [edx*4 + 0x42d514]
push 0x5877f4
lea ecx, [ebp - 0x94]
call fcn.004c149b
lea ecx, [ebp - 0x94]
call fcn.004c1465
push eax
call fcn.004bfae7
add esp, 4
jmp case.default.0x42d368
push 0x5877e4
lea ecx, [ebp - 0x94]
call fcn.004c149b
lea ecx, [ebp - 0x94]
call fcn.004c1465
push eax
call fcn.004bfae7
add esp, 4
push 0x587814
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
push str.IDR_RES
call fcn.00406760
call fcn.0042f6f0
mov ecx, eax
call fcn.004d4607
jmp case.default.0x42d368
push 0x587828
lea ecx, [ebp - 0x94]
call fcn.004c149b
lea ecx, [ebp - 0x94]
call fcn.004c1465
push eax
call fcn.004bfae7
add esp, 4
push str.skin
push 1
push str.pdfeditor_skin.zip
call fcn.004bfbcb
add esp, 0xc
jmp case.default.0x42d368
push str.layout_
lea ecx, [ebp - 0x94]
call fcn.004c149b
lea ecx, [ebp - 0x94]
call fcn.004c1465
push eax
call fcn.004bfae7
add esp, 4
push str.ZIPRES
push str.IDR_ZIPRES
call fcn.004bafd9
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je case.default.0x42d368
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x98]
push eax
call fcn.004bafd9
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x42d4db
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.004bafd9
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jbe 0x42d4db
push str.xfpdfeditor
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.004bfb3d
add esp, 0xc
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004c1371
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret

Function at 0x42d530
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push str.SINGLE_SketchUp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42d564
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42d564
mov al, 1
jmp 0x42d566
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x431310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550e48
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
lea ecx, [ebp - 0x14]
call fcn.004098e0
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406820
cmp eax, 0xffffffff
jne 0x431396
mov byte [ebp - 0x1b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004310e0
mov al, byte [ebp - 0x1b]
jmp 0x431419
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406820
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x20], eax
xor ecx, ecx
jne 0x4313b6
cmp dword [ebp - 0x20], 0
je 0x4313ce
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x18]
je 0x4313ce
mov byte [ebp - 0x19], 1
jmp 0x4313d2
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
push eax
call fcn.004081b0
add esp, 4
xor ecx, ecx
jne 0x4313b6
cmp dword [ebp - 0x20], 0
je 0x4313fa
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x18]
jne 0x4313fa
mov dword [ebp - 0x24], 1
jmp 0x431401
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x1a], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004310e0
mov al, byte [ebp - 0x1a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret

Function at 0x431580
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43159f
mov al, 1
jmp 0x4315bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4315b5
mov dword [ebp - 4], 1
jmp 0x4315bc
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x431ca0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x431cd1
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
cmp eax, 0x2d
jne 0x431ce5
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x431ce5
call fcn.005106cc
mov ecx, 0x20
shl ecx, 0
add eax, ecx
mov dword [ebp - 4], eax
jmp 0x431d30
push 0x58a664
mov edx, dword [ebp + 8]
push edx
call fcn.00513900
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x431d30
mov eax, dword [ebp + 8]
push eax
push 0x58ad2c
call fcn.005106cc
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00513e8b
add esp, 0xc
push 0
call fcn.00513915
add esp, 4
push 1
call fcn.00513d43
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x433a60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004339a0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x433abb
call fcn.005145a9
cmp dword [eax], 0x22
jne 0x433aa7
push 0x58b44c
call fcn.005106cc
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00513e8b
add esp, 8
jmp 0x433ab4
push 0x58b42c
call fcn.00513915
add esp, 4
push 1
call fcn.00513d43
cmp dword [0x5b9508], 0
je 0x433aff
cmp dword [ebp + 0x10], 0
je 0x433ad2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
jmp 0x433ad9
mov dword [ebp - 8], str._stdout_
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 8]
push eax
push 0x58b484
call fcn.005106cc
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00513e8b
add esp, 0x10
mov edx, dword [0x5b950c]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0xc
ja case.default.0x433b15
mov eax, dword [ebp - 0xc]
jmp dword [eax*4 + 0x433c44]
mov ecx, dword [0x5b950c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00431d80
add esp, 0xc
jmp 0x433c32
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00432570
add esp, 8
jmp 0x433c32
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00432890
add esp, 8
jmp 0x433c32
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00432cf0
add esp, 8
jmp 0x433c32
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00433170
add esp, 8
jmp 0x433c32
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00433790
add esp, 0xc
jmp 0x433c32
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00433790
add esp, 0xc
jmp 0x433c32
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004334b0
add esp, 0x10
jmp 0x433c32
push 0
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004334b0
add esp, 0x10
jmp 0x433c32
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004334b0
add esp, 0x10
jmp 0x433c32
push 1
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004334b0
add esp, 0x10
jmp 0x433c32
push 0x58b4b0
call fcn.005106cc
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00513e8b
add esp, 8
push 1
call fcn.00513d43
mov edx, dword [ebp - 4]
push edx
call fcn.0046d6f1
add esp, 4
mov esp, ebp
pop ebp
ret