joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034c80
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x34]
push ebp
imul ebp, dword [esp + 0x38], 0x88
xorps xmm0, xmm0
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x14]
movlpd qword [esp + 0x24], xmm0
push eax
push esi
push ebx
add ebp, edi
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0x11
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x50], 0
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x10034d10
push esi
push ebx
push str.Address_resolution_failed_for__s:_s
push pe_nt_image_headers32
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_addr.c
push 3
call fcn.10034290
add esp, 0x18
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x40]
xor ebx, ebx
mov esi, eax
test esi, esi
je 0x10034d5b
nop dword [eax]
mov eax, dword [esi + 4]
cmp eax, 2
je 0x10034d2d
cmp eax, 0x17
jne 0x10034d50
inc ebx
cmp edi, ebp
je 0x10034d50
push dword [esi + 0x10]
push dword [esi + 0x18]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x10]
add esp, 0xc
mov dword [edi + 0x80], eax
add edi, 0x88
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x10034d20
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x20
ret

Function at 0x10035180
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 0x1f8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x24]
lea eax, [esi + 0x170]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov ebp, dword [esp + 0x2c]
mov ecx, 0x22
push dword [esp + 0x28]
mov dword [esi + 8], edx
mov dword [esi], ebx
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
movzx eax, word [eax]
mov ecx, 0x2d
mov esi, dword [esp + 0x34]
push edx
push eax
push ebx
mov word [esi + 0xc], cx
call fcn.10035050
add esp, 0x1c
mov dword [esi + 4], eax
lea eax, [esi + 0x14f]
push 0x1a
push 0x20
push eax
push 0x100
lea eax, [esi + 0x4e]
push eax
push dword [ebp + 0x80]
push ebp
call dword [sym.imp.WS2_32.dll_getnameinfo]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x10035226
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.getnameinfo_failed__errno_d
push 0xae
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcice.c
push 4
call fcn.10034290
add esp, 0x14
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x100355c0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x20
push esi
mov esi, dword [esp + 0x28]
push 0xc
push str.acandidate:
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
lea ecx, [esi + 0xc]
test eax, eax
cmovne ecx, esi
cmp ecx, esi
jne 0x100355ed
or eax, 0xffffffff
pop esi
add esp, 0x20
ret
push edi
mov edi, dword [esp + 0x30]
push edi
push esi
call fcn.10035ac0
add esp, 8
test eax, eax
js 0x100356df
push ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 2
push eax
lea esi, [edi + 0x14f]
mov dword [esp + 0x20], 0x11
xorps xmm0, xmm0
mov dword [esp + 0x14], 0x40c
push esi
lea ebx, [edi + 0x4e]
movlpd qword [esp + 0x28], xmm0
push ebx
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x40], 0
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x10035689
push esi
push ebx
push str.Failed_to_resolve_address:__s:_s
push 0xbf
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcice.c
push 2
call fcn.10034290
add esp, 0x18
mov dword [edi + 0x1f0], 0
xor eax, eax
pop ebx
pop edi
pop esi
add esp, 0x20
ret
mov esi, dword [esp + 0x30]
mov ecx, esi
test ecx, ecx
je 0x100356d5
mov eax, dword [ecx + 4]
cmp eax, 2
je 0x100356b7
cmp eax, 0x17
je 0x100356b7
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x10035693
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x1f0], eax
lea eax, [edi + 0x170]
push dword [ecx + 0x10]
push dword [ecx + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
xor eax, eax
pop ebx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x1003b700
Capabilities:
Check mutex on windows
Generate random numbers via winapi

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push 2
push edi
push ebx
push 0
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
je 0x1003b7d1
cmp dword [0x10081564], 0
push esi
jne 0x1003b751
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, eax
test edx, edx
je 0x1003b764
mov ecx, edx
mov esi, 0x10081564
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x1003b751
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10081564]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x1003b76a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [0x10081568], 0
jne 0x1003b7a9
push str.Falling_back_on_rand___for_random_bytes
push 0x5a
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_random.c
push 3
call fcn.10034290
add esp, 0x10
cmp byte [0x10081568], 0
jne 0x1003b7a9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
mov byte [0x10081568], 1
xor esi, esi
test edi, edi
je 0x1003b7c4
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
call ebp
sar eax, 7
mov byte [ebx + esi], al
inc esi
cmp esi, edi
jb 0x1003b7b6
pop ebp
push dword [0x10081564]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
pop edi
pop ebx
ret
Function at 0x1003b7e0
Capabilities:
Check mutex on windows
Generate random numbers via winapi

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor edi, edi
cmp ebp, 1
jbe 0x1003b8e6
push esi
lea esi, [edi + 1]
nop word [eax + eax]
push 2
push 1
lea eax, [esp + 0x20]
mov byte [esp + 0x20], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
je 0x1003b8c9
cmp dword [0x10081564], 0
jne 0x1003b854
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, eax
test edx, edx
je 0x1003b867
mov ecx, edx
xor eax, eax
mov ebx, 0x10081564
lock cmpxchg dword [ebx], ecx
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x1003b854
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10081564]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x1003b86d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [0x10081568], 0
jne 0x1003b8b0
push str.Falling_back_on_rand___for_random_bytes
push 0x5a
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_random.c
push 3
call fcn.10034290
add esp, 0x10
cmp byte [0x10081568], 0
jne 0x1003b8b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
mov byte [0x10081568], 1
nop dword [eax]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
push dword [0x10081564]
sar eax, 7
mov byte [esp + 0x1c], al
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
movzx eax, byte [esp + 0x18]
inc edi
and eax, 0x3f
mov al, byte [eax + 0x100599e8]
mov byte [esi + ebx - 1], al
inc esi
cmp esi, ebp
jb 0x1003b800
pop esi
mov byte [edi + ebx], 0
pop edi
pop ebp
pop ebx
ret
Function at 0x1003bbf0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
imul edi, dword [ebx], 0x2c
add edi, 0x100800d8
cmp dword [edi + 0x24], 0
lea ebp, [edi + 0x24]
jne 0x1003bc30
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, eax
test edx, edx
je 0x1003bc41
mov ecx, edx
xor eax, eax
lock cmpxchg dword [ebp], ecx
test eax, eax
je 0x1003bc30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x1003bc47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Destroying_connection
push 0xbc
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcconn.c
push 1
call fcn.10034290
mov esi, dword [edi + 0x28]
add esp, 0x10
test esi, esi
je 0x1003bd43
lea eax, [esi + 4]
push eax
call fcn.1003be00
mov eax, dword [edi + 0xc]
push ebx
call eax
mov ecx, dword [ebx + 0xad14]
add esp, 8
test ecx, ecx
js 0x1003bc9b
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], 0
mov dword [ebx + 0xad14], 0xffffffff
dec dword [esi + 0x10]
mov ebx, dword [edi + 0x28]
test ebx, ebx
je 0x1003bd4c
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x1003bd03
push str.No_connection_left__destroying_connections_registry
push 0x70
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcconn.c
push 1
call fcn.10034290
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
add esp, 0x10
push dword [ebx + 4]
call eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1003bcdd
push ebx
call eax
add esp, 4
push dword [ebx + 8]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
push ebx
call esi
add esp, 8
mov dword [edi + 0x28], 0
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ecx, 2
mov edx, 0x1004c9f1
mov eax, 0x10057e5c
cmovl eax, edx
push eax
push ecx
push str._d_connection_s_left
push 0x7d
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcconn.c
push 0
call fcn.10034290
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
add esp, 0x18
push dword [ebx + 4]
call eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [edi + 0xc]
push ebx
call eax
add esp, 4
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1003be00
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi], 0
jne 0x1003be36
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, eax
test edx, edx
jne 0x1003be23
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x1003be36
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x1003be4a
xor eax, eax
pop esi
ret
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1003d590
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
cmp esi, 4
jae 0x1003d5b9
push esi
push str.STUN_mapped_address_value_too_short__size_zu
push 0x403
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_stun.c
push 0
call fcn.10034290
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push ebx
mov ebx, dword [esp + 0xc]
push ebp
movzx ecx, byte [ebx + 1]
mov eax, ecx
sub eax, 1
je 0x1003d6a2
sub eax, 1
je 0x1003d5f5
push ecx
push str.Unknown_STUN_address_family_0x_X
push 0x42a
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_stun.c
push 1
call fcn.10034290
add esp, 0x14
mov ebp, esi
mov eax, ebp
pop ebp
pop ebx
pop esi
ret
mov ebp, 0x14
cmp esi, ebp
jae 0x1003d60e
push esi
push str.IPv6_mapped_address_value_too_short__size_zu
push 0x41c
jmp 0x1003d6b6
push edi
push str.Reading_IPv6_address
push 0x41f
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_stun.c
push 0
call fcn.10034290
mov ecx, dword [esp + 0x2c]
lea esi, [ebx + 5]
mov edi, dword [esp + 0x30]
mov eax, 0x17
add esp, 0x10
mov dword [ecx + 0x80], 0x1c
mov word [ecx], ax
mov ax, word [ebx + 2]
xor ax, word [edi]
add edi, 3
mov ebx, dword [esp + 0x20]
mov word [ecx + 2], ax
add ecx, 8
sub ebx, ecx
lea edx, [ecx + 1]
mov ecx, 4
movzx eax, byte [esi - 1]
lea esi, [esi + 4]
xor al, byte [edi - 3]
lea edi, [edi + 4]
mov byte [edx - 1], al
lea edx, [edx + 4]
movzx eax, byte [ebx + edx - 4]
xor al, byte [esi - 4]
mov byte [edx - 4], al
movzx eax, byte [esi - 3]
xor al, byte [edi - 5]
mov byte [edx - 3], al
movzx eax, byte [esi - 2]
xor al, byte [edi - 4]
mov byte [edx - 2], al
sub ecx, 1
jne 0x1003d664
pop edi
mov eax, ebp
pop ebp
pop ebx
pop esi
ret
mov ebp, 8
cmp esi, ebp
jae 0x1003d6cc
push esi
push str.IPv4_mapped_address_value_too_short__size_zu
push 0x40c
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_stun.c
push 1
call fcn.10034290
add esp, 0x14
or eax, 0xffffffff
pop ebp
pop ebx
pop esi
ret
push str.Reading_IPv4_address
push 0x40f
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_stun.c
push 0
call fcn.10034290
mov esi, dword [esp + 0x28]
mov eax, 2
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov dword [esi + 0x80], 0x10
mov word [esi], ax
mov ax, word [ebx + 2]
xor ax, word [edx]
mov word [esi + 2], ax
mov al, byte [ebx + 4]
xor al, byte [edx]
mov byte [esi + 4], al
mov eax, ebp
movzx ecx, byte [ebx + 5]
xor cl, byte [edx + 1]
mov byte [esi + 5], cl
movzx ecx, byte [ebx + 6]
xor cl, byte [edx + 2]
mov byte [esi + 6], cl
movzx ecx, byte [ebx + 7]
xor cl, byte [edx + 3]
pop ebp
pop ebx
mov byte [esi + 7], cl
pop esi
ret
Function at 0x1003e1f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
cmp ecx, 4
jb 0x1003e233
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov byte [edi], 0
movzx edx, word [esi]
mov eax, edx
sub eax, 2
je 0x1003e2c3
sub eax, 0x15
je 0x1003e239
push edx
push str.Unknown_address_family__u
push 0x1cf
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_stun.c
push 1
call fcn.10034290
add esp, 0x14
pop edi
or eax, 0xffffffff
pop esi
ret
mov byte [edi + 1], 2
cmp ecx, 0x14
jb 0x1003e233
cmp dword [esp + 0x18], 0x1c
jl 0x1003e233
push ebx
push str.Writing_IPv6_address
push 0x1c6
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_stun.c
push 0
call fcn.10034290
mov ecx, dword [esp + 0x30]
lea ebx, [esi + 8]
mov ax, word [esi + 2]
lea edx, [edi + 5]
add esp, 0x10
lea esi, [ebx + 3]
xor ax, word [ecx]
sub ebx, ecx
mov word [edi + 2], ax
lea eax, [ecx + 1]
mov edi, 4
movzx ecx, byte [eax - 1]
lea esi, [esi + 4]
xor cl, byte [esi - 7]
lea eax, [eax + 4]
mov byte [edx - 1], cl
lea edx, [edx + 4]
movzx ecx, byte [eax + ebx - 4]
xor cl, byte [eax - 4]
mov byte [edx - 4], cl
movzx ecx, byte [eax - 3]
xor cl, byte [esi - 5]
mov byte [edx - 3], cl
movzx ecx, byte [eax - 2]
xor cl, byte [esi - 4]
mov byte [edx - 2], cl
sub edi, 1
jne 0x1003e285
pop ebx
lea eax, [edi + 0x14]
pop edi
pop esi
ret
mov byte [edi + 1], 1
cmp ecx, 8
jb 0x1003e233
cmp dword [esp + 0x18], 0x10
jl 0x1003e233
push str.Writing_IPv4_address
push 0x1b8
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_stun.c
push 0
call fcn.10034290
mov ax, word [esi + 2]
add esp, 0x10
mov ecx, dword [esp + 0x1c]
xor ax, word [ecx]
mov word [edi + 2], ax
movzx eax, byte [esi + 4]
xor al, byte [ecx]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
xor al, byte [ecx + 1]
mov byte [edi + 5], al
movzx eax, byte [esi + 6]
xor al, byte [ecx + 2]
mov byte [edi + 6], al
movzx eax, byte [esi + 7]
xor al, byte [ecx + 3]
mov byte [edi + 7], al
mov eax, 8
pop edi
pop esi
ret

