joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448020
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x448037
add esp, 0xfffffff0
call fcn.00404608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004281d8
mov eax, dword [0x4d9770]
cmp word [eax + 2], 0
jne 0x44805f
mov eax, dword [0x4d9770]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00449d10
mov eax, dword [0x4d98d0]
cmp word [eax + 2], 0
jne 0x448079
mov eax, dword [0x4d98d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00449f1c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41e27c]
call fcn.004042b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41e27c]
call fcn.004042b4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41e27c]
call fcn.004042b4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42b988]
call fcn.00433054
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x448230
mov eax, dword [0x4d95b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00433428
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44a5e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d95b4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00411d98
test eax, eax
je 0x448180
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040d468
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00411dcc
test eax, eax
je 0x448194
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405518
mov byte [ebx + 0xd4], 0
push ebx
push 0x44979c
call fcn.00429974
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4d9308]
cmp byte [eax], 0
jne 0x4481e5
mov eax, ebx
call fcn.00448374
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0044a7f4
mov eax, ebx
call fcn.0044b358
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448225
call fcn.00404660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4485f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x448693
cmp dword [ebx + 0x94], 0
jne 0x44868d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44857c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44868d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x448653
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44868d
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00420d98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x448662
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4488ac
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e0e70]
cmp dword [eax + 0x30], 0
je 0x448a09
test bl, bl
jne 0x44895a
cmp dword [esi + 0x9c], 0
jne 0x44894f
mov eax, esi
call fcn.0044b1d4
push eax
push 0x4487d8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x448920
mov eax, dword [0x4e0e70]
call fcn.0044b8b4
test al, al
je 0x448920
mov eax, dword [0x4e0e94]
call fcn.00406964
mov edi, eax
cmp edi, 0
jl 0x448920
push 0
mov eax, dword [0x4e0e94]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x44890a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x44894f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00420d98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x44892f
inc dword [esi + 0x9c]
jmp 0x448a09
cmp dword [esi + 0x9c], 0
jle 0x448a09
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x448a09
cmp dword [esi + 0x44], 0
je 0x4489b5
mov eax, dword [0x4e0e70]
call fcn.0044b8b4
test al, al
je 0x4489b5
mov eax, dword [0x4e0e94]
call fcn.00406964
mov edi, eax
cmp edi, 0
jl 0x4489b5
push 5
mov eax, dword [0x4e0e94]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x44899f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4489e4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00420d98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4489c4
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4e0e94
mov ecx, 1
mov edx, dword [0x4487b8]
call fcn.00406b18
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4494f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x44955a
mov eax, ebx
call fcn.0044b8b4
test al, al
jne 0x44955a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405398
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x449547
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x449567
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052fc
jmp 0x449567
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052fc
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x44a9d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44aa46
mov eax, esi
call fcn.00464b50
test al, al
je 0x44aa46
mov eax, dword [ebx + 0x84]
call fcn.004647dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44aa46
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x44aa3a
push 0
mov eax, dword [ebx + 0x84]
call fcn.004647dc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0045c658
jmp 0x44aa46
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0044a814
pop esi
pop ebx
ret

