joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4277f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x427814
cmp dword [edi + 0x54], 0
jne 0x427814
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00431ab6
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004277bb
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x42b1c6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42b1ff
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00409bde
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004054ab
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42c71d
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x45d0fc
mov ecx, edi
call fcn.00401638
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x42c770
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x42c783
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00409bde
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004054ab
jmp 0x42c783
mov ecx, esi
call fcn.004278bf
test eax, eax
je 0x42c783
push edi
mov ecx, eax
call fcn.0042b1c6
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x42cc61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42cca4
call fcn.00431ab6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42cca4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ccbf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042c81b
test ebx, ebx
mov esi, eax
je 0x42ccbd
test edi, edi
je 0x42ccbd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4337ca
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x470d08]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x433868
push 0x45a12c
push 4
push eax
call fcn.004391ef
push eax
call fcn.004015e4
add esp, 0x10
push ebx
push edi
call fcn.0043d966
mov edi, dword [eax]
call fcn.0043d966
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043d90c
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0043d966
cmp dword [eax], ebx
je 0x43387f
call fcn.0043d966
push dword [eax]
call fcn.00419950
pop ecx
jmp 0x433886
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x433819
jmp 0x4338f8
call fcn.0043d966
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x4338f4
cmp dword [ebp - 0x40], esi
jae 0x4338f4
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00437fa0
add esp, 0xc
push 0x459750
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4338e6
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4338e6
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4338e6
push ebx
push ebx
push esi
jmp 0x4338ec
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4338f6
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.00437f1d
add ebp, 0x1f4
leave
ret
Function at 0x437f1d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x470d08]
jne 0x437f27
repz ret
jmp fcn.00442552
Function at 0x43c8ea
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43c927
cmp dword [ebp + 0x14], edi
je 0x43c927
cmp ecx, edi
jne 0x43c92e
call fcn.0043d966
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043ff89
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43c942
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43c963
cmp ebx, 0xffffffff
je 0x43c952
push ebx
push edi
push ecx
call fcn.00437fa0
add esp, 0xc
cmp esi, edi
je 0x43c90f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43c90f
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43c97f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43c986
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43ca77
test word [esi + 0xc], 0x10c
je 0x43c9da
mov eax, dword [esi + 4]
test eax, eax
je 0x43c9da
jl 0x43cad8
cmp ebx, eax
mov edi, ebx
jb 0x43c9ab
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43ca7f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00437ea2
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43ca6f
cmp ebx, dword [ebp - 0xc]
jb 0x43ca47
cmp dword [ebp - 0xc], 0
je 0x43ca04
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43c9f9
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43ca00
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43ca0f
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43ca0f
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43caab
push eax
push dword [ebp - 8]
push esi
call fcn.0043de8a
pop ecx
push eax
call fcn.0044843e
add esp, 0xc
test eax, eax
je 0x43caea
cmp eax, 0xffffffff
je 0x43cad8
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43ca6f
push esi
call fcn.004465ca
cmp eax, 0xffffffff
pop ecx
je 0x43cadc
cmp dword [ebp - 4], 0
je 0x43caab
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43c98e
mov eax, dword [ebp + 0x14]
jmp 0x43c929
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43ca96
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00437fa0
add esp, 0xc
call fcn.0043d966
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43c91f
cmp dword [ebp + 0xc], 0xffffffff
je 0x43cac1
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00437fa0
add esp, 0xc
call fcn.0043d966
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43c91f
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43c929
or dword [esi + 0xc], 0x10
jmp 0x43cadc
Function at 0x43ebf7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x470e90]
je 0x43ec12
inc edi
cmp edi, 0x17
jb 0x43ec03
cmp edi, 0x17
jae 0x43ed92
push ebp
push 3
call fcn.0044b3bf
cmp eax, 1
pop ecx
je 0x43ed5e
push 3
call fcn.0044b3bf
test eax, eax
pop ecx
jne 0x43ec46
cmp dword [0x4709d8], 1
je 0x43ed5e
cmp ebx, 0xfc
je 0x43ed91
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x474e40
push ebp
call fcn.0044b35a
add esp, 0xc
test eax, eax
je 0x43ec7c
push esi
push esi
push esi
push esi
push esi
call fcn.0043fe8d
add esp, 0x14
push 0x104
mov esi, 0x474e59
push esi
push 0
mov byte [0x474f5d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43ecc0
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0044b35a
add esp, 0xc
test eax, eax
je 0x43ecc0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043fe8d
add esp, 0x14
push esi
call fcn.00438f20
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43ed05
push esi
call fcn.00438f20
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x475154
push 0x45b59c
sub ecx, eax
push ecx
push eax
call fcn.0044b2a7
add esp, 0x14
test eax, eax
je 0x43ed05
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043fe8d
add esp, 0x14
jmp 0x43ed07
xor esi, esi
push 0x45b598
push ebx
push ebp
call fcn.0044b236
add esp, 0xc
test eax, eax
je 0x43ed27
push esi
push esi
push esi
push esi
push esi
call fcn.0043fe8d
add esp, 0x14
push dword [edi*8 + 0x470e94]
push ebx
push ebp
call fcn.0044b236
add esp, 0xc
test eax, eax
je 0x43ed49
push esi
push esi
push esi
push esi
push esi
call fcn.0043fe8d
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0044b079
add esp, 0xc
jmp 0x43ed91
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43ed91
cmp ebp, 0xffffffff
je 0x43ed91
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x470e94]
push dword [esi]
call fcn.00438f20
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44b079
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043f7bb
xor ebx, ebx
cmp dword [0x47594c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x44b14f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44b22f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44b22f
push eax
call fcn.0043f74d
mov dword [esp], 0x45b9f0
push edi
mov dword [0x47594c], eax
call esi
push eax
call fcn.0043f74d
mov dword [esp], 0x45b9dc
push edi
mov dword [0x475950], eax
call esi
push eax
call fcn.0043f74d
mov dword [0x475954], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043af8d
test eax, eax
pop ecx
pop ecx
je 0x44b11d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043fe8d
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x44b14f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043f74d
cmp eax, ebx
pop ecx
mov dword [0x47595c], eax
je 0x44b14f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043f74d
pop ecx
mov dword [0x475958], eax
mov eax, dword [0x475958]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x44b1d4
cmp dword [0x47595c], ecx
je 0x44b1d4
push eax
call fcn.0043f7c4
push dword [0x47595c]
mov esi, eax
call fcn.0043f7c4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x44b1d4
cmp edi, ebx
je 0x44b1d4
call esi
cmp eax, ebx
je 0x44b1a1
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44b1a1
test byte [ebp - 0x18], 1
jne 0x44b1d4
lea eax, [ebp - 0x10]
push eax
call fcn.0043afc4
test eax, eax
pop ecx
je 0x44b1bc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043fe8d
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x44b1cb
or dword [ebp + 0x10], 0x200000
jmp 0x44b20f
or dword [ebp + 0x10], 0x40000
jmp 0x44b20f
mov eax, dword [0x475950]
cmp eax, dword [ebp - 8]
je 0x44b20f
push eax
call fcn.0043f7c4
cmp eax, ebx
pop ecx
je 0x44b20f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44b20f
mov eax, dword [0x475954]
cmp eax, dword [ebp - 8]
je 0x44b20f
push eax
call fcn.0043f7c4
cmp eax, ebx
pop ecx
je 0x44b20f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47594c]
call fcn.0043f7c4
cmp eax, ebx
pop ecx
je 0x44b22f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44b231
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404aa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0
push dword [eax - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop ebp
ret 4

Function at 0x4058f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x48]
push esi
movups xmmword [ebp - 0x48], xmm0
mov esi, dword [ebp + 0x8c]
movups xmm0, xmmword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x90]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x4c], esi
mov dword [edi + 0x40], esi
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp + 0x38]
movups xmmword [ebp - 0x18], xmm0
movups xmm0, xmmword [ebp + 0x4c]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [ebp + 0x5c]
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp + 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp + 0x7c]
movups xmmword [ebp - 0x5c], xmm0
test esi, esi
jle 0x405a74
cmp esi, 0x40
jb 0x405a5d
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, edi
cmp edi, ecx
ja 0x405997
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x405a5d
lea ecx, [ebp + esi - 0x8d]
cmp edi, ecx
ja 0x4059b0
lea ecx, [ebp - 0x8c]
cmp edx, ecx
jae 0x405a5d
mov ecx, esi
push ebx
and ecx, 0x8000003f
jns 0x4059c0
dec ecx
or ecx, 0xffffffc0
inc ecx
mov ebx, esi
lea edx, [edi + 0x20]
sub ebx, ecx
mov dword [ebp - 0x98], edx
mov esi, edi
lea ecx, [ebp - 0x38]
sub esi, ecx
sub ecx, edi
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x7c]
sub ecx, edi
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x48]
lea ecx, [ebp - 0x38]
add edx, eax
movups xmm1, xmmword [ebp + eax - 0x8c]
add ecx, eax
pxor xmm1, xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esi + ecx], xmm1
mov ecx, dword [ebp - 0x94]
movups xmm1, xmmword [ebp + eax - 0x7c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x6c]
movups xmmword [edx - 0x10], xmm1
movups xmm1, xmmword [ebp + eax - 0x28]
add eax, 0x40
pxor xmm1, xmm0
movups xmm0, xmmword [edi + edx]
movups xmmword [edx], xmm1
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
mov edx, dword [ebp - 0x98]
cmp eax, ebx
jl 0x4059f0
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
pop ebx
cmp eax, esi
jge 0x405a74
mov cl, byte [ebp + eax - 0x8c]
xor cl, byte [ebp + eax - 0x48]
mov byte [edi + eax], cl
inc eax
cmp eax, esi
jl 0x405a61
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x4092d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x409329
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409329
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40931a
cmp esi, edx
jae 0x409329
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x409308
cmp esi, edx
jae 0x409329
cmp word [esi], 0
je 0x409329
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x409cf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x409d06
mov eax, 1
pop esi
pop ebp
ret 4
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x409d4e
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409d4e
push edi
call fcn.0048b530
add esp, 4
test eax, eax
je 0x409d4e
push edi
lea ecx, [esi + 0xc]
call fcn.004590f0
test eax, eax
je 0x409d45
pop edi
mov dword [esi + 4], 1
mov eax, 1
pop esi
pop ebp
ret 4
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x40fb60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515208
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
jne 0x40fd68
mov eax, dword [ebx + 0x40]
lea ecx, [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
push 0
push dword [ebp + 0x18]
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405050
mov dword [ebx + 0x2c], esi
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x40fbc4
mov eax, 1
jmp 0x40fc41
cmp esi, 1
jne 0x40fbe5
push dword [ebp + 0x14]
mov ecx, ebx
mov dword [ebx + 0x40], esi
call fcn.00404800
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebx + 0x40], 0
je 0x40fc3f
mov eax, esi
jmp 0x40fc41
cmp esi, 0xf
jne 0x40fc14
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, esp
mov dword [ebx + 0x40], 1
mov dword [eax], ecx
mov ecx, ebx
call fcn.00404ac0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [ebx + 0x40], 0
je 0x40fc3f
lea eax, [esi - 0xe]
jmp 0x40fc41
cmp esi, 0x14
jne 0x40fc3f
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, esp
mov dword [ebx + 0x40], 1
mov dword [eax], ecx
mov ecx, ebx
call fcn.00404850
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebx + 0x40], 0
je 0x40fc3f
lea eax, [esi - 0x13]
jmp 0x40fc41
xor eax, eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x40], ecx
test eax, eax
jne 0x40fcb8
cmp esi, 0x111
jne 0x40fd68
mov eax, dword [ebp + 0x10]
mov ecx, 4
movzx eax, ax
cmp cx, ax
jne 0x40fcd1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0x10], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.finish_install_open
mov dword [ebp - 4], 0
call fcn.0046f0b0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00470530
push 1
mov eax, dword [ebx + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 5
cmp cx, ax
jne 0x40fd1c
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0x10], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.finish_install_nothing
mov dword [ebp - 4], 1
call fcn.0046f0b0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00470530
push 2
jmp 0x40fca6
mov ecx, 3
cmp cx, ax
jne 0x40fd68
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0x10], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.finish_install_close
mov dword [ebp - 4], 2
call fcn.0046f0b0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00470530
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40fca4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x411210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515478
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.bubble_play
push str.install
mov dword [ebp - 4], 0
call fcn.00410a80
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00470740
mov ecx, esi
call fcn.00412ea0
push str.CIconBubbleWnd::_Wait6sAndQuit
call fcn.00441a80
add esp, 4
mov dword [esi + 0x140], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0x13c], eax
movzx eax, word [esi + 0x6c]
test ax, ax
je 0x4112b8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
xor eax, eax
mov word [esi + 0x6c], ax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515588
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x7b
jne 0x411b49
cmp dword [esi + 0x140], 0
je 0x411b0a
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [esi + 0x13c]
cmp eax, 0x1770
jb 0x411b0a
push dword [esi + 0x70]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [esi + 0x70]
test eax, eax
je 0x411ab0
push str.CIconBubbleWnd::OnTimer__icon__s_exists
call fcn.00441a80
sub esp, 0x20
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov dword [ebp - 4], 0
push str.bubble_60s_exists
jmp 0x411ad9
push str.CIconBubbleWnd::OnTimer__icon__s_still_deleted
call fcn.00441a80
sub esp, 0x20
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov dword [ebp - 4], 1
push str.bubble_60s_deleted
push str.install
call fcn.00410a80
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00470740
mov ecx, esi
call fcn.00412090
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x70]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411c00
push dword [esi + 0x70]
push str.CIconBubbleWnd::OnTimer__icon__s_deleted
call fcn.00441a80
sub esp, 0x20
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov dword [ebp - 4], 2
push str.bubble_icon_deleted
jmp 0x411bb6
cmp eax, 0x7c
jne 0x411c00
push dword [esi + 0x70]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [esi + 0x70]
test eax, eax
je 0x411b8d
push str.CIconBubbleWnd::OnTimer__icon__s_exists
call fcn.00441a80
sub esp, 0x20
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov dword [ebp - 4], 3
push str.bubble_60s_exists
jmp 0x411bb6
push str.CIconBubbleWnd::OnTimer__icon__s_still_deleted
call fcn.00441a80
sub esp, 0x20
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov dword [ebp - 4], 4
push str.bubble_60s_deleted
push str.install
call fcn.00410a80
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00470740
movzx eax, word [esi + 0x6c]
test ax, ax
je 0x411be4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
xor eax, eax
mov word [esi + 0x6c], ax
push 0x7b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4