joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d470
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x47b7c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a540c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [str.SOFTWARESamsungKiesDeviceDB]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x480c28
push edx
mov dword [esp + 0x28], 0
call fcn.00402e50
mov esi, dword [esp + 0x1c]
add esp, 0x10
push esi
push 0x80000001
call dword [0x47f020]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d505
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x40d520
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4763e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a540c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [str.SOFTWARESamsungKiesDeviceDB]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x480c28
push edx
mov dword [esp + 0x2c], 0
call fcn.00402e50
mov edi, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push edi
push 0x80000001
call dword [0x47f01c]
mov esi, eax
test esi, esi
jne 0x40d5ea
mov edx, dword [esp + 0x2c]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d5b0
mov ecx, dword [esp + 0x28]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [esp + 0x14]
push 1
push 0
push ecx
push edx
call dword [0x47f024]
mov esi, eax
test esi, esi
je 0x40d622
mov eax, dword [esp + 0xc]
push eax
call dword [0x47f008]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d60e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x47f008]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d651
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x40d670
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x478]
sub esp, 0x478
push 0xffffffffffffffff
push 0x4763b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4a4eb0]
xor eax, ebp
mov dword [ebp + 0x474], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x484]
mov edx, dword [0x4a540c]
mov edi, dword [ebp + 0x488]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4a540c
mov dword [ebp - 0x1c], edi
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x480]
mov edx, dword [str.SOFTWARESamsungKiesDeviceDB]
push ecx
push edx
lea eax, [ebp - 0x14]
push 0x480c28
push eax
mov dword [ebp - 4], 0
call fcn.00402e50
mov ebx, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebp - 0x18]
push ecx
push 0x20006
push 0
push ebx
push 0x80000001
call dword [0x47f01c]
mov esi, eax
test esi, esi
je 0x40d741
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d73a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x40d877
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d746
sub eax, edx
sar eax, 1
mov ecx, eax
and ecx, 0xf
mov dword [ebp - 0x24], eax
jne 0x40d768
mov dword [ebp - 0x10], 0x10
jmp 0x40d772
mov edx, 0x10
sub edx, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
lea esi, [ecx + eax]
push esi
call fcn.004665d8
push esi
mov edi, eax
call fcn.004665d8
mov edx, dword [ebp - 0x10]
push esi
push edx
push edi
mov ebx, eax
call fcn.004748cc
push esi
push 0
push ebx
call fcn.004748cc
mov eax, dword [ebp - 0x1c]
add esp, 0x20
test eax, eax
je 0x40d7d5
push eax
call dword [0x47f228]
inc eax
cmp eax, 0x3fffffff
jle 0x40d7b9
xor eax, eax
jmp 0x40d7d5
add eax, eax
mov dword [ebp - 0x10], eax
call fcn.004749a0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, esp
push 3
push ecx
push edx
push eax
call fcn.0040d150
mov ecx, dword [ebp - 0x24]
push ecx
push eax
push edi
call fcn.004748d2
add esp, 0xc
lea ecx, [ebp]
call fcn.00450700
push 0x10
push 0x10
push 0x480c4c
push str.0b1e96db05d64ea4
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00450720
push 0
push esi
push ebx
push edi
lea ecx, [ebp]
call fcn.00451990
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push esi
push ebx
push 3
push 0
push edx
push eax
call dword [0x47f024]
push edi
mov esi, eax
call fcn.004746d4
mov ecx, dword [ebp - 0x18]
add esp, 4
push ecx
call dword [0x47f008]
lea ecx, [ebp]
mov byte [ebp - 4], 0
call fcn.00450710
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test esi, esi
jne 0x40d72c
test ecx, ecx
jg 0x40d875
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x474]
xor ecx, ebp
call fcn.004747ca
add ebp, 0x478
mov esp, ebp
pop ebp
ret
Function at 0x40d8a0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4763e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a540c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [str.SOFTWARESamsungKiesDeviceDB]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x480c28
push edx
mov dword [esp + 0x2c], 0
call fcn.00402e50
mov esi, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push esi
push 0x80000001
call dword [0x47f01c]
mov edi, eax
test edi, edi
jne 0x40d944
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [0x47f028]
mov edi, eax
test edi, edi
je 0x40d97c
mov eax, dword [esp + 0xc]
push eax
call dword [0x47f008]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d968
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x47f008]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d9ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x40e200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4764f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x480cc4
lea ecx, [esp + 0xc]
call fcn.004062c0
mov ecx, dword [str.Session_ID]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
push esi
mov dword [esp + 0x20], 0
call fcn.0040dd70
mov edx, dword [esp + 0x14]
push edx
call dword [0x47f2d4]
inc eax
push eax
lea eax, [esp + 0x1c]
push 0x480cbc
push eax
call fcn.00402e50
mov ecx, dword [esp + 0x24]
mov edx, dword [str.Session_ID]
push ecx
push edx
push esi
call fcn.0040d520
mov esi, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x28
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e2a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x40e960
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [0x47f010]
test eax, eax
jne 0x40e9d6
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x40e9a5
cmp eax, 2
jne 0x40e9c1
mov eax, dword [esp + 0x14]
test esi, esi
je 0x40e9d0
test eax, eax
je 0x40e9cb
test al, 1
jne 0x40e9c1
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x40e9d0
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x40ea40
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4a4eb0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
mov ebp, dword [0x47f1d0]
push esi
push edi
mov bl, 0x43
lea ebx, [ebx]
mov eax, dword [str..X:]
mov ecx, dword [0x480dc4]
mov edx, dword [0x480dc8]
mov esi, dword [0x47f080]
mov dword [esp + 0x28], eax
mov ax, word [0x480dcc]
mov word [esp + 0x34], ax
movsx ax, bl
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x480db8]
mov dword [esp + 0x30], edx
mov edx, dword [0x480dbc]
mov dword [esp + 0x20], ecx
mov word [esp + 0x30], ax
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x28], edx
call esi
cmp eax, 2
je 0x40eac8
lea ecx, [esp + 0x20]
push ecx
call esi
cmp eax, 5
jne 0x40eb2a
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [esp + 0x40]
push edx
call dword [0x47f168]
mov esi, eax
cmp esi, 0xffffffff
je 0x40eb2a
push 0
lea eax, [esp + 0x14]
push eax
push 0xc
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0x2d1080
push esi
mov dword [esp + 0x30], 0
call ebp
push esi
mov edi, eax
call dword [0x47f234]
test edi, edi
je 0x40eb2a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp edx, dword [eax + 4]
jne 0x40eb2a
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax]
je 0x40eb4a
inc bl
cmp bl, 0x5a
jle 0x40ea60
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004747ca
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.004747ca
add esp, 0x2c
ret
Function at 0x425d10
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4a4eb0]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
push esi
mov esi, dword [esp + 0x84]
push eax
lea ecx, [esp + 8]
push esi
push ecx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
mov dword [esp + 0x20], 0xc3d2e1f0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x6c], 0
call fcn.00425c30
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00425ae0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x90]
xor al, al
add esp, 0x14
mov byte [esi + 0x14], al
pop esi
xor ecx, esp
call fcn.004747ca
add esp, 0x7c
ret