Function at 0x44c970
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004052a8
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c9be
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00405518
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451aa0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451bd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x42a28c]
call fcn.0042a35c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x451ba9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0042a3fc
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00405518
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x451be8
call fcn.004055c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042a584
lea ecx, [ebp - 4]
mov edx, 0x451c24
mov eax, dword [ebp - 0xc]
call fcn.0042a7cc
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00412e20
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x451b8c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x451c30
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4d6f60]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451b93
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x451c80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x451cc7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451caa
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451cbb
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x451cc7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x459ef8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4e0f18], 0
je 0x45a041
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4d9880]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x45a041
mov eax, dword [0x4e0f1c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4e0f18]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45a010
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4e0f18]
call fcn.00420d98
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45a008
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x45a008
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45a008
mov eax, dword [ebp - 0x14]
call fcn.004647dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a008
push ebp
call fcn.00459eb4
pop ecx
test al, al
jne 0x45a008
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004044e0
test al, al
je 0x45a008
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004044e0
cmp byte [ebp - 1], 0
je 0x45a008
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45a008
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4e0f1c]
call fcn.00459624
inc edi
dec ebx
jne 0x459f5d
mov eax, dword [0x4e0f1c]
cmp dword [eax + 8], 0
jle 0x45a028
mov eax, dword [0x4e0f1c]
call fcn.004596dc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45a041
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00459d18
pop ecx
test al, al
jne 0x45a041
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4616b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00407ac0
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0045c280
test ebx, ebx
jne 0x461703
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004615ec
mov ebx, eax
test ebx, ebx
je 0x4617ee
cmp esi, ebx
je 0x46172c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x461741
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x461779
add eax, 0xffffff5f
sub eax, 2
jb 0x461791
dec eax
sub eax, 2
jb 0x4617a5
dec eax
sub eax, 2
jb 0x46179b
jmp 0x4617af
add eax, 0xfffffdff
sub eax, 2
jb 0x461791
dec eax
sub eax, 2
jb 0x4617a5
dec eax
sub eax, 2
jb 0x46179b
jmp 0x4617af
mov byte [esp + 0x120], 0
jmp 0x4617b7
mov byte [esp + 0x120], 2
jmp 0x4617b7
mov byte [esp + 0x120], 1
jmp 0x4617b7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0043ed38
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0045da1c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4617f0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x469b10
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d9b78]
cmp byte [eax + 0xc], 0
je 0x469c7d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469c76
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e0f28], 0
jne 0x469b64
push 0x469c84
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x469c8c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f28], eax
cmp dword [0x4d7130], 0
jne 0x469c5f
push 0x469c9c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d7130], eax
cmp dword [0x4d7130], 0
je 0x469c5f
push 0x469ca8
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f2c], eax
push 0x469cb8
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f30], eax
push 0x469ccc
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f34], eax
push 0x469ce4
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f38], eax
push 0x469cfc
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f3c], eax
push 0x469d10
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f40], eax
push 0x469d28
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f44], eax
push 0x469d40
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f48], eax
push 0x469d5c
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f4c], eax
push 0x469d68
mov eax, dword [0x4d7130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e0f50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469c7d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x46b450
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405728
xor eax, eax
push ebp
push 0x46b630
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0046a508
test al, al
je 0x46b4cb
mov eax, dword [ebp - 8]
call fcn.00405738
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
xor eax, eax
mov al, byte [ebp - 9]
mov ax, word [eax*4 + 0x4d71ac]
push eax
mov eax, dword [ebp - 4]
call fcn.0046b368
push eax
call sub.advapi32.dll_ReportEventA
jmp 0x46b605
mov eax, dword [ebp - 4]
call fcn.0046b368
cmp eax, 0xffffffff
je 0x46b605
lea eax, [ebp - 0x14]
mov edx, 0x46b648
call fcn.00405340
xor eax, eax
mov al, byte [ebp - 9]
cmp eax, 4
ja case.default.0x46b4f3
jmp dword [eax*4 + 0x46b4fa]
lea eax, [ebp - 0x14]
mov edx, 0x46b674
call fcn.00405574
jmp 0x46b566
lea eax, [ebp - 0x14]
mov edx, 0x46b684
call fcn.00405574
jmp 0x46b566
lea eax, [ebp - 0x14]
mov edx, 0x46b694
call fcn.00405574
jmp 0x46b566
lea eax, [ebp - 0x14]
mov edx, 0x46b6a8
call fcn.00405574
jmp 0x46b566
lea eax, [ebp - 0x14]
mov edx, 0x46b6c0
call fcn.00405574
jmp 0x46b566
lea eax, [ebp - 0x14]
mov edx, 0x46b6d8
call fcn.00405574
push dword [ebp - 0x14]
push 0x46b6e8
push 0x46b6f4
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 0xc]
call fcn.0040c94c
push dword [ebp - 0x24]
push 0x46b6e8
push 0x46b708
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 8]
call fcn.0040c94c
push dword [ebp - 0x28]
push 0x46b6e8
push 0x46b718
push dword [ebp - 8]
push 0x46b6e8
push 0x46b72c
lea eax, [ebp - 0x14]
mov edx, 0xc
call fcn.0040563c
lea eax, [ebp - 0x14]
call fcn.00405798
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46b5df
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_FlushFileBuffers
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b637
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004052cc
lea eax, [ebp - 0x14]
call fcn.004052a8
lea eax, [ebp - 8]
call fcn.004052a8
ret
Function at 0x46b734
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd74
xor eax, eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x280]
mov edx, dword [0x40b494]
call fcn.00405e8c
xor eax, eax
push ebp
push 0x46b8cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x104
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11b]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
je 0x46b893
mov eax, 0x4d71c0
lea edx, [ebp - 0x11b]
mov ecx, 0x106
call fcn.00405518
call fcn.0040ef7c
fsub dword [0x46b8dc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x284]
call fcn.0046b1bc
mov eax, dword [ebp - 0x284]
lea edx, [ebp - 0xc]
call fcn.0040c2c8
lea eax, [ebp - 8]
mov ecx, 0x46b8e8
mov edx, dword [0x4d71c0]
call fcn.004055c0
lea ecx, [ebp - 0x280]
mov edx, 0x2f
mov eax, dword [ebp - 8]
call fcn.0040cfb4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46b893
lea edx, [ebp - 0x288]
mov eax, dword [ebp - 0x26c]
call fcn.0040c2c8
mov eax, dword [ebp - 0x288]
mov edx, dword [ebp - 0xc]
call fcn.004056d0
jae 0x46b86a
push dword [0x4d71c0]
push 0x46b908
push dword [ebp - 0x26c]
lea eax, [ebp - 0x28c]
mov edx, 3
call fcn.0040563c
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00405738
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
lea eax, [ebp - 0x280]
call fcn.0040d004
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46b889
lea eax, [ebp - 0x280]
call fcn.0040d028
cmp dword [ebp - 0x10], 0
je 0x46b808
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b8d6
lea eax, [ebp - 0x28c]
mov edx, 3
call fcn.004052cc
lea eax, [ebp - 0x280]
mov edx, dword [0x40b494]
call fcn.00405f5c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004052cc
ret

Function at 0x46cdcc
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [0x4d71c8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x13e]
push eax
call sub.user32.dll_PostThreadMessageA
mov eax, dword [ebp + 8]
cmp byte [eax + 0x13d], 0
je 0x46ce0f
mov eax, dword [ebp + 8]
mov byte [eax + 0x13d], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x142]
push eax
call sub.kernel32.dll_ResumeThread
pop ebp
ret 8

Function at 0x46d748
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x80]
mov byte [ebp - 5], al
mov dl, 5
mov eax, dword [ebp - 4]
call fcn.0046c9e0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
je 0x46d79d
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.0046c9e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5a], 0
je 0x46d7a8
mov eax, dword [ebp - 4]
mov byte [eax + 0x13d], 1
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SuspendThread
jmp 0x46d7a8
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0046c9e0
pop ecx
pop ecx
pop ebp
ret
Function at 0x470b44
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470ce4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004052a8
cmp dword [ebp - 4], 0
je 0x470b85
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00405340
jmp 0x470b92
lea edx, [ebp - 0x10]
mov eax, dword [0x4dc7f8]
call fcn.00412764
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405738
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x470cc6
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.004059c8
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405738
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x470cc6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x470cf0
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x470cc6
mov al, byte [ebp - 5]
sub al, 1
jb 0x470c12
je 0x470c6c
dec al
je 0x470ca5
jmp 0x470cc6
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x44]
mov ecx, 3
mov eax, 0x470cfc
call fcn.0040dee0
jmp 0x470cc6
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x10]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x54]
mov ecx, 1
mov eax, 0x470d10
call fcn.0040dee0
jmp 0x470cc6
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x470d20
call fcn.0040dee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470ceb
lea eax, [ebp - 0x24]
call fcn.004052a8
lea eax, [ebp - 0x10]
call fcn.004052a8
ret