joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a10
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x5bc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea esi, [ebp + 0x340]
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.00401470
mov edi, eax
test edi, edi
je 0x401b29
cmp edi, 0x5b4
jb 0x401a44
mov edi, 0x5b4
lea eax, [esp + 0x18]
push edi
push eax
mov ecx, esi
call fcn.004013c0
mov esi, eax
test esi, esi
jle 0x401af1
mov edx, dword [ebp + 0x310]
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [ebp + 0x310]
push 0
lea eax, [esp + 0x1c]
push esi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
lea edx, [esp + 0x14]
mov ebx, eax
mov eax, dword [ebp + 0x310]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp ebx, esi
jl 0x401b12
push 0x21
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00401470
mov edi, eax
test edi, edi
je 0x401b29
cmp edi, 0x5b4
jb 0x401ada
mov edi, 0x5b4
lea ecx, [esp + 0x18]
push edi
push ecx
mov ecx, esi
call fcn.004013c0
mov esi, eax
test esi, esi
jg 0x401a5b
mov eax, dword [ebp + 0x30c]
cmp eax, 5
lea ecx, [eax + 1]
mov dword [ebp + 0x30c], ecx
jne 0x401b29
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5bc
ret
test esi, esi
jle 0x401af1
test ebx, ebx
jg 0x401b39
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, dword [esp + 0x18]
call fcn.00401330
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5bc
ret
sub edi, ebx
lea eax, [esp + ebx + 0x18]
push edi
push eax
jmp 0x401b20

Function at 0x401f80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
mov dword [esp + 0xc], ecx
push ebp
mov ebp, dword [esp + 0x20]
push esi
xor ecx, ecx
push edi
xor eax, eax
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x401f93
mov byte [ebp + 0x100], cl
mov byte [ebp + 0x101], cl
mov byte [esp + 0x28], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x401fe5
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.00401f60
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x24]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x28], dl
jne 0x401fba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x402030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x18]
push ebx
push esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x24], al
mov byte [esp + 8], cl
jle 0x402134
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x2c]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x402086
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x2c], al
xor ecx, ecx
mov edi, dword [esp + 0x2c]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x1c], eax
and ecx, 0x800000ff
jns 0x4020b2
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00401f60
mov eax, dword [esp + 0x18]
xor edx, edx
xor ecx, ecx
mov dl, byte [eax]
mov eax, dword [esp + 0x1c]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x4020f4
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x24]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x28]
inc ebx
cmp ebx, eax
jl 0x402075
mov dl, byte [esp + 0x2c]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0x10
ret 0xc
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0x10
ret 0xc

Function at 0x4021f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
xor eax, eax
push esi
mov esi, ecx
push edi
mov ecx, 9
lea edi, [esp + 8]
mov dword [esi], 0x409480
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 8], 6
jne 0x40222c
mov dword [esi + 4], 1
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret
mov dword [esi + 4], 0
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret

Function at 0x4021f5
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
xor eax, eax
push esi
mov esi, ecx
push edi
mov ecx, 9
lea edi, [esp + 8]
mov dword [esi], 0x409480
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 8], 6
jne 0x40222c
mov dword [esi + 4], 1
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret
mov dword [esi + 4], 0
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret
Function at 0x402780
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4087a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0x11c], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 0xc], 1
push eax
push 0x20019
push 0
push str.SOFTWARELogbase
push reloc.WS2_32.dll_accept
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop edi
jne 0x402818
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x124]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 8]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402848
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x118], 0xffffffff
lea ecx, [esp + 0x120]
call fcn.0040830c
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
ret 8
mov al, byte [esp + 0xc]
test al, al
jne 0x402857
mov ecx, dword [esp]
push ecx
jmp 0x402812
lea edx, [esp + 0xc]
push esi
mov esi, dword [esp + 0x128]
push edx
push 0x40b11c
push esi
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x10]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi]
push 0
mov eax, dword [ecx - 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
mov dword [esp + 0x11c], ecx
pop esi
je 0x402823
lea ecx, [esp + 0x120]
call fcn.0040830c
mov ecx, dword [esp + 0x110]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x11c
ret 8
Function at 0x4028e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4087d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
lea eax, [esp + 4]
xor ebx, ebx
push eax
push 0xf003f
push ebx
push str.SOFTWARELogbase
push reloc.WS2_32.dll_accept
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4029af
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
cmp eax, ebx
jne 0x40297f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], bl
call fcn.0040830c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.0040830c
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
push esi
mov esi, dword [esp + 0x1c]
push eax
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0xc]
push eax
push 1
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
je 0x40293f
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], bl
call fcn.0040830c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.0040830c
mov ecx, dword [esp + 8]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4029f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x808
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402a3a
push 0
push str.Error
push 0x40b154
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret 4
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push str.PATH
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [esp + 0x81c]
test eax, eax
jne 0x402b3d
lea ecx, [esp + 0x18]
lea ebp, [esp + 0x18]
test ecx, ecx
je 0x402b3d
cmp byte [ebp], 0
je 0x402b3d
push 0x40b148
push ebp
mov esi, ebp
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
jne 0x402aad
xor ebp, ebp
jmp 0x402ab3
lea ebp, [eax + 1]
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 6
jb 0x402b35
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi - 1], 0x5c
jne 0x402ae5
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + esi - 1], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 0x40b144
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + esi - 3]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x402b35
push esi
push str._sdbaccess.exe
push ebx
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebx]
add esp, 0xc
mov ecx, ebx
mov eax, dword [edx - 8]
push 0
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
jne 0x402b65
test ebp, ebp
jne 0x402a8a
push 0x40c428
push ebx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x808
ret 4
Function at 0x402b90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 1
push eax
push 0x20019
push 0
push str.SOFTWAREIBMDB2GLOBAL_PROFILE
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 0xff
call esi
test eax, eax
je 0x402c1f
mov eax, dword [ebx + 4]
test eax, eax
je 0x402bfd
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SOFTWAREWow6432NodeIBMDB2GLOBAL_PROFILE
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x402c1f
push 0
push str.Error
push 0x40b1e8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.DB2PATH
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402c66
push 0
push str.Error
push 0x40b1e8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov al, byte [esp + 0x18]
test al, al
jne 0x402c90
push 0
push str.Error
push 0x40b1c4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0x18]
push eax
push str._sBINdb2cmd.exe
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4

Function at 0x402cc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 1
push eax
push 0x20019
push 0
push str.SOFTWAREClassesXshell.xsh_shellopencommand
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 0xff
call esi
test eax, eax
je 0x402d35
mov eax, dword [ebx + 4]
test eax, eax
je 0x402db6
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SOFTWAREWow6432NodeClassesXshell.xsh_shellopencommand
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x402db6
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402db6
mov al, byte [esp + 0x18]
test al, al
jne 0x402d6d
push 0
push str.Error
push 0x40b270
jmp 0x402dc2
cmp al, 0x22
jne 0x402dca
lea eax, [esp + 0x19]
push 0x40b26c
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
je 0x402d8b
mov byte [eax], 0
mov edx, dword [esp + 0x120]
lea ecx, [esp + 0x19]
push ecx
push 0x40b11c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4
push 0
push str.Error
push 0x40b250
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
Function at 0x402df0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 1
push eax
push 0x20019
push 0
push str.SOFTWARESYBASESetup
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 0xff
call esi
test eax, eax
je 0x402e7f
mov eax, dword [ebx + 4]
test eax, eax
je 0x402e5d
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SOFTWAREWow6432NodeSYBASESetup
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x402e7f
push 0
push str.Error
push 0x40b33c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.SYBASE
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402ec6
push 0
push str.Error
push 0x40b33c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov al, byte [esp + 0x18]
test al, al
jne 0x402ef0
push 0
push str.Error
push 0x40b314
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0x18]
push eax
push str._s_sqladv_12_5_sqladv.exe
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4
Function at 0x402f20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 1
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallFlashFXP_is1
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 0xff
call esi
test eax, eax
je 0x402faf
mov eax, dword [ebx + 4]
test eax, eax
je 0x402f8d
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstallFlashFXP_is1
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x402faf
push 0
push str.Error
push 0x40b3d4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.InstallLocation
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402ff6
push 0
push str.Error
push 0x40b3d4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov al, byte [esp + 0x18]
test al, al
jne 0x403020
push 0
push str.Error
push 0x40b3a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0x18]
push eax
push str._sFlashFXP.exe
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4
Function at 0x403050
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ebx
push eax
push 0x20019
push 0
push str.SOFTWARELeapWareLeapFTP_3.0
push reloc.WS2_32.dll_bind
mov dword [esp + 0x28], 0xff
call esi
test eax, eax
je 0x4030ff
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push str.SOFTWARELeapWareLeapFTP_2.0
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x4030f9
cmp dword [ebp + 4], ebx
jne 0x403163
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREWow6432NodeLeapWareLeapFTP_3.0
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x4030ff
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREWow6432NodeLeapWareLeapFTP_2.0
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x403163
mov byte [0x40c4f4], bl
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.InstallPath
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403163
mov al, byte [esp + 0x1c]
test al, al
jne 0x40313a
push 0
push str.Error
push 0x40b4b0
jmp 0x40316f
mov eax, dword [esp + 0x124]
lea edx, [esp + 0x1c]
push edx
push str._sLeapFTP.exe
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push 0
push str.Error
push 0x40b484
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
Function at 0x403190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x18], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0xff
push eax
push 0x20019
push 0
push str.SOFTWARESYBASEPowerBuilder9.0
push reloc.WS2_32.dll_bind
xor bl, bl
call esi
test eax, eax
je 0x403241
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push str.SOFTWARESYBASEPowerBuilder
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x40323f
cmp dword [ebp + 4], 1
jne 0x4032d8
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREWow6432NodeSYBASEPowerBuilder9.0
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x403241
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREWow6432NodeSYBASEPowerBuilder
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4032d8
mov bl, 1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.Location
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4032d8
mov al, byte [esp + 0x1c]
test al, al
jne 0x40327c
push 0
push str.Error
push 0x40b5c0
jmp 0x4032e4
test bl, bl
jne 0x4032ac
mov eax, dword [esp + 0x124]
lea edx, [esp + 0x1c]
push edx
push str._sPowerBuilder_9.0pb90.exe
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov edx, dword [esp + 0x124]
lea ecx, [esp + 0x1c]
push ecx
push str._sPB6pb60.exe
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push 0
push str.Error
push 0x40b570
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
Function at 0x403300
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 1
push eax
push 0x20019
push 0
push str.SOFTWAREQuest_Software
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 0xff
call esi
test eax, eax
je 0x40338f
mov eax, dword [ebx + 4]
test eax, eax
je 0x40336d
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SOFTWAREWow6432NodeQuest_Software
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x40338f
push 0
push str.Error
push 0x40b6bc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.LFPathToad
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4033d6
push 0
push str.Error
push 0x40b6bc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov al, byte [esp + 0x18]
test al, al
jne 0x403400
push 0
push str.Error
push 0x40b698
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0x18]
push eax
push str._stoad.exe
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4

Function at 0x403430
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 1
push eax
push 0x20019
push 0
push str.SOFTWAREClassesPL_SQL_DeveloperShellOpenCommand
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 0xff
call esi
test eax, eax
je 0x4034a5
mov eax, dword [ebx + 4]
test eax, eax
je 0x403526
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SOFTWAREWow6432NodeClassesPL_SQL_DeveloperShellOpenCommand
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x403526
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403526
mov al, byte [esp + 0x18]
test al, al
jne 0x4034dd
push 0
push str.Error
push 0x40b728
jmp 0x403532
cmp al, 0x22
jne 0x40353a
lea eax, [esp + 0x19]
push 0x40b26c
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
je 0x4034fb
mov byte [eax], 0
mov edx, dword [esp + 0x120]
lea ecx, [esp + 0x19]
push ecx
push 0x40b11c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4
push 0
push str.Error
push 0x40b710
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4