joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b9c3
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4b29c9
call fcn.0049dfc4
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, vtable._zstring_class_ztraits_0__.0
mov dword [ebp - 0x14], esi
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], eax
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x30]
push ebx
mov byte [ebp - 4], 1
mov byte [ecx], al
call fcn.00402d61
push 1
push 3
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 2
mov dword [esi + 0x40], ebx
call fcn.0042c706
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov byte [esi + 0xc], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42d6fc
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4b2c6c
call fcn.0049dfc4
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], vtable._zstring_class_ztraits_0__.0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
push eax
call fcn.0042dc5f
cmp eax, edi
jge 0x42d737
mov edi, eax
jmp 0x42d7c0
xor ebx, ebx
mov dword [ebp - 0x10], ebx
add esi, 4
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00402f35
mov esi, dword [esi + 4]
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, edi
je 0x42d77e
mov ebx, eax
cmp eax, 0xffffffff
mov dword [ebp - 0x10], ebx
jne 0x42d77e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
jmp 0x42d7c0
cmp dword [ebp - 0x18], edi
jne 0x42d787
xor esi, esi
jmp 0x42d792
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
lea ecx, [ebp - 0x24]
call fcn.00402f35
lea eax, [ebp - 0x14]
push edi
push eax
push esi
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42d7b5
cmp ebx, edi
je 0x42d779
push ebx
jmp 0x42d773
cmp ebx, edi
je 0x42d7c0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42dc5f
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4b2cf4
call fcn.0049dfc4
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
lea esi, [eax + 0xc]
push edi
mov ebx, ecx
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ebp, ebp
xor edi, edi
mov dword [esi], ebp
mov dword [esp + 0x30], edi
add ebx, 4
mov dword [esp + 0x24], ebp
mov ecx, ebx
call fcn.00402f35
mov ebx, dword [ebx + 4]
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocStringLen
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebp
je 0x42dcc8
mov edi, eax
cmp eax, 0xffffffff
mov dword [esp + 0x30], edi
jne 0x42dcc8
push eax
jmp 0x42ddf6
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ebp, [eax - 3]
push ebp
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42dd8c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [esp + 0x14]
push 0
push ecx
push ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], ebp
push ebx
je 0x42dd13
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42dd8c
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
je 0x42dd2a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [esp + 0x30], edi
push 0
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x42dd0a
push 0x4e8c2c
push ebp
push ebx
call fcn.00477870
test eax, eax
mov dword [esp + 0x18], eax
push ebx
jge 0x42dd72
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push ebp
call esi
test edi, edi
je 0x42dd69
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
jmp 0x42ddfe
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esp + 0x18], eax
push ebp
jne 0x42dd9e
call ebx
test edi, edi
je 0x42dd97
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
jmp 0x42ddfe
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebp, eax
lea eax, [ebp + 1]
push eax
call fcn.0049e01f
push ebp
mov ebx, eax
push dword [esp + 0x20]
push ebx
call fcn.0049e1e0
and byte [ebx + ebp], 0
add esp, 0x10
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push ebx
push esi
call fcn.004126aa
push ebx
call fcn.00491430
add esp, 0x10
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test edi, edi
je 0x42ddfc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42e6ac
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4b2db4
call fcn.0049dfc4
push ecx
push ebx
push esi
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], edi
mov ecx, esi
call fcn.00402f35
mov esi, dword [esi + 4]
push edi
push 0x80
push 4
push edi
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, edi
je 0x42e701
cmp eax, 0xffffffff
mov ebx, eax
jne 0x42e701
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
jmp 0x42e748
push 2
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp + 0xc]
call esi
push eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 0xc]
call esi
mov esi, dword [ebp + 8]
sub esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
cmp ebx, edi
je 0x42e746
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42fd2c
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4b2f7c
call fcn.0049dfc4
mov eax, 0x2810
call fcn.0049dff0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x42fd5e
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x42fe01
and byte [ebp - 0x281c], 0
mov ecx, 0x9ff
xor eax, eax
lea edi, [ebp - 0x281b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esi, 4
mov ecx, esi
stosb byte es:[edi], al
call fcn.00402f35
mov edi, dword [ebp + 0x10]
mov esi, dword [esi + 4]
mov ecx, edi
call fcn.00402f35
mov ebx, dword [ebp + 8]
mov edi, dword [edi + 4]
mov ecx, ebx
call fcn.00402f35
mov ebx, dword [ebx + 4]
push esi
lea eax, [ebp - 0x281c]
push 0x2800
push eax
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, eax
xor ecx, ecx
test edi, edi
jle 0x42fddc
cmp byte [ebp + ecx - 0x281c], 0
lea eax, [ebp + ecx - 0x281c]
jne 0x42fdd7
cmp byte [eax + 1], 0
je 0x42fdd7
mov byte [eax], 0x7c
inc ecx
cmp ecx, edi
jl 0x42fdbd
mov eax, dword [ebp + 0x14]
push dword [eax + 0xc]
lea esi, [eax + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x281c]
push 0xffffffffffffffff
push eax
push esi
call fcn.004126aa
add esp, 0xc
mov eax, edi
jmp 0x42fe7b
add esi, 4
mov ecx, esi
call fcn.00402f35
mov ebx, dword [esi + 4]
mov ecx, dword [ebp + 0x14]
mov esi, 0x2800
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0041120a
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x10]
and dword [ebp - 4], 0
call fcn.00402f35
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [ebp + 0x10], eax
call fcn.00402f35
mov ecx, dword [ebp + 8]
mov edi, dword [edi + 4]
call fcn.00402f35
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.00411336
push eax
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00401d79
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x430095
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xfa00
call fcn.0049dff0
and byte [ebp - 0xfa00], 0
push esi
mov edx, ecx
push edi
mov ecx, 0x3e7f
xor eax, eax
lea edi, [ebp - 0xf9ff]
lea esi, [edx + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
stosb byte es:[edi], al
call fcn.00402f35
push dword [esi + 4]
lea eax, [ebp - 0xfa00]
push 0xfa00
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
xor edx, edx
test eax, eax
jle 0x430103
cmp byte [ebp + edx - 0xfa00], 0
lea ecx, [ebp + edx - 0xfa00]
jne 0x4300fe
cmp byte [ecx + 1], 0
je 0x4300fe
mov byte [ecx], 0x7c
inc edx
cmp edx, eax
jl 0x4300e4
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
lea esi, [eax + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0xfa00]
push 0xffffffffffffffff
push eax
push esi
call fcn.004126aa
add esp, 0xc
push 1
pop eax
pop edi
pop esi
leave
ret 4
Function at 0x432538
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x4b3604
call fcn.0049dfc4
sub esp, 0x19c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
push dword [edi + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x4f1ed4
call esi
mov dword [edi + 0xc], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp + 0xb]
push 0
mov eax, dword [edi + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x4c0924
mov dword [ebp - 0x48], 0x4c091c
call fcn.0042faf1
and dword [ebp - 4], 0
lea eax, [ebp - 0x68]
push 8
push eax
call fcn.0043501b
mov bl, al
pop ecx
neg bl
pop ecx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
inc bl
call fcn.00434e1a
test bl, bl
jne 0x4326df
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043247e
test al, al
je 0x4325d5
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00410f26
jmp 0x4326df
push dword [edi + 0xc]
lea ecx, [ebp - 0x30]
call fcn.0042abef
mov dword [ebp - 0x30], vtable.zpath.0
push 0x4e7e38
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.00403949
lea ecx, [ebp - 0x30]
call fcn.00402f35
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0xffffffff
je 0x432699
test byte [ebp - 0x1a8], 0x10
je 0x432699
push edi
lea ecx, [ebp - 0x20]
call fcn.0040235c
lea eax, [ebp - 0x17c]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.004036f4
push 0x4e53c8
call esi
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], vtable._zstring_class_ztraits_0__.0
push eax
mov byte [ebp - 4], 3
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401b2b
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004012b4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.0043247e
test al, al
jne 0x4326b2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004012b4
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4326ca
jmp 0x432616
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.00410f26
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004012b4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004036b2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x433201
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4b37d0
call fcn.0049dfc4
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push str.SOFTWAREFLEXnetConnect_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor esi, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], vtable._zstring_class_ztraits_0__.0
push 0x4e9110
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.004036f4
mov ebx, dword [edi + 0xa0]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push ebx
call edi
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.00401b2b
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402f35
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp - 0x28]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x4332e2
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
cmp eax, esi
jne 0x4332a6
mov dword [ebp + 0xc], esi
jmp 0x4332ac
push eax
call edi
mov dword [ebp + 0xc], eax
mov ecx, ebx
call fcn.00402f35
mov edi, dword [ebp + 8]
mov ebx, dword [ebx + 4]
mov ecx, edi
call fcn.00402f35
push dword [ebp + 0xc]
mov eax, dword [edi + 4]
push ebx
push 1
push esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x14], esi
je 0x4332e2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x433305
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4b37ec
call fcn.0049dfc4
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push str.SOFTWAREFLEXnetConnect_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor esi, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], vtable._zstring_class_ztraits_0__.0
push 0x4e9110
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.004036f4
mov edi, dword [edi + 0xa0]
push edi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00401b2b
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402f35
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp - 0x28]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x4333c2
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
mov ecx, ebx
mov dword [ebp - 0x18], edi
call fcn.00402f35
mov eax, dword [ebx + 4]
lea ecx, [ebp + 0xc]
push 4
push ecx
push 4
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp edi, esi
je 0x4333c2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x433548
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b3834
call fcn.0049dfc4
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea esi, [eax + 0xc]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push dword [esi]
call edi
push 0xffffffffffffffff
push 0x4f1ef8
push esi
call fcn.004126aa
add esp, 0xc
push str.SOFTWAREFLEXnetConnect_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], vtable._zstring_class_ztraits_0__.0
push 0x4e911c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.004036f4
cmp byte [ebp + 0x10], bl
mov byte [ebp + 0xf], bl
jne 0x4335df
push 0x4e9118
lea ecx, [ebp - 0x2c]
call fcn.004036f4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xa0]
push eax
mov dword [ebp + 0x10], eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 0x10]
call fcn.00401b2b
mov eax, 0x400
push eax
mov dword [ebp - 0x18], eax
call fcn.0049e01f
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x10], ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402f35
push 0x20019
lea ecx, [ebp + 0x10]
push dword [ebp - 0x28]
push SysReAllocStringLen
call fcn.00403674
cmp eax, ebx
jne 0x43366d
mov ecx, dword [ebp + 8]
call fcn.00402f35
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [eax + 4]
push ecx
push ebx
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43365c
cmp dword [ebp - 0x18], ebx
jbe 0x433658
push dword [esi]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x14]
push esi
call fcn.004126aa
add esp, 0xc
mov byte [ebp + 0xf], 1
cmp dword [ebp + 0x10], ebx
je 0x43367e
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
cmp dword [ebp + 0x10], ebx
je 0x43367e
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
push dword [ebp - 0x14]
call fcn.00491430
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xf]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x4336ad
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b3850
call fcn.0049dfc4
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push str.SOFTWAREFLEXnetConnect_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], vtable._zstring_class_ztraits_0__.0
push 0x4e9110
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.004036f4
mov esi, dword [esi + 0xa0]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401b2b
mov eax, 0x400
mov byte [ebp - 0x11], bl
push eax
mov dword [ebp - 0x1c], eax
call fcn.0049e01f
pop ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00402f35
push 0x20019
lea ecx, [ebp - 0x18]
push dword [ebp - 0x30]
push SysReAllocStringLen
call fcn.00403674
cmp eax, ebx
jne 0x433788
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00402f35
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x433777
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov byte [ebp - 0x11], 1
mov dword [eax], ecx
cmp dword [ebp - 0x18], ebx
je 0x433799
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
je 0x433799
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x20]
call fcn.00491430
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x34]
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x4338e3
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x4b38c4
call fcn.0049dfc4
sub esp, 0x4c
push ebx
xor ebx, ebx
mov eax, vtable._zstring_class_ztraits_0__.0
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00410f26
mov eax, dword [esi + 0xa0]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
mov dword [ebp + 8], eax
call edi
push eax
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.00401b2b
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x58]
push dword [ebp - 0x14]
mov dword [ebp - 0x58], 0x4c0924
mov dword [ebp - 0x38], 0x4c091c
call fcn.0042faf1
lea eax, [ebp - 0x58]
push 4
push eax
mov byte [ebp - 4], 2
call fcn.0043501b
pop ecx
mov byte [ebp + 0xb], al
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00434e1a
cmp byte [ebp + 0xb], bl
je 0x4339d6
lea eax, [esi + 0x74]
lea ecx, [ebp - 0x30]
push eax
call fcn.00410f26
mov esi, dword [esi + 0xa0]
push esi
call edi
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00401b2b
lea ecx, [ebp - 0x30]
call fcn.00402f35
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call fcn.00402f35
push 1
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x20]
call fcn.00402f35
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004012b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4342b7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4b3963
call fcn.0049dfc4
sub esp, 0xf0
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x8c]
push eax
mov ecx, edi
call fcn.00434ca5
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 0x14]
and dword [ebp - 4], 0
push 1
cmp esi, eax
pop ebx
ja 0x434304
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.00434ca5
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x10], ebx
test byte [ebp - 0x10], bl
je 0x434314
lea ecx, [ebp - 0xb4]
call fcn.00434e1a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00434e1a
inc esi
push ebx
lea eax, [ebp - 0x10]
push esi
lea ecx, [edi + 4]
push eax
mov dword [ebp - 0x10], 0x5c
call fcn.00434886
cmp eax, 0xffffffff
je 0x4343d2
mov edi, 0x4c0924
mov esi, 0x4c091c
lea ecx, [ebp + 0x17]
inc eax
push 0
push ecx
push eax
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
call fcn.0043441d
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.0043463b
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x434397
test al, 0x10
je 0x434397
cmp dword [ebp + 0x10], 0
je 0x4343a3
push dword [ebp - 0x10]
call dword [ebp + 0x10]
pop ecx
jmp 0x4343a3
push 0
push dword [ebp - 0x10]
call dword [ebp + 0xc]
test eax, eax
je 0x4343e1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00434e1a
push ebx
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x5c
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
call fcn.00434886
cmp eax, 0xffffffff
jne 0x43434c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp + 0xb]
push 0
push eax
lea ecx, [ebp - 0x64]
push dword [ebp - 0x10]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.004344b0
lea eax, [ebp - 0x64]
push ebx
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.00434e7c
lea eax, [ebp - 0xfc]
push 0x4d2b70
push eax
call fcn.0049e682

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.0043463b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x435065
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x435061
cmp eax, 3
je 0x435061
push 1
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00435082
lea eax, [ebp - 0x48]
push 0x4d2b70
push eax
call fcn.0049e682
xor al, al
leave
ret
test byte [ebp + 0xc], 4
je 0x43506f
test al, 0x10
je 0x435079
test byte [ebp + 0xc], 8
je 0x43507e
test al, 0x10
je 0x43507e
push 1
pop eax
leave
ret
xor eax, eax
leave
ret