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

Disassembly:
mov eax, 0x4f0489
call fcn.004ebd20
sub esp, 0x18
push ebx
push esi
push 0xc8
push dword [edi + 4]
call fcn.0047b4cf
pop ecx
pop ecx
push 0
push 0x30
push 0x30
push 1
push 0x80
push dword [0x521648]
call dword [sym.imp.USER32.dll_LoadImageW]
lea esi, [edi + 0x54]
push eax
call fcn.0040375f
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.00401692
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov dword [esp], str.__Unicode_
push eax
call fcn.00403184
push dword [ebp - 0x1c]
push 0x3f3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0x51b438]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push dword [0x523250]
mov esi, str.ttp_qianqian.com
push esi
lea eax, [ebp - 0x18]
push str.mailto:_s_subjectAbout
push eax
call fcn.00405b51
add esp, 0x10
push 0x3ed
push dword [edi + 4]
call ebx
lea edx, [edi + 0x58]
mov ecx, eax
mov eax, edx
call fcn.00412190
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.0047b2af
mov eax, esi
lea esi, [edi + 0x58]
call fcn.0047b333
xor eax, 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
xor edx, edx
call fcn.004aea8f
push dword [ebp - 0x10]
mov eax, dword [0x51b438]
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.00405b51
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0x20
push dword [ebp - 0x14]
push 0x410
push dword [edi + 4]
call esi
mov eax, dword [0x51b438]
push 0x81
push dword [0x522618]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040386d
push 0x4fccb0
push 0x4fad14
lea eax, [ebp - 0x10]
push eax
call fcn.0040756b
mov ebx, dword [ebp - 0x10]
push ebx
push 0x431
push dword [edi + 4]
call esi
lea eax, [ebx - 0xc]
cmp eax, dword [0x51b43c]
pop esi
pop ebx
je 0x480554
push eax
call fcn.004013b2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x480568
push eax
call fcn.004013b2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x48057c
push eax
call fcn.004013b2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x480590
push eax
call fcn.004013b2
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword fs:[0], ecx
leave
ret

Function at 0x480c29
Capabilities:
Get graphical window text

Disassembly:
push 0
push 0xd
push 0x113
push dword [0x523248]
mov dword [0x522374], 1
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
ret
Function at 0x481171
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 0x481197
or ebx, 0x1000000
mov eax, dword [0x51b438]
push 0x40
mov dword [ebp + 0x10], eax
pop edi
add edi, edi
lea esi, [ebp + 0x10]
call fcn.0041b004
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.0040322d
cmp esi, edi
je 0x4811a2
mov esi, dword [ebp + 8]
lea ecx, [ebp + 0x10]
call fcn.0040306f
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x4811e5
push eax
call fcn.004013b2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4854b8
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0x181
jne 0x48551a
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 0x485535
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 0x48555d
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.0047b4cf
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.00401692
pop ecx
push dword [eax]
push 0
push edi
call fcn.0048d71e
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x4855b4
push eax
call fcn.004013b2
push 0x8003
lea eax, [ebp - 4]
call fcn.00401692
pop ecx
push dword [eax]
push 1
push edi
call fcn.0048d71e
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x4855e0
push eax
call fcn.004013b2
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.0040778e
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.0048dc63
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea eax, [ebx + 0x58]
call fcn.0048dc95
push 5
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x5229cc]
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x80e
push dword [esi]
call edi
push dword [0x5229d0]
push 0x84e
push dword [esi]
call edi
push dword [0x5229d4]
push 0x880
push dword [esi]
call edi
push dword [0x5229f0]
push 0x80f
push dword [esi]
call edi
push dword [0x5229d8]
push 0x7e5
push dword [esi]
call edi
push dword [0x5229e4]
push 0x7e8
push dword [esi]
call edi
push dword [0x5229ec]
push 0x812
push dword [esi]
call edi
push 8
mov edi, 0x894
push edi
push dword [esi]
call fcn.004af90b
add esp, 0xc
push edi
push dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
push 0
push dword [0x5229f4]
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.00412190
push 0x829
push dword [esi]
call edi
mov ecx, eax
lea eax, [ebx + 0x2b8]
call fcn.00412190
push 0x82b
push dword [esi]
call edi
mov ecx, eax
lea eax, [ebx + 0x304]
call fcn.00412190
xor eax, eax
inc eax
pop edi
mov dword [ebx + 0x350], eax
pop esi
leave
ret
Function at 0x48895a
Capabilities:
Delete file

Disassembly:
mov eax, 0x4f033d
call fcn.004ebd20
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 0x488a53
push eax
lea ecx, [ebp - 0x18]
mov eax, ebx
call fcn.0048858e
and dword [ebp - 4], 0
mov eax, dword [0x51b438]
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.00405ae3
add esp, 0xc
push 0x24
push dword [0x52324c]
push dword [ebp - 0x14]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x488a33
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.0048d605
test eax, eax
je 0x4889f8
push 1
push eax
call fcn.004886e0
push dword [ebp - 0x10]
mov eax, edi
call fcn.0048d667
push 0
push 0
push 0x18b
push dword [edi]
call esi
cmp dword [ebp - 0x10], eax
jl 0x488a18
and dword [ebp - 0x10], 0
push dword [ebp - 0x10]
mov eax, edi
call fcn.00451d96
push 0
push 0x10428
push 0x111
push dword [ebx + 4]
call esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x488a47
push eax
call fcn.004013b2
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
call fcn.00408b55
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x48a37a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ef2a7
call fcn.004ebd20
sub esp, 0x418
mov eax, dword [0x517ad4]
and word [ebp - 0x218], 0
push esi
push edi
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, ecx
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 [0x523248]
mov dword [ebp - 0x424], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48a488
test esi, esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
mov edi, 0x4ff1ac
je 0x48a402
lea eax, [ebp - 0x218]
push edi
push eax
call esi
push dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x218]
push edi
push eax
call esi
push dword [0x52324c]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push 0x4fecfc
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.00401692
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.0048a2e5
mov esi, eax
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff4
add esp, 0x10
cmp eax, dword [0x51b43c]
je 0x48a486
push eax
call fcn.004013b2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004ebd70
leave
ret

Function at 0x48e133
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.0040778e
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.00403dd0
pop edi
pop esi
leave
ret
Function at 0x49246a
Capabilities:
Suspend thread

Disassembly:
cmp dword [esi + 0x28], 0
jne 0x492484
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 0x492488
Capabilities:
Resume thread

Disassembly:
cmp dword [esi + 0x28], 0
je 0x4924a0
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 0x4937ab
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x268]
sub esp, 0x2e8
mov eax, dword [0x517ad4]
xor eax, ebp
mov dword [ebp + 0x264], eax
mov eax, dword [ebp + 0x270]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x274]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x278]
push esi
mov esi, ecx
push edi
xor edx, edx
mov dword [ebp - 0x58], eax
xor eax, eax
cmp esi, edx
mov ecx, 0xac
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x50], edx
rep stosd dword es:[edi], eax
jne 0x49381e
cmp dword [ebp - 0x58], ebx
jne 0x493896
push 0x208
push 0x2b4
lea eax, [ebp - 0x50]
push eax
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea esi, [ebp - 0x44]
xor edx, edx
push 8
pop ecx
push edx
xor eax, eax
push edx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x54]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x146
push dword [eax + 0x80]
mov dword [ebp - 0x80], 0x21
call edi
test ebx, ebx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x60], ebx
je 0x493867
or dword [ebp - 0x80], 6
xor edx, edx
push ebx
lea ecx, [ebp - 0x6c]
inc edx
call fcn.0049f46e
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x54]
push 0
push 0x40b
push dword [eax + 0x80]
call edi
mov ecx, dword [ebp + 0x264]
pop edi
xor ecx, ebp
pop esi
call fcn.004ebd70
add ebp, 0x268
leave
ret 0xc
push edx
mov edx, dword [ebp - 0x5c]
push 0x104
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x58]
call fcn.0049f40a
test eax, eax
jne 0x493819
or eax, 0xffffffff
jmp 0x49387d
Function at 0x4938b8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ef270
call fcn.004ebd20
sub esp, 0x220
mov eax, dword [0x517ad4]
push ebx
xor eax, ebp
xor ebx, ebx
cmp dword [esi + 0x100], ebx
mov dword [ebp - 0x10], eax
je 0x493ae2
push edi
mov dword [ebp - 0x224], ebx
xor edi, edi
lea eax, [ebp - 0x22c]
push eax
push dword [edi*4 + 0x51ccdc]
mov dword [ebp - 0x22c], ebx
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jl 0x49392d
cmp edi, ebx
mov ebx, dword [ebp - 0x22c]
jne 0x49391b
mov dword [ebp - 0x224], ebx
mov eax, dword [esi + 0x100]
push ebx
push eax
push esi
xor ecx, ecx
call fcn.004937ab
xor ebx, ebx
inc edi
cmp edi, 5
jb 0x4938ea
cmp dword [ebp - 0x224], ebx
je 0x493ae1
mov dword [ebp - 0x21c], ebx
lea edx, [ebp - 0x21c]
push edx
push 0x4f7b9c
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 0x493acd
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 0x493aba
mov dword [ebp - 0x220], ebx
jmp 0x493a47
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 0x493a3b
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.0049f40a
test eax, eax
je 0x493a3b
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call dword [0x522580]
cmp eax, ebx
je 0x493a3b
push dword [ebp - 0x220]
xor ecx, ecx
push dword [ebp - 0x21c]
mov ebx, eax
push esi
call fcn.004937ab
xor ebx, ebx
push dword [ebp - 0x220]
call dword [0x5225d0]
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 0x4939a4
push 0x814b
lea eax, [ebp - 0x224]
call fcn.00401692
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 ebx, ebx
call fcn.004937ab
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x493aa5
push eax
call fcn.004013b2
xor ebx, ebx
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 0x493acd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, ebx
je 0x493ae1
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]
xor ecx, ebp
pop ebx
call fcn.004ebd70
leave
ret
Function at 0x4969c6
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x4ee886
call fcn.004ebd20
sub esp, 0x450
mov eax, dword [0x517ad4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [eax - 8], ecx
jne 0x496a00
xor eax, eax
jmp 0x496bb8
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 4], ecx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.004014d8
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
mov ecx, dword [esi + 4]
lea ebx, [ebp - 0x430]
call fcn.004948b1
mov ebx, eax
mov eax, dword [ebp - 0x424]
neg ebx
sbb bl, bl
add eax, 0xfffffff4
inc bl
cmp eax, dword [0x51b43c]
je 0x496a58
push eax
call fcn.004013b2
test bl, bl
je 0x496a63
xor ebx, ebx
jmp 0x496bab
xor ebx, ebx
cmp dword [ebp - 0x430], ebx
je 0x496bab
cmp dword [ebp - 0x428], ebx
je 0x496bab
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x4fff24
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x496bab
or dword [ebp - 0x45c], 0xffffffff
push 0x80
push 2
push 1
lea eax, [ebp - 0x218]
push eax
mov eax, 0xc0000000
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], 0x1000
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
call fcn.004134bf
test eax, eax
lea eax, [ebp - 0x45c]
jne 0x496b1a
call fcn.00413515
jmp 0x496bab
push dword [ebp - 0x428]
mov ecx, dword [ebp - 0x430]
push eax
call fcn.004243d0
lea eax, [ebp - 0x45c]
call fcn.00413515
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
push 0xc
call esi
push eax
push 0xb
call esi
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x424], esp
lea ecx, [ebp - 0x218]
push edi
mov dword [eax], ecx
call fcn.00496bd2
push 0x10
push 0x32
call esi
push eax
push 0x31
call esi
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x424], esp
push dword [ebp - 0x434]
lea ecx, [ebp - 0x218]
mov dword [eax], ecx
call fcn.00496bd2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
cmp dword [edi], ebx
setne al
mov esi, eax
lea eax, [ebp - 0x45c]
call fcn.00413515
mov ebx, esi
lea esi, [ebp - 0x430]
call fcn.0045e9d1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ebd70
leave
ret 8
Function at 0x49aae5
Capabilities:
Get file size

Disassembly:
push esi
mov esi, eax
push esi
call fcn.00413c18
test eax, eax
je 0x49aaf6
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 0x49ab1e
xor eax, eax
jmp 0x49ab46
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 0x49ab1a
cmp edi, 0x400
jae 0x49ab41
xor eax, eax
inc eax
jmp 0x49ab46
mov eax, edi
shr eax, 0xa
pop edi
pop esi
ret
Function at 0x49c0b1
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.004042f5
mov ecx, eax
lea esi, [ebp - 4]
call fcn.0040306f
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x49c0e1
push eax
call fcn.004013b2
push dword [ebp + 8]
call fcn.00413c18
test eax, eax
mov esi, dword [ebp - 4]
jne 0x49c124
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x49c124
test al, 1
je 0x49c124
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 [0x51b43c]
je 0x49c11f
push eax
call fcn.004013b2
mov eax, edi
pop edi
jmp 0x49c138
lea eax, [esi - 0xc]
cmp eax, dword [0x51b43c]
je 0x49c135
push eax
call fcn.004013b2
xor eax, eax
inc eax
pop esi
leave
ret 4

Function at 0x49c13d
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.004042f5
mov ecx, eax
lea esi, [ebp - 4]
call fcn.0040306f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x49c16f
push eax
call fcn.004013b2
push edi
lea eax, [ebp - 0x14]
call fcn.0049a818
mov esi, eax
push edi
lea eax, [ebp - 0x10]
call fcn.0049a7c8
push dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004032df
push 0x4f8544
push eax
lea eax, [ebp - 8]
push eax
call fcn.004032df
push esi
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.0040328f
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x49c1bf
push eax
call fcn.004013b2
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x49c1d3
push eax
call fcn.004013b2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x49c1e7
push eax
call fcn.004013b2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x49c1fb
push eax
call fcn.004013b2
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 0x49c233
add ebx, 0xfffffff4
cmp ebx, dword [0x51b43c]
je 0x49c21e
push ebx
call fcn.004013b2
lea eax, [esi - 0xc]
cmp eax, dword [0x51b43c]
je 0x49c22f
push eax
call fcn.004013b2
xor eax, eax
jmp 0x49c279
mov esi, 0x5224d0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x38]
lea edi, [ebp + 8]
call fcn.0040311c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx - 0xc]
cmp eax, dword [0x51b43c]
je 0x49c262
push eax
call fcn.004013b2
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x49c276
push eax
call fcn.004013b2
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x49f46e
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x244]
sub esp, 0x2c4
mov eax, dword [0x517ad4]
or dword [ebp - 0x70], 0xffffffff
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push edi
mov dword [ebp - 0x78], ecx
mov ebx, edx
mov ecx, ebx
or ecx, 0x4008
push ecx
mov edi, 0x2b4
push edi
xor eax, ebp
lea ecx, [ebp - 0x74]
push ecx
mov dword [ebp + 0x240], eax
mov eax, dword [ebp + 0x24c]
push 0
push eax
mov dword [ebp - 0x7c], eax
call esi
cmp dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
je 0x49f4e7
or dword [ebp - 0x70], 0xffffffff
or ebx, 0x400a
push ebx
push edi
lea eax, [ebp - 0x74]
push eax
push 0
push dword [ebp - 0x7c]
call esi
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x240]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ebd70
add ebp, 0x244
leave
ret 4

Function at 0x4a0d2b
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x4a0d49
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4a0d51
mov eax, dword [esp + 0xc]
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc