joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422442
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00416474
xor ebx, ebx
cmp dword [0x42e75c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x422517
push 0x4288e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x422482
xor eax, eax
jmp 0x4225db
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4288dc
push edi
call esi
cmp eax, ebx
je 0x42247b
push eax
call fcn.00416411
mov dword [esp], 0x4288cc
push edi
mov dword [0x42e75c], eax
call esi
push eax
call fcn.00416411
mov dword [esp], 0x4288b8
push edi
mov dword [0x42e760], eax
call esi
push eax
call fcn.00416411
mov dword [0x42e764], eax
lea eax, [ebp - 8]
push eax
call fcn.0041cc2b
test eax, eax
pop ecx
pop ecx
je 0x4224e5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00413ddf
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x422517
push 0x42889c
push edi
call esi
push eax
call fcn.00416411
cmp eax, ebx
pop ecx
mov dword [0x42e76c], eax
je 0x422517
push 0x428884
push edi
call esi
push eax
call fcn.00416411
pop ecx
mov dword [0x42e768], eax
mov eax, dword [0x42e768]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x422590
cmp dword [0x42e76c], esi
je 0x422590
push eax
call fcn.0041647d
pop ecx
call eax
cmp eax, ebx
je 0x42255d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x42e76c]
call fcn.0041647d
pop ecx
call eax
test eax, eax
je 0x42255d
test byte [ebp - 0x18], 1
jne 0x422590
lea eax, [ebp - 0xc]
push eax
call fcn.0041cc62
test eax, eax
pop ecx
je 0x422578
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00413ddf
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x422587
or dword [ebp + 0x10], 0x200000
jmp 0x4225c1
or dword [ebp + 0x10], 0x40000
jmp 0x4225c1
mov eax, dword [0x42e760]
cmp eax, esi
je 0x4225c1
push eax
call fcn.0041647d
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4225c1
mov eax, dword [0x42e764]
cmp eax, esi
je 0x4225c1
push dword [ebp - 4]
push eax
call fcn.0041647d
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x42e75c]
call fcn.0041647d
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x59096db2
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xf8c201d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x47983e
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x479852
xor eax, eax
jmp 0x479920
cmp dword [ebp + 8], edi
jne 0x479863
push dword [ebp + 0xc]
call dword [0x1000403c]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], edi
push esi
mov esi, dword [ebp + 0x10]
jle 0x47991c
push ebx
push 1
pop edi
mov eax, dword [ebp + 0xc]
and byte [ebp - 1], 0
and byte [ebp - 2], 0
cmp edi, dword [ebp + 8]
mov bl, byte [eax + edi - 1]
jge 0x47988e
mov al, byte [edi + eax]
mov byte [ebp - 1], al
lea eax, [edi + 1]
cmp eax, dword [ebp + 8]
jge 0x4798a0
mov eax, dword [ebp + 0xc]
mov al, byte [edi + eax + 1]
mov byte [ebp - 2], al
mov al, byte [ebp - 2]
and al, 0x3f
mov byte [ebp - 8], al
mov al, bl
shr al, 2
push eax
call fcn.00479923
mov byte [esi], al
mov al, byte [ebp - 1]
and bl, 3
inc esi
shl bl, 4
shr al, 4
or bl, al
push ebx
call fcn.00479923
mov byte [esi], al
pop ecx
inc esi
cmp edi, dword [ebp + 8]
pop ecx
jge 0x4798ef
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
and al, 0xf
shl al, 2
shr cl, 6
or al, cl
push eax
call fcn.00479923
pop ecx
mov byte [esi], al
jmp 0x4798f2
mov byte [esi], 0x3d
lea eax, [edi + 1]
inc esi
cmp eax, dword [ebp + 8]
jge 0x479908
push dword [ebp - 8]
call fcn.00479923
pop ecx
mov byte [esi], al
jmp 0x47990b
mov byte [esi], 0x3d
add edi, 3
inc esi
lea eax, [edi - 1]
cmp eax, dword [ebp + 8]
jl 0x479874
pop ebx
mov eax, dword [ebp + 0x10]
pop esi
pop edi
leave
ret
Function at 0x403320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403339
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403374
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403370
lea ebx, [ebx]
cmp esi, eax
jae 0x403374
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403360
cmp esi, eax
jb 0x40337a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4044f0
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x432cf0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x44a9cc]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, 1
cmp dword [0x44aa90], ebx
ja 0x404629
mov eax, dword [0x44aae8]
mov edx, dword [eax + 0xc]
mov ecx, 0x44aae8
mov dword [ebp - 4], 0
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x80c]
lea eax, [ebp + 0x810]
push eax
push ecx
push 0x400
lea edx, [ebp]
push 0x400
push edx
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCR90.dll__vsnwprintf_s]
add esp, 0x14
test eax, eax
jle 0x404609
lea eax, [ebp]
push eax
push str.DENG
lea ecx, [ebp - 0x14]
push str.__s__s
push ecx
call fcn.004042f0
add esp, 0x10
push ebx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403de0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jne 0x4045d2
test ecx, ecx
jge 0x4045c7
push 0x80070057
call fcn.00401000
movzx eax, word [eax]
cmp ax, 0xa
jne 0x4045d2
xor bl, bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4045ff
push 0xa
lea ecx, [ebp - 0x14]
call fcn.00404290
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404629
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00431e5e
add ebp, 0x804
mov esp, ebp
pop ebp
ret
Function at 0x4059b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432f3e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44a9cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esi + 0x70], ebx
call fcn.0040c730
lea edi, [esi + 0x74]
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.00423530
mov dword [edi], vtable.CPMonThread.0
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
lea ecx, [esi + 0xc0]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [esp + 0x1c], 4
mov dword [ecx + 0x14], eax
call fcn.00401040
cmp eax, ebx
jge 0x405a46
push eax
call fcn.00401000
push 4
mov byte [esp + 0x20], 5
lea edi, [esi + 0xd8]
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x405a63
mov dword [eax], edi
jmp 0x405a65
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], 0xffffffff
mov dword [esi + 0x6c], 1
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40f0f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x433ab8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x44a9cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x44aae8]
mov edx, dword [eax + 0xc]
mov ecx, 0x44aae8
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
push eax
push str.SOFTWARESamsungKiesDeviceDB
lea ecx, [esp + 0x18]
push str._s_li
push ecx
mov dword [esp + 0x2c], 0
call fcn.004042f0
mov edi, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push 0x20006
push 0
push edi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40f1ba
mov edx, dword [esp + 0x2c]
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f180
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 [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x40f1f4
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x40f1de
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 0xc
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x40f223
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 0xc
Function at 0x413b00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434130
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x44a9cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x10]
push str.DoReloadDB___n
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], eax
mov dword [eax + 0x10], edx
mov dword [ebp - 4], 0
call ebx
cmp dword [esi], 6
je 0x413b94
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
push 0x442924
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], vtable._com_error.0
mov dword [ebp - 0x6c], 0x80004001
call sub.MSVCR90.dll__CxxThrowException
mov dword [ebp - 0x54], 0
push str.DoReloadDB_1__n
mov byte [ebp - 4], 1
call ebx
mov edi, dword [edi + 0x88]
test edi, edi
jne 0x413bba
push 0x80004003
call fcn.00431990
mov ecx, dword [esi]
push ecx
call fcn.0040cec0
add esp, 4
push eax
lea edx, [ebp - 0x50]
push edx
mov ecx, edi
call fcn.0040dc40
mov eax, dword [eax]
test eax, eax
je 0x413be6
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov esi, eax
push eax
mov dword [ebp - 0x54], esi
call edx
jmp 0x413be9
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x413bf8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push str.DoReloadDB_2__n
call ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.DevInf
call fcn.00401120
mov byte [ebp - 4], 2
test esi, esi
jne 0x413c21
push 0x80004003
call fcn.00431990
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040fd50
push str.DoReloadDB_3__n
mov byte [ebp - 4], 3
call ebx
push str.DevInf
lea ecx, [ebp - 0x50]
call fcn.00401120
mov edi, dword [ebp - 0x58]
lea ecx, [ebp - 0x5c]
push ecx
add edi, 0x90
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042bd00
lea ecx, [ebp - 0x50]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00402900
test esi, esi
jge 0x413c79
push esi
call fcn.00431990
mov ecx, edi
call fcn.0042c4d0
lea ecx, [ebp - 0x5c]
call fcn.00402900
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
mov byte [ebp - 4], 0
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431e5e
mov esp, ebp
pop ebp
ret 8
Function at 0x419b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x434a33
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44a9cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor eax, eax
xor ebx, ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov byte [esi + 0x48], bl
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.00423530
mov dword [esi], vtable.CDeviceThread.1.0
mov dword [edi], vtable.CDeviceThread.0
mov dword [esi + 0x50], ebx
lea ecx, [esi + 0x54]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [esp + 0x1c], 2
mov dword [ecx + 0x14], eax
call fcn.00401040
cmp eax, ebx
jge 0x419bad
push eax
call fcn.00401000
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
lea ecx, [esi + 0x90]
mov byte [esp + 0x1c], 6
call fcn.00419a70
lea eax, [esi + 0x138]
push eax
mov dword [esi + 0x128], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esi + 0x154], ebx
push 4
mov byte [esp + 0x20], 9
lea edi, [esi + 0x15c]
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x419c0e
mov dword [eax], edi
jmp 0x419c10
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x40bef0
push 0x40c0a0
push 0x19
push 0x38
lea eax, [esi + 0x17c]
push eax
mov byte [esp + 0x30], 0xa
call fcn.00431e74
push str.CDeviceThread::Construct
mov byte [esp + 0x20], 0xb
call fcn.004044f0
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 4
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x80], ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x150], eax
call edi
push ebx
push ebx
push ebx
mov dword [esi + 0x154], eax
mov byte [esi + 0x158], bl
mov dword [esi + 0x84], ebx
mov dword [esi + 0x6f4], 0xffffffff
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x14c], ebx
mov byte [esi + 0x148], bl
push ebx
mov byte [esi + 0x14a], 1
call edi
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x421dd0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x421dec
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x421d40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x421e14
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4226c0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
push edi
lea eax, [esp + 0x14]
push eax
xor esi, esi
lea ecx, [esp + 0xc]
push ecx
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareSamsungKies2.0
push SysReAllocStringLen
mov dword [0x44aa90], 0
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42273c
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x44aa90
lea ecx, [esp + 0x18]
push ecx
push 0
push str.LogLevel
mov edi, 4
push eax
mov esi, eax
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x422732
cmp dword [esp + 0x10], edi
je 0x42273c
mov dword [0x44aa90], 3
cmp byte [0x44aa44], 0
je 0x42274a
or edi, 0xffffffff
jmp 0x422783
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0xc]
push edx
push eax
mov ecx, 0x44aa50
call fcn.00422540
cmp al, 1
jne 0x42277d
mov eax, dword [esp + 0x28]
push eax
mov ecx, 0x44aa50
call fcn.004223f0
jmp 0x422781
mov eax, dword [esp + 0xc]
mov edi, eax
test esi, esi
je 0x42278e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret 0x10
Function at 0x423600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x446380
push 0x431d64
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x44a9cc]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
xor ebx, ebx
mov byte [ebp - 0x19], bl
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.00423400
test al, al
jne 0x42367e
lea edi, [esi + 8]
mov ecx, edi
call fcn.004038b0
push ebx
push ebx
push esi
push 0x4234b0
push ebx
push ebx
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [edi], eax
cmp eax, ebx
je 0x42367e
cmp eax, 0xffffffff
je 0x42367e
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.004236a2
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4260e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4356d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x44a9cc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [0x44aae8]
mov edx, dword [eax + 0xc]
mov ecx, 0x44aae8
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x30]
push 8
push 0
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x38], 1
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x426155
push eax
call fcn.00401000
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x426161
xor eax, eax
jmp 0x426175
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426166
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.004041e0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x4264a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x435760
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a9cc]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x1f40
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov edx, dword [0x44aae8]
mov eax, dword [edx + 0xc]
mov ecx, 0x44aae8
mov dword [esp + 0x64], ebx
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov byte [esp + 0x64], 1
mov dword [ebp], ebx
cmp eax, 1
jne 0x426553
cmp ecx, 3
jne 0x426558
mov eax, str.CALENDAR_GROUP
jmp 0x426575
cmp eax, 0xa
je 0x426566
cmp ecx, 0x1d
ja 0x426570
mov eax, dword [ecx*4 + 0x44a750]
jmp 0x426575
mov eax, str.SIM_PHONEBOOK2
cmp ecx, 1
je 0x426575
mov eax, 0x4379c4
mov ecx, dword [esp + 0x74]
push ecx
push eax
lea edx, [esp + 0x1c]
push str.select_suid_from__s_WHERE_ID___d
push edx
call fcn.004042f0
mov edi, dword [esp + 0x24]
add esp, 0x10
push 0x43f410
push edi
add esi, 8
push esi
lea ecx, [esp + 0x60]
call fcn.00406ce0
cmp eax, ebx
jl 0x426600
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x74]
push edx
push ebx
push 0x437a50
push ebx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, eax
cmp esi, ebx
jl 0x4265ec
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4265ec
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push 0x437aa0
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x4265f0
mov eax, esi
jmp 0x426600
push eax
lea ecx, [esp + 0x1c]
call fcn.00425550
cmp eax, ebx
jl 0x426600
xor eax, eax
mov esi, eax
cmp esi, ebx
jl 0x426650
lea ecx, [esp + 0x40]
call fcn.00425f00
mov esi, eax
cmp esi, ebx
jl 0x42663a
cmp esi, 0x40ec6
je 0x426642
lea ecx, [esp + 0x70]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.00424930
test al, al
je 0x426642
mov edx, dword [esp + 0x70]
mov dword [ebp], edx
jmp 0x426647
cmp esi, 0x40ec6
jne 0x426647
mov esi, 0x80070006
lea ecx, [esp + 0x18]
call fcn.00425e90
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x64], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426670
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], 0xffffffff
call fcn.004261a0
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10