joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473ea0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a8b38
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x5c], edi
call fcn.00472c20
test eax, eax
jne 0x473f51
call fcn.00472cc0
test eax, eax
jne 0x473f51
lea eax, [esp + 0x14]
push eax
push 0x2001f
push edi
push str.SOFTWARETencentQQPinyin
push closesocket
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x474074
mov esi, dword [esp + 0x14]
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
je 0x473f36
push esi
call ebp
xor esi, esi
xor ecx, ecx
cmp ebx, edi
sete cl
cmp esi, edi
mov ebx, ecx
je 0x47405d
push esi
call ebp
mov eax, ebx
jmp 0x474076
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
mov ebx, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], bl
call fcn.00472d40
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
call fcn.0040b6f0
mov esi, 8
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x30], esi
jb 0x473fa1
mov edx, dword [esp + 0x1c]
push edx
call fcn.00578327
add esp, 4
push ebx
push 0x5bd0e8
lea ecx, [esp + 0x3c]
call fcn.0040f950
mov eax, str.SOFTWARETencentQQPinyin
lea edx, [eax + 2]
jmp 0x473fc0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x473fc0
sub eax, edx
sar eax, 1
push eax
push str.SOFTWARETencentQQPinyin
lea ecx, [esp + 0x3c]
call fcn.0040f950
cmp dword [esp + 0x4c], esi
mov eax, dword [esp + 0x38]
jae 0x473fec
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push edi
push eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x474061
mov esi, dword [esp + 0x14]
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
je 0x474028
push esi
call ebp
xor esi, esi
xor edx, edx
cmp ebx, edi
sete dl
cmp dword [esp + 0x4c], 8
mov ebx, edx
jb 0x474045
mov eax, dword [esp + 0x38]
push eax
call fcn.00578327
add esp, 4
cmp esi, edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
je 0x47405d
push esi
call ebp
mov eax, ebx
jmp 0x474076
cmp dword [esp + 0x4c], esi
jb 0x474074
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00578327
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005787fd
add esp, 0x4c
ret
Function at 0x4745c0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x5a8b38
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x5c], ebp
call fcn.00472c20
test eax, eax
jne 0x474671
call fcn.00472cc0
test eax, eax
jne 0x474671
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebp
push str.SOFTWARETencentQQPinyin
push closesocket
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x474798
mov esi, dword [esp + 0x14]
push str.ValidKey
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
je 0x474656
push esi
call ebx
xor esi, esi
xor ecx, ecx
cmp edi, ebp
sete cl
cmp esi, ebp
mov edi, ecx
je 0x474781
push esi
call ebx
mov eax, edi
jmp 0x47479a
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
mov ebx, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], bl
call fcn.00472d40
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
call fcn.0040b6f0
mov esi, 8
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x30], esi
jb 0x4746c1
mov edx, dword [esp + 0x1c]
push edx
call fcn.00578327
add esp, 4
push ebx
push 0x5bd0e8
lea ecx, [esp + 0x3c]
call fcn.0040f950
mov eax, str.SOFTWARETencentQQPinyin
lea edx, [eax + 2]
jmp 0x4746e0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4746e0
sub eax, edx
sar eax, 1
push eax
push str.SOFTWARETencentQQPinyin
lea ecx, [esp + 0x3c]
call fcn.0040f950
cmp dword [esp + 0x4c], esi
mov eax, dword [esp + 0x38]
jae 0x47470c
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebp
push eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x474785
mov esi, dword [esp + 0x14]
push str.ValidKey
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
je 0x47474c
push esi
call ebx
xor esi, esi
xor edx, edx
cmp edi, ebp
sete dl
cmp dword [esp + 0x4c], 8
mov edi, edx
jb 0x474769
mov eax, dword [esp + 0x38]
push eax
call fcn.00578327
add esp, 4
cmp esi, ebp
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
je 0x474781
push esi
call ebx
mov eax, edi
jmp 0x47479a
cmp dword [esp + 0x4c], esi
jb 0x474798
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00578327
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005787fd
add esp, 0x4c
ret
Function at 0x474ab0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x60372c], bl
mov dword [esp + 4], 0
jne 0x474b04
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
or dword [0x60372c], ebx
mov ecx, 0x5fcd20
call edx
add eax, 0x10
push 0x5afd80
mov dword [0x603714], eax
call fcn.0057a6a7
add esp, 4
mov eax, dword [0x603714]
cmp dword [eax - 0xc], 0
jne 0x474ba6
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.00580260
add esp, 0xc
push ebx
push 0x1a
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474b45
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x603714
call fcn.00404050
mov edx, dword [0x603714]
cmp dword [edx - 0xc], 0
jle 0x474ba6
call fcn.00472be0
push 0x11
push str.TencentQQPinyin_
push 0x603714
call fcn.00403fc0
mov eax, dword [0x603714]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x474ba6
mov ecx, dword [0x603714]
push eax
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [0x603714]
add eax, 0xfffffff0
call fcn.00403ce0
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [edi], eax
xor ecx, esp
mov eax, edi
call fcn.005787fd
add esp, 0x214
ret
Function at 0x4754a0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push 0
push 0x1f0001
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
mov dword [esi + 4], eax
jne 0x4754f9
push edi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4754f9
mov esi, dword [esi + 4]
test esi, esi
je 0x4754f9
push 0x10100001
mov eax, esi
call fcn.004d0140
add esp, 4
test eax, eax
jne 0x4754f5
push esi
call fcn.004d0210
add esp, 4
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x476a50
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x5adb2b
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x860], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x878]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88c]
mov ebp, dword [esp + 0x888]
lea esi, [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.00484590
mov ebx, dword [0x602cc8]
mov esi, 0x602cc0
lea edi, [esp + 0x1c]
call fcn.00444970
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x476ac9
cmp eax, 0x602cc4
je 0x476ace
call fcn.00578ff3
cmp dword [esi + 4], ebx
je 0x476ae9
mov ecx, 0x602cc0
call fcn.00444870
push eax
lea ebx, [esp + 0x28]
call fcn.00484680
jmp 0x476b1a
mov esi, dword [0x602cc0]
mov eax, 1
test byte [0x6036fc], al
jne 0x476b0f
or dword [0x6036fc], eax
push 0x5afe30
call fcn.0057a6a7
add esp, 4
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.004849b0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
mov edi, eax
call fcn.004792d0
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x880], 0
call esi
sub eax, edi
push eax
push str.Refresh_SkinSetDlg_Cost_Time:__d
lea edi, [esp + 0x20]
call fcn.004126f0
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x880], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x476ba6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
jmp 0x476bb0
mov edx, dword [esp + 0x14]
mov dword [edx], 0
mov eax, 1
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x860]
xor ecx, esp
call fcn.005787fd
add esp, 0x870
ret 8
Function at 0x476e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
movzx ebp, ax
push esi
shr eax, 0x10
mov esi, 1
push edi
mov ebx, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
lea edi, [esi + 0xf]
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x476eb2
mov eax, dword [ebx + 0x40]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x476eb7
call fcn.00578ff3
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x3c]
push ecx
add eax, edi
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x476f04
add edi, 0x10
add esi, 1
cmp edi, 0x50
jle 0x476e9f
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x2c]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
lea edx, [esi - 1]
cmp dword [ebx + 0x74], edx
jne 0x477034
cmp dword [ebx + 0x68], 0
je 0x477034
mov ecx, dword [ebx + 0x20]
lea edi, [ebx + 0x7c]
push edi
add ecx, 0x24
call fcn.0047f420
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x476f34
xor eax, eax
jmp 0x476f3c
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x74]
lea ebp, [ecx + edx]
cmp ebp, eax
jae 0x477034
mov ecx, dword [ebx + 0x20]
push edi
add ecx, 0x24
call fcn.0047f420
mov edi, eax
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x476f6e
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x476f73
call fcn.00578ff3
mov eax, dword [edi + 4]
mov eax, dword [eax + ebp*4]
test eax, eax
je 0x476fa0
mov eax, dword [eax + 4]
cmp dword [eax - 0xc], 0
je 0x477034
push str.10000000_0000_0000_0000_000000000001
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x477034
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x476fb3
mov eax, dword [ebx + 0x40]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x476fb8
call fcn.00578ff3
shl esi, 4
add esi, dword [ebx + 0x3c]
lea ecx, [esp + 0x18]
push esi
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebx + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
sub ecx, eax
sub ecx, 2
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx + 2]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x477034
mov eax, dword [ebx + 4]
push 0x24
push 0x5c275c
push 0x5c276c
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x477034
mov ecx, dword [ebx + 0x74]
push ecx
call fcn.00479d50
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [edx], 0
mov eax, 1
pop ebx
add esp, 0x18
ret 4
Function at 0x477070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push edi
movzx ebp, ax
shr eax, 0x10
mov edi, 1
mov dword [esp + 0x14], eax
lea ebx, [edi + 0xf]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x47709b
mov eax, dword [esi + 0x40]
sub eax, ecx
sar eax, 4
cmp edi, eax
jb 0x4770a0
call fcn.00578ff3
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x3c]
push ecx
add eax, ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4770e3
mov ecx, dword [esi + 0x20]
lea edx, [esi + 0x7c]
push edx
add ecx, 0x24
call fcn.0047f420
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4770d0
xor eax, eax
jmp 0x4770d8
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [esi + 0x78]
lea edx, [ecx + edi - 1]
cmp edx, eax
jb 0x47711a
add ebx, 0x10
add edi, 1
cmp ebx, 0x50
jle 0x477088
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov eax, dword [esi + 0x100]
push 1
push 0
add edi, 0xffffffff
push 2
mov dword [esi + 0x74], edi
mov edi, dword [sym.imp.USER32.dll_SetScrollPos]
push eax
mov dword [esi + 0x6c], 1
call edi
mov ecx, dword [esi + 0x104]
push 1
push 0
push 2
push ecx
call edi
push esi
call fcn.00478700
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x477185
mov edx, dword [esi + 0x40]
sub edx, eax
sar edx, 4
je 0x477185
test eax, eax
je 0x477170
mov ecx, dword [esi + 0x40]
sub ecx, eax
sar ecx, 4
jne 0x477175
call fcn.00578ff3
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 4]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x5fdb9c]
push 1
push 3
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esp + 0x1c]
pop edi
pop ebp
mov dword [edx], 0
mov eax, 1
pop ebx
add esp, 0xc
ret 4
Function at 0x4771f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 1
mov ebx, eax
mov eax, dword [0x5fdb9c]
push 3
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x18]
add eax, 0xfffffb3e
xor ebp, ebp
cmp eax, 0x5a
ja case.0x477229.1220
movzx ecx, byte [eax + 0x4773f8]
jmp dword [ecx*4 + 0x4773dc]
call fcn.004784e0
mov eax, dword [esp + 0x1c]
mov dword [eax], ebp
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [ebx + 0x88]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 1
push 0xf1
push edx
call esi
mov eax, dword [ebx + 0x8c]
push ebp
push ebp
push 0xf1
push eax
call esi
mov ecx, dword [ebx + 0x90]
push ebp
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebx
mov dword [0x601d5c], ebp
call fcn.00477670
push ebx
call fcn.00478700
mov eax, dword [ebx + 0x3c]
cmp eax, ebp
lea esi, [ebx + 0x38]
je case.0x477229.1220
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 4
je case.0x477229.1220
xor edi, edi
call fcn.00479fa0
push 1
push eax
mov eax, dword [ebx + 4]
push eax
jmp 0x4773c2
mov ecx, dword [ebx + 0x88]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push ebp
push 0xf1
push ecx
call esi
mov edx, dword [ebx + 0x8c]
push ebp
push 1
push 0xf1
push edx
call esi
mov eax, dword [ebx + 0x90]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x601d60], ebp
mov dword [0x601d5c], 1
push ebp
je 0x47731a
mov ecx, dword [ebx + 0x90]
push 1
push 0xf1
push ecx
call esi
jmp 0x477393
mov edx, dword [ebx + 0x90]
push ebp
push 0xf1
push edx
call esi
jmp 0x477393
mov eax, dword [ebx + 0x90]
push ebp
push ebp
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
neg eax
mov dword [0x601d60], eax
jmp 0x47739a
mov eax, dword [ebx + 0x78]
cmp eax, 5
jb 0x47735c
add eax, 0xfffffffb
mov dword [ebx + 0x78], eax
jmp 0x477390
mov dword [ebx + 0x78], ebp
jmp 0x477390
mov ecx, dword [ebx + 0x20]
lea eax, [ebx + 0x7c]
push eax
add ecx, 0x24
call fcn.0047f420
mov ecx, dword [eax + 4]
cmp ecx, ebp
jne 0x47737b
xor eax, eax
jmp 0x477383
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebx + 0x78]
add ecx, 5
cmp ecx, eax
ja 0x477393
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x74], ebp
mov esi, ebx
call fcn.00477670
push ebx
call fcn.00478700
mov eax, dword [ebx + 0x3c]
cmp eax, ebp
lea esi, [ebx + 0x38]
je case.0x477229.1220
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
je case.0x477229.1220
xor edi, edi
call fcn.00479fa0
mov edx, dword [ebx + 4]
push 1
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], ebp
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
Function at 0x479220
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x601d5c], 0
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
je 0x479292
mov eax, dword [esi + 0x88]
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x8c]
push 0
push 1
push 0xf1
push ecx
call edi
mov edx, dword [esi + 0x90]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x601d60], 0
push 0
je 0x479280
mov eax, dword [esi + 0x90]
push 1
push 0xf1
push eax
call edi
pop edi
ret
mov ecx, dword [esi + 0x90]
push 0
push 0xf1
push ecx
call edi
pop edi
ret
mov edx, dword [esi + 0x88]
push 1
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x8c]
push 0
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x90]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret
Function at 0x47a090
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x59ed88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
xor edi, edi
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], edi
call fcn.0047a280
test eax, eax
je 0x47a130
mov esi, dword [esp + 0xc]
cmp esi, edi
je 0x47a0f6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
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 0x47a11a
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 8
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a158
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x47b3f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x4c
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
push eax
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x47b505
call fcn.004129d0
cmp eax, edi
jl 0x47b4f0
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x34], 0x51515346
mov dword [esp + 0x38], 0x17fd9d0c
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ebx, dword [esp + 0x14]
push edi
lea eax, [esp + 0x1c]
push eax
push 0x24
lea ecx, [esp + 0x3c]
push ecx
push ebx
mov dword [esp + 0x64], 0x30
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47b4b9
call fcn.004129d0
mov esi, eax
cmp esi, edi
jl 0x47b4e3
mov eax, dword [esp + 0x50]
push edi
lea edx, [esp + 0x20]
push edx
push eax
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x47b50e
call fcn.004129d0
cmp eax, edi
jge 0x47b50e
mov esi, eax
cmp ebx, edi
je 0x47b4ee
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.005787fd
add esp, 0x4c
ret 8
mov dword [esp + 0x14], eax
jmp 0x47b43d
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x27a
add ebp, 0x27c
mov edi, edi
test byte [edi + 0x5ba9d4], 2
jne 0x47b573
mov ecx, dword [edi + 0x5ba9d0]
cmp ecx, 0xa
ja case.default.0x47b544
jmp dword [ecx*4 + 0x47b5d8]
mov eax, dword [ebp]
push eax
jmp 0x47b55b
mov edx, dword [ebp]
push edx
jmp 0x47b55b
mov ecx, dword [ebp]
push ecx
movzx ebx, word [edi + 0x5ba9d6]
lea esi, [esp + 0x1c]
call fcn.00408340
test eax, eax
mov ebx, dword [esp + 0x14]
jl 0x47b581
add edi, 0x18
add ebp, 4
cmp edi, 0x1590
jb 0x47b530
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47b5a6
call fcn.004129d0
mov edi, eax
jmp 0x47b5a8
xor edi, edi
test esi, esi
je 0x47b5b5
push esi
call fcn.0057876f
add esp, 4
test ebx, ebx
je 0x47b5c0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x54]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005787fd
add esp, 0x4c
ret 8
Function at 0x47bcf0
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push edi
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0xc]
push 0
push eax
push ecx
push 2
push 0
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
jne 0x47bd2a
call fcn.004129d0
pop edi
add esp, 0x10
ret
mov ecx, dword [esp + 8]
push 0
push ecx
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x10]
push edx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
push ecx
push 4
push eax
mov dword [esi + 0x18], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x47bd7f
call fcn.004129d0
mov edx, dword [esi + 8]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, edi
pop edi
add esp, 0x10
ret
xor eax, eax
pop edi
add esp, 0x10
ret