joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f0c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x148]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x108], pe_nt_image_headers32
mov esi, esp
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp esi, esp
call fcn.005e0cbc
lea edx, [ebp - 0x104]
push edx
push sym.CDViewer.exe____C__02DILL___CFs__AA_
mov eax, dword [ebp + 8]
push eax
call fcn.0060da8c
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00619ded
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x148
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret 4

Function at 0x42bae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6639b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x27c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x288]
mov ecx, 0x9f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x218], pe_nt_image_headers32
lea ecx, [ebp - 0x21c]
call fcn.00405024
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x228]
call fcn.00405024
mov byte [ebp - 4], 1
mov ecx, 7
mov esi, str.SOFTWAREMediMatic_Software
lea edi, [ebp - 0x244]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x244]
push eax
push sym.CDViewer.exe____C__02DILL___CFs__AA_
lea ecx, [ebp - 0x110]
push ecx
call fcn.005e1af7
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x214]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x110]
push eax
push reloc.MSVFW32.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.005e0cbc
test eax, eax
jne 0x42bc08
mov esi, esp
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push str.AppMediMaticViewer
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.005e0cbc
test eax, eax
jne 0x42bc08
mov ecx, dword [ebp - 0x218]
mov byte [ebp + ecx - 0x210], 0
lea edx, [ebp - 0x210]
push edx
push sym.CDViewer.exe____C__02DILL___CFs__AA_
mov eax, dword [ebp + 8]
push eax
call fcn.0060da8c
add esp, 0xc
mov dword [ebp - 0x248], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00619871
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00619871
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x288
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret 4
Function at 0x438150
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66503b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x88]
mov ecx, 0x1f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00405024
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push str.SELECT_ProcNo__MedicalRecNo_FROM_MI_Procedure_WHERE_ipno_
push 0x688130
lea ecx, [ebp - 0x14]
push ecx
call fcn.0060da8c
add esp, 0x10
mov edx, dword [ebp - 0x10]
add edx, 0xac
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.006195e6
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
push ecx
mov edx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, edx
call fcn.006195e6
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00406032
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x43822d
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00619871
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0x20]
jmp 0x4382cf
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x14]
push eax
call fcn.006195e6
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x10]
call fcn.00401a28
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x438277
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00619871
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0x28]
jmp 0x4382cf
mov ecx, dword [ebp - 0x10]
call fcn.00404917
test eax, eax
jne 0x4382aa
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00619871
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0x2c]
jmp 0x4382cf
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00619871
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x88
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret 4
Function at 0x440440
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6659ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x150]
mov ecx, 0x51
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004055ce
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00405024
mov byte [ebp - 4], 2
mov dword [ebp - 0xc0], 0
mov eax, dword [ebp + 8]
push eax
push str.SELECT_NoOfProcedures_FROM_HCPPatient_WHERE_ipno_
push 0x688130
lea ecx, [ebp - 0xbc]
push ecx
call fcn.0060da8c
add esp, 0x10
mov edx, dword [ebp - 0x10]
add edx, 0x608
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
push edx
call fcn.006195e6
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x604
push ecx
mov edx, esp
mov dword [ebp - 0xc8], esp
push ecx
mov ecx, edx
call fcn.006195e6
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.00406032
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jne 0x440572
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00619871
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004050f1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0xcc]
jmp 0x4406b3
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea eax, [ebp - 0xbc]
push eax
call fcn.006195e6
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0xb8]
call fcn.00401a28
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x4405e9
mov dword [ebp - 0xd4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00619871
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004050f1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0xd4]
jmp 0x4406b3
lea ecx, [ebp - 0xb8]
call fcn.00404e5d
test eax, eax
je 0x44064f
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
push str.NoOfProcedures
call fcn.006198df
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0040255e
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0xe8]
call fcn.0040236f
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
push str._02d
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0060da8c
add esp, 0xc
mov dword [ebp - 0xec], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00619871
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004050f1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x150
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret 8
Function at 0x444560
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6660a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x88]
mov ecx, 0x1f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00405024
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT__FROM_Research_MI_Procedure_WHERE_SRC_IPNO___s_AND_SRC_ProcNO___s
lea edx, [ebp - 0x14]
push edx
call fcn.0060da8c
add esp, 0x10
mov eax, dword [ebp - 0x10]
add eax, 0xd14
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.006195e6
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
add edx, 0xd10
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call fcn.006195e6
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00406032
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x444645
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00619871
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00619871
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00619871
mov eax, dword [ebp - 0x20]
jmp 0x4446f0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x14]
push eax
call fcn.006195e6
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
call fcn.00401a28
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x44469b
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00619871
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00619871
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00619871
mov eax, dword [ebp - 0x28]
jmp 0x4446f0
cmp dword [ebp - 0x10], 0
je 0x4446ac
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x48], ecx
jmp 0x4446b3
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00403bd9
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00619871
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00619871
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00619871
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x88
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret 8
Function at 0x459140
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
call fcn.004055fb
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
mov dx, word [ecx + 0xe]
push edx
mov ecx, dword [ebp - 4]
call fcn.004056a0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
mov dx, word [ecx + 0xe]
push edx
mov ecx, dword [ebp - 4]
call fcn.00406f05
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x4591b9
push 0
push 0
push str.Function_:_SaveToClipboard_nError_:_DIB_Handle_is_NULL
call fcn.0062dd90
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
lea eax, [edx + ecx + 0x28]
mov esi, esp
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp esi, esp
call fcn.005e0cbc
mov dword [ebp - 8], eax
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp esi, esp
call fcn.005e0cbc
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx + 0x28]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005e13a0
add esp, 0xc
mov esi, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp esi, esp
call fcn.005e0cbc
test eax, eax
jne 0x45923b
push 0
push 0
push str.Function_:_SaveToClipboard_nError_:_OpenClipboard
call fcn.0062dd90
call fcn.004023ec
xor eax, eax
jmp 0x4592d7
mov esi, esp
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp esi, esp
call fcn.005e0cbc
test eax, eax
jne 0x459265
push 0
push 0
push str.Function_:_SaveToClipboard_nError_:_EmptyClipboard
call fcn.0062dd90
call fcn.004023ec
xor eax, eax
jmp 0x4592d7
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, esp
call fcn.005e0cbc
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp esi, esp
call fcn.005e0cbc
test eax, eax
jne 0x4592a8
push 0
push 0
push str.Function_:_SaveToClipboard_nError_:_SetClipboardData
call fcn.0062dd90
call fcn.004023ec
xor eax, eax
jmp 0x4592d7
mov esi, esp
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, esp
call fcn.005e0cbc
test eax, eax
jne 0x4592d2
push 0
push 0
push str.Function_:_SaveToClipboard_nError_:_CloseClipboard
call fcn.0062dd90
call fcn.004023ec
xor eax, eax
jmp 0x4592d7
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret
Function at 0x4614c0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66777d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00405024
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00405024
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00405024
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00405024
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00405024
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00405024
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00405024
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00405024
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00405024
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00405024
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00405024
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004071b2
mov byte [ebp - 4], 0xb
push 0x685068
mov ecx, dword [ebp - 0x10]
call fcn.006199fa
push 0x685068
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.006199fa
push 0x685068
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.006199fa
push 0x685068
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.006199fa
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004031b6
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x50
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret
Function at 0x46b910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6685b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x64]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004073ce
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, esp
call fcn.005e0cbc
cmp eax, 0xffffffff
jne 0x46b981
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0x14]
jmp 0x46b9d8
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.006199aa
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
push ecx
mov edx, esp
mov dword [ebp - 0x18], esp
push ecx
mov ecx, edx
call fcn.006195e6
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
call fcn.00402c16
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00402d8d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x64
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret 4
Function at 0x479120
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669879
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
lea edi, [ebp - 0x60]
mov ecx, 0x15
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp + 8]
call fcn.004073ce
mov esi, esp
push eax
push 1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp esi, esp
call fcn.005e0cbc
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.005e0cbc
cmp eax, 0xb7
jne 0x4791d9
mov esi, esp
push 0x30
lea ecx, [ebp + 8]
call fcn.004073ce
push eax
push str.Application_is_already_running.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.005e0cbc
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0x1c]
jmp 0x4791f2
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00619871
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x60
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret
Function at 0x47e680
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x47e6af
mov dword [ebp - 0x1c], 0
jmp 0x47e6bf
push str.in_CXTipComboBox::PreSubclassWindow_n
call fcn.00404d9f
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
call fcn.0061ab99
mov esi, esp
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 3
push 0
push str.tooltips_class32
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa8], eax
push 0x2c
push 0
mov edx, dword [ebp - 4]
add edx, 0xac
push edx
call fcn.005e16e0
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [eax + 0xac], 0x2c
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], 0x120
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0xb4], ecx
mov esi, esp
push 0x7fff
push 0
push 0x418
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 4]
add ecx, 0xac
mov esi, esp
push ecx
push 0
push 0x404
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.005e0cbc
mov esi, esp
push 0
mov edi, esp
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
cmp edi, esp
call fcn.005e0cbc
push eax
push 0x413
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.005e0cbc
mov esi, esp
push 0
mov edi, esp
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
cmp edi, esp
call fcn.005e0cbc
push eax
push 0x414
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.005e0cbc
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x14]
call fcn.004042a5
mov esi, esp
lea edx, [ebp - 0x14]
push edx
push 0
push 0x41a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 4]
call fcn.00401703
mov dword [ebp - 0x18], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00405b78
push eax
push 0x30
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.005e0cbc
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret
Function at 0x4bdd20
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66ef13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x15c]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x14]
call fcn.00405024
mov dword [ebp - 4], 1
mov dword [ebp - 0x118], pe_nt_image_headers32
mov esi, esp
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp esi, esp
call fcn.005e0cbc
lea edx, [ebp - 0x114]
push edx
push sym.CDViewer.exe____C__02DILL___CFs__AA_
lea eax, [ebp - 0x14]
push eax
call fcn.0060da8c
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00619ded
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.006195e6
mov edx, dword [ebp - 0x11c]
or edx, 1
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00619871
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x15c
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret 4