Function at 0x1003eda0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov bl, byte [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x98]
lea esi, [edi + 0xac]
test edx, edx
je 0x1003edd8
push ebp
mov ebp, 0xffffff54
mov ecx, esi
sub ebp, edi
xor byte [ecx], bl
lea ecx, [ecx + 1]
mov edx, dword [edi + 0x98]
lea eax, [ecx + ebp]
cmp eax, edx
jne 0x1003edc5
pop ebp
mov eax, dword [edi + 0xa4]
push edx
push esi
push edi
call eax
add esp, 0xc
cmp dword [edi + 0x98], 0
je 0x1003ee06
mov ecx, 0xffffff54
sub ecx, edi
xor byte [esi], bl
lea esi, [esi + 1]
lea eax, [esi + ecx]
cmp eax, dword [edi + 0x98]
jne 0x1003edf6
pop edi
pop esi
pop ebx
ret
Function at 0x1003fce0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
xor ecx, ecx
push ebx
xor bl, bl
push ebp
mov ebp, dword [esp + 0x10]
test edx, edx
je 0x1003fd97
mov eax, dword [esp + 0xc]
push esi
mov esi, ebp
sub esi, eax
cmp edx, 0x20
jb 0x1003fd76
push edi
mov edi, edx
xorps xmm3, xmm3
and edi, 0xffffffe0
xorps xmm2, xmm2
add eax, 0x10
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + ebp]
add ecx, 0x20
xorps xmm1, xmm0
orps xmm3, xmm1
movups xmm1, xmmword [esi + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
xorps xmm1, xmm0
orps xmm2, xmm1
cmp ecx, edi
jb 0x1003fd13
orps xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
orps xmm2, xmm0
movd ebx, xmm2
pop edi
cmp ecx, edx
jae 0x1003fd90
mov eax, dword [esp + 0x10]
add eax, ecx
sub edx, ecx
nop word [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or bl, cl
sub edx, 1
jne 0x1003fd80
pop esi
pop ebp
movzx eax, bl
pop ebx
ret
pop ebp
movzx eax, bl
pop ebx
ret
Function at 0x100405a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
lea edi, [esi + 0x80]
mov dword [edi], 0x80
push edi
push esi
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x100405e8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.getsockname_failed__errno_d
push 0x136
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcudp.c
push 3
call fcn.10034290
add esp, 0x14
or eax, 0xffffffff
pop edi
pop esi
ret
push esi
call fcn.100348b0
movzx ecx, word [esi]
add esp, 4
test al, al
jne 0x100405fd
cmp ecx, 2
jmp 0x10040673
cmp ecx, 0x17
jne 0x1004063f
cmp dword [esp + 0x10], 2
jne 0x1004063f
push esi
call fcn.10034780
movzx eax, ax
add esp, 4
test ax, ax
jne 0x10040620
pop edi
or eax, 0xffffffff
pop esi
ret
xorps xmm0, xmm0
mov ecx, 2
movups xmmword [esi], xmm0
push eax
mov word [esi], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 2], ax
mov dword [edi], 0x10
movzx eax, word [esi]
sub eax, 2
je 0x10040660
sub eax, 0x15
jne 0x1004066f
xorps xmm0, xmm0
movq qword [esi + 8], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x1000000
jmp 0x1004066f
mov dword [esp + 0x14], 0x100007f
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
cmp word [esi], 2
jne 0x10040686
cmp dword [esp + 0x10], 0x17
jne 0x10040686
push edi
push esi
call fcn.10034ab0
add esp, 8
pop edi
xor eax, eax
pop esi
ret

Function at 0x10040690
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
lea ebx, [ebp + 0x80]
mov dword [ebx], 0x80
push ebx
push ebp
push 0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
test edi, edi
jns 0x1004074b
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
nop word [eax + eax]
call esi
cmp eax, 0x2746
je 0x100406eb
call esi
cmp eax, 0x2744
je 0x100406eb
call esi
cmp eax, 0x274d
jne 0x10040755
call esi
cmp eax, 0x2746
jne 0x100406fb
mov ecx, str.ECONNRESET
jmp 0x1004070f
call esi
cmp eax, 0x2744
mov ecx, str.ENETRESET
mov eax, str.ECONNREFUSED
cmovne ecx, eax
push ecx
push str.Ignoring__s_returned_by_recvfrom
push 0xc6
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcudp.c
push 1
call fcn.10034290
add esp, 0x14
mov dword [ebx], 0x80
push ebx
push ebp
push 0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
test edi, edi
js 0x100406d0
push ebx
push ebp
call fcn.10034dc0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10040760
Capabilities:
Get local ipv4 addresses
Get socket information
Send data
Send data on socket

Disassembly:
sub esp, 0x114
mov eax, dword [0x10080180]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x120]
lea eax, [esp + 0x10c]
push esi
mov esi, dword [esp + 0x12c]
mov ecx, 0x22
push edi
push eax
lea edi, [esp + 0x10]
mov dword [esp + 0x118], 0x80
lea eax, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x128]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x100407df
cmp word [esp + 0x94], 0x17
jne 0x100407ff
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.10034ab0
add esp, 8
jmp 0x100407ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.getsockname_failed__errno_d
push 0xd6
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcudp.c
push 3
call fcn.10034290
add esp, 0x14
push dword [esp + 0x8c]
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x138]
push ebx
push esi
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10044f75
add esp, 0x114
ret

Function at 0x10040840
Capabilities:
Get local ipv4 addresses
Get socket information
Send data
Send data on socket

Disassembly:
sub esp, 0x90
mov eax, dword [0x10080180]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov esi, dword [esp + 0x98]
lea eax, [esp + 0x88]
push edi
mov edi, dword [esp + 0xa0]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x90], 0x80
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x100408c1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.getsockname_failed__errno_d
push 0x136
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcudp.c
push 3
call fcn.10034290
add esp, 0x14
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.10044f75
add esp, 0x90
ret
lea eax, [esp + 0xc]
push eax
call fcn.100348b0
add esp, 4
test al, al
je 0x10040908
movzx eax, word [esp + 0xc]
sub eax, 2
je 0x100408f8
sub eax, 0x15
jne 0x10040908
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x20], 0x1000000
jmp 0x10040908
mov dword [esp + 8], 0x100007f
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
push dword [esp + 0x8c]
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0xb0]
push edi
push esi
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x10040991
cmp word [esp + 0xc], 0x17
jne 0x10040991
lea eax, [esp + 0xc]
push eax
push 2
push esi
call fcn.100405a0
add esp, 0xc
test eax, eax
jns 0x1004095f
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.10044f75
add esp, 0x90
ret
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.10034ab0
add esp, 8
lea eax, [esp + 0xc]
push dword [esp + 0x8c]
push eax
push 0
push dword [esp + 0xb0]
push edi
push esi
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.10044f75
add esp, 0x90
ret