joyce8/EMBER2024-capa huggingface dataset:
Function at 0x530540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 3
shr eax, 2
mov dword [ebp - 0x18], eax
push 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00537afe
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x530575
jmp 0x53064a
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00531e40
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 0
jmp 0x5305a1
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x18]
jae 0x5305d2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
jmp 0x530598
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 9], 0
jmp 0x530602
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 2
mov dword [ebp - 0x1c], eax
movzx ecx, byte [ebp - 9]
add ecx, 8
mov byte [ebp - 9], cl
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jae 0x53062f
movzx ecx, byte [ebp - 9]
and ecx, 0x1f
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4]
shr eax, cl
movzx ecx, al
and ecx, 0xff
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x5305e6
mov eax, dword [ebp - 0x14]
push eax
call fcn.00534c52
add esp, 4
mov dword [ebp - 4], 1
xor ecx, ecx
jne 0x53054d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x531400
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0xffffffff
xor eax, eax
mov word [ebp - 0x1c], ax
xor ecx, ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov word [ebp - 0xe], cx
lea edx, [ebp - 0x1b0]
push edx
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x531474
mov eax, dword [ebp - 0x1b4]
push eax
push str.WSAStartup_function_failed_with_error:__d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00531360
add esp, 0xc
jmp 0x531547
mov edx, 2
mov word [ebp - 0x1c], dx
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x1a], ax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x18], eax
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5314c8
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Socket_creation_error:__d
mov edx, dword [ebp + 0x10]
push edx
call fcn.00531360
add esp, 0xc
jmp 0x531547
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00531310
add esp, 8
cmp eax, 0xffffffff
jne 0x5314df
jmp 0x531547
push 0x10
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x53151b
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
call fcn.00531580
add esp, 4
test eax, eax
je 0x531525
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.005315b0
add esp, 8
test eax, eax
je 0x531525
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x531547
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Connect_on_socket_fd_failed_with_error:__d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00531360
add esp, 0xc
jmp 0x531547
cmp dword [ebp - 4], 0xffffffff
jne 0x53156a
cmp dword [ebp - 8], 0xffffffff
je 0x531564
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [ebp - 8], 0xffffffff
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x54dceb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00542cd2
mov dword [ebp - 0x14], eax
cmp dword [0x6b0ddc], edi
jne 0x54dddc
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x54dd69
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x54debc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x54debc
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54debc
push eax
call ebx
push 0x66c600
push esi
mov dword [0x6b0ddc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x66c610
push esi
mov dword [0x6b0de0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x6b0de4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6b0dec], eax
test eax, eax
je 0x54ddd9
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6b0de8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x54de01
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x54ddf4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x54de16
push 4
pop eax
jmp 0x54debe
cmp dword [ebp - 0x14], edi
je 0x54de16
push dword [0x6b0ddc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x54ddfb
mov eax, dword [0x6b0de8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x54de74
cmp dword [0x6b0dec], esi
je 0x54de74
push eax
call ebx
push dword [0x6b0dec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x54de74
test eax, eax
je 0x54de74
call ecx
test eax, eax
je 0x54de69
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x54de69
test byte [ebp - 8], 1
jne 0x54de74
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x54dea4
mov eax, dword [0x6b0de0]
cmp eax, esi
je 0x54dea1
push eax
call ebx
test eax, eax
je 0x54dea1
call eax
mov edi, eax
test edi, edi
je 0x54dea1
mov eax, dword [0x6b0de4]
cmp eax, esi
je 0x54dea1
push eax
call ebx
test eax, eax
je 0x54dea1
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x6b0ddc]
call ebx
test eax, eax
je 0x54debc
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x54debe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531ddb
leave
ret
Function at 0x566a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x418], 0
push 0x3ff
push 0
lea eax, [ebp - 0x417]
push eax
call fcn.00532490
add esp, 0xc
mov dword [ebp - 0x41c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x400
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x20007
push 0
push str.SoftwareFLEXlm_License_ManagerBorrow
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x566ae1
cmp dword [ebp + 8], 0
je 0x566ad3
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x566a9c
xor eax, eax
je 0x566a9c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x420], edx
jmp 0x566aa6
mov dword [ebp - 0x420], 0xffffff86
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x420]
mov dword [eax + 0x80], ecx
push 0
push 0xff
push 0
push 0
push 0x3972
push 0xffffffffffffff86
mov edx, dword [ebp + 8]
push edx
call fcn.00576350
add esp, 0x1c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x80]
jmp 0x566c09
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x424], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
test eax, eax
jne 0x566bfd
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00527f10
add esp, 8
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.00527de0
add esp, 0x10
test eax, eax
jne 0x566bf1
lea edx, [ebp - 0x418]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0
jmp 0x566b66
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x566bf1
cmp dword [ebp - 4], 3
jge 0x566bf1
push 0
push 0x2d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00527f80
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x566bec
cmp dword [ebp - 4], 2
jne 0x566be3
push 0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x418]
sub edx, eax
push edx
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.00527de0
add esp, 0x10
test eax, eax
jne 0x566be3
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00566c20
add esp, 8
test eax, eax
je 0x566be3
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00527ba0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x566b5d
mov dword [ebp - 0x14], 0x400
jmp 0x566ae1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x57c510
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1dc], 0
mov byte [ebp - 0x1d8], 0
push 0x3b
push 0
lea eax, [ebp - 0x1d7]
push eax
call fcn.00532490
add esp, 0xc
lea ecx, [ebp - 0x198]
push ecx
push 0x101
call fcn.005a5400
push 0
push 0x20
push 0
lea edx, [ebp - 0x1fc]
push edx
call fcn.005286a0
add esp, 0x10
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f4], 1
push 0x3c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.00582db0
add esp, 0xc
lea edx, [ebp - 0x1dc]
push edx
lea eax, [ebp - 0x1fc]
push eax
push 0
lea ecx, [ebp - 0x1d8]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp dword [ebp - 0x1dc], 0
je 0x57c613
mov edx, dword [ebp - 0x1dc]
cmp dword [edx + 4], 0x17
je 0x57c5e0
mov eax, dword [ebp - 0x1dc]
cmp dword [eax + 4], 2
je 0x57c5e0
mov ecx, dword [ebp - 0x1dc]
cmp dword [ecx + 4], 2
jne 0x57c613
push 0x3c
lea edx, [ebp - 0x1d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
add ecx, 0x84e
push ecx
call fcn.00582db0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
mov byte [eax + 0x88a], 0
jmp 0x57c683
cmp dword [ebp + 8], 0
je 0x57c674
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x57c63a
xor edx, edx
je 0x57c63a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x200], ecx
jmp 0x57c644
mov dword [ebp - 0x200], 0xffffff37
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x200]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x522e
push 0xffffff37
mov ecx, dword [ebp + 8]
push ecx
call fcn.00576350
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x1dc], 0
je 0x57c6a3
mov ecx, dword [ebp - 0x1dc]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x1dc], 0
call fcn.005a5420
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x57d0d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x18]
push eax
call fcn.0057e7e0
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0057e640
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x57d1d0
push 0
call fcn.0057d270
add esp, 4
push 1
call fcn.0057d270
add esp, 4
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x57d1d0
mov eax, dword [ebp - 0x10]
push eax
call fcn.005834f0
add esp, 4
cmp dword [ebp + 8], 0
je 0x57d1c6
cmp dword [ebp + 8], 0
je 0x57d1c6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x57d195
xor edx, edx
je 0x57d195
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x14], ecx
jmp 0x57d19c
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.00576350
add esp, 0x1c
mov eax, 1
jmp 0x57d25e
mov edx, dword [ebp - 0x10]
push edx
call fcn.005834f0
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x57d1fa
cmp dword [ebp + 0x14], 0
jne 0x57d20a
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00527f10
add esp, 8
test eax, eax
jne 0x57d20a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x57d252
cmp dword [ebp + 0x14], 0
je 0x57d218
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
jmp 0x57d22c
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00527f10
add esp, 8
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
xor ecx, ecx
cmp dword [ebp + 0x14], 0
setne cl
lea ecx, [ecx + ecx + 1]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.005a34e0
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x57e7e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x57e800
mov eax, closesocket
jmp 0x57e84e
push 0
push 0x94
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.005286a0
add esp, 0x10
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x57e849
cmp dword [ebp + 8], 0
jne 0x57e849
cmp dword [ebp - 0x9c], 6
jb 0x57e849
mov eax, closesocket
jmp 0x57e84e
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x58fd70
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 0x68], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x10], 0xffffffff
mov byte [ebp - 0x60], 0
push 0x45
push 0
lea eax, [ebp - 0x5f]
push eax
call fcn.00532490
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0
push 0x20
push 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.005286a0
add esp, 0x10
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x80], 1
cmp dword [ebp + 8], 0
je 0x58ff03
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00527f10
add esp, 8
mov dword [ebp - 8], eax
push 0
push 0x40
mov eax, dword [ebp + 8]
push eax
call fcn.00527f80
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x58fe31
lea ecx, [ebp - 0x60]
push ecx
push str.__69_0_9a_fA_F:_
mov edx, dword [ebp - 0xc]
push edx
call fcn.005379bc
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.00590030
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jle 0x58ff03
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x88]
push edx
push 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x68], 0
je 0x58fecb
mov ecx, dword [ebp - 0x68]
cmp dword [ecx + 4], 0x17
jne 0x58fecb
push 0
push 0x699350
mov edx, dword [ebp + 8]
push edx
call fcn.005280d0
add esp, 0xc
mov esi, eax
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.00527f10
add esp, 8
lea ecx, [esi + eax + 1]
cmp dword [ebp - 8], ecx
jne 0x58fecb
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.00527f10
add esp, 8
mov esi, eax
push 0
push 0x699354
mov eax, dword [ebp + 8]
push eax
call fcn.005280d0
add esp, 0xc
lea ecx, [esi + eax + 1]
mov dword [ebp - 0x64], ecx
jmp 0x58fef3
push 0
push 0x699358
mov edx, dword [ebp + 8]
push edx
call fcn.005280d0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x60]
push eax
call fcn.0058ff20
add esp, 4
lea ecx, [esi + eax + 1]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x68], 0
je 0x58ff03
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x64]
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x591d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x10e8]
and edx, 0x40
jne 0x591d45
xor eax, eax
jmp 0x591f2b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 0x80
jne 0x591db8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
or eax, 0x80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x13c], eax
push str.BUG_B
push 0x45
push 0x44
push str.FLEXLM__c_c_sADDATE
lea edx, [ebp - 0x2d0]
push edx
call fcn.00535a83
add esp, 0x14
lea eax, [ebp - 0x2d0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0057d940
add esp, 8
test eax, eax
je 0x591db8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
or eax, 0x100
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x13c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
and eax, 0x100
je 0x591e30
cmp dword [ebp + 8], 0
je 0x591e26
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x591def
xor edx, edx
je 0x591def
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2d4], ecx
jmp 0x591df9
mov dword [ebp - 0x2d4], 0xffffffa8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d4]
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.00576350
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x591f2b
mov byte [ebp - 0x208], 0x5c
mov byte [ebp - 0x207], 0
push 0
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00591f40
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x591e64
mov eax, dword [ebp - 4]
jmp 0x591f2b
push 0x200
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00591f40
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x591e9c
mov eax, dword [ebp - 4]
jmp 0x591f2b
mov byte [ebp - 0x208], 0x2f
mov byte [ebp - 0x206], 0x61
mov byte [ebp - 0x205], 0x72
mov byte [ebp - 0x207], 0x76
mov byte [ebp - 0x204], 0
push 0
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00591f40
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x591ee2
mov eax, dword [ebp - 4]
jmp 0x591f2b
mov byte [ebp - 0x208], 0x2f
mov byte [ebp - 0x204], 0
mov byte [ebp - 0x206], 0x6d
mov byte [ebp - 0x207], 0x74
mov byte [ebp - 0x205], 0x70
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00591f40
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x591f28
mov eax, dword [ebp - 4]
jmp 0x591f2b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x5997b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x5997de
cmp dword [ebp + 0x10], 0
jne 0x5997e0
jmp 0x599838
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005a25a0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x599838
cmp dword [ebp - 0xc], 0
je 0x599838
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.005a25a0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x599838
cmp dword [ebp - 0xc], 0
je 0x599838
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0053cba8
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
je 0x599851
mov eax, dword [ebp - 8]
push eax
call fcn.005834f0
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x59986a
mov ecx, dword [ebp - 4]
push ecx
call fcn.005834f0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x599880
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x5998ae
cmp dword [ebp + 0x10], 0
jne 0x5998b0
jmp 0x599908
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005a28a0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x599908
cmp dword [ebp - 0xc], 0
je 0x599908
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.005a28a0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x599908
cmp dword [ebp - 0xc], 0
je 0x599908
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0053cc69
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x599921
mov eax, dword [ebp - 4]
push eax
call fcn.005834f0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
je 0x59993a
mov ecx, dword [ebp - 8]
push ecx
call fcn.005834f0
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret