joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a6a0
Capabilities:
Log keystrokes

Disassembly:
cmp dword [esp + 8], 1
push esi
jne 0x40a730
call fcn.0041a34c
mov ecx, eax
call fcn.00417bab
test eax, eax
jne 0x40a7d1
call fcn.00411b97
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x40a7d1
call fcn.004147b6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x40a7d1
call fcn.0041597b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x40a7d1
call fcn.00415dc7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x40a7d1
call fcn.00406a0b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x40a7d1
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40a7d1
cmp dword [esp + 0xc], 2
jne 0x40a7d1
push 2
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00406a0b
mov esi, eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a7d1
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40a7d1
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor ebp, ebp
push ebp
push dword [esi + 8]
call edi
push ebp
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call edi
mov edi, eax
cmp edi, esi
je 0x40a793
push 1
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x2000
call ebx
push 2
push ebp
push ebp
push 0x2001
call ebx
call fcn.00406a0b
push dword [eax + 8]
call dword [sym.imp.USER32.dll_BringWindowToTop]
cmp edi, esi
pop ebx
je 0x40a7cf
push ebp
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop ebp
xor eax, eax
pop esi
ret 0x10
Function at 0x40b78e
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xd4
mov eax, dword [0x430520]
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
xor eax, ebp
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x64], eax
call fcn.00403aad
push 1
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [ebp - 0x54]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
add dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x54], 0xd
add eax, 0x14
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], eax
call fcn.00402f4c
lea eax, [ebp - 0x40]
push eax
push 0x5c
xor edi, edi
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], 0x2bc
mov dword [ebp - 0x44], edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b689
push dword [ebp - 0x44]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x1c]
call ebx
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push 0x24
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x34]
push dword [eax - 0xc]
push eax
push dword [ebp + 0x1c]
call edi
push 0
push 0
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp + 0x1c]
call ebx
mov eax, dword [esi + 0x38]
push 0x24
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x50], 0x28
mov dword [ebp - 0x48], 0x3c
push dword [eax - 0xc]
push eax
push dword [ebp + 0x1c]
call edi
mov eax, dword [esi + 0x3c]
push 0x28
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], 0xcf
mov dword [ebp - 0x50], 0xbb
push ecx
push dword [eax - 0xc]
push eax
push dword [ebp + 0x1c]
call edi
push 0xf
push 8
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x1c]
mov dword [ebp - 0x6c], 0xc
mov dword [ebp - 0x68], 0xd2
mov dword [ebp - 0x64], 0x13f
mov dword [ebp - 0x60], 0xe3
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0
mov ecx, 0x131
sub ecx, eax
push ecx
push dword [esi + 0x20]
push 0xf
push eax
push 0xd3
push 0xd
push dword [ebp + 0x1c]
call edi
mov eax, dword [esi + 0x30]
push 0xcc0020
push 0
push 0
push dword [esi + 0x20]
mov ecx, 0x131
push 0xf
sub ecx, eax
push ecx
push 0xd3
add eax, 0xd
push eax
push dword [ebp + 0x1c]
call edi
cmp dword [ebp - 0x58], 0
je 0x40b927
push dword [ebp - 0x58]
push dword [ebp + 0x1c]
call ebx
cmp dword [ebp - 0x44], 0
pop edi
pop esi
pop ebx
je 0x40b939
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.004021e8
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x20]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
xor eax, eax
call fcn.00422213
add ebp, 0x68
leave
ret 0x10
Function at 0x40c70f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
mov ebx, ecx
push 0x1009
lea edi, [ebx + 0x20]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 8]
cmp eax, esi
mov dword [ebx + 0x28], eax
je 0x40c7cd
cmp dword [eax + 8], esi
je 0x40c7cd
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi]
call esi
push 5
push dword [ebx + 0x24]
call esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax]
and dword [ebp - 4], 0
cmp esi, eax
je 0x40c7df
xor eax, eax
push eax
push eax
push eax
push eax
push 0x42771c
push dword [ebp - 4]
mov ecx, edi
push 1
call fcn.0040c632
push dword [esi + 8]
mov ecx, edi
push eax
call fcn.0040c577
mov esi, dword [esi]
mov eax, dword [ebp + 8]
inc dword [ebp - 4]
cmp esi, dword [eax + 4]
jne 0x40c768
cmp dword [ebp - 4], 3
jl 0x40c7df
push 0x3f7
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, edi
dec eax
dec eax
push eax
push 0
call fcn.0040c117
jmp 0x40c7df
push esi
push dword [edi]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 0
push dword [ebx + 0x24]
call esi
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40c7f3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x430520]
add dword [ebp + 0x10], 8
add dword [ebp + 0xc], 0xd
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push 1
push dword [esi]
add eax, 0x14
mov edi, ecx
mov dword [ebp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
lea ecx, [ebp - 0x6c]
call fcn.00402f4c
lea eax, [ebp - 0x60]
push eax
push 0x5c
xor ebx, ebx
push ebx
push ebx
push 0x31
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x50], 0x2bc
mov dword [ebp - 0x64], ebx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040b689
push dword [ebp - 0x64]
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
push 0x24
lea ecx, [ebp + 0xc]
push ecx
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x54]
push dword [eax - 0xc]
push eax
push dword [esi]
call ebx
push 0
push 0
push 0x31
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 0x58]
push 0x24
lea ecx, [ebp + 0xc]
push ecx
mov dword [ebp + 0x10], 0x20
mov dword [ebp + 0x18], 0x34
push dword [eax - 0xc]
push eax
push dword [esi]
call ebx
mov edi, dword [edi + 0x5c]
push 0x24
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0x10], 0x8a
mov dword [ebp + 0x18], 0x9e
push dword [edi - 0xc]
push edi
push dword [esi]
call ebx
cmp dword [ebp - 0x68], 0
je 0x40c8f3
push dword [ebp - 0x68]
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x64], 0
pop edi
pop esi
pop ebx
je 0x40c905
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.004021e8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422213
leave
ret 0x14
Function at 0x40d605
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x423319
call fcn.00422230
sub esp, 0xac
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push 0x1004
lea ebx, [esi + 0x20]
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x4c]
cmp ecx, eax
jl 0x40d643
mov ecx, esi
call fcn.0040c52d
xor eax, eax
jmp 0x40d79a
push ecx
mov ecx, ebx
call fcn.0040c0d8
mov ebx, eax
cmp ebx, edi
je 0x40d797
push 0x44
lea eax, [ebp - 0xb8]
push edi
push eax
call sub.MSVCR71.dll_memset
push 0x10
lea eax, [ebp - 0x74]
push edi
push eax
mov dword [ebp - 0xb8], 0x44
call sub.MSVCR71.dll_memset
add esp, 0x18
mov ecx, ebx
call fcn.00408e2f
push eax
lea ecx, [ebp - 0x10]
call fcn.00405488
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00408eab
push eax
lea ecx, [ebp - 0x10]
call fcn.0040814f
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x428364
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00403a75
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0040adfa
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
call fcn.00405488
push 0x3c
lea eax, [ebp - 0x64]
push edi
push eax
mov byte [ebp - 4], 3
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], edi
call fcn.0041d8f2
test eax, eax
mov dword [ebp - 0x58], str.open
je 0x40d720
mov dword [ebp - 0x58], str.runas
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 5
jne 0x40d749
push 0xfffffffffffffffe
pop edi
jmp 0x40d7b5
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x40d7a9
push 0x40
push 0x70
push 0x7e
push dword [esi + 4]
call fcn.0041dc45
add esp, 0x10
push 6
mov ecx, ebx
mov dword [esi + 0x50], edi
call fcn.0040aa86
push dword [esi + 0x4c]
mov ecx, esi
call fcn.0040c22d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004021e8
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021e8
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push 4
mov ecx, ebx
mov dword [esi + 0x50], eax
call fcn.0040aa86
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004021e8
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021e8
mov eax, edi
jmp 0x40d79a
Function at 0x40dc41
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xc0
mov eax, dword [0x430520]
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
xor eax, ebp
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x64], eax
call fcn.00403aad
push 1
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [ebp - 0x50]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x40]
push eax
push 0x5c
xor edi, edi
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], 0x2bc
mov dword [ebp - 0x54], edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040b689
push dword [ebp - 0x54]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x1c]
call ebx
add dword [ebp - 0x4c], 8
add dword [ebp - 0x50], 0xd
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
push 0x24
add eax, 0x14
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x50]
push ecx
push dword [eax - 0xc]
push eax
push dword [ebp + 0x1c]
call edi
push 0
push 0
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp + 0x1c]
call ebx
mov eax, dword [esi + 0x28]
push 0x24
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x4c], 0x26
mov dword [ebp - 0x44], 0x3a
push dword [eax - 0xc]
push eax
push dword [ebp + 0x1c]
call edi
mov eax, dword [esi + 0x2c]
push 0x24
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x44], 0x58
mov dword [ebp - 0x50], 0x19
push dword [eax - 0xc]
push eax
push dword [ebp + 0x1c]
call edi
mov eax, dword [esi + 0x30]
push 0x24
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x4c], 0x5a
mov dword [ebp - 0x44], 0x6e
push dword [eax - 0xc]
push eax
push dword [ebp + 0x1c]
call edi
mov esi, dword [esi + 0x34]
push 0x24
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x4c], 0xb4
mov dword [ebp - 0x44], 0xc8
mov dword [ebp - 0x50], 0xd
push dword [esi - 0xc]
push esi
push dword [ebp + 0x1c]
call edi
cmp dword [ebp - 0x58], 0
je 0x40dda2
push dword [ebp - 0x58]
push dword [ebp + 0x1c]
call ebx
cmp dword [ebp - 0x54], 0
pop edi
pop esi
pop ebx
je 0x40ddb4
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x20]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
xor eax, eax
call fcn.00422213
add ebp, 0x68
leave
ret 0x10

Function at 0x40f402
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4236d0
call fcn.00422230
push ecx
push esi
mov esi, ecx
and dword [esi + 8], 0
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
call fcn.0040efa2
and dword [ebp - 4], 0
lea ecx, [esi + 0x24]
call fcn.0041e74d
lea ecx, [esi + 0x30]
call fcn.00402f4c
and dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40f40d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4236d0
call fcn.00422230
push ecx
push esi
mov esi, ecx
and dword [esi + 8], 0
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
call fcn.0040efa2
and dword [ebp - 4], 0
lea ecx, [esi + 0x24]
call fcn.0041e74d
lea ecx, [esi + 0x30]
call fcn.00402f4c
and dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f446
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4236fb
call fcn.00422230
push ecx
push esi
mov esi, ecx
and dword [esi + 0xc], 0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], esi
call fcn.0040efa2
and dword [ebp - 4], 0
and dword [esi + 0x28], 0
and dword [esi + 0x2c], 0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041e74d
lea ecx, [esi + 0x3c]
call fcn.00402f4c
lea ecx, [esi + 0x40]
call fcn.00402f4c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f451
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4236fb
call fcn.00422230
push ecx
push esi
mov esi, ecx
and dword [esi + 0xc], 0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], esi
call fcn.0040efa2
and dword [ebp - 4], 0
and dword [esi + 0x28], 0
and dword [esi + 0x2c], 0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041e74d
lea ecx, [esi + 0x3c]
call fcn.00402f4c
lea ecx, [esi + 0x40]
call fcn.00402f4c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x410534
Capabilities:
Access peb ldr_data

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x428660
mov dword [esi + 4], 0x428644
mov dword [esi + 8], 0xc0000001
mov ecx, dword [0x430558]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
pop esi
jmp fcn.0040f790

Function at 0x410fb4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x423ab7
call fcn.00422230
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [esi + 8], edi
call fcn.0040efa2
mov dword [ebp - 4], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.0041e74d
mov dword [esi + 0x44], edi
lea ecx, [esi + 0x4c]
call fcn.00402f4c
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 8
call fcn.0041c9cd
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4117d4
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x423c09
call fcn.00422230
sub esp, 0x38
push ebx
push esi
push edi
push dword [0x430908]
mov esi, ecx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411978
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esi, 0x40
xor edi, edi
cmp dword [esi], edi
jne 0x41187c
push esi
push 0x42750c
push 0x17
push edi
push 0x4275a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
push dword [0x430908]
lea ecx, [ebp - 0x24]
call fcn.00402150
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], edi
mov word [ebp - 0x44], di
call fcn.0040f6b1
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp - 0xe]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 1
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xe8]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call ebx
test esi, esi
jne 0x411978
xor edi, edi
mov esi, dword [ebp - 0x1c]
push dword [esi + 0x40]
lea ecx, [ebp - 0x10]
call fcn.00404416
mov dword [ebp - 4], 2
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x34]
lea ecx, [ebp - 0x34]
call fcn.0041e74d
push str.ThunderUpdate
push 0x428954
push str.Update
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0041e942
cmp dword [ebp - 0x14], edi
je 0x411939
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0041e4e1
mov dword [ebp - 0x18], edi
push 0x42893c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00403a75
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.0041e5bb
push dword [ebp - 0x28]
mov byte [ebp - 4], 7
call ebx
push 1
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.00415a6f
push dword [ebp - 0x18]
call ebx
push dword [ebp - 0x1c]
call ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0041e763
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 3
je 0x411956
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x411967
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
or dword [ebp - 4], 0xffffffff
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x41197d
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41411a
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
push ebp
lea edi, [esi + 0x4c]
push ebp
mov ecx, edi
mov dword [esi + 0x48], 1
call fcn.004114a7
mov ebx, dword [esi + 0x94]
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
mov ecx, edi
call fcn.004043ed
lea eax, [esp + 0x10]
push eax
push ebp
push esi
push 0x414075
push ebp
push ebp
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0x44], eax
je 0x41416f
xor eax, eax
jmp 0x414177
mov dword [esi + 0x48], ebp
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x415a6f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push 0x3c
xor esi, esi
lea eax, [ebp - 0x40]
push esi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], esi
call fcn.0041d8f2
test eax, eax
mov dword [ebp - 0x34], str.open
je 0x415aaf
mov dword [ebp - 0x34], str.runas
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 5
je 0x415ad8
cmp dword [ebp - 8], esi
jne 0x415add
or eax, 0xffffffff
jmp 0x415b0f
cmp dword [ebp + 0x10], esi
mov dword [ebp - 4], esi
je 0x415aee
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x415b0c
mov esi, dword [ebp - 8]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
leave
ret 0xc

Function at 0x415b14
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x38]
mov eax, dword [edi]
test eax, eax
je 0x415b3c
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [0x430858]
je 0x415b33
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
push 0
push edi
call dword [sym.imp.ATL71.DLL_Ordinal_30]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x415b61
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x415b61
push 0xffffffffffffffff
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415b82
push 1
push dword [esi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x430858]
and dword [esi + 0x34], 0
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x415ba4
push esi
push 0
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
inc eax
pop esi
ret
Function at 0x41623c
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x416214
push 0
push 0
mov dword [esi + 0x48], 1
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x44], eax
je 0x41626c
xor eax, eax
jmp 0x416275
and dword [esi + 0x48], 0
mov eax, 0x80004005
pop esi
pop ecx
ret