joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bfd0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x454798
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x78]
mov dword [esp + 0x10], 0
call fcn.0043da35
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40c01d
mov ecx, dword [esp + 0x14]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esi + 0x68]
test eax, eax
mov dword [esi + 0x58], 0
je 0x40c034
push 0
mov ecx, esi
call fcn.0040d3e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xc], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c05a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x410790
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
push 4
mov esi, ecx
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 4], eax
mov dword [esi + 0xc], 4
mov dword [esi + 8], 4
pop esi
mov eax, ecx
ret 8

Function at 0x4107e0
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4107f0
mov ecx, dword [esi + 0x10]
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x10]
push edi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, edi
mov dword [esi + 4], eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x410817
sub ecx, edi
xor edx, edx
inc ecx
test eax, eax
sete dl
pop edi
mov dword [esi + 0xc], ecx
mov dword [esi + 8], 1
pop esi
mov eax, edx
ret 8

Function at 0x410840
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x18]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
pop esi
jne 0x410899
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, 1
add esp, 8
ret 8
xor eax, eax
add esp, 8
ret 8

Function at 0x410a10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [0x46da7c]
push esi
mov dword [esp + 0x10c], eax
mov esi, ecx
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x10]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
pop esi
jne 0x410aa5
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410a70
mov ecx, dword [esp + 0x114]
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00402530
mov eax, 1
mov ecx, dword [esp + 0x108]
call fcn.0042d9b6
add esp, 0x10c
ret 8
mov ecx, dword [esp + 0x108]
xor eax, eax
call fcn.0042d9b6
add esp, 0x10c
ret 8
Function at 0x4137f0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413851
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x413833
cmp eax, 2
jne 0x413843
test esi, esi
mov eax, dword [esp + 0x14]
je 0x41384d
mov cl, byte [eax + esi - 1]
test cl, cl
je 0x41384d
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x414090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x454d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00406100
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401c00
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x414122
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x416630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x24]
mov byte [esp + 0x24], al
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push 1
lea edx, [esp + 0x28]
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], edi
call fcn.00406100
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401c00
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 0x18
mov dword [edi], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4166c6
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4168b0
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x455050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, dword [esp + 0x28]
push 0x457828
push esi
mov dword [esp + 0x28], 0
call fcn.0042ddb9
add esp, 8
test eax, eax
jne 0x41691d
or ebp, 0xffffffff
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x416908
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.0040c180
mov eax, dword [eax]
push 0x4595e0
push eax
call fcn.0042ddb9
mov ebx, eax
mov eax, dword [esp + 0x18]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
or ebp, 0xffffffff
inc bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416965
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4169b1
mov esi, dword [esi - 0xc]
dec esi
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.004027c0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.004029c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4169ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, ebp
je 0x4169ef
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4169d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 0x5c
push esi
call fcn.0042e258
add esp, 8
test eax, eax
jne 0x416a02
mov eax, ebp
jmp 0x416a04
sub eax, esi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004027c0
call fcn.004168b0
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x416a44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x417940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push edi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004108b0
mov byte [esp + 0x2c], 1
call fcn.0043e731
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 4], eax
mov edi, dword [esp + 0x34]
push edi
lea eax, [esp + 8]
push str.Etc_s
push eax
mov byte [esp + 0x38], 2
call fcn.00402aa0
add esp, 0xc
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x10]
call fcn.00410650
test eax, eax
jne 0x4179cd
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x10]
call fcn.00410710
push esi
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x18]
call fcn.00410970
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 8]
push ecx
push esi
lea ecx, [esp + 0x14]
call fcn.00410790
lea ecx, [esp + 0xc]
call fcn.00410770
lea eax, [esi - 0x10]
mov byte [esp + 0x30], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop esi
jg 0x417a1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.004108f0
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x417a50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x417a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004108b0
mov esi, dword [esp + 0x38]
mov byte [esp + 0x2c], 1
mov dword [esi], 0
call fcn.0043e731
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x34]
push edi
lea eax, [esp + 0x3c]
push str.Etc_s
push eax
mov byte [esp + 0x38], 2
call fcn.00402aa0
add esp, 0xc
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x10]
call fcn.00410650
test eax, eax
jne 0x417aee
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
jmp 0x417b1e
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x14]
call fcn.00410970
push esi
mov esi, dword [esp + 0x3c]
push esi
lea ecx, [esp + 0x10]
call fcn.00410840
lea ecx, [esp + 8]
call fcn.00410770
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.004108f0
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x417b80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45515b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x46da7c]
push ebx
push esi
push edi
mov dword [esp + 0x22c], eax
lea eax, [esp + 0x14]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x417d04
mov dword [esp + 0xc], ebx
lea esp, [esp]
xor eax, eax
mov byte [esp + 0x28], bl
mov ecx, 0x3f
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x128], bl
mov ecx, 0x3f
lea edi, [esp + 0x129]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, pe_nt_image_headers32
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x20]
push ecx
stosb byte es:[edi], al
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x417cf9
call fcn.0043e731
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push 0x457840
push ecx
mov dword [esp + 0x248], ebx
call fcn.00402aa0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
add esp, 0xc
cmp eax, ebx
jl 0x417cca
push 0x459b68
push esi
call fcn.0042e1a6
add esp, 8
cmp eax, ebx
je 0x417cca
sub eax, esi
mov dword [esp + 0x1c], eax
js 0x417cca
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00401c00
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00417550
add esp, 4
lea eax, [esi - 0x10]
mov dword [esp + 0x23c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417cef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc dword [esp + 0xc]
jns 0x417be0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x22c]
call fcn.0042d9b6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4550a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.004108b0
mov esi, dword [esp + 0x34]
push 0
push 0x457828
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.00402530
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
call fcn.00410650
test eax, eax
lea ecx, [esp + 4]
je 0x417dbe
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
call fcn.00410970
push esi
push str.PrunaVersion
lea ecx, [esp + 0xc]
call fcn.00410a10
lea ecx, [esp + 4]
call fcn.00410770
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.004108f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417dee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x418050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4550a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.004108b0
mov esi, dword [esp + 0x34]
push 0
push 0x457828
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.00402530
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
call fcn.00410650
test eax, eax
lea ecx, [esp + 4]
je 0x4180de
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
call fcn.00410970
push esi
push str.PortForwardVersion
lea ecx, [esp + 0xc]
call fcn.00410a10
lea ecx, [esp + 4]
call fcn.00410770
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.004108f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41810e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x418120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4550a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.004108b0
mov esi, dword [esp + 0x34]
push 0
push 0x457828
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.00402530
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
call fcn.00410650
test eax, eax
lea ecx, [esp + 4]
je 0x4181ae
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
call fcn.00410970
push esi
push str.PointUpVersion
lea ecx, [esp + 0xc]
call fcn.00410a10
lea ecx, [esp + 4]
call fcn.00410770
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.004108f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4181de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4181f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4551b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 8]
call fcn.004108b0
mov esi, dword [esp + 0x30]
push 1
push 0x458304
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.00402530
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
call fcn.00410650
test eax, eax
lea ecx, [esp + 4]
je 0x418279
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
call fcn.00410970
push esi
push str.PointUpDate
lea ecx, [esp + 0xc]
call fcn.00410a10
lea ecx, [esp + 4]
call fcn.00410770
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.004108f0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4182a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4550a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.004108b0
mov esi, dword [esp + 0x34]
push 0
push 0x457828
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.00402530
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
call fcn.00410650
test eax, eax
lea ecx, [esp + 4]
je 0x41832e
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
call fcn.00410970
push esi
push str.SharedVersion
lea ecx, [esp + 0xc]
call fcn.00410a10
lea ecx, [esp + 4]
call fcn.00410770
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.004108f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41835e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x418370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4550a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.004108b0
mov esi, dword [esp + 0x34]
push 0
push 0x457828
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.00402530
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
call fcn.00410650
test eax, eax
lea ecx, [esp + 4]
je 0x4183fe
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
call fcn.00410970
push esi
push str.ListVersion
lea ecx, [esp + 0xc]
call fcn.00410a10
lea ecx, [esp + 4]
call fcn.00410770
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.004108f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41842e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x418440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4550a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.004108b0
mov esi, dword [esp + 0x34]
push 0
push 0x457828
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.00402530
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
call fcn.00410650
test eax, eax
lea ecx, [esp + 4]
je 0x4184ce
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
call fcn.00410970
push esi
push str.partnercode
lea ecx, [esp + 0xc]
call fcn.00410a10
lea ecx, [esp + 4]
call fcn.00410770
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.004108f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4184fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4186b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004108b0
mov esi, dword [esp + 0x38]
push 0
push 0x457828
mov ecx, esi
mov byte [esp + 0x34], 1
call fcn.00402530
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x10]
call fcn.00410650
test eax, eax
lea ecx, [esp + 8]
je 0x41877b
push 0
push str.SoftwarePruna
push reloc.WS2_32.dll_accept
call fcn.00410970
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 8]
push str.LogOcx
push ecx
call fcn.0040c1e0
add esp, 0xc
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.00410a10
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41876e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 8]
call fcn.00410770
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.004108f0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4187ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret