joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11dc0ea0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov ecx, 0x1212b458
jmp 0x11df3150
push 0xffffffffffffffff
push 0x11fb7dfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.11ec43f0
mov ecx, dword [0x11fd6250]
xor edi, edi
lea eax, [esi + 0x4c]
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], eax
mov dword [eax + 0x14], ecx
mov edx, dword [0x11fd6250]
mov byte [esp + 0x18], 1
mov dword [eax + 0x18], edx
mov ecx, dword [0x11fd6250]
mov byte [esp + 0x18], 2
mov dword [eax + 0x1c], ecx
mov edx, dword [0x11fd6250]
mov byte [esp + 0x18], 3
mov dword [eax + 0x20], edx
mov ecx, dword [0x11fd6250]
mov byte [esp + 0x18], 4
mov dword [eax + 0x24], ecx
mov edx, dword [0x11fd6250]
mov byte [esp + 0x18], 5
mov dword [eax + 0x28], edx
mov ecx, dword [0x11fd6250]
mov byte [esp + 0x18], 6
mov dword [eax + 0x2c], ecx
mov edx, dword [0x11fd6250]
mov byte [esp + 0x18], 7
mov dword [eax + 0x30], edx
mov byte [esp + 0x18], 8
mov word [eax], di
mov word [eax + 2], di
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [esp + 0x18], 9
mov dword [esi], 0x11fd3398
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.11ec4670
mov dword [esi + 0x9c], eax
lea ecx, [esi + 0x24]
xor eax, eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x20], edi
mov dword [ecx], eax
xor edx, edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x38]
mov dword [esi + 0x34], edi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
or eax, 0xffffffff
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esp + 0x18], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x11dc0f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11fb50be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.11e8f8c0
mov edx, dword [0x11fd6250]
xor eax, eax
lea ecx, [esi + 0x38]
mov dword [esp + 0x14], eax
mov dword [ecx], edx
mov edx, dword [0x11fd6250]
lea edi, [esi + 0x3c]
mov byte [esp + 0x14], 1
mov dword [edi], edx
mov byte [esp + 0x14], 2
push 0x12119948
mov dword [esi], 0x11fd3030
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
call fcn.11e7f500
push 0x12119948
mov ecx, edi
call fcn.11e7f500
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, 0x1212b2a0
jmp 0x11dbea80
Function at 0x11dc1120
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x11fb515e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.11def790
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], edi
call fcn.11e8c060
mov byte [esp + 0x18], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x1e
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov byte [esp + 0x18], 2
mov dword [esi], 0x11fd3040
mov eax, dword [esi + 0x2c]
mov ecx, eax
cmp ecx, edi
je 0x11dbfa27
mov ecx, dword [ecx]
cmp ecx, edi
jne 0x11dbfa21
cmp eax, edi
je 0x11dbfa3c
mov ebx, dword [eax]
push eax
call fcn.11e679b1
add esp, 4
cmp ebx, edi
mov eax, ebx
jne 0x11dbfa2b
mov eax, dword [esi + 0x34]
mov dword [esi + 0x38], edi
cmp eax, edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
je 0x11dbfa5d
mov ebx, dword [eax]
push eax
call fcn.11e679b1
add esp, 4
cmp ebx, edi
mov eax, ebx
jne 0x11dbfa4c
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, 0x1212b158
jmp 0x11dbf9c0

Function at 0x11dc1580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11fa1281
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x10]
call fcn.11e84ba0
xor edi, edi
lea ecx, [esi + 0x20]
mov dword [esp + 0x14], edi
call fcn.11e84ba0
mov byte [esp + 0x14], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x14], 2
mov dword [esi], 0x11fcadb0
mov dword [esi + 0xc], edi
mov dword [esi + 0x48], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, 0x1212ade0
jmp 0x11cce5c0

Function at 0x11dc38e0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x1212c80c]
sub esp, 0x208
test eax, eax
jne 0x11dc392f
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
pop edi
je 0x11dc392f
lea ecx, [esp]
push 2
push ecx
push 0x1212c7ec
call fcn.11e674bf
add esp, 0xc
mov eax, 0x1212c7ec
add esp, 0x208
ret
Function at 0x11dc4050
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [0x12139004]
test eax, eax
je 0x11dc407d
mov ecx, 0x1212b5c0
call fcn.11d9bdd0
test eax, eax
jne 0x11dc4073
mov eax, dword [0x12139004]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x12139004], 0
push esi
mov esi, dword [0x1212c7e8]
mov ecx, 0x1212b5c0
call fcn.11d9bdd0
test eax, eax
je 0x11dc40a5
or eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x12139004], eax
mov eax, ecx
pop esi
ret
push 0
push esi
push 0x11dc40d0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
mov dword [0x12139004], eax
test eax, eax
setne cl
mov eax, ecx
pop esi
ret