Function at 0x429940
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x47875b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4a4eb0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a540c
mov dword [esp + 0x10], 0xff
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWARESamsungNew_PC_StudioSetting
push 0x80000001
mov dword [esp + 0x234], 0
call dword [0x47f01c]
test eax, eax
jne 0x429a5a
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.EnableNOSIM
push eax
call dword [0x47f010]
test eax, eax
jne 0x429a5a
cmp dword [esp + 0x10], 1
jbe 0x429a5a
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push 0x47fdf8
push edx
call fcn.00402e50
mov esi, dword [esp + 0x18]
add esp, 0xc
mov ecx, str.473E8222_33F0_4039_92F6_815DC6A97379
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429a36
test dx, dx
je 0x429a32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429a36
add eax, 4
add ecx, 4
test dx, dx
jne 0x429a10
xor eax, eax
jmp 0x429a3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x429a5a
mov eax, dword [esp + 8]
push eax
call dword [0x47f008]
lea ecx, [esp + 0xc]
call fcn.0044e330
mov eax, 1
jmp 0x429a8e
mov ecx, dword [esp + 8]
push ecx
call dword [0x47f008]
lea eax, [esi - 0x10]
mov dword [esp + 0x220], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429a8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004747ca
add esp, 0x21c
ret
Function at 0x42acb0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x478900
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push str.CDeviceManager::UploadFileToPc
push str._s_source_object_ID:__s__target_path:__s.
mov byte [esp + 0x40], 3
call fcn.00403140
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
mov dword [esp + 0x2c], ebx
call fcn.00401530
mov ecx, dword [esp + 0x54]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004638f0
mov esi, eax
cmp esi, ebx
jge 0x42ad63
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 2
cmp eax, ebx
je 0x42adec
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x42adec
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push 0x1001
push edx
call dword [0x47f4c0]
mov esi, eax
cmp esi, ebx
jl 0x42add7
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042abc0
mov esi, eax
cmp esi, ebx
jl 0x42add7
cmp dword [esp + 0x10], ebx
je 0x42adbb
push ebx
lea ecx, [esp + 0x14]
push ecx
call dword [0x47f048]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
push str.CDeviceManager::UploadFileToPc
push str._s_Succeeded____object_ID:__s__target_path:__s.
call fcn.00403140
add esp, 0x10
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 2
cmp eax, ebx
je 0x42adec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp eax, ebx
je 0x42ae01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x30], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x30], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 0xc
Function at 0x433750
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x479328
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
xor ebx, ebx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], ebx
call fcn.004062c0
mov ecx, dword [esp + 0x28]
push 0x4807f8
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], ebx
call dword [0x47f3e0]
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
je 0x4337d2
mov esi, dword [0x47f3dc]
push 2
push ebx
push eax
call esi
add esp, 0xc
cmp eax, ebx
je 0x433801
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4337d2
push eax
call dword [0x47f3d8]
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4337fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x433901
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x47f3d4]
mov edx, dword [esp + 0x18]
push ebx
push ebx
push edx
mov edi, eax
call esi
lea eax, [edi + 2]
push eax
call fcn.004665d8
mov ecx, dword [esp + 0x28]
push ecx
push edi
mov esi, eax
push 1
push esi
call dword [0x47f3d0]
mov byte [eax + esi], 0
mov byte [eax + esi + 1], 0
mov al, byte [esi]
add esp, 0x24
cmp al, 0xff
jne 0x433855
cmp byte [esi + 1], 0xfe
jne 0x433855
lea edx, [esi + 2]
push edx
call dword [0x47f44c]
jmp 0x4338ba
cmp al, 0xef
jne 0x4338b4
cmp byte [esi + 1], 0xbb
jne 0x4338b4
cmp byte [esi + 2], 0xbf
jne 0x4338b4
push ebx
push ebx
push 0xffffffffffffffff
lea edi, [esi + 3]
push edi
push ebx
push 0xfde9
call dword [0x47f1f0]
lea ebp, [eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004665d8
add esp, 4
push ebp
mov ebx, eax
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [0x47f1f0]
push ebx
call dword [0x47f44c]
jmp 0x4338ba
push esi
call fcn.00465cd0
push esi
mov edi, eax
call fcn.00474758
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x4338d7
push eax
call dword [0x47f3d8]
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4338ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x4451b0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov edx, dword [esp + 4]
push ebp
push esi
xor eax, eax
xor ecx, ecx
xor esi, esi
mov ebp, edx
cmp byte [edx], al
je 0x44524c
push ebx
push edi
mov edi, dword [esp + 0x18]
lea esp, [esp]
movsx edx, byte [ebp]
mov edx, dword [edx*4 + 0x4a1238]
cmp edx, 0xffffffff
je 0x445243
cmp esi, 3
ja case.default.0x4451e5
jmp dword [esi*4 + 0x445250]
mov esi, 1
jmp case.default.0x4451e5
cmp eax, dword [esp + 0x1c]
jge 0x44520b
mov ebx, edx
sar ebx, 4
add cl, cl
and bl, 3
add cl, cl
or bl, cl
mov byte [eax + edi], bl
inc eax
mov esi, 2
jmp case.default.0x4451e5
cmp eax, dword [esp + 0x1c]
jge 0x445229
mov ebx, edx
sar ebx, 2
and bl, 0xf
shl cl, 4
or bl, cl
mov byte [eax + edi], bl
inc eax
mov esi, 3
jmp case.default.0x4451e5
cmp eax, dword [esp + 0x1c]
jge 0x44523f
shl cl, 6
or cl, dl
mov byte [eax + edi], cl
inc eax
xor esi, esi
mov ecx, edx
inc ebp
cmp byte [ebp], 0
jne 0x4451d0
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x44d680
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x44eaa0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47af90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a540c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
mov dword [esp + 0x20], 0
jge 0x44eb08
push edi
lea ecx, [esp + 0x18]
call fcn.00401eb0
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x44eb17
push 0x80070057
call fcn.00401120
push 1
push 0x2b
xor eax, eax
push esi
mov dword [esi - 0xc], edi
push eax
mov word [esi + 0x208], ax
call dword [0x47f4b4]
test eax, eax
je 0x44ec26
mov eax, dword [esi - 8]
push eax
push esi
call dword [0x47f3ac]
add esp, 8
test eax, eax
jl 0x44eb0d
cmp eax, dword [esi - 8]
jg 0x44eb0d
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x26
mov word [esi + eax*2], cx
push str.SamsungDeviceServiceDCAM_DSC_Codec_
lea ecx, [esp + 0x1c]
call fcn.00404490
mov edx, dword [0x4a540c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a540c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x14]
push str._sPxtrAACD.dll
push ecx
mov byte [esp + 0x2c], 1
call fcn.00402e50
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044e9f0
mov ebp, dword [0x47f1e0]
add esp, 0x10
test eax, eax
jne 0x44ebb5
push str.PxtrAACD.dll_reg_failed
call ebp
push esi
lea eax, [esp + 0x14]
push str._sPxtrMP4S.dll
push eax
call fcn.00402e50
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044e9f0
add esp, 0x10
test eax, eax
jne 0x44ebdd
push str.PxtrMP4S.dll_reg_failed
call ebp
push esi
lea edx, [esp + 0x14]
push str._sPxtrVDF.dll
push edx
call fcn.00402e50
mov edi, dword [esp + 0x1c]
push edi
call fcn.0044e9f0
add esp, 0x10
test eax, eax
jne 0x44ec05
push str.PxtrVDF.dll_reg_failed
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ec26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ec4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret