joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480035
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4ef51b
call fcn.004eadec
sub esp, 0x18
push ebx
push esi
push 0xc8
push dword [edi + 4]
call fcn.00413042
pop ecx
pop ecx
push 0
push 0x30
push 0x30
push 1
push 0x80
push dword [0x520648]
call dword [sym.imp.USER32.dll_LoadImageW]
lea esi, [edi + 0x54]
push eax
call fcn.0040387a
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f1
push dword [edi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x8299
lea eax, [ebp - 0x1c]
call fcn.004017db
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov dword [esp], str.__Unicode_
push eax
call fcn.0040328b
push dword [ebp - 0x1c]
push 0x3f3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0x51a438]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push dword [0x522250]
mov esi, str.ttp_qianqian.com
push esi
lea eax, [ebp - 0x18]
push str.mailto:_s_subjectAbout
push eax
call fcn.004060d6
add esp, 0x10
push 0x3ed
push dword [edi + 4]
call ebx
lea edx, [edi + 0x58]
mov ecx, eax
mov eax, edx
call fcn.00412654
push str.nanling
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [ebp - 0x18]
lea eax, [edi + 0x58]
call fcn.0047ae12
mov eax, esi
lea esi, [edi + 0x58]
call fcn.0047ae96
xor eax, eax
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004ae4bd
push dword [ebp - 0x10]
mov eax, dword [0x51a438]
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push str._d__d__d
push eax
call fcn.004060d6
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0x24
push dword [ebp - 0x14]
push 0x410
push dword [edi + 4]
call esi
mov eax, dword [0x51a438]
push 0x81
push dword [0x521618]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403988
push 0x4fbcb0
push 0x4f9d14
lea eax, [ebp - 0x10]
push eax
call fcn.00407a56
mov ebx, dword [ebp - 0x10]
push ebx
push 0x431
push dword [edi + 4]
call esi
lea eax, [ebx - 0xc]
cmp eax, dword [0x51a43c]
pop esi
pop ebx
je 0x4801c4
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4801d8
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4801ec
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x480200
push eax
call fcn.004013aa
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword fs:[0], ecx
leave
ret

Function at 0x480890
Capabilities:
Get graphical window text

Disassembly:
push 0
push 0xd
push 0x113
push dword [0x522248]
mov dword [0x521374], 1
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
ret
Function at 0x480dd8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, eax
shl ebx, 0x10
cmp dword [ebp + 0x10], esi
je 0x480dfe
or ebx, 0x1000000
mov eax, dword [0x51a438]
push 0x40
mov dword [ebp + 0x10], eax
pop edi
add edi, edi
lea esi, [ebp + 0x10]
call fcn.0041b455
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea ecx, [ebp + 0x10]
mov esi, eax
call fcn.00403334
cmp esi, edi
je 0x480e09
mov esi, dword [ebp + 8]
lea ecx, [ebp + 0x10]
call fcn.0040318a
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x480e4c
push eax
call fcn.004013aa
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4850aa
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0x181
jne 0x48510c
push ebx
push edi
xor ebx, ebx
push ebx
push 1
push 0x130c
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 0x5c]
call edi
push 5
push dword [esi + 0x168]
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7e5
push dword [esi + 4]
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0x7e8
push dword [esi + 4]
call edi
push 0
push eax
call ebx
pop edi
pop ebx
jmp 0x485127
push dword [esp + 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
push 0x28
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4
Function at 0x48514f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
lea esi, [ebx + 4]
push 0x100
push dword [esi]
call fcn.00413042
pop ecx
pop ecx
push 0x8d0
push dword [esi]
lea edi, [ebx + 0x54]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi], eax
push 0x8002
lea eax, [ebp - 4]
call fcn.004017db
pop ecx
push dword [eax]
push 0
push edi
call fcn.0048d213
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4851a6
push eax
call fcn.004013aa
push 0x8003
lea eax, [ebp - 4]
call fcn.004017db
pop ecx
push dword [eax]
push 1
push edi
call fcn.0048d213
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4851d2
push eax
call fcn.004013aa
and dword [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
mov edi, esi
call fcn.00407c79
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1328
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea eax, [ebx + 0x164]
call fcn.0048d741
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea eax, [ebx + 0x58]
call fcn.0048d773
push 5
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x5219cc]
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x80e
push dword [esi]
call edi
push dword [0x5219d0]
push 0x84e
push dword [esi]
call edi
push dword [0x5219d4]
push 0x880
push dword [esi]
call edi
push dword [0x5219f0]
push 0x80f
push dword [esi]
call edi
push dword [0x5219d8]
push 0x7e5
push dword [esi]
call edi
push dword [0x5219e4]
push 0x7e8
push dword [esi]
call edi
push dword [0x5219ec]
push 0x812
push dword [esi]
call edi
push 8
mov edi, 0x894
push edi
push dword [esi]
call fcn.004af32c
add esp, 0xc
push edi
push dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
push 0
push dword [0x5219f4]
push 0x14e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x827
push dword [esi]
call edi
mov ecx, eax
lea eax, [ebx + 0x26c]
call fcn.00412654
push 0x829
push dword [esi]
call edi
mov ecx, eax
lea eax, [ebx + 0x2b8]
call fcn.00412654
push 0x82b
push dword [esi]
call edi
mov ecx, eax
lea eax, [ebx + 0x304]
call fcn.00412654
xor eax, eax
inc eax
pop edi
mov dword [ebx + 0x350], eax
pop esi
leave
ret
Function at 0x48856a
Capabilities:
Delete file

Disassembly:
mov eax, 0x4ef3d2
call fcn.004eadec
sub esp, 0xc
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0x188
lea edi, [ebx + 0x54]
push dword [edi]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x488663
push eax
lea ecx, [ebp - 0x18]
mov eax, ebx
call fcn.0048819f
and dword [ebp - 4], 0
mov eax, dword [0x51a438]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
lea eax, [ebp - 0x14]
push 0x81a7
push eax
call fcn.00406068
add esp, 0xc
push 0x24
push dword [0x52224c]
push dword [ebp - 0x14]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x488643
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
mov eax, edi
call fcn.0048d0fa
test eax, eax
je 0x488608
push 1
push eax
call fcn.004882f0
push dword [ebp - 0x10]
mov eax, edi
call fcn.0048d15c
push 0
push 0
push 0x18b
push dword [edi]
call esi
cmp dword [ebp - 0x10], eax
jl 0x488628
and dword [ebp - 0x10], 0
push dword [ebp - 0x10]
mov eax, edi
call fcn.004522e0
push 0
push 0x10428
push 0x111
push dword [ebx + 4]
call esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x488657
push eax
call fcn.004013aa
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
call fcn.00408ee4
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x489ede
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ee39a
call fcn.004eadec
sub esp, 0x418
mov eax, dword [0x516ad4]
and word [ebp - 0x218], 0
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
push 1
push dword [ebp + 8]
stosw word es:[edi], ax
lea eax, [ebp - 0x218]
push eax
push dword [0x522248]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x489fe2
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
mov edi, 0x4fe18c
je 0x489f5b
lea eax, [ebp - 0x218]
push edi
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x218]
push edi
push eax
call esi
push dword [0x52224c]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push 0x4fdcdc
push eax
call esi
add esp, 0x18
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x80f2
lea eax, [ebp - 0x424]
call fcn.004017db
and dword [ebp - 4], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00489e49
mov esi, eax
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff4
add esp, 0x10
cmp eax, dword [0x51a43c]
je 0x489fdf
push eax
call fcn.004013aa
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
call fcn.004eae3c
leave
ret

Function at 0x48dc11
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 0
push 0
mov edi, eax
push 0x46b
add edi, 4
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push dword [edi]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
call fcn.00407c79
push 1
push dword [edi]
call esi
push 0x15
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
call fcn.00403ebb
pop edi
pop esi
leave
ret
Function at 0x490fc3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov ebx, eax
je 0x491013
lea eax, [ebx - 0x24]
neg ebx
sbb ebx, ebx
and ebx, eax
push 0xffffffffffffffe6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClassLongW]
test eax, 0x20000
jne 0x49102b
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ebx, 0x24
push ebx
movsd dword es:[edi], dword [esi]
call fcn.00491732
jmp 0x49102b
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49102b
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
and dword [eax], 0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8

Function at 0x491c56
Capabilities:
Suspend thread

Disassembly:
cmp dword [esi + 0x28], 0
jne 0x491c70
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi + 0x28], ecx
mov eax, dword [esi + 0x28]
ret

Function at 0x491c74
Capabilities:
Resume thread

Disassembly:
cmp dword [esi + 0x28], 0
je 0x491c8c
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc eax
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x28], eax
xor eax, eax
cmp dword [esi + 0x28], eax
sete al
ret

Function at 0x492edb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [eax - 0x20]
and esi, ecx
cmp byte [eax + 0x1c], 0
je 0x492f1e
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 8], 2
jne 0x492f0f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x492f24
cmp dword [ebp + 8], 0
jne 0x492f1e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 1
je 0x492f3c
mov eax, dword [ebp + 0xc]
shr eax, 0x10
movsx eax, ax
push eax
movsx eax, word [ebp + 0xc]
push eax
add esi, 0x20
push esi
call fcn.00492f43
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x493516
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x25c]
sub esp, 0x2dc
mov eax, dword [0x516ad4]
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov dword [ebp + 0x258], eax
xor eax, eax
cmp ebx, esi
mov ecx, 0xac
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], esi
rep stosd dword es:[edi], eax
jne 0x493573
cmp edx, dword [ebp + 0x26c]
jne 0x4935f1
push 0x208
push 0x2b4
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp + 0x26c]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ebx, [ebp - 0x50]
push 8
pop ecx
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x264]
push 0x146
push dword [edi + 0x80]
mov dword [ebp - 0x80], 0x21
call esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x26c]
test eax, eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x60], eax
je 0x4935c6
or dword [ebp - 0x80], 6
lea ecx, [ebp - 0x6c]
push ecx
xor ecx, ecx
push eax
inc ecx
call fcn.0049ef1c
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x40b
push dword [edi + 0x80]
call esi
mov ecx, dword [ebp + 0x258]
pop edi
pop esi
pop ebx
call fcn.004eae3c
add ebp, 0x25c
leave
ret 0xc
push esi
push 0x104
lea eax, [ebp - 0x50]
push eax
push edx
mov edx, dword [ebp + 0x268]
call fcn.0049eeb8
test eax, eax
jne 0x493570
or eax, 0xffffffff
jmp 0x4935d9
Function at 0x493614
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ee363
call fcn.004eadec
sub esp, 0x220
mov eax, dword [0x516ad4]
push ebx
xor ebx, ebx
cmp dword [esi + 0x100], ebx
mov dword [ebp - 0x10], eax
je 0x493835
push edi
mov dword [ebp - 0x224], ebx
xor edi, edi
lea eax, [ebp - 0x22c]
push eax
push dword [edi*4 + 0x51bcdc]
mov dword [ebp - 0x22c], ebx
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jl 0x493685
cmp edi, ebx
mov edx, dword [ebp - 0x22c]
jne 0x493675
mov dword [ebp - 0x224], edx
mov eax, dword [esi + 0x100]
push edx
push eax
push esi
xor ecx, ecx
call fcn.00493516
inc edi
cmp edi, 5
jb 0x493644
cmp dword [ebp - 0x224], ebx
je 0x493834
mov dword [ebp - 0x21c], ebx
lea edx, [ebp - 0x21c]
push edx
push 0x4f6b9c
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x100]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x224]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x493820
mov dword [ebp - 0x228], ebx
lea edx, [ebp - 0x228]
push edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push 0x40
push dword [esi + 4]
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x49380d
mov dword [ebp - 0x220], ebx
jmp 0x49379c
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x22c]
push edx
lea edx, [ebp - 0x220]
push edx
push 1
mov dword [ebp - 0x22c], 0x62000000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test byte [ebp - 0x229], 2
jne 0x493790
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov word [ebp - 0x218], bx
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
call fcn.0049eeb8
test eax, eax
je 0x493790
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call dword [0x521580]
cmp eax, ebx
je 0x493790
mov edx, dword [ebp - 0x220]
push eax
push dword [ebp - 0x21c]
xor ecx, ecx
push esi
call fcn.00493516
push dword [ebp - 0x220]
call dword [0x5215d0]
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x220]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x4936fc
push 0x814b
lea eax, [ebp - 0x224]
call fcn.004017db
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x100]
mov eax, dword [eax]
push ebx
push ecx
push esi
mov ecx, eax
xor edx, edx
call fcn.00493516
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4937fa
push eax
call fcn.004013aa
push ebx
push ebx
push 0x14e
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x228]
cmp eax, ebx
je 0x493820
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, ebx
je 0x493834
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.004eae3c
leave
ret
Function at 0x496711
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x4ed9b6
call fcn.004eadec
sub esp, 0x44c
mov eax, dword [0x516ad4]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push esi
push edi
xor edi, edi
cmp dword [eax - 8], edi
jne 0x49673f
xor eax, eax
jmp 0x4968f1
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x424], edi
push eax
or eax, 0xffffffff
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], edi
call fcn.00401621
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [eax]
lea ecx, [ebp - 0x42c]
push ecx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call fcn.00494649
mov ebx, eax
mov eax, dword [ebp + 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff4
inc bl
cmp eax, dword [0x51a43c]
je 0x496796
push eax
call fcn.004013aa
test bl, bl
jne 0x4968e4
cmp dword [ebp - 0x42c], edi
je 0x4968e4
cmp dword [ebp - 0x424], edi
je 0x4968e4
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push edi
push 0x4fef04
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4968e4
or dword [ebp - 0x458], 0xffffffff
push 0x80
push 2
push 1
lea eax, [ebp - 0x218]
push eax
mov eax, 0xc0000000
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x448], 0x1000
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], edi
call fcn.00413af6
test eax, eax
lea eax, [ebp - 0x458]
jne 0x496853
call fcn.00413b4c
jmp 0x4968e4
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x42c]
push eax
call fcn.004245ef
lea eax, [ebp - 0x458]
call fcn.00413b4c
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
push 0xc
call esi
push eax
push 0xb
call esi
mov ebx, dword [ebp + 0xc]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x430], esp
lea ecx, [ebp - 0x218]
push ebx
mov dword [eax], ecx
call fcn.0049690a
push 0x10
push 0x32
call esi
push eax
push 0x31
call esi
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x430], esp
push dword [ebp + 0x10]
lea ecx, [ebp - 0x218]
mov dword [eax], ecx
call fcn.0049690a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
cmp dword [ebx], edi
setne al
mov esi, eax
lea eax, [ebp - 0x458]
call fcn.00413b4c
mov edi, esi
lea esi, [ebp - 0x42c]
call fcn.0045e94e
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004eae3c
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x49a444
Capabilities:
Get file size

Disassembly:
push esi
mov esi, eax
push esi
call fcn.0041424f
test eax, eax
je 0x49a455
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x38]
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49a47d
xor eax, eax
jmp 0x49a4a5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
je 0x49a479
cmp edi, 0x400
jae 0x49a4a0
xor eax, eax
inc eax
jmp 0x49a4a5
mov eax, edi
shr eax, 0xa
pop edi
pop esi
ret
Function at 0x49ba10
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
call fcn.00404868
mov ecx, eax
lea esi, [ebp - 4]
call fcn.0040318a
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x49ba40
push eax
call fcn.004013aa
push dword [ebp + 8]
call fcn.0041424f
test eax, eax
mov esi, dword [ebp - 4]
jne 0x49ba83
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x49ba83
test al, 1
je 0x49ba83
push edi
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, eax
lea eax, [esi - 0xc]
cmp eax, dword [0x51a43c]
je 0x49ba7e
push eax
call fcn.004013aa
mov eax, edi
pop edi
jmp 0x49ba97
lea eax, [esi - 0xc]
cmp eax, dword [0x51a43c]
je 0x49ba94
push eax
call fcn.004013aa
xor eax, eax
inc eax
pop esi
leave
ret 4

Function at 0x49ba9c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, eax
push edi
lea eax, [ebp - 0x18]
call fcn.00404868
mov ecx, eax
lea esi, [ebp - 4]
call fcn.0040318a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x49bace
push eax
call fcn.004013aa
push edi
lea eax, [ebp - 0x14]
call fcn.0049a177
mov esi, eax
push edi
lea eax, [ebp - 0x10]
call fcn.0049a127
push dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004033e6
push 0x4f7544
push eax
lea eax, [ebp - 8]
push eax
call fcn.004033e6
push esi
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.00403396
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x49bb1e
push eax
call fcn.004013aa
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x49bb32
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x49bb46
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x49bb5a
push eax
call fcn.004013aa
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x49bb92
add ebx, 0xfffffff4
cmp ebx, dword [0x51a43c]
je 0x49bb7d
push ebx
call fcn.004013aa
lea eax, [esi - 0xc]
cmp eax, dword [0x51a43c]
je 0x49bb8e
push eax
call fcn.004013aa
xor eax, eax
jmp 0x49bbd8
mov esi, 0x5214d0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x38]
lea edi, [ebp + 8]
call fcn.00403223
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx - 0xc]
cmp eax, dword [0x51a43c]
je 0x49bbc1
push eax
call fcn.004013aa
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x49bbd5
push eax
call fcn.004013aa
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4