Function at 0x11dc52e0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x458
push ebx
mov ebx, dword [esp + 0x460]
test ebx, ebx
push esi
je 0x11dc5415
push ebx
call fcn.11e67d05
mov esi, eax
add esp, 4
test esi, esi
je 0x11dc5415
cmp esi, 0x104
jae 0x11dc5415
push ebp
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x262]
mov word [esp + 0x260], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x264]
push ebx
push eax
mov ebp, 1
call fcn.11e674bf
lea eax, [esp + esi*2 + 0x26c]
add esp, 0xc
cmp word [eax - 2], 0x5c
je 0x11dc5362
mov word [eax], 0x5c
lea ecx, [esp + 0x260]
push 0x12023d48
push ecx
call fcn.11e67470
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 8
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x260]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x11dc5406
test byte [esp + 0x10], 0x10
je 0x11dc53fd
mov edi, dword [esp + 0x470]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test edi, edi
jne 0x11dc53ea
lea ecx, [esp + 0x3c]
push 0x1207c188
push ecx
call fcn.11e67d22
add esp, 8
test eax, eax
je 0x11dc53ea
lea edx, [esp + 0x3c]
push 0x12098764
push edx
call fcn.11e67d22
add esp, 8
test eax, eax
jne 0x11dc53fd
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
je 0x11dc53ff
test byte [esp + 0x10], 0x10
jne 0x11dc53ba
xor ebp, ebp
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x458
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x458
ret 8
Function at 0x11dc6050
Capabilities:
Create directory
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fb55fb
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
mov ebx, dword [esp + 0x434]
test ebx, ebx
jne 0x11dc607e
xor eax, eax
jmp 0x11dc6218
push ebx
call fcn.11dbbe80
add esp, 4
cmp eax, 0xffffffff
jne 0x11dc6093
xor eax, eax
jmp 0x11dc6218
push 1
push ebx
call fcn.11dc52e0
test eax, eax
je 0x11dc60a9
mov eax, 1
jmp 0x11dc6218
mov eax, dword [0x12133f80]
test eax, eax
je 0x11dc60c6
push str.BackupOcularSD_1__n
push str.IPG_8844
push 4
call fcn.11ca5810
add esp, 0xc
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], si
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.11dcad30
add esp, 0xc
test eax, eax
je 0x11dc6183
lea ecx, [esp + 0x1c]
push ecx
call fcn.11dbbe80
add esp, 4
cmp eax, 0xffffffff
jne 0x11dc611b
lea edx, [esp + 0x1c]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x11dc6183
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x226]
mov word [esp + 0x224], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x440]
lea ecx, [esp + 0x224]
push eax
push str.Bak__lu
push ecx
call fcn.11e682d7
lea edx, [esp + 0x230]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.11e67470
lea ecx, [esp + 0x30]
push ecx
call fcn.11dbbe80
add esp, 0x18
cmp eax, 0xffffffff
jne 0x11dc6183
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, eax
mov eax, dword [0x12133f80]
test eax, eax
je 0x11dc61a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.BackupOcularSD_2__bMove__lu__LastErr__lu__n
push str.IPG_8844
push 4
call fcn.11ca5810
add esp, 0x14
lea ecx, [esp + 0xc]
call fcn.11e84ba0
lea eax, [esp + 0xc]
push 1
push eax
mov ecx, 0x1212b5c0
mov dword [esp + 0x43c], 0
call fcn.11d8b180
test esi, esi
je 0x11dc61e3
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.11dc5c90
add esp, 8
mov eax, dword [0x12133f80]
test eax, eax
je 0x11dc6200
push str.BackupOcularSD_3__n
push str.IPG_8844
push 4
call fcn.11ca5810
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x434], 0xffffffff
call fcn.11e84bb0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x424]
pop ebx
mov dword fs:[0], ecx
add esp, 0x42c
ret 8
Function at 0x11dc68c0
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
sub esp, 0xa74
push ebp
push esi
mov esi, dword [esp + 0xa80]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x11dc6b38
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46a]
mov word [esp + 0x468], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x468]
push 0x104
push eax
push esi
call fcn.11dcad30
add esp, 0xc
test eax, eax
je 0x11dc6b38
lea ecx, [esp + 0x468]
push ecx
call fcn.11dbbe80
add esp, 4
cmp eax, 0xffffffff
je 0x11dc6b27
test al, 0x10
je 0x11dc6b27
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x262]
mov word [esp + 0x260], bp
rep stosd dword es:[edi], eax
lea edx, [esp + 0x260]
push 0x104
push edx
push esi
stosw word es:[edi], ax
call fcn.11dcadb0
add esp, 0xc
test eax, eax
je 0x11dc699d
lea eax, [esp + 0x260]
push eax
call fcn.11dbbe80
add esp, 4
cmp eax, 0xffffffff
jne 0x11dc699d
lea ecx, [esp + 0x260]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x11dc699d
mov ecx, 0x82
lea edi, [esp + 0x260]
rep stosd dword es:[edi], eax
push ebx
call fcn.11d73c60
mov dword [esp + 0x10], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x87e]
mov word [esp + 0x87c], bp
lea edx, [esp + 0x46c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x880]
push edx
push eax
call fcn.11e674bf
lea ecx, [esp + 0x888]
push 0x12023d48
push ecx
call fcn.11e67470
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x87c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x11dc6b15
test byte [esp + 0x14], 0x10
je 0x11dc6aed
lea ecx, [esp + 0x40]
push ecx
call fcn.11e67d05
add esp, 4
cmp eax, 4
jbe 0x11dc6aed
push 4
lea edx, [esp + 0x44]
push 0x120afe24
push edx
call fcn.11e68a1f
add esp, 0xc
test eax, eax
jne 0x11dc6aed
lea eax, [esp + 0x48]
push eax
call fcn.11e69ced
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp esi, eax
jbe 0x11dc6aed
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x676]
mov word [esp + 0x674], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x46c]
push 0x103
lea edx, [esp + 0x678]
push ecx
push edx
stosw word es:[edi], ax
call fcn.11e674bf
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x680]
push eax
push ecx
call fcn.11e67470
lea edx, [esp + 0x688]
push 0x12022ca0
push edx
call fcn.11e67470
add esp, 0x1c
lea eax, [esp + 0x264]
lea ecx, [esp + 0x674]
push eax
push 0
push ecx
call fcn.11dc65e0
cmp esi, ebp
jbe 0x11dc6aed
mov ebp, esi
lea edx, [esp + 0x14]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x11dc6a1f
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebp, ebp
jbe 0x11dc6b15
push ebp
call fcn.11d73d10
add esp, 4
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xa74
ret 4
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xa74
ret 4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xa74
ret 4
Function at 0x11dc6b50
Capabilities:
Enumerate files on windows
Get disk size

Disassembly:
sub esp, 0x874
push ebp
push esi
mov esi, dword [esp + 0x880]
xor ebp, ebp
cmp esi, ebp
push edi
jne 0x11dc6b74
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x874
ret 0xc
push esi
call fcn.11dc68c0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26a]
mov word [esp + 0x268], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x268]
push 0x104
push eax
push esi
call fcn.11dcad30
add esp, 0xc
test eax, eax
jne 0x11dc6bba
pop edi
pop esi
pop ebp
add esp, 0x874
ret 0xc
lea ecx, [esp + 0x268]
push ecx
call fcn.11dbbe80
add esp, 4
cmp eax, 0xffffffff
je 0x11dc6da9
test al, 0x10
je 0x11dc6da9
push ebp
lea edx, [esp + 0x14]
push ebp
lea eax, [esp + 0x270]
push edx
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x11dc6c18
cmp dword [esp + 0x14], ebp
jne 0x11dc6c18
cmp dword [esp + 0x10], 0x8000000
jae 0x11dc6c18
mov dword [esp + 0xc], 1
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x67a]
mov word [esp + 0x678], bp
rep stosd dword es:[edi], eax
push ebx
lea ecx, [esp + 0x26c]
push 0x104
lea edx, [esp + 0x680]
push ecx
push edx
stosw word es:[edi], ax
call fcn.11e674bf
lea eax, [esp + 0x688]
push str.Bak_
push eax
call fcn.11e67470
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x30], ebp
rep stosd dword es:[edi], eax
add esp, 0x14
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x67c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x11dc6d97
test byte [esp + 0x1c], 0x10
je 0x11dc6d7c
mov esi, dword [esp + 0x10]
mov eax, esi
cmp eax, ebp
jne 0x11dc6cef
lea eax, [esp + 0x48]
push eax
call fcn.11e67d05
add esp, 4
cmp eax, 4
jbe 0x11dc6cef
push 4
lea ecx, [esp + 0x4c]
push 0x120afe24
push ecx
call fcn.11e68a1f
add esp, 0xc
test eax, eax
jne 0x11dc6cef
lea edx, [esp + 0x50]
push edx
call fcn.11e69ced
add esp, 4
cmp eax, ebp
je 0x11dc6cef
cmp eax, dword [esp + 0x88c]
ja 0x11dc6cef
mov esi, 1
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x476]
mov word [esp + 0x474], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x26c]
push 0x104
lea ecx, [esp + 0x478]
push eax
push ecx
call fcn.11e674bf
lea edx, [esp + 0x54]
lea eax, [esp + 0x480]
push edx
push eax
call fcn.11e67470
lea ecx, [esp + 0x488]
push 0x12022ca0
push ecx
call fcn.11e67470
add esp, 0x1c
cmp esi, ebp
je 0x11dc6d6c
mov edx, dword [esp + 0x890]
lea eax, [esp + 0x474]
push edx
push 2
push 1
push eax
call fcn.11dcae30
add esp, 0x10
jmp 0x11dc6d7c
lea ecx, [esp + 0x474]
push ecx
call fcn.11dcb4b0
add esp, 4
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x11dc6c91
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x874
ret 0xc
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x874
ret 0xc
Function at 0x11dc6dc0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x210
push ebx
push esi
mov esi, dword [esp + 0x21c]
test esi, esi
je 0x11dc6ec4
mov eax, dword [0x12133f80]
mov ebx, dword [esp + 0x220]
test eax, eax
je 0x11dc6dfd
push ebx
push esi
push str.DeleteOcularSDRescue_lpDecryptDir__s__dwDate__lu_
push str.IPG_5125
push 4
call fcn.11ca5810
add esp, 0x14
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.11dcadb0
add esp, 0xc
test eax, eax
pop edi
je 0x11dc6ec4
lea ecx, [esp + 0x10]
push ecx
call fcn.11dbbe80
add esp, 4
cmp eax, 0xffffffff
je 0x11dc6eb4
test al, 0x10
je 0x11dc6eb4
xor esi, esi
lea edx, [esp + 8]
push esi
push esi
lea eax, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
mov eax, dword [esp + 8]
je 0x11dc6e7e
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x11dc6e7e
cmp eax, 0x8000000
jae 0x11dc6e7e
mov esi, 1
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11dc6ea3
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
push str.DeleteOcularSDRescue_szRescDir__s__bLowSpace__lu__freeSpace__lu_
push str.IPG_5125
push 4
call fcn.11ca5810
add esp, 0x18
push 0
push esi
lea edx, [esp + 0x18]
push ebx
push edx
call fcn.11dcb0c0
add esp, 0x10
pop esi
mov eax, 1
pop ebx
add esp, 0x210
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 8
Function at 0x11dca590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fb5778
push eax
mov dword fs:[0], esp
mov eax, dword [0x1212c7e8]
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x12047ae8
push 0x67
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x11dca737
mov ecx, dword [0x1212c7e8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x11dca737
mov edx, dword [0x1212c7e8]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, 2
jb 0x11dca737
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x11dca737
push esi
call fcn.11e67ea5
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x11dca737
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add ebp, 2
shr esi, 1
and ecx, 3
dec esi
push esi
push ebp
rep stosb byte es:[edi], al
push ebx
call fcn.11e674bf
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.11e84ba0
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], edi
call fcn.11e84c10
push edi
lea eax, [esp + 0x14]
push 0x12047adc
push eax
push ebx
call fcn.11d6f8c0
push ebx
call fcn.11e67fdf
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x48]
add esp, 0x14
cmp eax, edi
jle 0x11dca6d6
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
xor esi, esi
test eax, eax
jle 0x11dca6cb
mov ecx, dword [ebx]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + esi*4]
mov ecx, dword [edx + edi*4]
push eax
push ecx
call fcn.11e89110
add esp, 8
test eax, eax
jne 0x11dca6b7
mov eax, dword [ebx + 4]
inc esi
cmp esi, eax
jl 0x11dca693
jmp 0x11dca6cb
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
lea eax, [eax + edi*4 + 4]
push eax
push ecx
mov ecx, ebp
call fcn.11e851b0
mov eax, dword [esp + 0x14]
add edi, 2
cmp edi, eax
jl 0x11dca68a
mov eax, dword [ebp + 4]
xor esi, esi
test eax, eax
jle 0x11dca70c
mov eax, dword [0x12133f80]
test eax, eax
je 0x11dca704
mov ecx, dword [ebp]
mov edx, dword [ecx + esi*4]
push edx
push esi
push str.CSDGlobalShare::LoadScreenWindowTextEx___d___s_
push str.ScreenSketch
push 0xffffffffffffffff
call fcn.11ca5810
add esp, 0x14
mov eax, dword [ebp + 4]
inc esi
cmp esi, eax
jl 0x11dca6df
lea ecx, [esp + 0x10]
mov esi, 1
mov dword [esp + 0x28], 0xffffffff
call fcn.11e84bb0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x11dcab50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fb57d8
push eax
mov eax, dword [0x12133f80]
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
je 0x11dcabac
mov edx, dword [0x12139030]
mov eax, dword [0x12126854]
mov ecx, dword [0x12126434]
push edx
push 0x12139034
push 0x1212d4b8
push eax
push ecx
push 0xe4c
push str._CSDGlobalShare::GetDecryptDirectory__Line:_d_PID__d__Proc__s__UserStateDecrypt__s__g_DecryptPath__s__g_bInitDecryptDir__d_
push str.errlog
push 4
call fcn.11ca5810
add esp, 0x24
cmp dword [0x12139030], ebx
jne 0x11dcabb9
call fcn.11dca940
push 0x12139034
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x11dcad0f
cmp dword [0x12133f80], ebx
je 0x11dcabf3
push 0x12139034
push 0xe57
push str._CSDGlobalShare::GetDecryptDirectory__Line:_d__DecryptDirectory__s_
push str.errlog
push 4
call fcn.11ca5810
add esp, 0x14
mov ecx, 0x1212b318
call fcn.11deb9c0
mov esi, eax
cmp esi, ebx
je 0x11dcad0f
push 0x24
lea ecx, [esp + 0x14]
call fcn.11e18950
lea eax, [esp + 8]
push ebx
push eax
lea edx, [esp + 0x18]
sub esp, 8
mov dword [esp + 0x30], ebx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x1c], ebx
call fcn.11cc1250
mov ecx, 0x12130dc0
mov byte [esp + 0x30], bl
call fcn.11e1d020
cmp eax, ebx
je 0x11dcac7e
push 1
push eax
call fcn.11e1d310
add esp, 8
test eax, eax
jne 0x11dcac7e
cmp dword [0x12133f80], ebx
je 0x11dcac79
lea eax, [esi + 0x30]
push eax
push 0xe6f
push str._CSDGlobalShare::GetDecryptDirectory__Line:_d__Share_section_data_is_invalid____ErrDecryptDir__s_
push str.errlog
push 4
call fcn.11ca5810
add esp, 0x14
call fcn.11dca940
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
sub esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.11cc1250
mov ecx, 0x12130dc0
mov byte [esp + 0x2c], bl
call fcn.11e1d7f0
push 0x12139034
add esi, 0x30
call fcn.11e67d05
push eax
push esi
push 0x12139034
call fcn.11e68a1f
add esp, 0x10
test eax, eax
je 0x11dcacfe
cmp dword [0x12133f80], ebx
je 0x11dcaceb
push esi
push 0x12139034
push 0xe7a
push str._CSDGlobalShare::GetDecryptDirectory__Line:_d__CopyStr__s___s_
push str.errlog
push 4
call fcn.11ca5810
add esp, 0x18
push 0x103
push esi
push 0x12139034
call fcn.11e674bf
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.11e18940
mov ecx, dword [esp + 0x18]
pop esi
mov eax, 0x12139034
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret