joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f1c2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1fac]
mov eax, 0x202c
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1fa8], eax
push ebx
mov ebx, dword [ebp + 0x1fb4]
push esi
push edi
xor eax, eax
mov esi, 0xffe
push esi
mov word [ebp + 0xfa0], ax
xor edi, edi
lea eax, [ebp + 0xfa2]
push edi
push eax
call fcn.1003c260
xor eax, eax
push esi
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x5e]
push edi
push eax
call fcn.1003c260
add esp, 0x18
lea eax, [ebp + 0xfa0]
push eax
push 0x800
call dword [sym.imp.kernel32.dll_GetTempPathW]
push 3
lea eax, [ebp + 0xfa0]
push eax
lea eax, [ebp + 0x1fa0]
push 4
push eax
call fcn.100374fc
lea eax, [ebp + 0x1fa0]
push eax
call fcn.100374fc
add esp, 0x14
cmp eax, 0x64
jae 0x1000f28f
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x80], vtable.ATL::CSimpleDialog_110__1_.0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x80]
call fcn.1000e968
cmp dword [ebp - 0x6c], edi
je 0x1000f288
push dword [ebp - 0x6c]
call fcn.100374fc
mov eax, 0x80004005
jmp 0x1000f2eb
lea eax, [ebp - 0x60]
push eax
push edi
push 0x10073f80
lea eax, [ebp + 0xfa0]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
test eax, eax
je 0x1000f303
lea eax, [ebp - 0x60]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f2b0
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x68], cx
lea eax, [ebp - 0x60]
push eax
push str._s.exe
push 0x1000
push ebx
call fcn.1000b9fb
push edi
push ebx
call fcn.100374fc
add esp, 0x18
cmp eax, 0xffffffff
jne 0x1000f28f
xor eax, eax
mov ecx, dword [ebp + 0x1fa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0x1fac
leave
ret
call fcn.100374fc
jmp 0x1000f288
Function at 0x1000fba7
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x1006e63a
call fcn.1003c114
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x1000fc9e
cmp byte [esi + 0x4a], bl
je 0x1000fc9e
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x1000fbe3
xor al, al
jmp 0x1000fca0
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.1000eb10
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1000fc41
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x1000fc46
dec eax
je 0x1000fc4a
dec eax
dec eax
je 0x1000fc9a
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000cd9b
mov al, bl
jmp 0x1000fca0
mov edx, dword [ebp - 0x2c]
jmp 0x1000fc0c
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1000fc56
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x1000fc7c
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1000fc69
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.1003e7a9
add esp, 0x10
cmp edi, eax
jne 0x1000fc2f
cmp byte [esi + 0x4a], 0
je 0x1000fc9a
test edi, edi
jne 0x1000fbfe
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.1000e99b
jmp 0x1000fbfe
mov bl, 1
jmp 0x1000fc31
mov al, 1
call fcn.1003c197
ret
Function at 0x100100c8
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x42c]
sub esp, 0x4ac
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x428], eax
mov eax, dword [ebp + 0x434]
push ebx
mov ebx, dword [ebp + 0x438]
push esi
push edi
mov dword [ebp + 0x14], eax
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x18], ax
xor esi, esi
lea eax, [ebp + 0x1a]
push esi
push eax
call fcn.1003c260
xor eax, eax
push edi
mov word [ebp + 0x220], ax
lea eax, [ebp + 0x222]
push esi
push eax
call fcn.1003c260
push 0x44
pop edi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.1003c260
push dword [ebp + 0x14]
mov dword [ebp - 0x80], edi
mov edi, 0x208
lea eax, [ebp + 0x18]
push edi
push eax
call fcn.1000b9fb
push ebx
push dword [ebp + 0x14]
lea eax, [ebp + 0x220]
push str._s__s
push edi
push eax
call fcn.1000b9fb
add esp, 0x44
lea eax, [ebp]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x220]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.100374fc
add esp, 0x28
cmp eax, esi
jne 0x100101f0
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
mov ebx, 0x2e4
cmp edi, ebx
jne 0x10010246
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.1003c260
lea eax, [ebp + 0x220]
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x10073f7c
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, esi
je 0x1001020e
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x1001020e
mov dword [ebp], eax
push dword [ebp]
call fcn.10001994
lea eax, [ebp + 0x10]
push eax
push dword [ebp]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
je 0x10010233
mov edi, dword [ebp + 0x10]
jmp 0x1001023b
mov edi, ebx
push dword [ebp + 0x14]
call fcn.100374fc
pop ecx
mov ecx, dword [ebp + 0x428]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0x42c
leave
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
push dword [ebp]
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10010210
call fcn.100374fc
jmp 0x10010210
Function at 0x100102a5
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x1006e6ff
call fcn.1003c114
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x100102c7
xor eax, eax
jmp 0x1001043a
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0x100102f5
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x100102f5
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x1001043a
cmp dword [esi + 0x54], ebx
je 0x10010435
mov ecx, esi
call fcn.1000c2e2
cmp dword [esi + 0x44], ebx
jne 0x10010325
push dword [esi + 0x54]
push edi
call fcn.1000deb6
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0x1001043a
jmp 0x10010435
movzx eax, di
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.1000eb10
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x100103e2
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push eax
push edx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x14]
xor ebx, ebx
inc ebx
test eax, eax
js 0x1001042a
cmp eax, ebx
jg 0x100103ea
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10010394
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x100103b9
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x100103a7
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push ebx
push eax
call fcn.1003e7a9
add esp, 0x10
cmp edi, eax
jne 0x1001042a
lea eax, [ebp - 0x30]
mov byte [esi + 0x4a], bl
cmp dword [ebp - 0x38], eax
jne 0x10010419
test edi, edi
jne 0x10010346
cmp dword [ebp - 0x1c], 0x20
push edi
lea ecx, [ebp - 0x2c]
jae 0x1001042f
push 8
call fcn.1000e99b
jmp 0x10010346
mov edx, dword [ebp - 0x2c]
jmp 0x10010358
cmp eax, 3
jne 0x1001042a
push dword [esi + 0x54]
push dword [ebp - 0x30]
call fcn.1000deb6
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0x10010409
mov esi, 0xffff
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1000cd9b
mov ax, si
jmp 0x1001043a
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1000cd9b
mov ax, word [ebp + 8]
jmp 0x1001043a
push 0
lea ecx, [ebp - 0x2c]
push ebx
call fcn.1000cd9b
mov eax, 0xffff
call fcn.1003c197
ret 4
Function at 0x10015ab8
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x10016196
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.100374fc
mov ebx, eax
cmp ebx, esi
je 0x10016209
lea ecx, [ebp - 0x74]
call fcn.100159e6
mov eax, ebx
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0x1a0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10016221
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.10016196
cmp eax, esi
jne 0x10016253
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], pe_nt_image_headers32
call ebx
test eax, eax
je 0x10016211
lea ecx, [ebp - 0x74]
call fcn.100159e6
push dword [ebp - 0x78]
mov ecx, edi
call fcn.10015968
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.100159e6
mov eax, esi
jmp 0x100161ef
Function at 0x1001834c
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
shr eax, 4
and eax, 1
ret
Function at 0x1001b3e3
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa8
push ebx
or eax, 0xffffffff
xor ebx, ebx
mov dword [ebp + 0x6c], eax
cmp dword [ebp + 0x78], ebx
je 0x1001b53b
call fcn.100329aa
push 0x10
mov dword [ebp + 0x68], eax
pop ecx
lea eax, [ebp + 0x54]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1001b40e
push edi
mov dword [ebp + 0x64], ebx
call fcn.10030b79
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x1001b4b1
push 0x100773b0
call fcn.100374fc
mov dword [esp], str.AdvAPI32.dll
call fcn.100374fc
pop ecx
mov dword [ebp + 0x64], eax
cmp eax, ebx
jne 0x1001b453
push str.RunAsDesktopUser___CreateProcessWithTokenW_could_not_load_advapi32.dll
jmp 0x1001b4ff
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp + 0x50], eax
cmp eax, ebx
jne 0x1001b470
push str.RunAsDesktopUser___CreateProcessWithTokenW_could_not_GetProcAddress
jmp 0x1001b4ff
push str.RunAsDesktopUser___calling__CreateProcessWithTokenW
call fcn.100374fc
pop ecx
push 0x44
pop ecx
lea eax, [ebp - 0x38]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1001b481
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x7c]
mov dword [ebp - 0x38], 0x44
push dword [ebp + 0x78]
push ebx
push dword [ebp + 0x68]
call dword [ebp + 0x50]
test eax, eax
jne 0x1001b507
push str.RunAsDesktopUser:_CreateProcessWithTokenW_failed.
jmp 0x1001b4ff
push 0x10077618
call fcn.100374fc
push 0x44
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.1003c260
add esp, 0x10
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 0x30
push ebx
push ebx
push ebx
push dword [ebp + 0x7c]
mov dword [ebp + 0xc], 0x44
push dword [ebp + 0x78]
mov dword [ebp + 0x14], str.winsta0default
push dword [ebp + 0x68]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1001b507
push str.RunAsDesktopUser:_CreateProcessAsUser_failed.
call fcn.100374fc
pop ecx
jmp 0x1001b529
cmp dword [ebp + 0x54], ebx
je 0x1001b529
push 0xffffffffffffffff
push dword [ebp + 0x54]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp + 0x6c]
push eax
push dword [ebp + 0x54]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [ebp + 0x54]
call edi
push dword [ebp + 0x64]
call dword [sym.imp.kernel32.dll_FreeLibrary]
push dword [ebp + 0x68]
call edi
mov eax, dword [ebp + 0x6c]
pop edi
pop ebx
add ebp, 0x70
leave
ret
Function at 0x1001b64e
Capabilities:
Enumerate process modules
Get process image filename
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x108c]
mov eax, 0x110c
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1088], eax
lea eax, [ebp - 0x80]
push eax
push 0x1000
lea eax, [ebp - 0x7c]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x1001b6e4
shr dword [ebp - 0x80], 2
push esi
xor esi, esi
cmp dword [ebp - 0x80], esi
jbe 0x1001b6e3
push edi
push dword [ebp + esi*4 - 0x7c]
push 0
push 0x1f0fff
call dword [sym.imp.kernel32.dll_OpenProcess]
mov edi, eax
push 0x104
lea eax, [ebp + 0xf84]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
lea eax, [ebp + 0xf84]
push 0x1007a7fc
push eax
call fcn.10040ab0
pop ecx
pop ecx
test eax, eax
je 0x1001b6d5
push 0
push edi
call dword [sym.imp.kernel32.dll_TerminateProcess]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 0x80]
jb 0x1001b690
pop edi
pop esi
mov ecx, dword [ebp + 0x1088]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x108c
leave
ret

Function at 0x1001b9f7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x790], eax
push ebx
push esi
mov esi, dword [ebp + 0x79c]
push edi
mov edi, dword [ebp + 0x7a0]
xor ebx, ebx
xor eax, eax
push 0x7fe
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call fcn.1003c260
mov eax, dword [esi]
add esp, 0xc
push 0x2001f
push edi
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x74], ebx
call fcn.100374fc
cmp eax, ebx
jne 0x1001ba87
push 0x400
lea eax, [ebp - 0x70]
push eax
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1001ba93
lea ecx, [ebp - 0x80]
call fcn.100159e6
push edi
mov ecx, esi
call fcn.10015968
test eax, eax
jmp 0x1001ba8a
cmp eax, 2
jne 0x1001ba93
mov dword [ebp - 0x74], 1
lea ecx, [ebp - 0x80]
call fcn.100159e6
mov ecx, dword [ebp + 0x790]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0x794
leave
ret
Function at 0x1001c93d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003c230
push 0xffffffffffffffff
push 0x1006f509
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push 0x10075f68
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001c9f9
push 0x10075fa0
lea ecx, [ebp - 0x10]
call fcn.1000b23a
and dword [ebp - 4], 0
push 0x10075fd8
lea ecx, [ebp - 0x14]
call fcn.100010b1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1001c9d1
call fcn.10001238
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1001c9dc
mov eax, dword [esi]
jmp 0x1001c9de
xor eax, eax
push eax
call fcn.100374fc
pop ecx
test esi, esi
je 0x1001caf4
mov ecx, esi
call fcn.10001238
jmp 0x1001caf4
xor eax, eax
push 0xffe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x18], 0x800
call fcn.1003c260
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x10075fbc
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001cae9
push str._WebJava_value:
lea ecx, [ebp - 0x14]
call fcn.1000b23a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.100010b1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1001ca78
call fcn.10001238
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1001ca83
mov eax, dword [esi]
jmp 0x1001ca85
xor eax, eax
push eax
call fcn.100374fc
pop ecx
lea eax, [ebp]
mov ecx, 0x10076044
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1001caba
test dx, dx
je 0x1001cab6
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1001caba
add ecx, 4
add eax, 4
test dx, dx
jne 0x1001ca94
xor eax, eax
jmp 0x1001cabf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001cade
push str._System_WebJava_DISABLED
call fcn.100374fc
pop ecx
test esi, esi
je 0x1001cad9
mov ecx, esi
call fcn.10001238
xor eax, eax
inc eax
jmp 0x1001caf6
test esi, esi
je 0x1001cae9
mov ecx, esi
call fcn.10001238
push str._System_WebJava_ENABLED
call fcn.100374fc
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x1004
leave
ret
Function at 0x1001cb17
Capabilities:
Get file version info

Disassembly:
push 0x24
mov eax, 0x1006f571
call fcn.1003c0ab
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x1001cc76
call dword [sym.imp.kernel32.dll_GetLastError]
push str.GetFileVersion_for__
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.1000b23a
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.100010b1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001cb7d
call fcn.10001238
push str.__FAILED
lea ecx, [ebp - 0x14]
call fcn.1000b23a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001cba9
call fcn.10001238
lea ecx, [ebp - 0x14]
cmp esi, 2
jne 0x1001cbc1
push str.__file_does_not_exist_
call fcn.1000b23a
mov byte [ebp - 4], 3
jmp 0x1001cc3b
push 0x10076688
call fcn.1000b23a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1001cbe7
call fcn.10001238
push 0x13
pop eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1001c56f
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1001cc1d
call fcn.10001238
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x10076698
lea ecx, [ebp - 0x14]
call fcn.1000b23a
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1001cc53
call fcn.10001238
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x1001cc5e
mov eax, dword [esi]
jmp 0x1001cc60
xor eax, eax
push eax
call fcn.100374fc
pop ecx
cmp esi, ebx
je 0x1001cc72
mov ecx, esi
call fcn.10001238
xor eax, eax
jmp 0x1001ccbe
push esi
call fcn.100374fc
pop ecx
mov edi, eax
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x1001ccbb
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1007669c
push edi
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x18]
movzx edx, word [eax + 0xa]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
movzx edx, word [eax + 8]
mov dword [ecx + 4], edx
movzx eax, word [eax + 0xe]
mov dword [ecx + 8], eax
xor eax, eax
inc eax
call fcn.1003c183
ret
Function at 0x1001f2f9
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x38
mov eax, 0x1006fca0
call fcn.1003c0ab
mov eax, dword [ebp + 0x25c]
xor ebx, ebx
or dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], str.NPOJI.dll
mov dword [ebp - 0x40], str.NPJava.dll
mov dword [ebp - 0x3c], str.NPJPI.dll
mov dword [ebp - 0x38], str.npjp2.dll
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x44]
cmp dword [ebp - 0x1c], ebx
jne 0x1001f4c4
push dword [ebp - 0x30]
lea ecx, [ebp - 0x10]
call fcn.100010b1
push 0x1007e4d4
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.100010b1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000132e
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001f397
call fcn.10001238
mov dword [ebp - 0x24], ebx
push dword [edi]
lea ecx, [ebp - 0x28]
call fcn.100010b1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000132e
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001f3c3
call fcn.10001238
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1001f3ce
mov eax, dword [eax]
jmp 0x1001f3d0
xor eax, eax
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x1001f4a6
push dword [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.100010b1
push 0x1007e4d8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.100010b1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.1000132e
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x1001f426
call fcn.10001238
mov dword [ebp - 0x20], ebx
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x18]
call fcn.100010b1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x1001f451
call fcn.10001238
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x1001f45c
mov eax, dword [esi]
jmp 0x1001f45e
xor eax, eax
push eax
call fcn.10030dcf
pop ecx
test eax, eax
je 0x1001f491
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x1001f47a
mov ecx, esi
call fcn.10001238
mov dword [ebp - 0x14], ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x1001f3e7
jmp 0x1001f4a6
mov dword [ebp - 0x1c], 1
cmp esi, ebx
je 0x1001f4a6
mov ecx, esi
call fcn.10001238
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add edi, 4
cmp ecx, ebx
je 0x1001f4bc
call fcn.10001238
mov dword [ebp - 0x10], ebx
cmp dword [edi], ebx
jne 0x1001f351
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x254
leave
ret