joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101b780
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov word [ebp - 0x18], 0
mov eax, dword [0x10566c0]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
xor eax, eax
mov ax, word [0x1056b68]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x101b86e
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101b86e
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xffff
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.01021d70
push 0xff
mov eax, dword [0x104d948]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.010304f7
push 0x138
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x101b84b
mov eax, dword [0x104d948]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x101b889
push str.Unknown_Server
push 0x138
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [0x104f660], 0
mov eax, dword [ebp - 0x18]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
mov word [ebp - 0x18], ax
test dword [ebp - 0x18], 0xffff
je 0x101b8f3
mov eax, dword [ebp - 0x18]
push eax
call fcn.0102f7a3
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jb 0x101b8ee
cmp dword [ebp - 0x20], 0x10
ja 0x101b8ee
push 0
push 0x140
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.01037d90
jmp 0x101b893
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x101cda0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x101ce04
push 0xa1
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..dlgwrap.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Null_Pitem
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
jne 0x101ce54
push 0xa2
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..dlgwrap.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Null_Object
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x104dcd4], 0
jne 0x101ce7f
push 0
push str.ActivateOpt
push 0x101b950
call fcn.0103502c
test eax, eax
jge 0x101ce7f
jmp 0x101cf02
push 0x1054210
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xb8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x1054210
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xb8]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov eax, dword [0x104dcb4]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push str.DoVerb:
mov eax, dword [ebp - 0xc]
push eax
call fcn.01010260
mov eax, dword [ebp - 0xc]
and eax, 0x80000000
mov ecx, 0x80000000
and ecx, 0x80000000
cmp eax, ecx
je 0x101cf02
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0100ee40
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x101d9a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 2
jne 0x101d9cc
mov eax, dword [ebp - 0xc]
jmp 0x101dbc5
push 1
lea eax, [ebp - 8]
push eax
call fcn.0102e11b
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0x80000000
mov ecx, 0x80000000
and ecx, 0x80000000
cmp eax, ecx
jne 0x101d9fa
jmp 0x101dba2
mov eax, dword [ebp + 8]
push eax
call fcn.010213a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x101dba2
mov eax, dword [0x104ca24]
and eax, 2
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0100f320
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x101db91
mov eax, dword [0x104d94c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.010220e0
test eax, eax
je 0x101db91
cmp dword [0x104dc30], 0
je 0x101da92
mov eax, dword [0x104d94c]
push eax
push str.Do_You_want_to_Update_Link__s
mov eax, dword [0x104d948]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x43
push str.Cl32Test___ansi
mov eax, dword [0x104d948]
push eax
mov eax, dword [0x10566c0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x10], eax
jmp 0x101da99
mov dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x101db6e
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0x80000000
mov ecx, 0x80000000
and ecx, 0x80000000
cmp eax, ecx
jne 0x101db1f
push 0x70
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago.._file.c
mov eax, dword [0x1056d98]
push eax
mov eax, dword [0x104ed80]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push str.Update:
mov eax, dword [0x104ed80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x104ed80]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0102e6d7
jmp 0x101db91
push 0x76
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago.._file.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Illegal_case
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x101db91
cmp dword [ebp - 0x18], 2
je 0x101dba2
cmp dword [ebp - 0x18], 6
je 0x101daa9
cmp dword [ebp - 0x18], 7
je 0x101db91
jmp 0x101db29
mov eax, dword [ebp - 4]
push eax
call fcn.01021470
mov dword [ebp - 4], eax
jmp 0x101da06
cmp dword [ebp - 8], 0
je 0x101dbb8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call dword [eax + 8]
call fcn.0102e262
mov eax, dword [ebp - 0xc]
jmp 0x101dbc5
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x101e100
Capabilities:
Print debug messages
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x398
push ebx
push esi
push edi
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x398], eax
inc dword [ebp - 0x138]
push 0x12c
lea eax, [ebp - 0x390]
push eax
mov eax, dword [ebp - 0x398]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x101e307
movsx eax, byte [ebp - 0x390]
cmp eax, 0x2e
jne 0x101e302
mov dword [ebp - 4], 0x12c
cmp dword [ebp - 4], 0
je 0x101e302
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x390]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x101e302
cmp dword [ebp + 8], 0
je 0x101e1cb
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x101e302
mov dword [ebp - 4], 0x12c
cmp dword [ebp - 4], 0
je 0x101e302
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x264]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x101e302
inc dword [ebp - 0x134]
cmp dword [ebp - 0x134], 0x64
jl 0x101e257
push 0x26e
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago.._file.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.RegMakeFilterSpec_looks_like_its_about_to_overwrite_its_buffer_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp + 0xc], 0
je 0x101e286
lea eax, [ebp - 0x390]
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x101e286
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x394], eax
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104df48
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x390]
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x104df44
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add dword [ebp + 0x10], eax
push 0x104df40
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x390]
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add dword [ebp + 0x10], eax
jmp 0x101e12a
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
mov eax, dword [ebp - 0x394]
jmp 0x101e318
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1021320
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x1021373
push 0x5f
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..info.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Null_Window_Id
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x102138a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1021cc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x1021d16
push 0x350
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..info.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Null_Pitem
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xb8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1021d2a
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1022060
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x10220b3
push 0x4ac
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..info.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Null_Window_Id
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
push eax
call fcn.01021320
xor ecx, ecx
mov cx, word [eax + 0xc4]
mov eax, ecx
jmp 0x10220cc
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1022880
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], str.Select_RenderOptions
lea eax, [ebp - 0x10]
push eax
call fcn.010354ef
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1022971
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
jmp 0x102294d
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x1022971
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x1022971
mov eax, dword [ebp + 8]
mov dword [eax], 0
jmp 0x1022971
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x1022971
push 0x6ec
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..info.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Illegal_case
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x1022979
cmp dword [ebp - 0x18], 3
ja case.default.0x102295a
mov eax, dword [ebp - 0x18]
jmp dword [eax*4 + 0x1022961]
mov eax, dword [ebp - 0x14]
jmp 0x1022979
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1023b70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x1023b94
push 0x10542a8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x1023c07
push 0x104e398
push 0
push str.FrameLeft
push 0x104d920
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push 0x104e398
push 0
push str.FrameRight
push 0x104d920
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
push 0x104e398
push 0
push str.FrameTop
push 0x104d920
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
push 0x104e398
push 0
push str.FrameBottom
push 0x104d920
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10255b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x10255d4
push 0x104e4d0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x1025647
push 0x104e398
push 0
push str.DocLeft
push 0x104d920
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push 0x104e398
push 0
push str.DocRight
push 0x104d920
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
push 0x104e398
push 0
push str.DocTop
push 0x104d920
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
push 0x104e398
push 0
push str.DocBottom
push 0x104d920
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1028860
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x80000000
push 0x104e810
mov eax, dword [0x104e814]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0
jne 0x1028942
mov eax, dword [ebp - 8]
mov dword [ebp - 0x274], eax
inc dword [ebp - 8]
push 0x12c
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [ebp - 0x274]
push eax
mov eax, dword [0x104e810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1028942
movsx eax, byte [ebp - 0x13c]
cmp eax, 0x2e
je 0x102893d
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0x12c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [0x104e810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x102891d
jmp 0x1028897
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x102893d
mov dword [ebp - 0x10], 1
jmp 0x1028897
cmp dword [ebp - 0x10], 0
je 0x1028993
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.010374fb
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
and eax, 0x80000000
mov ecx, 0x80000000
and ecx, 0x80000000
cmp eax, ecx
jne 0x1028993
mov dword [ebp - 0x10], 0
mov eax, dword [0x104e810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
jmp 0x10289a7
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10289b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0x80000000
mov dword [ebp - 4], 0
push 0x104e810
mov eax, dword [0x104e814]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x394], eax
inc dword [ebp - 8]
push 0x12c
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x394]
push eax
mov eax, dword [0x104e810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1028ae6
movsx eax, byte [ebp - 0x138]
cmp eax, 0x2e
je 0x1028ae1
mov dword [ebp - 4], 0x12c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x138]
push eax
mov eax, dword [0x104e810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x1028a5c
jmp 0x10289e7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x138]
push eax
mov eax, dword [0x104e810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1028a80
jmp 0x10289e7
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x264]
push eax
push str.Insertable
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x1028abf
lea eax, [ebp - 4]
push eax
push 0
push str.ProtocolStdFileEditingServer
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x1028ad7
lea eax, [ebp - 0x390]
push eax
push 0
push 0x180
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10289e7
mov eax, dword [0x104e810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x102b16a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0102c1a6
cmp eax, 1
je 0x102b1c2
cmp eax, 2
je 0x102b1e5
push 0x78
push str.c:_ntprivatectoleuiole2.0_appscommonchicago.._appitem.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1056c90
call esi
push str.Illegal_case
call esi
push 0x104c08c
call esi
mov eax, 0x80004005
jmp 0x102b20c
push 0
push esi
call fcn.0102c0f1
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x102b1de
push dword [ebp + 0x10]
mov eax, dword [ecx]
push dword [ebp + 0xc]
push ecx
call dword [eax]
jmp 0x102b20c
mov eax, 1
jmp 0x102b20c
push 0
push esi
call fcn.0102c124
push dword [ebp + 0x10]
push dword [ebp + 0xc]
cmp dword [eax + 0xd8], 0
je 0x102b206
push dword [eax + 0x50]
call fcn.0103da0a
jmp 0x102b20c
push eax
call fcn.010157a0
pop esi
pop ebp
ret 0xc

Function at 0x102b211
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0102c1a6
cmp eax, 1
je 0x102b26c
cmp eax, 2
je 0x102b27e
push 0x9d
push str.c:_ntprivatectoleuiole2.0_appscommonchicago.._appitem.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1056c90
call esi
push str.Illegal_case
call esi
push 0x104c08c
call esi
mov eax, 0x80004005
jmp 0x102b2a1
push 0
push esi
call fcn.0102c0f1
push 0
push eax
call fcn.01014020
jmp 0x102b2a1
push 0
push esi
call fcn.0102c124
cmp dword [eax + 0xd8], 0
push 0
je 0x102b29b
push dword [eax + 0x50]
call fcn.0103dd21
jmp 0x102b2a1
push eax
call fcn.01015680
pop esi
pop ebp
ret 4

Function at 0x102b2a6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0102c1a6
cmp eax, 1
je 0x102b301
cmp eax, 2
je 0x102b313
push 0xc1
push str.c:_ntprivatectoleuiole2.0_appscommonchicago.._appitem.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1056c90
call esi
push str.Illegal_case
call esi
push 0x104c08c
call esi
mov eax, 0x80004005
jmp 0x102b336
push 0
push esi
call fcn.0102c0f1
push 0
push eax
call fcn.010140b0
jmp 0x102b336
push 0
push esi
call fcn.0102c124
cmp dword [eax + 0xd8], 0
push 0
je 0x102b330
push dword [eax + 0x50]
call fcn.0103dd4b
jmp 0x102b336
push eax
call fcn.010156e0
pop esi
pop ebp
ret 4