joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492a40
Capabilities:
Create directory

Disassembly:
sub esp, 0x74
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
push ebx
xor ebx, ebx
mov dword [esp + 0x14], eax
mov byte [esp + 7], bl
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], bl
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bl
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], 1
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], bl
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], bl
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], 5
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp eax, ebx
jne 0x492ac1
xor al, al
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004c8f08
add esp, 0x74
ret
push ebp
push esi
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
cmp ebp, ebx
je 0x492bca
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x492bca
mov esi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x9c]
push ecx
call esi
test eax, eax
je 0x492bca
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [esp + 0x94]
push eax
call esi
test eax, eax
je 0x492bca
push 0x40
lea ecx, [esp + 0x30]
push ebx
push ecx
call fcn.004d1df0
mov edx, dword [esp + 0x1c]
mov ecx, 0x1f01ff
add esp, 0xc
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x18]
push ecx
mov eax, 3
mov dword [esp + 0x4c], edx
push ebx
lea edx, [esp + 0x34]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
push edx
push 2
mov dword [esp + 0x40], 1
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 5
mov dword [esp + 0x60], 1
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], eax
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x492bca
mov eax, dword [esp + 0x18]
push ebx
push eax
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x492bca
mov dword [esp + 0x24], ebp
mov byte [esp + 0xf], 1
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp eax, ebx
je 0x492beb
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x492bf6
push eax
call esi
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, ebx
je 0x492c07
push eax
call esi
cmp ebp, ebx
je 0x492c0e
push ebp
call esi
mov ecx, dword [esp + 0x7c]
mov al, byte [esp + 0xf]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c8f08
add esp, 0x74
ret
Function at 0x492c30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ed119
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea edi, [esi + 4]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x14], esi
mov word [edi], ax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 1
cmp word [0x534748], bx
jne 0x492d2c
push ebx
push 0x1a
push 0x534748
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, 0x534748
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x492ca4
sub eax, edx
sar eax, 1
push eax
push 0x534748
call fcn.00401760
push 0x17
push str.DtlWallPaperWallPaper
mov eax, esi
call fcn.004088a0
mov ebx, 8
cmp dword [esi + 0x18], ebx
jb 0x492cda
mov eax, dword [edi]
jmp 0x492cdc
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x492d5c
cmp dword [esi + 0x18], ebx
jb 0x492d0c
mov eax, dword [edi]
push eax
call fcn.00492a40
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov eax, edi
push eax
call fcn.00492a40
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov eax, 0x534748
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x492d34
sub eax, edx
sar eax, 1
push eax
push 0x534748
call fcn.00401760
push 0x17
push str.DtlWallPaperWallPaper
mov eax, esi
call fcn.004088a0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x492d80
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4f53a5
mov eax, dword fs:[0]
push eax
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x148]
xor ebx, ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x140], 1
mov edx, dword [esp + 0x150]
mov edi, 8
cmp dword [esp + 0x164], edi
jae 0x492de5
lea edx, [esp + 0x150]
xor eax, eax
mov word [esp + 0x20], ax
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x492e00
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x24]
call fcn.00401760
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x492e28
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.004ce379
add esp, 8
cmp eax, 0xffffffff
setne byte [esp + 0x17]
cmp dword [esp + 0x34], edi
jb 0x492e4d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004c8f17
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x492e7c
push ebx
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push 0x4feab8
mov esi, ebp
mov word [ebp + 4], dx
call fcn.00401760
cmp dword [esp + 0x164], edi
jmp 0x492f2d
mov eax, dword [esp + 0x150]
cmp dword [esp + 0x164], edi
jae 0x492e93
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.004939d0
mov byte [esp + 0x140], 2
mov edi, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xa8], bl
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x40], 0x67452301
mov dword [esp + 0x44], 0xefcdab89
mov dword [esp + 0x48], 0x98badcfe
mov dword [esp + 0x4c], 0x10325476
call fcn.00466800
mov edi, ebp
lea eax, [esp + 0x40]
call fcn.00467240
lea ecx, [esp + 0x104]
mov dword [esp + 0x18], 1
mov byte [esp + 0x140], 1
call fcn.00493ab0
lea edx, [esp + 0x104]
push edx
mov dword [esp + method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::ios_base.0
call fcn.004c8d89
add esp, 4
cmp dword [esp + 0x164], 8
jb 0x492f3f
mov eax, dword [esp + 0x150]
push eax
call fcn.004c8f17
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
Function at 0x492f80
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4edff0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov ebp, vtable.CBaseFile.0
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], bl
mov byte [esp + 0x20], 1
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x492fd0
lea eax, [esp + 0x2c]
push 0x1a
push eax
lea ecx, [esp + 0x14]
call fcn.0045e490
test al, al
jne 0x49302d
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebp
cmp eax, ebx
je 0x492ffd
push eax
call fcn.004c9c66
add esp, 4
test eax, eax
jne 0x493001
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], bl
cmp dword [esp + 0x40], 8
jb 0x49310b
mov eax, dword [esp + 0x2c]
push eax
call fcn.004c8f17
add esp, 4
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x18
ret
cmp edi, 1
jge 0x49307b
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebp
cmp eax, ebx
je 0x49304f
push eax
call fcn.004c9c66
add esp, 4
test eax, eax
jne 0x493053
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], bl
cmp dword [esp + 0x40], 8
jb 0x493067
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004c8f17
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x18
ret
cmp esi, ebx
je 0x49309c
xor byte [esi], 0xac
mov eax, 1
cmp edi, eax
jle 0x49309c
jmp 0x493090
mov dl, byte [eax + esi - 1]
xor byte [eax + esi], dl
inc eax
cmp eax, edi
jl 0x493090
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.0045e700
cmp edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebp
jne 0x4930e9
cmp eax, ebx
je 0x4930c8
push eax
call fcn.004c9c66
add esp, 4
test eax, eax
jne 0x4930cc
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], bl
lea ecx, [esp + 0x28]
call fcn.004016f0
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x18
ret
cmp eax, ebx
je 0x4930fe
push eax
call fcn.004c9c66
add esp, 4
test eax, eax
jne 0x493102
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], bl
lea ecx, [esp + 0x28]
call fcn.004016f0
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x493120
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ed0cb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x32]
push ecx
mov dword [esp + 0x14], 0
mov word [esp + 0x34], ax
call fcn.004d1df0
add esp, 0xc
push 0x104
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
lea edx, [eax + 2]
jmp 0x4931b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4931b0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2c]
push ecx
lea esi, [esp + 0x14]
call fcn.00401760
mov edx, esi
push edx
mov ecx, 3
xor edx, edx
mov esi, edi
mov dword [esp + 0x240], 0
call fcn.00408160
cmp dword [esp + 0x24], 8
jb 0x4931fe
mov eax, dword [esp + 0x10]
push eax
call fcn.004c8f17
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004c8f08
add esp, 0x238
ret

