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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f26f
add esp, 0xfffffff0
call fcn.0040357c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a220
mov eax, dword [0x4a4d28]
cmp word [eax + 2], 0
jne 0x45f297
mov eax, dword [0x4a4d28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004609c0
mov eax, dword [0x4a4de0]
cmp word [eax + 2], 0
jne 0x45f2b1
mov eax, dword [0x4a4de0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460bb8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4123d8]
call fcn.00403228
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4123d8]
call fcn.00403228
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c794]
call fcn.0042451c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45f438
mov eax, dword [0x4a4c3c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004248ec
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461168
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a4c3c]
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.0040c76c
test eax, eax
je 0x45f3a6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088c8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c794
test eax, eax
je 0x45f3ba
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404238
mov eax, dword [0x4a4af8]
cmp byte [eax], 0
jne 0x45f3ee
mov eax, ebx
call fcn.0045f560
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00461344
mov eax, ebx
call fcn.00461d08
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f42e
call fcn.004035d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f7e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a5be4]
cmp dword [eax + 0x30], 0
je 0x45f88a
cmp dword [ebx + 0x94], 0
jne 0x45f884
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f770
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f884
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 0x45f84a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f884
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.00414740
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f859
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4603ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x460421
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.004040b8
jmp 0x46042e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040401c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461520
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461561
mov eax, esi
call fcn.004475e4
test al, al
je 0x461561
mov eax, dword [ebx + 0x84]
call fcn.004472e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461561
push 0
mov eax, dword [ebx + 0x84]
call fcn.004472e0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4684a4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46855e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046d4
mov eax, dword [0x4a4b7c]
cmp byte [eax], 0
je 0x468513
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a34
mov eax, dword [ebx]
call fcn.00404860
push eax
mov eax, dword [ebx]
call fcn.00404850
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404860
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a34
jmp 0x468545
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408a78
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468565
lea eax, [ebp - 0x3f0]
call fcn.00403fc8
ret
Function at 0x46856c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408a78
add esp, 0x3ec
pop ebx
ret

Function at 0x46872c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4687f2
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00457ad0
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004683e8
mov edi, eax
test edi, edi
je 0x46878b
mov al, byte [0x468800]
cmp al, bl
jne 0x46878b
mov edx, edi
mov eax, ebp
call fcn.00468320
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4687f2
cmp byte [ebp + 0x171], 2
jne 0x4687b6
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4a4ea4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00441cac
test eax, eax
jne 0x4687f2
jmp 0x4687ed
mov edx, dword [0x4a4dc4]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x138]
cmp edx, eax
je 0x4687ed
test byte [eax + 0x2f4], 8
jne 0x4687ed
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4a4dc4]
mov eax, edx
mov edx, 0xb006
call fcn.00441cac
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46eb28
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4a4ea4]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x46ebce
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x46eb6d
cmp eax, dword [esp]
pop edx
pop eax
jae 0x46eba9
jmp 0x46eb71
pop edx
pop eax
jge 0x46eba9
mov eax, dword [0x4a4ea4]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00469520
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x46ebce
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x46ebce
cmp dword [ebx + 0x12c], 0
je 0x46ebce
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042ba60
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x13c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x475a68
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x475b22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046d4
mov eax, dword [0x4a4b7c]
cmp byte [eax], 0
je 0x475ad7
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a34
mov eax, dword [ebx]
call fcn.00404860
push eax
mov eax, dword [ebx]
call fcn.00404850
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404860
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a34
jmp 0x475b09
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408a78
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475b29
lea eax, [ebp - 0x3f0]
call fcn.00403fc8
ret

Function at 0x478d7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x478dd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00478de0
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478ddd
ret

Function at 0x47f5f8
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x47f62e
jmp 0x47f6d4
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x47f672
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x47f672
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x47f682
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x47f682
mov eax, dword [edx + 0x14]
test eax, eax
je 0x47f69b
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0047bf9c
jmp 0x47f6d4
mov dl, 1
mov eax, dword [0x41bff4]
call fcn.0041df38
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0041e8f0
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.0041dae8
mov edx, esp
mov eax, esi
call fcn.0041e63c
mov eax, esi
call fcn.00403258
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x481ed8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.004472e0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00440a18
pop ebx
ret
Function at 0x48c508
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x48c52e
push 0
mov eax, dword [ebx + 0x94]
call fcn.004472e0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x48c5e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48c759
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x48c73e
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408a78
mov dl, 1
mov eax, dword [0x462ae4]
call fcn.00462b3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x412ae4]
call fcn.00403228
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.00462bb8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x48c73b
mov dl, 1
mov eax, dword [0x463ff4]
call fcn.0046405c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x48c770
call fcn.00463320
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004042d4
xor eax, eax
push ebp
push 0x48c734
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0046435c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048c778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c73b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.00403258
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403258
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403258
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c760
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403fec
ret
Function at 0x4906a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4906ce
mov eax, ebx
call fcn.00491154
cmp dword [ebx + 0x40], 0
je 0x4906c7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49073f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x490731
cmp dword [ebx + 8], 0
je 0x4906f0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x490702
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x490731
cmp dword [ebx + 8], 0
je 0x4906e3
cmp eax, 3
je 0x490715
dec eax
jne 0x4906e3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4906e3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4906e3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x49075d
cmp dword [ebx + 0x14], 0xcc
je 0x49075d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00490768
pop ebx
ret

Function at 0x4a1348
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404478
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4a14b0
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.00462054
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.00462074
jmp 0x4a1482
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404238
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040875c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00407e60
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00407e60
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004043d4
je 0x4a1462
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404238
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00407e60
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00407e60
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004043d4
jne 0x4a1479
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.00462094
test eax, eax
jne 0x4a13c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a14b7
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00403fec
lea eax, [ebp - 4]
call fcn.00403fc8
ret
Function at 0x4017a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2d1], 0
je 0x4017d2
push 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d1]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov dword [eax + 0x2d1], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x2d5], 0
je 0x4017fd
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d5]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2d5], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x2f5], 0
je 0x401826
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2f5]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2f5], 0
mov ecx, dword [ebp - 4]
call fcn.0042e529
mov esp, ebp
pop ebp
ret

Function at 0x401f30
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2d1], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.00402ee0
mov esp, ebp
pop ebp
ret

Function at 0x401f70
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x49804c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x220], ecx
push 0x208
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push 1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401fce
xor eax, eax
jmp 0x402029
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
push 0
mov edx, dword [ebp - 0x21c]
sub edx, 4
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 4]
push ecx
push 4
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ba52
mov esp, ebp
pop ebp
ret
Function at 0x402a30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4740a8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x49804c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x2cd], 0
jne 0x402a77
jmp 0x402c0d
push str.QueryInterface
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x2cd]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x402ab7
lea eax, [ebp - 0x10]
push eax
push 0x495004
push 0
call dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x402aaf
call dword [ebp - 0x10]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x2cd]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x2cd], 0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2c5
call fcn.00428a50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00402040
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004357bc
mov byte [ebp - 4], 1
push 0
push str..temp
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004035f0
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x54]
call fcn.00428a50
push eax
lea ecx, [ebp - 0x34]
call fcn.0043584a
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404090
cmp dword [ebp - 0x1c], 1
jne 0x402bf2
lea ecx, [ebp - 0x34]
call fcn.004354ba
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.00435b36
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x479ae4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004035f0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x64]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00403540
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00404090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00404090
lea ecx, [ebp - 0x3c]
call fcn.00428a50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x3c]
call fcn.00404090
jmp 0x402b5a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004357e2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404090
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret