joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d6b1
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x21c]
xor ebx, ebx
push eax
push 0x1a
xor edi, edi
call fcn.00403c82
add esp, 0x14
test eax, eax
je 0x47d8ce
push str.MacromediaFlash_Playermacromedia.com_support_flashplayer_sys_settings.sol
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47d8ce
test al, 0x10
jne 0x47d8ce
xor eax, eax
push eax
push eax
push 3
push eax
push 2
push 0x10000000
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47d8d5
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x100000
ja 0x47d8cd
push 0x577e22
push esi
call fcn.004f4050
mov dword [ebp - 0x238], eax
pop ecx
pop ecx
test eax, eax
je 0x47d8cd
and dword [ebp - 0x23c], edi
lea ecx, [ebp - 0x23c]
push edi
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
mov dword [ebp - 0x240], edi
test edi, edi
je 0x47d8c0
cmp dword [ebp - 0x23c], esi
jne 0x47d8c0
push dword [ebp - 0x23c]
and dword [ebp - 0x224], 0
lea edi, [ebp - 0x14]
mov esi, str.safefullscreen
mov dword [ebp - 0x220], 0xf
lea ecx, [ebp - 0x234]
mov byte [ebp - 0x234], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x238]
push esi
call fcn.004062bc
cmp dword [ebp - 0x220], 0x10
lea edx, [ebp - 0x234]
jb 0x47d804
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
jb 0x47d812
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x224]
add eax, ecx
cmp dword [ebp - 0x220], 0x10
lea ecx, [ebp - 0x234]
jb 0x47d82f
mov ecx, dword [ebp - 0x234]
push sub.msvcrt.dll_tolower
push edx
push eax
push ecx
lea eax, [ebp - 0x248]
push eax
call fcn.0047d4c2
add esp, 0x14
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x234]
push 0
push eax
call fcn.0047de20
mov edi, eax
cmp edi, 0xffffffff
jne 0x47d871
lea ecx, [ebp - 0x234]
call fcn.004061d7
mov edi, dword [ebp - 0x240]
jmp 0x47d8c6
lea eax, [ebp - 0x14]
push eax
call sub.msvcrt.dll_strlen
pop ecx
xor ecx, ecx
mov word [ebp - 0x238], 0x101
push ecx
push ecx
add eax, edi
mov dword [ebp - 0x244], ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x244]
push eax
push 2
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x234]
mov edi, eax
call fcn.004061d7
jmp 0x47d8c6
mov esi, dword [ebp - 0x238]
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x47daf8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.00403df9
mov ecx, esi
cmp dword [eax + 0x140], 2
jne 0x47db26
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047d504
jmp 0x47db48
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047d596
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x47db50
xor eax, eax
jmp 0x47db53
xor eax, eax
inc eax
pop esi
pop ebp
ret 0x10

Function at 0x47db72
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.00403df9
mov ecx, esi
cmp dword [eax + 0x140], 2
jne 0x47dba6
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov eax, dword [edx - 0xc]
add eax, eax
push eax
push edx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047d504
jmp 0x47dbce
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047d596
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x47dbd6
xor eax, eax
jmp 0x47dbd9
xor eax, eax
inc eax
pop esi
pop ebp
ret 0x10
Function at 0x47e922
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4218
call fcn.00522d80
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420c]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4214]
push eax
push dword [esi]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x47ea17
cmp eax, 0x3fff
ja 0x47ea17
lea ecx, [ebp - 0x420c]
push ecx
push eax
push 0
push dword [esi]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47ea17
lea eax, [ebp - 0x4218]
push eax
lea eax, [ebp - 0x4210]
push eax
push 0x528004
lea eax, [ebp - 0x420c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47ea17
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x4210]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044b53c
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcslen
add esp, 0x2c
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00404550
xor eax, eax
inc eax
jmp 0x47ea19
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret

Function at 0x47ea27
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x404]
mov ebx, 0x400
push ebx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x40c], 1
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], ebx
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0x527fb4
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x47eaed
call fcn.0043bd09
test eax, eax
je 0x47eafe
push ebx
lea eax, [ebp - 0x404]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x40c], 1
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], ebx
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0x527fb4
push str.Wow6432NodeCLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x47eafe
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47eb02
xor eax, eax
jmp 0x47eb21
lea ecx, [ebp - 0x404]
push ecx
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea ecx, [ebp - 0x404]
push ecx
mov ecx, edi
call fcn.00404550
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x47eb8a
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_Explorer
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0047ed97
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00402af5
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret

Function at 0x47ebfd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x404]
mov esi, 0x400
push esi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x408], esi
lea eax, [ebp - 0x408]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x40c], ebx
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
push str.Version
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x47ec8a
lea ecx, [ebp - 0x404]
push ecx
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea ecx, [ebp - 0x404]
push ecx
mov ecx, edi
call fcn.00404550
mov eax, ebx
jmp 0x47ecee
push edi
lea eax, [ebp - 0x414]
push str.IEXPLORE.EXE
push eax
call fcn.0047eb8a
pop ecx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00413428
add esp, 0xc
push eax
call fcn.0047e922
pop ecx
pop ecx
mov ecx, dword [ebp - 0x410]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp - 0x414]
add ecx, 0xfffffff0
call fcn.004042e9
test esi, esi
jne 0x47ec86
mov esi, 0x527fb4
push esi
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00404550
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x47fb38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
lea eax, [ebp - 0x20c]
push 0x208
push edi
push eax
mov dword [ebp - 0x218], edi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x210], 0x206
lea eax, [ebp - 0x218]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x214], ebx
push eax
push 0x20219
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47fbeb
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push edi
push 0x527fb4
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47fbeb
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x47fbeb
lea eax, [ebp - 0x20c]
push eax
call fcn.0041505c
pop ecx
test eax, eax
jne 0x47fc65
cmp dword [ebp + 8], edi
je 0x47fc69
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x214], ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x527fb4
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360se.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x47fc69
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x47fc69
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0041505c
pop ecx
test eax, eax
je 0x47fc69
mov eax, ebx
jmp 0x47fc6b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x4805c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.wininet.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x480753
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetQueryOptionW
push edi
call esi
push str.InternetSetOptionW
push edi
mov dword [ebp - 0x41c], eax
call esi
cmp dword [ebp - 0x41c], 0
mov esi, eax
je 0x48074c
test esi, esi
je 0x48074c
push 0x14
lea eax, [ebp - 0x430]
mov dword [ebp - 0x448], 5
push 0
push eax
mov dword [ebp - 0x43c], 1
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x430], 0x14
mov dword [ebp - 0x428], 2
lea eax, [ebp - 0x448]
mov dword [ebp - 0x420], eax
test ebx, ebx
je 0x4806c4
push ebx
call sub.msvcrt.dll_wcslen
pop ecx
test eax, eax
je 0x4806c4
push ebx
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00516cf0
lea eax, [ebp - 0x414]
add esp, 0xc
mov dword [ebp - 0x42c], eax
jmp 0x4806cb
and dword [ebp - 0x42c], 0
push 0x14
pop ebx
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
lea eax, [ebp - 0x430]
push eax
push 0x4b
push 0
call dword [ebp - 0x41c]
test eax, eax
je 0x480753
cmp dword [ebp - 0x438], 9
jne 0x480727
mov dword [ebp - 0x438], 1
push ebx
lea eax, [ebp - 0x430]
mov dword [ebp - 0x418], ebx
push eax
push 0x4b
push 0
call esi
test eax, eax
je 0x480753
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
inc eax
jmp 0x480755
xor eax, eax
inc eax
cmp dword [ebp - 0x438], eax
jne 0x48071b
cmp dword [ebp - 0x444], 5
je 0x480744
cmp dword [ebp - 0x444], 3
jne 0x48071b
mov dword [ebp - 0x444], eax
jmp 0x480703
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x481623
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push 0x33
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x48163f
add eax, 0xffffffe0
jmp 0x481641
xor eax, eax
test eax, eax
je 0x48169e
push esi
push edi
lea edi, [eax + 0x20]
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, edi
call dword [eax + 8]
mov esi, dword [eax]
test esi, esi
jne 0x481693
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0xc]
mov esi, eax
test esi, esi
je 0x48169c
push 1
push 0
push 1
push esi
lea ecx, [ebp - 0x1c]
call fcn.00419f27
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x481cff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00403a64
push eax
lea ecx, [ebp - 0x24]
call fcn.00402a6b
call fcn.00403a64
push eax
lea ecx, [ebp - 0x28]
call fcn.00402a6b
sub esp, 0x18
mov ecx, esp
push str.Title
call fcn.004108e3
push dword [ebx + 0x190]
mov ecx, dword [0x5740b0]
lea eax, [ebp - 0x1c]
push eax
call fcn.0045e23f
cmp dword [ebp - 8], 8
lea edi, [ebp - 0x1c]
jb 0x481d60
mov edi, dword [ebp - 0x1c]
push 0x9a
lea ecx, [ebp - 0x2c]
call fcn.00402af5
push edi
lea ecx, [ebp - 0x20]
mov esi, dword [eax]
call fcn.00402af5
push dword [eax]
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00415254
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x94
lea ecx, [ebp - 0x20]
call fcn.00402af5
mov edi, dword [ebp - 0x24]
push edi
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.00415254
mov ecx, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebp - 0x28]
push esi
push 0x443
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push 0x12c
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x55a
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x1c]
call fcn.00410d88
lea ecx, [esi - 0x10]
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 0x10

Function at 0x481edf
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 1
push 1
mov ebx, ecx
mov esi, 0x43c
push 0
push esi
push dword [ebx + 4]
call fcn.0041c6a2
add esp, 0x14
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebx + 0x180]
call fcn.00404550
push 0x405
push dword [ebx + 4]
lea esi, [ebx + 0x17c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x2710
push 0
mov ecx, esi
mov dword [esi], eax
call fcn.00429fde
push 0x443
push 1
push 0x405
push dword [ebx + 4]
lea ecx, [ebx + 0x20]
call fcn.004b523a
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00522d04
leave
ret 8
Function at 0x48253a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 8], ebx
cmp dword [esi + 4], edi
je 0x482556
call fcn.004826e8
push 0x527fb4
lea ecx, [ebp + 0xc]
call fcn.00402af5
push 0x527fb4
lea ecx, [ebp - 4]
call fcn.00402af5
mov eax, dword [esi + 8]
test eax, eax
jne 0x482590
lea eax, [ebp + 0xc]
push dword [esi + 0xc]
cmp dword [esi + 4], edi
je 0x482589
push 0x53c7b0
jmp 0x4825de
push 0x53c808
jmp 0x4825de
cmp eax, 1
jne 0x4825c2
push dword [esi + 0xc]
lea eax, [ebp + 0xc]
push 0x53c858
push eax
call fcn.00415254
mov eax, dword [esi]
push 0x64
pop ecx
cdq
idiv ecx
push eax
lea eax, [ebp - 4]
push str._._colorrgb_101_101_101___.__u__
push eax
call fcn.00415254
add esp, 0x18
jmp 0x4825e7
cmp eax, 2
jne 0x4825e7
lea eax, [ebp + 0xc]
push dword [esi + 0xc]
cmp dword [esi + 4], edi
je 0x4825d9
push 0x53c8f0
jmp 0x4825de
push 0x53c948
push eax
call fcn.00415254
add esp, 0xc
cmp dword [esi + 8], 1
je 0x48264a
cmp dword [esi + 4], edi
jne 0x48264a
mov eax, dword [0x56a25c]
mov ecx, eax
sub ecx, 1
je 0x482629
sub ecx, 1
je 0x482622
sub ecx, 1
jne 0x482644
mov esi, 0x5371f0
push esi
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.00402d75
mov eax, edi
jmp 0x482644
mov esi, 0x529ab0
jmp 0x48262e
mov esi, 0x529aac
push esi
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.00402d75
mov eax, dword [0x56a25c]
inc eax
mov dword [0x56a25c], eax
push 0x443
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [ebp + 0xc]
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebp - 4]
push 0x527fb4
push esi
call sub.msvcrt.dll_wcscmp
pop ecx
pop ecx
mov ecx, dword [ebx + 4]
mov ebx, 0x55a
push ebx
push ecx
test eax, eax
je 0x4826a7
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 8]
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4826cf
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x527fb4
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 8]
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi - 0x10]
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x483605
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.0043e31a
xor ebx, ebx
push ebx
push ebx
push 0x402
push dword [esi + 0x18]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
test eax, eax
je 0x483677
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x483677
push edi
call fcn.004835e0
push ebx
push 0x64
push 1
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push ebx
lea ecx, [esi - 0x20]
push ecx
push 0x483944
push ebx
push ebx
call sub.msvcrt.dll__beginthreadex
mov dword [esi + 0x10], eax
add esp, 0x18
xor eax, eax
inc eax
jmp 0x483679
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x483680
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
mov edi, ecx
lea ecx, [ebp - 0x3c]
push 0
push 1
push dword [edi + 4]
call fcn.00419f27
sub esp, 0x18
mov ecx, esp
push str.Title
call fcn.004108e3
mov ecx, dword [0x5740b0]
lea eax, [ebp - 0x1c]
push 0x76
push eax
call fcn.0045e23f
cmp dword [ebp - 0xc], 0
mov ebx, 0x43c
je 0x483728
call fcn.00403a64
push eax
lea ecx, [ebp - 0x20]
call fcn.00402a6b
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x4836eb
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402af5
push dword [eax]
lea eax, [ebp - 0x20]
push 0x53cb18
push eax
call fcn.00415254
mov ecx, dword [ebp - 0x24]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebp - 0x20]
push esi
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esi - 0x10]
call fcn.004042e9
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [edi + 4]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x405
push dword [edi + 4]
call esi
mov ebx, 0x469
mov dword [edi + 0x38], eax
push ebx
push dword [edi + 4]
call esi
push 0x42
push 0x14
push 0x29e
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
push 1
push 0x405
push dword [edi + 4]
lea ecx, [edi + 0x20]
call fcn.004b523a
lea ecx, [ebp - 0x1c]
call fcn.00410d88
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00522d04
leave
ret 8