Function at 0x4932a0
Capabilities:
Move file

Disassembly:
sub esp, 0x20
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov eax, 0x614
mov word [esp + 0x10], ax
lea eax, [esp]
push eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
add esp, 0x20
ret
Function at 0x493300
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0xe70
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0xe6c], eax
mov eax, dword [esp + 0xe74]
push ebx
mov ebx, dword [esp + 0xe80]
push ebp
push esi
mov esi, dword [esp + 0xe84]
xor ebp, ebp
lea edx, [esp + 0x274]
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebp
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x493340
lea edi, [esp + 0x278]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x493360
mov eax, dword [0x4fea60]
mov dword [edi], eax
xor eax, eax
jmp 0x493380
movzx ecx, word [esp + eax + 0x278]
mov word [esp + eax + 0x678], cx
add eax, 2
test cx, cx
jne 0x493380
lea eax, [esp + 0x678]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4933a2
mov ecx, dword [0x4fea64]
mov edx, dword [0x4fea68]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x67c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x24], eax
test byte [esp + 0x28], 0x10
je 0x4934f2
mov ecx, 0x509764
lea eax, [esp + 0x54]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x493416
test dx, dx
je 0x493412
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x493416
add eax, 4
add ecx, 4
test dx, dx
jne 0x4933f0
xor eax, eax
jmp 0x49341b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4934f8
mov ecx, 0x50ad0c
lea eax, [esp + 0x54]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x493456
test dx, dx
je 0x493452
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x493456
add eax, 4
add ecx, 4
test dx, dx
jne 0x493430
xor eax, eax
jmp 0x49345b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4934f8
xor eax, eax
jmp 0x493470
movzx ecx, word [esp + eax + 0x278]
mov word [esp + eax + 0xa78], cx
add eax, 2
test cx, cx
jne 0x493470
lea eax, [esp + 0x54]
mov esi, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x493490
lea edi, [esp + 0xa78]
sub eax, esi
add edi, 0xfffffffe
jmp 0x4934b0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4934b0
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
push edx
lea eax, [esp + 0xa80]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00493300
mov esi, dword [esp + 0x20]
add esp, 0xc
add ebp, eax
adc dword [esp + 0x1c], edx
test ebx, ebx
je 0x4934f8
inc dword [ebx]
jmp 0x4934f8
test esi, esi
je 0x4934f8
inc dword [esi]
add ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
adc dword [esp + 0x1c], 0
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4933d6
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xe7c]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.004c8f08
add esp, 0xe70
ret
Function at 0x4955a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [esi + 4]
sub esp, 0x10
test eax, eax
je 0x4955b5
mov eax, dword [eax + 4]
jmp 0x4955b7
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x495649
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea eax, [eax + eax*2 - 0x16]
push 0x64
lea ecx, [eax + 0x2d]
push ecx
push 0xfffffed4
push eax
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 8]
sub edx, ecx
push edx
push eax
push ecx
push 0x80c00000
push 0x5048c8
push 0x80080
push esi
mov ecx, 0x50dc24
call fcn.00488ef0
mov eax, dword [esi + 4]
test eax, eax
je 0x495631
mov eax, dword [eax + 4]
jmp 0x495633
xor eax, eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov esp, ebp
pop ebp
ret
Function at 0x4957b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
push esi
add eax, 0xfffffe00
push edi
mov esi, ecx
cmp eax, 0xa3
ja case.0x4957d7.515
movzx eax, byte [eax + 0x495a00]
jmp dword [eax*4 + 0x4959e0]
lea ecx, [esp + 0x10]
push ecx
mov eax, esi
call fcn.004101b0
movsx edi, word [ebx + 0x10]
movsx ebx, word [ebx + 0x12]
mov edx, dword [esi + 0x94]
push ebx
mov dword [esp + 0x18], 0x156
mov eax, dword [esi + edx*8 + 0xa4]
sub dword [esp + 0x20], eax
push edi
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x495834
mov byte [esi + 0x98], 1
mov dword [0x532af4], edi
mov dword [0x532af8], ebx
call fcn.0040fbf0
mov ebx, dword [ebp + 8]
cmp dword [ebx + 8], 0x20a
jne 0x4959d4
mov esi, dword [esi + 0x14]
test esi, esi
je 0x4959d4
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push ebx
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x98], 0
je case.0x4957d7.515
push esi
mov byte [esi + 0x98], 0
call fcn.0040fc10
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [esp + 0x14], 0xa
setl al
xor ecx, ecx
test al, al
setne cl
mov byte [esi + 0x99], al
mov eax, esi
push ecx
call fcn.00495e30
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040fbd0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x99], 0
jne case.0x4957d7.515
mov eax, dword [esp + 0x24]
add eax, 0xfffffff1
cmp eax, 0xfffffed4
jle case.0x4957d7.515
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
test eax, eax
je 0x4958ef
push 0x2bf20
lea ecx, [esi + 8]
push 0x67
push ecx
call fcn.004131f0
call fcn.00495d90
jmp case.0x4957d7.515
call fcn.00418d60
test eax, eax
je case.0x4957d7.515
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00418d60
push eax
call fcn.0041aa80
jmp case.0x4957d7.515
mov byte [esi + 0x98], 0
jmp case.0x4957d7.515
cmp byte [esi + 0x98], 0
je case.0x4957d7.515
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
sub eax, dword [0x532af8]
mov edx, 0
setns dl
push 0
push 0x190
push 0x2d
mov ecx, esi
dec edx
and eax, edx
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [0x532af4]
push eax
call fcn.0040fbd0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x4957d7.515
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
je 0x4959a3
push 0x65
lea ecx, [esi + 8]
push ecx
push eax
call fcn.00413280
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
test eax, eax
je case.0x4957d7.515
push 0xa
lea ecx, [esi + 8]
push 0x64
push ecx
call fcn.004131f0
jmp case.0x4957d7.515
push 1
mov eax, esi
call fcn.00495e30
jmp case.0x4957d7.515
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x499a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f02d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
xor ebx, ebx
cmp ecx, eax
mov dword [esp + 0xc], ebx
jle 0x499a6e
push ebx
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push 0x4feab8
mov esi, edi
mov word [edi + 4], ax
call fcn.00401760
jmp 0x499aca
mov edx, dword [edx + 0xc]
sub eax, ecx
inc eax
lea ecx, [edx + ecx*2]
push eax
xor edx, edx
push ecx
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
call fcn.00401760
mov dword [esp + 0x38], ebx
push 0xffffffffffffffff
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
mov ecx, esi
mov word [edi + 4], ax
push ecx
mov eax, edi
call fcn.00401850
cmp dword [esp + 0x28], 8
jb 0x499aca
mov edx, dword [esp + 0x14]
push edx
call fcn.004c8f17
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c8f08
add esp, 0x30
ret
Function at 0x49c8f0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4f534a
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x11c]
xor ebx, ebx
push ebx
push edi
mov dword [esp + 0x18], ebx
call fcn.004ce379
add esp, 8
cmp eax, 0xffffffff
jne 0x49c95a
push ebx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x4feab8
mov word [esi + 4], ax
call fcn.00401760
jmp 0x49c9eb
push edi
lea ecx, [esp + 0x84]
push ecx
call fcn.004939d0
mov dword [esp + 0x114], 1
mov edi, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00466800
mov edi, esi
lea eax, [esp + 0x14]
call fcn.00467240
lea ecx, [esp + 0xd8]
mov dword [esp + 0x10], 1
mov byte [esp + 0x114], bl
call fcn.00493ab0
lea edx, [esp + 0xd8]
push edx
mov dword [esp + 0xdc], vtable.std::ios_base.0
call fcn.004c8d89
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x108
ret
Function at 0x49e7a0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4f48c8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
lea ecx, [esp + 0x2c]
call fcn.00481180
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x30]
mov esi, 8
cmp dword [esp + 0x44], esi
jae 0x49e7f5
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49e87e
mov ecx, 0x50f8ec
lea edi, [esp + 0x10]
call fcn.0047e4c0
cmp dword [eax + 0x18], esi
jb 0x49e818
mov eax, dword [eax + 4]
jmp 0x49e81b
add eax, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esp + 0x28], esi
jb 0x49e837
mov eax, dword [esp + 0x14]
push eax
call fcn.004c8f17
add esp, 4
mov edi, str.resSkinConfig.data
lea ecx, [esp + 0x48]
call fcn.0047fda0
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x49e853
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x60], esi
jae 0x49e861
lea eax, [esp + 0x4c]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [esp + 0x60], esi
jb 0x49e87e
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004c8f17
add esp, 4
call fcn.0040bb10
call fcn.0049e8c0
mov bl, al
cmp dword [esp + 0x44], esi
jb 0x49e89d
mov edx, dword [esp + 0x30]
push edx
call fcn.004c8f17
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004c8f08
add esp, 0x64
ret