joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a02d
Capabilities:
Parse url

Disassembly:
push 0x5c
mov eax, 0x46896c
call fcn.004525cd
push 0x38
lea eax, [ebp - 0x64]
push 0
push eax
mov esi, ecx
mov edi, edx
call fcn.0044c6d0
xor ebx, ebx
inc ebx
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x54], ebx
jb 0x42a062
mov esi, dword [esi]
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
test eax, eax
jne 0x42a079
xor al, al
jmp 0x42a0bd
mov eax, dword [ebp - 0x5c]
push 3
pop ecx
sub eax, ecx
je 0x42a08e
dec eax
je 0x42a08a
mov dword [edi], ebx
jmp 0x42a094
mov dword [edi], ecx
jmp 0x42a094
mov dword [edi], 2
push dword [ebp - 0x54]
lea esi, [ebp - 0x2c]
push dword [ebp - 0x58]
call fcn.004036b4
and dword [ebp - 4], 0
add edi, 4
mov esi, eax
call fcn.00403068
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040321f
mov al, bl
call fcn.00452650
ret

Function at 0x42b73a
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x467ed2
call fcn.004525cd
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x30], eax
mov esi, 0x104
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.0042a4d0
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [sym.imp.kernel32.dll_GetTempPathA]
push esi
sub edi, esi
push edi
call ebx
cmp eax, edi
jbe 0x42b796
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.0042a4d0
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
push esi
sub eax, esi
push eax
call ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040246d
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0042c761
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040321f
test esi, esi
je 0x42b7c5
push esi
call fcn.0044a640
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.00452650
ret
Function at 0x42b873
Capabilities:
Get common file path

Disassembly:
push 0x20c
mov eax, 0x46d6be
call fcn.004525cd
xor esi, esi
push 0x104
lea eax, [ebp - 0x118]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x170], esi
call fcn.0044c6d0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.shell32.dll_SHGetFolderPathA]
mov ebx, eax
cmp ebx, esi
je 0x42b9a1
lea eax, [ebp - 0x218]
push eax
call fcn.00402794
lea eax, [ebp - 0x218]
push str.SHGetFolderPath_0x
push eax
mov dword [ebp - 4], esi
call fcn.00405526
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 4]
pop ecx
lea eax, [ebp + eax - 0x218]
pop ecx
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
push 0x23
lea eax, [ebp - 0x218]
push eax
call fcn.0040a962
lea eax, [ebp - 0x218]
push str.__mode
push eax
call fcn.00405526
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x218]
push eax
call fcn.0040a962
lea eax, [ebp - 0x218]
push 0x47a530
push eax
call fcn.00405526
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea edi, [ebp - 0x180]
call fcn.00434dd8
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
push ecx
lea esi, [ebp - 0x16c]
mov ecx, eax
mov dword [ebp - 0x16c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_SysInfo.cpp
mov dword [ebp - 0x168], str.SysInfo::SHGetFolderPathAdapter
mov dword [ebp - 0x164], 0x1bf
call fcn.0042bde1
lea eax, [ebp - 0x160]
mov dword [esp], 0x487c28
push eax
call fcn.0044a640
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.0040246d
lea edx, [ebp - 0x134]
mov eax, edi
mov dword [ebp - 4], 2
call fcn.0042c761
push esi
push 1
lea ecx, [ebp - 0x134]
call fcn.0040321f
mov eax, edi
call fcn.00452650
ret

Function at 0x42c4f5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42c4fd
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x42c50d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42c515
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c529
test al, 0x10
je 0x42c529
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x42cc30
Capabilities:
Create directory

Disassembly:
push 0xe4
mov eax, 0x46d59a
call fcn.004525cd
mov eax, dword [ebp + 0x24]
mov ebx, ecx
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x42cc57
lea eax, [ebp + 8]
mov edi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
push ebx
push eax
call edi
test eax, eax
je 0x42cd21
cmp dword [0x49c100], 0
jg 0x42ccf7
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040244c
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 1
call fcn.00402794
lea eax, [ebp - 0xf0]
push str.Created__
push eax
mov byte [ebp - 4], 2
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.004042cb
mov esi, eax
push str.__directory
push esi
call fcn.00405526
pop ecx
pop ecx
push esi
push 0x1ce
push 0
mov ebx, str.FileUtils::_anonymous_namespace::createDir
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov esi, 0x49c100
call fcn.004016c6
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.004015e8
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x42cd39
lea edx, [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0042c761
push eax
mov byte [ebp - 4], 4
call fcn.00412bb4
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040321f
jmp 0x42cd39
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x42cd4b
lea eax, [ebp + 8]
call fcn.0042c50d
test al, al
je 0x42cd4b
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040321f
call fcn.00452650
ret
push str.System_error
push esi
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x4c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.FileUtils::_anonymous_namespace::createDir
mov dword [ebp - 0x44], 0x1d7
lea ebx, [ebp - 0x4c]
call fcn.0040244c
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 5
call fcn.00402794
lea eax, [ebp - 0xf0]
push str.CreateDirectory_
push eax
mov byte [ebp - 4], 6
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 7
call fcn.004042cb
mov esi, eax
push 0x47e228
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.004374b8
lea ecx, [ebp - 0x38]
push ecx
mov esi, ebx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041b5e6
lea eax, [ebp - 0x38]
mov dword [esp], 0x4878f8
push eax
call fcn.0044a640
int3
Function at 0x42e263
Capabilities:
Get file version info

Disassembly:
push 0xf0
mov eax, 0x46d350
call fcn.004525cd
mov eax, dword [ebp + 8]
push eax
mov esi, ebx
mov dword [ebp - 0x54], ebx
call fcn.0040244c
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x40], esi
jb 0x42e29f
mov eax, dword [ebx]
jmp 0x42e2a1
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x42e359
push str.System_error
mov dword [ebp - 0x4c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x464
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.0040244c
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.00402794
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 3
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.004042cb
mov esi, eax
push 0x47e228
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x60]
call fcn.004374b8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.0041b5e6
lea eax, [ebp - 0x3c]
mov dword [esp], 0x4878f8
push eax
call fcn.0044a640
mov esi, eax
lea eax, [ebx + 0x1c]
call fcn.0040fa1a
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x42e375
mov edx, dword [ebx]
jmp 0x42e377
mov edx, ebx
mov edi, dword [sym.imp.version.dll_GetFileVersionInfoA]
push ecx
push eax
push dword [ebp - 0x40]
push edx
call edi
test eax, eax
jne 0x42e415
push str.System_error
mov dword [ebp - 0x4c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x46d
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.0040244c
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 6
call fcn.00402794
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 7
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.004042cb
mov esi, eax
push 0x47e228
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x60]
call fcn.004374b8
mov byte [ebp - 4], 9
jmp 0x42e33b
mov eax, ebx
call fcn.00452650
ret 4
Function at 0x433f6c
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x467308
call fcn.00452564
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.0044a640
pop ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.0044a640
pop ecx
call dword [sym.imp.kernel32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.0044a640
mov eax, esi
mov dword [esp], 0x409
call fcn.0044a640
pop ecx
mov eax, esi
call fcn.0045263c
ret
Function at 0x43946a
Capabilities:
Check mutex on windows

Disassembly:
push 0xa8
mov eax, 0x46ce6e
call fcn.00452564
push str.Global_MSIExecute
xor esi, esi
push esi
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexA]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], esi
cmp eax, esi
je 0x43953c
push dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], esi
je 0x43951c
cmp dword [0x49c100], 1
jg 0x43951c
lea eax, [ebp - 0xb4]
push eax
call fcn.00402794
lea eax, [ebp - 0xb4]
push str.finish_waiting_for_mutex:
push eax
mov byte [ebp - 4], 1
call fcn.00405526
pop ecx
pop ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0xb4]
push eax
call fcn.0040ad34
lea eax, [ebp - 0xb4]
push eax
push 0x1c8
push 1
mov ebx, str.msi::waitForInstallationCompletion
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_MsiUtils.cpp
mov esi, 0x49c100
call fcn.004016c6
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0
call fcn.004015e8
cmp dword [ebp - 0x14], 0x102
jne 0x43953c
xor bl, bl
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call fcn.0044a640
pop ecx
mov al, bl
call fcn.0045263c
ret
mov bl, 1
jmp 0x439527

Function at 0x444307
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x4699d5
call fcn.00452564
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x2c
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x44435d
push 0xc8
lea esi, [ebp - 0x20]
call fcn.0044a640
push 0x487864
mov eax, esi
push eax
call fcn.0044a640
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.0041dfc8
push 0x482424
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.0044a640
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00443078
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.0041a86e
push 1
lea esi, [ebp]
call fcn.0041a86e
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.0044a628
add ebp, 0x244
leave
ret

Function at 0x44a628
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4976a0]
jne 0x44a632
repz ret
jmp fcn.00454985
Function at 0x44a640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x44a64f
pop dword [ebp - 0x20]
mov eax, 0x91ac9087
sub eax, 0x9167ea38
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x49822
push 0
mov eax, 0xfd16ae36
sub eax, 0xfccf7d86
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x27af8bef
sub ecx, 0x27af4621
mov edx, eax
mov ebx, 0x720cb297
sub ebx, 0x71bdda97
add ebx, dword [ebp - 0x20]
mov esi, 0x1610c07
add esi, 0x37b67587
xor dword [ebp - 8], ecx
mov edi, dword [ebx]
add dword [ebp - 4], 0x4b65b68b
sub edi, esi
add dword [ebp - 4], ebx
mov dword [edx], edi
add edx, 0x63674dd6
sub edx, 0x63674dd2
add ebx, 0x320cd05f
sub ebx, 0x320cd05b
loop 0x44a6ae
add eax, 0x10a0b
mov ebx, eax
add eax, 0xa1e89218
add eax, 0x5e176ded
mov ecx, 0x5b927bf4
add ecx, 0xa4ad840c
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10001000
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 ksa

Disassembly:
push 0xffffffffffffffff
push 0x10030268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x63
push eax
lea edi, [esi + 4]
mov dword [esp + 0x20], esi
push edi
mov dword [esi], 0x10033428
call dword [sym.imp.MSVCRT.dll_strncpy]
xor ebx, ebx
mov byte [esi + 0x67], bl
push 0x48
mov dword [esp + 0x34], ebx
mov dword [esi], 0x10033420
call sub.MFC42.DLL_operatornew
push 0x1000
mov dword [esi + 0x68], eax
call sub.MFC42.DLL_operatornew
mov dword [esi + 0x6c], eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, dword [esi + 0x68]
mov edx, dword [eax + 0x1003c0c0]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x1000106e
xor eax, eax
mov ecx, 0x100
mov edx, dword [esi + 0x6c]
mov edi, dword [eax + 0x1003c108]
mov dword [edx + eax], edi
add eax, 4
dec ecx
jne 0x10001089
cmp eax, 0x1000
jl 0x10001084
xor edi, edi
xor ecx, ecx
lea eax, [edi + 1]
cdq
idiv ebp
movsx eax, byte [esi + edi + 4]
shl eax, 8
mov bl, byte [edx + esi + 4]
and ebx, 0xff
or ebx, eax
lea eax, [edi + 2]
cdq
idiv ebp
mov eax, dword [esi + 0x68]
shl ebx, 8
mov dl, byte [edx + esi + 4]
and edx, 0xff
or ebx, edx
lea edx, [ecx + eax]
lea eax, [edi + 3]
mov dword [esp + 0x14], edx
cdq
idiv ebp
mov eax, dword [esp + 0x14]
add ecx, 4
shl ebx, 8
mov dl, byte [edx + esi + 4]
xor edx, ebx
and edx, 0xff
xor edx, ebx
mov ebx, dword [eax]
xor ebx, edx
mov dword [eax], ebx
lea eax, [edi + 4]
cdq
idiv ebp
cmp ecx, 0x48
mov edi, edx
jl 0x100010a6
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.100012e0
mov edx, dword [esi + 0x68]
mov eax, dword [esp + 0x2c]
mov dword [edi + edx], eax
mov ecx, dword [esi + 0x68]
mov edx, dword [esp + 0x10]
mov dword [edi + ecx + 4], edx
add edi, 8
cmp edi, 0x48
jl 0x1000111a
mov edi, 4
mov ebx, 0x80
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.100012e0
mov edx, dword [esi + 0x6c]
mov eax, dword [esp + 0x2c]
mov dword [edi + edx - 4], eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x10]
mov dword [edi + ecx], edx
add edi, 8
dec ebx
jne 0x10001152
cmp edi, 0x1004
jl 0x1000114d
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x10002200
Capabilities:
Set registry value

Disassembly:
sub esp, 0x204
push esi
mov esi, ecx
mov al, byte [esi + 0x40]
test al, al
jne 0x1000227c
lea eax, [esp + 4]
mov byte [esp + 8], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000227c
mov eax, dword [esi + 4]
push 0x1fe
lea ecx, [esp + 0xc]
push eax
mov esi, dword [eax - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esp + 0x10]
add esp, 0xc
lea edx, [esp + 8]
mov byte [esp + 0x205], 0
push esi
push edx
push 1
push 0
push str.LastBrick
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x204
ret

Function at 0x10002290
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x208
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
mov esi, ecx
push SysReAllocString
mov byte [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100022ed
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.LastBrick
push eax
mov dword [esp + 0x20], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0xc]
lea ecx, [esi + 0x5c]
push edx
call sub.MFC42.DLL_CString::operator_1
pop esi
add esp, 0x208
ret
Function at 0x100050b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10030960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x34], ebx
call fcn.10004b20
mov eax, dword [esp + 0x40]
mov edi, 0x30
mov eax, dword [eax - 8]
cmp eax, 0x6e
jge 0x100050f1
mov edi, 0x6e
jmp 0x100050fd
cmp eax, 0xf0
jge 0x100050fd
mov edi, 0x50
mov ecx, dword [esi + 0x18c]
mov dl, byte [ecx + 0xb7]
test dl, dl
je 0x10005149
cmp eax, 0x12c
mov edi, 0x3c
jle 0x10005149
lea edx, [esp + 0x10]
push 0x12c
push edx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x10033460
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x14]
push eax
push str.Arial
push edi
mov byte [esp + 0x40], 2
call sub.MFC42.DLL_CFont::CreatePointFont
mov ecx, dword [esi + 0x68]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, dword [esp + 0x3c]
mov eax, 0x55555556
push 0
mov ebp, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x2c], edx
lea edx, [ecx*4]
imul edx
mov eax, edx
shr eax, 0x1f
neg ecx
add edx, eax
mov eax, 0x66666667
shl ecx, 1
add ebp, edx
imul ecx
mov eax, dword [esi + 0xc8]
mov dword [esp + 0x20], ebp
sar edx, 1
mov ecx, edx
add edi, eax
shr ecx, 0x1f
add edx, ecx
push ecx
add ebx, edx
lea edx, [eax + eax*2]
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [eax + edx*4]
mov dword [esp + 0x2c], ebx
cdq
and edx, 0xf
mov dword [esp + 0x28], edi
add eax, edx
sar eax, 4
add eax, edi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push eax
call fcn.1001af44
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.100195c0
add esp, 0x10
mov dword [esp + 0x14], 0x10033488
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], 0x10033474
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 8
Function at 0x10006320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10030b08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x38], 0
call fcn.10004b20
mov eax, dword [esp + 0x40]
lea edi, [esi + 0xf0]
mov dword [esi + 0x100], 0x2bc
mov dword [esp + 0x10], 0x100334e0
mov dword [edi], 0x50
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0xcc]
mov edx, dword [eax + 0xc]
lea eax, [ecx*8]
mov dword [esp + 0x2c], edx
sub eax, ecx
shl eax, 1
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ebx
mov dword [esp + 0x28], eax
mov eax, 0x55555556
shl ecx, 2
imul ecx
mov eax, edx
mov ecx, dword [esi + 0xd0]
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0xc8]
add ebx, edx
cdq
and edx, 3
mov dword [esp + 0x20], ebx
add eax, edx
xor ebx, ebx
sar eax, 2
add eax, ecx
mov dword [esp + 0x14], ebx
add eax, ebp
add ebp, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebp
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x10]
neg ecx
sbb ecx, ecx
mov dword [esp + 0x14], eax
mov edx, dword [edx + 4]
and ecx, eax
push ecx
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_FrameRect]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x68]
lea eax, [esp + 0x10]
neg eax
mov ecx, dword [ecx + 4]
sbb eax, eax
and eax, edx
push eax
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x10033460
mov byte [esp + 0x38], 2
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x18]
push edx
push edi
call sub.MFC42.DLL_CFont::CreatePointFontIndirect
mov ecx, dword [esi + 0x68]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [esi + 0xc8]
mov edi, dword [esp + 0x24]
cdq
mov ecx, dword [esi + 0x68]
and edx, 0x1f
add eax, edx
push 0xffffff
sar eax, 5
add edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [ecx]
call dword [eax + 0x38]
push 1
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.1001af44
mov ecx, dword [esi + 0x68]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.100195c0
mov edi, 0x10033488
add esp, 0x10
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x10033474
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8