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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
je 0x5924d6
mov esi, dword [eax + 4]
test eax, eax
je 0x5924dd
mov edi, dword [eax + 8]
mov eax, dword [ebp + 0x18]
push eax
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call sub.WSOCK32.DLL_send
mov ebx, eax
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [0x6fccb0], eax
lea eax, [ebp - 0xbc]
push eax
mov edx, dword [0x6fccb0]
push edx
call fcn.00592e6c
add esp, 8
lea ecx, [ebp - 0xbc]
push ecx
push ebx
mov eax, dword [ebp + 0x18]
push eax
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
push esi
push str.Sock_ID_lu_send__u_0x_p__d__d_______d___s_
lea edx, [ebp - 0xa0]
push edx
call fcn.006a0ad0
add esp, 0x24
lea ecx, [ebp - 0xa0]
mov eax, dword [0x6db428]
mov edx, dword [0x6db424]
push ecx
push edi
push eax
push edx
call sub.USER32.DLL_SendMessageA
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x592568
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
je 0x592582
mov esi, dword [eax + 4]
test eax, eax
je 0x592589
mov edi, dword [eax + 8]
mov eax, dword [ebp + 0x20]
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
call sub.WSOCK32.DLL_sendto
mov ebx, eax
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [0x6fccb0], eax
lea eax, [ebp - 0xbc]
push eax
mov edx, dword [0x6fccb0]
push edx
call fcn.00592e6c
add esp, 8
lea ecx, [ebp - 0xbc]
push ecx
push ebx
mov eax, dword [ebp + 0x20]
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push str.Sock_ID_lu_sendto__u_0x_p__d__d_0x_p__d_______d___s_
lea eax, [ebp - 0xa0]
push eax
call fcn.006a0ad0
add esp, 0x2c
lea edx, [ebp - 0xa0]
mov ecx, dword [0x6db428]
mov eax, dword [0x6db424]
push edx
push edi
push ecx
push eax
call sub.USER32.DLL_SendMessageA
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x592b60
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
je 0x592b7a
mov esi, dword [eax + 4]
test eax, eax
je 0x592b81
mov edi, dword [eax + 8]
mov eax, dword [ebp + 0xc]
push eax
call sub.WSOCK32.DLL_gethostbyname
mov ebx, eax
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [0x6fccb0], eax
lea eax, [ebp - 0xbc]
push eax
mov edx, dword [0x6fccb0]
push edx
call fcn.00592e6c
add esp, 8
lea ecx, [ebp - 0xbc]
push ecx
push ebx
mov eax, dword [ebp + 0xc]
push eax
push esi
push str.Sock_ID_lu_gethostbyname__s______0x_p___s_
lea edx, [ebp - 0xa0]
push edx
call fcn.006a0ad0
add esp, 0x18
lea ecx, [ebp - 0xa0]
mov eax, dword [0x6db428]
mov edx, dword [0x6db424]
push ecx
push edi
push eax
push edx
call sub.USER32.DLL_SendMessageA
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x592bf4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
je 0x592c0e
mov esi, dword [eax + 4]
test eax, eax
je 0x592c15
mov edi, dword [eax + 8]
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
call sub.WSOCK32.DLL_gethostname
mov ebx, eax
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [0x6fccb0], eax
lea eax, [ebp - 0xbc]
push eax
mov edx, dword [0x6fccb0]
push edx
call fcn.00592e6c
add esp, 8
lea ecx, [ebp - 0xbc]
push ecx
push ebx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
push esi
push str.Sock_ID_lu_gethostname__s__d_______d___s_
lea ecx, [ebp - 0xa0]
push ecx
call fcn.006a0ad0
add esp, 0x1c
lea eax, [ebp - 0xa0]
mov edx, dword [0x6db428]
mov ecx, dword [0x6db424]
push eax
push edi
push edx
push ecx
call sub.USER32.DLL_SendMessageA
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x592c90
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
je 0x592caa
mov esi, dword [eax + 4]
test eax, eax
je 0x592cb1
mov edi, dword [eax + 8]
mov eax, dword [ebp + 0x10]
push eax
mov dx, word [ebp + 0xc]
push edx
call sub.WSOCK32.DLL_WSAStartup
mov ebx, eax
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [0x6fccb0], eax
lea eax, [ebp - 0xbc]
push eax
mov edx, dword [0x6fccb0]
push edx
call fcn.00592e6c
add esp, 8
lea ecx, [ebp - 0xbc]
push ecx
push ebx
mov eax, dword [ebp + 0x10]
push eax
movzx edx, word [ebp + 0xc]
push edx
push esi
push str.Sock_ID_lu_WSAStartup_0x_X_0x_p_______d___s_
lea ecx, [ebp - 0xa0]
push ecx
call fcn.006a0ad0
add esp, 0x1c
mov eax, dword [0x6db424]
push eax
call sub.USER32.DLL_IsWindow
test eax, eax
je 0x592d3a
mov edx, dword [0x6db428]
test edx, edx
je 0x592d3a
lea ecx, [ebp - 0xa0]
mov eax, dword [0x6db428]
push ecx
push edi
push eax
mov edx, dword [0x6db424]
push edx
call sub.USER32.DLL_SendMessageA
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x593884
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0x6dbbf4
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
push 0xc
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x59390b
lea edx, [ebp - 0x2c]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x1c], 8
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebp - 0x10]
mov dword [ebp - 4], eax
inc dword [ebp - 0x10]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x1c], 0x14
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov eax, esi
shl eax, 3
lea eax, [eax + eax*2]
push eax
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x59396e
lea edx, [ebp - 0x2c]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x1c], 0x20
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
inc dword [ebp - 0x10]
mov dword [ebp - 8], eax
inc dword [ebp - 0x10]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 8], ebx
mov word [ebp - 0x1c], 0
jmp 0x59399d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
add eax, 8
mov dword [eax + 8], edx
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
shl edx, 3
lea edx, [edx + edx*2]
add eax, edx
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x593a30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0x6dbc60
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
push 0xc
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x593ab7
lea edx, [ebp - 0x2c]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x1c], 8
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebp - 0x10]
mov dword [ebp - 4], eax
inc dword [ebp - 0x10]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x1c], 0x14
mov esi, dword [ebp + 0xc]
mov ecx, esi
shl ecx, 2
lea ecx, [ecx + ecx*2]
push ecx
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x593b18
lea eax, [ebp - 0x2c]
mov edx, 0x6b0470
push eax
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov ecx, 0x6b045c
mov word [ebp - 0x1c], 0x20
mov dword [ebp - 8], edx
lea eax, [ebp - 8]
inc dword [ebp - 0x10]
mov dword [ebp - 8], ecx
inc dword [ebp - 0x10]
push eax
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov edx, dword [ebp - 0x30]
mov dword [edx + 8], ebx
mov word [ebp - 0x1c], 0
jmp 0x593b47
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
add eax, 8
mov dword [eax + 8], edx
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
shl ecx, 2
lea ecx, [ecx + ecx*2]
add eax, ecx
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59493c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0x6e64c4
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
push 0xc
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x5949c3
lea edx, [ebp - 0x2c]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x1c], 8
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebp - 0x10]
mov dword [ebp - 4], eax
inc dword [ebp - 0x10]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x1c], 0x14
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov eax, esi
shl eax, 4
add eax, esi
lea eax, [esi + eax*4]
lea eax, [esi + eax*2]
shl eax, 3
push eax
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x594a2e
lea edx, [ebp - 0x2c]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x1c], 0x20
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
inc dword [ebp - 0x10]
mov dword [ebp - 8], eax
inc dword [ebp - 0x10]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 8], ebx
mov word [ebp - 0x1c], 0
jmp 0x594a5d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
add eax, 8
mov dword [eax + 8], edx
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [ecx + edx*4]
lea edx, [ecx + edx*2]
shl edx, 3
add eax, edx
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x594b40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0x6e6544
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
push 0xc
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x594bc7
lea edx, [ebp - 0x2c]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x1c], 8
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebp - 0x10]
mov dword [ebp - 4], eax
inc dword [ebp - 0x10]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x1c], 0x14
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov eax, esi
shl eax, 4
lea eax, [eax + eax*2]
push eax
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x594c2a
lea edx, [ebp - 0x2c]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x1c], 0x20
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
inc dword [ebp - 0x10]
mov dword [ebp - 8], eax
inc dword [ebp - 0x10]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 8], ebx
mov word [ebp - 0x1c], 0
jmp 0x594c59
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
add eax, 8
mov dword [eax + 8], edx
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
shl edx, 4
lea edx, [edx + edx*2]
add eax, edx
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x599944
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0x6defc4
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x24], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0xc], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x28]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
cmp eax, ecx
je 0x5999c0
mov edx, eax
add edx, 0xfffffffc
mov ecx, dword [edx]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
add eax, 0xfffffffc
push eax
push ebx
call fcn.00599b50
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov dword [ebx], ecx
mov eax, dword [ebp + 8]
add dword [eax + 8], 4
jmp 0x599b3d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
test eax, eax
jns 0x5999d5
add eax, 3
sar eax, 2
test eax, eax
je 0x5999e0
add eax, eax
jmp 0x5999e5
mov eax, 0x100
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x34]
shl edi, 2
push edi
call fcn.0067ac68
pop ecx
mov esi, eax
test esi, esi
jne 0x599a3b
lea edx, [ebp - 0x28]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x18], 8
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebp - 0xc]
mov dword [ebp - 4], eax
inc dword [ebp - 0xc]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x38], esi
mov ecx, dword [ebp - 0x38]
push ecx
push ebx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push edx
call fcn.00599b74
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push dword [edx + 4]
mov edx, ebx
pop ecx
sub edx, ecx
test edx, edx
jns 0x599a67
add edx, 3
sar edx, 2
shl edx, 2
mov ecx, dword [ebp - 0x38]
add edx, ecx
mov eax, dword [eax]
mov dword [edx], eax
mov word [ebp - 0x18], 0x14
mov edx, dword [ebp + 8]
mov eax, ebx
mov edx, dword [edx + 4]
sub eax, edx
test eax, eax
jns 0x599a8d
add eax, 3
sar eax, 2
shl eax, 2
mov ecx, dword [ebp - 0x38]
add eax, ecx
add eax, 4
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
push edx
push ebx
call fcn.00599b74
mov word [ebp - 0x18], 0
add esp, 0xc
jmp 0x599ad5
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 8]
mov eax, dword [eax + 4]
mov ebx, edx
sub ebx, eax
test ebx, ebx
jns 0x599aec
add ebx, 3
sar ebx, 2
push edx
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0049fafc
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push eax
call fcn.0067ac7c
mov edx, dword [ebp - 0x34]
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
shl edx, 2
add eax, 0x10
add edx, ecx
mov ecx, edx
mov dword [eax + 8], ecx
mov dword [ebp - 0x40], ecx
shl ebx, 2
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
add ebx, edx
add ebx, 4
mov dword [eax + 8], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5df6c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffafc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, 1
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x5c]
push edx
push 0x6dbf26
push 0x6dbf21
lea ecx, [ebp - 0x1c]
push ecx
call fcn.006a0ad0
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
cmp dl, 1
jne 0x5df848
push edi
push 0x6dbf32
push 0x6dbf2d
lea ecx, [ebp - 0x290]
push ecx
call fcn.006a0ad0
add esp, 0x10
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x290]
push eax
push 0x12c
push edx
push 0x6dbf38
push ecx
lea eax, [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov dl, byte [ebp - 0x148]
test dl, dl
je 0x5df7a1
push 0x7c
lea ecx, [ebp - 0x148]
push ecx
call fcn.0069cf19
add esp, 8
test eax, eax
je 0x5df760
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x148]
mov edx, dword [eax + 0x5c]
lea eax, [ebp - 0x274]
push edx
push ecx
push 0x6dbf41
push 0x6dbf39
push eax
call fcn.006a0ad0
add esp, 0x14
mov edx, dword [esi + 0x30]
push edx
push 0
push 0
lea ecx, [ebp - 0x274]
push ecx
call sub.KERNEL32.DLL_WritePrivateProfileStringA
inc edi
jmp 0x5df6ff
mov edi, 1
push edi
push 0x6dbf4d
push 0x6dbf48
lea eax, [ebp - 0x504]
push eax
call fcn.006a0ad0
add esp, 0x10
mov edx, dword [esi + 0x30]
lea ecx, [ebp - 0x3bc]
lea eax, [ebp - 0x504]
push edx
push 0x12c
push ecx
push 0x6dbf52
push eax
lea edx, [ebp - 0x1c]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov cl, byte [ebp - 0x3bc]
test cl, cl
je 0x5df848
push 0x7c
lea eax, [ebp - 0x3bc]
push eax
call fcn.0069cf19
add esp, 8
test eax, eax
je 0x5df807
mov byte [eax], 0
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x3bc]
mov ecx, dword [edx + 0x5c]
lea edx, [ebp - 0x4e8]
push ecx
push eax
push 0x6dbf5b
push 0x6dbf53
push edx
call fcn.006a0ad0
add esp, 0x14
mov ecx, dword [esi + 0x30]
push ecx
push 0
push 0
lea eax, [ebp - 0x4e8]
push eax
call sub.KERNEL32.DLL_WritePrivateProfileStringA
inc edi
jmp 0x5df7a6
mov edx, dword [esi + 0x30]
push edx
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
cmp dl, 3
jne 0x5df876
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [esi + 0x6180]
push eax
call fcn.0066b8e4
add esp, 8
mov edi, 1
mov eax, dword [esi + 0x30]
push eax
push 0
push 0
push str.DOMAINS
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov ebx, dword [esi + 0x3c]
jmp 0x5df8be
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x5df8bb
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x5c]
cmp eax, ecx
je 0x5df8bb
mov al, byte [ebx]
cmp al, 1
je 0x5df8ad
cmp al, 3
jne 0x5df8bb
mov dword [ebx + 0x60], edi
push ebx
push esi
call fcn.005df5dc
add esp, 8
inc edi
add ebx, 0x78
mov edx, dword [esi + 0x40]
cmp ebx, edx
jne 0x5df892
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e34ac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc8c
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0x6e45ac
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x30], eax
mov word [ebp - 0x24], 0
mov dword [ebp - 0x18], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x34]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov edi, eax
mov esi, dword [ebx + 4]
push esi
push eax
push edi
call fcn.004057f0
add esp, 0xc
mov edx, dword [ebx + 8]
sub edi, esi
test edi, edi
jns 0x5e350a
add edi, 0xf
sar edi, 4
shl edi, 4
sub dword [ebx + 8], edi
push edx
push eax
push ebx
call fcn.0040445c
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x6dc4ef
push 0x6dc4e6
lea eax, [ebp - 0x170]
push eax
call fcn.006a0ad0
mov edx, dword [ebp + 8]
add esp, 0x14
lea eax, [ebp - 0x364]
mov ecx, dword [edx + 0x30]
push ecx
push 0x1f4
push eax
push 0x6dc4fa
lea edx, [ebp - 0x170]
push 0x6dc4f4
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov cl, byte [ebp - 0x364]
test cl, cl
jne 0x5e3580
mov eax, dword [ebp - 0x34]
mov dword fs:[0], eax
jmp 0x5e362c
push ebx
lea edx, [ebp - 0x3c]
mov word [ebp - 0x24], 8
push edx
lea ecx, [ebp - 0x364]
push ecx
lea eax, [ebp - 0x10]
push eax
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
call fcn.004466c0
add esp, 8
dec dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x5e3622
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
je 0x5e35f3
mov ebx, dword [ebp - 8]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x5e35ea
cmp ebx, 0x6ff36c
je 0x5e35e3
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x5e35ef
mov eax, 1
jmp 0x5e35ef
mov eax, 1
test eax, eax
jne 0x5e3622
mov edx, dword [ebp - 8]
add edx, 0xfffffff4
mov dword [ebp - 0x40], edx
mov esi, dword [ebp - 8]
add esi, 0xfffffff4
push esi
call fcn.0067ac7c
xor eax, eax
pop ecx
mov edi, eax
lea edx, [ebp - 0x10]
mov dword [ebp - 8], edi
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x36c], eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret