joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66cd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x66cd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x66cd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x66cd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x66cd94
push eax
push esi
call fcn.0066f20b
add esp, 8
pop esi
ret 0x10

Function at 0x66cda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x66ce22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x66ce15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x685320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0066edff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x66cdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x66ce30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x66cec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x66ceb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x685320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0066edff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x66ceab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x66ce6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x66d000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x66d131
push esi
call fcn.00670145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0065f080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x66d131
push 0
push ebp
call fcn.0065f3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0065f260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x66d08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0065f2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x66d121
push 0x685918
push edi
call fcn.0066e3f0
push eax
push ebx
push esi
call fcn.0066cf60
push 0x6858f8
push edi
call fcn.0066e3f0
push eax
push ebx
push esi
call fcn.0066cf60
push 0x6858d8
push edi
call fcn.0066e3f0
push eax
push ebx
push esi
call fcn.0066cf60
push 0x6858c0
push edi
call fcn.0066e3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0066cf60
push 0x6858a0
push edi
call fcn.0066e3f0
push eax
push ebx
push esi
call fcn.0066cf60
push 0x685888
push edi
call fcn.0066e3f0
push eax
push ebx
push esi
call fcn.0066cf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x66e1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0066e140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0066e140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0066e140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0066e140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x66ebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x66ec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x68087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x66ec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x66ec52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4bb15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x4bb168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x4bb14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x4bb145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x4bb145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret
Function at 0x406752
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406776
xor eax, eax
test eax, eax
je 0x406789
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406789
xor ecx, ecx
jmp 0x40678c
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4068b5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4068ec
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068c6
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40691d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4068ff
pop edi
not eax
pop esi
ret 0xc

Function at 0x710c63
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x7109ec
add ecx, 0x1f903b57
sub esi, esi
add ecx, esi
call fcn.00710cac
or ecx, esi
xor dword [edx], edi
push 0x7cb98f3f
pop esi
and ecx, esi
mov ecx, ecx
inc edx
and ecx, ecx
sub ecx, 1
add ecx, 0x472b9460
cmp edx, ebx
jne fcn.00710c63
and ecx, esi
ret
Function at 0x41492b
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push esi
push edi
mov byte [ebp - 0x404], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x403]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x808], 0
mov byte [ebp - 0x804], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x803]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0x400
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x50]
push ecx
push 0x4f8934
lea edx, [ebp - 0x404]
push edx
call fcn.004970c0
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
push 0x20007
push 0
push 0x4f8940
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x414a28
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x4149e3
xor edx, edx
test edx, edx
je 0x4149e3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x810], ecx
jmp 0x4149ed
mov dword [ebp - 0x810], 0xffffff86
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x810]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x267
push 0xffffffffffffff86
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041bbe0
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
jmp 0x414b49
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x804]
push ecx
mov edx, dword [ebp - 0x808]
mov dword [ebp - 0x814], edx
mov eax, dword [ebp - 0x814]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
mov edx, dword [ebp - 0x808]
add edx, 1
mov dword [ebp - 0x808], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x414b3a
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x804], 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.00496dc0
add esp, 4
push eax
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.00498090
add esp, 0xc
test eax, eax
jne 0x414b2e
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call fcn.00496dc0
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
add edx, 4
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.00496dc0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call fcn.00496dc0
add esp, 4
sub esi, eax
lea edx, [ebp + esi - 0x804]
push edx
call fcn.00498090
add esp, 0xc
test eax, eax
jne 0x414b2e
lea eax, [ebp - 0x804]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x4f8968
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00414b4f
add esp, 8
mov dword [ebp - 4], 0x400
jmp 0x414a28
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417758
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
add eax, reloc.WSOCK32.dll_bind
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00418cb7
add esp, 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x417854
push 0
call fcn.004178e6
add esp, 4
push 1
call fcn.004178e6
add esp, 4
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x417854
mov eax, dword [ebp - 0xc]
push eax
call fcn.004289be
add esp, 4
cmp dword [ebp + 8], 0
je 0x41784a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x417819
xor edx, edx
test edx, edx
je 0x417819
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x14], ecx
jmp 0x417820
mov dword [ebp - 0x14], 0xffffffc1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x1de
push 0xffffffffffffffc1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041bbe0
add esp, 0x1c
mov eax, 1
jmp 0x4178e2
mov edx, dword [ebp - 0xc]
push edx
call fcn.004289be
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x41787c
cmp dword [ebp + 0x14], 0
jne 0x41788c
mov eax, dword [ebp + 0x10]
push eax
call fcn.00496dc0
add esp, 4
test eax, eax
jne 0x41788c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4178d6
cmp dword [ebp + 0x14], 0
je 0x41789a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
jmp 0x4178ac
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00496dc0
add esp, 4
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043d973
add esp, 0x18
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x431330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd0]
mov edx, dword [ecx + 0x10a4]
and edx, 0x40
test edx, edx
jne 0x43135d
xor eax, eax
jmp 0x43153e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x134]
and ecx, 0x80
test ecx, ecx
jne 0x4313cd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x134]
or al, 0x80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x134], eax
push str.BUG_B
push 0x45
push 0x44
push str.FLEXLM__c_c_sADDATE
lea edx, [ebp - 0x2cc]
push edx
call fcn.004970c0
add esp, 0x14
lea eax, [ebp - 0x2cc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417f64
add esp, 8
test eax, eax
je 0x4313cd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x134]
or ah, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x134], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x134]
and eax, 0x100
test eax, eax
je 0x431443
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x431402
xor edx, edx
test edx, edx
je 0x431402
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2d0], ecx
jmp 0x43140c
mov dword [ebp - 0x2d0], 0xffffffa8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d0]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x138
push 0xffffffffffffffa8
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041bbe0
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x43153e
mov byte [ebp - 0x204], 0x5c
mov byte [ebp - 0x203], 0
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00431542
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x431477
mov eax, dword [ebp - 4]
jmp 0x43153e
push 0x200
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00431542
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4314af
mov eax, dword [ebp - 4]
jmp 0x43153e
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x202], 0x61
mov byte [ebp - 0x201], 0x72
mov byte [ebp - 0x203], 0x76
mov byte [ebp - 0x200], 0
push 0
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00431542
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4314f5
mov eax, dword [ebp - 4]
jmp 0x43153e
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x200], 0
mov byte [ebp - 0x202], 0x6d
mov byte [ebp - 0x203], 0x74
mov byte [ebp - 0x201], 0x70
push 0
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00431542
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43153b
mov eax, dword [ebp - 4]
jmp 0x43153e
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43b0f9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x43b22f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x198], 0
je 0x43b22f
push 0x20
mov ecx, dword [ebp + 8]
push ecx
call fcn.00428790
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43b213
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x1d04], ecx
push str.IBFS32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x43b211
push str.TMExtendedStartSession
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
push str.TMEndSession
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
push str.TMFirst
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
push str.TMNext
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
push str.TMRom
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
push str.TMSetup
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
push str.TMTouchByte
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
jmp 0x43b22d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov dword [eax + 0x1d04], 0
mov dword [ebp - 4], 0xffffffd8
jmp 0x43b236
mov dword [ebp - 4], 0xffffffd6
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43c8c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.00496ecc
add esp, 4
mov dword [0x50fc34], eax
cmp dword [0x50fc34], 0
je 0x43c8f0
mov eax, dword [0x50fc34]
jmp 0x43c969
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0
push str.SOFTWAREFLEXlm_License_Manager
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43c967
mov dword [ebp - 0xc], 0xc7
lea edx, [ebp - 0xc]
push edx
push 0x50fb6c
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43c959
mov dword [0x50fc34], 0x50fb6c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x50fc34]
jmp 0x43c969
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x43c969
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43d1f2
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x43d22a
jmp 0x43d276
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43d276
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043cdf3
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43d276
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043d296
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 4], 0
je 0x43d28f
mov ecx, dword [ebp - 4]
push ecx
call fcn.004289be
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x43d6b7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x43d6f8
cmp dword [ebp + 0x10], 0
je 0x43d6f8
cmp dword [ebp + 0x14], 0
je 0x43d6f8
cmp dword [ebp + 0x18], 0
jne 0x43d6fd
jmp 0x43d7dc
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043ca83
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d7dc
cmp dword [ebp - 0xc], 0
je 0x43d7dc
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d7dc
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00428790
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43d7dc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d7dc
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 1
je 0x43d7ae
mov edx, dword [ebp + 0x14]
cmp dword [edx], 2
jne 0x43d7c7
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043cf47
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x43d7dc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
cmp dword [ebp - 0x10], 0
je 0x43d7f5
mov eax, dword [ebp - 0x10]
push eax
call fcn.004289be
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x14], 0
je 0x43d80e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004289be
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret