joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60a180
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x90], 0
jne 0x60a206
mov eax, dword [ebx + 8]
call fcn.005559c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x562928]
call fcn.0054f6d4
mov dword [ebx + 0x90], eax
mov esi, dword [ebx + 0x90]
xor edx, edx
mov eax, esi
call fcn.00567f24
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x609a50
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x90]
call fcn.005559c4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x90]
call fcn.005559c4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x60a288
mov eax, dword [ebx + 8]
call fcn.005559c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x562928]
call fcn.0054f6d4
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov dl, 1
mov eax, esi
call fcn.00567f24
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x609a9c
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.005559c4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.005559c4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x98], 0
jne 0x60a306
mov eax, dword [ebx + 8]
call fcn.005559c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x56340c]
call fcn.0054f6d4
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
mov byte [esi + 0x2a8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.005559c4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.005559c4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x51a9f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4ae015
lea edi, [esi - 0xad015]
mov dword [edi + 0x10a23c], 0xe0a0d12
push edi
or ebp, 0xffffffff
jmp 0x51aa1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51aa21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51aa10
mov eax, 1
add ebx, ebx
jne 0x51aa33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51aa44
jne 0x51aa63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51aa63
dec eax
add ebx, ebx
jne 0x51aa50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51aa28
add ebx, ebx
jne 0x51aa5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51aab5
xor ecx, ecx
sub eax, 3
jb 0x51aa7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51aaea
sar eax, 1
mov ebp, eax
jmp 0x51aa86
add ebx, ebx
jne 0x51aa86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51aa54
inc ecx
add ebx, ebx
jne 0x51aa94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51aa54
add ebx, ebx
jne 0x51aaa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51aa96
jne 0x51aab2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51aa96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51aad4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51aac6
jmp 0x51aa16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51aad4
add edi, ecx
jmp 0x51aa16
pop esi
mov edi, esi
mov ecx, 0x237c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51aaf2
cmp byte [edi], 0xe
jne 0x51aaf2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x51aaf7
lea edi, [esi + 0x115000]
mov eax, dword [edi]
or eax, eax
je 0x51ab66
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11a4ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11a53c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51ab24
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11a540]
or eax, eax
je 0x51ab60
mov dword [ebx], eax
add ebx, 4
jmp 0x51ab41
call dword [esi + 0x11a550]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x51ab97
cmp al, 0xef
ja 0x51ab8a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x51ab6c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x51ab79
mov ebp, dword [esi + 0x11a544]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x11abf2]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x51abe3
sub esp, 0xffffff80
jmp 0x4013f0
Function at 0x4110f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
push ebx
push esi
mov dword [ebp - 0x38], 0
mov eax, 1
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x18]
call fcn.00407b20
call fcn.00408a10
push eax
test eax, eax
jne 0x4111b4
mov ebx, 1
sub ebx, 1
mov esi, esi
add ebx, 1
lea eax, [ebx*4 + 0x419ecc]
mov edx, 0
call fcn.00405970
mov dword [ebx*4 + 0x419eec], 0xffffffff
cmp ebx, 7
jl 0x411128
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4111b4
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
mov cx, 0
mov edx, 0xa
call fcn.00406330
mov eax, dword [ebp - 0x38]
mov edx, 1
call fcn.0040d890
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x4111b4
push 4
push ebx
push esi
mov eax, 0x410fb0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x411050
push eax
call sub.kernel32.dll_EnumCalendarInfoA
call fcn.00407da0
lea eax, [ebp - 0x38]
call fcn.004025f0
pop eax
test eax, eax
je 0x4111cb
call fcn.00407ed0
pop esi
pop ebx
leave
ret
Function at 0x4a59eb
Capabilities:
Terminate process

Disassembly:
jmp 0x5777d0
jmp fcn.00589dc0
cmp ecx, dword [0x66486c]
jne 0x5777da
repz ret
jmp 0x4a6391

Function at 0x4a5be9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x58ff30
inc dword [ebx - 0x6cb43]
inc dword [eax]
je 0x590cf9
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0058ead7
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x58ff73
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x58ffbc
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x58ff66
call fcn.0058eb66
cmc
add ch, dh
dec ecx
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0058eb66
sbb eax, 0x8d963f3f
test esp, edx
clc
invalid
Function at 0x4a789f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x58eed0
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0058eb76
push eax
push esi
push dword [ebp + 8]
call fcn.0058eb2b
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0058eb76
push eax
push esi
push dword [ebp + 8]
call fcn.0058eb2b
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0058eb76
push eax
push esi
push dword [ebp + 8]
call fcn.0058eb2b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0058eb66
mov dword [0x887e0d66], eax
popfd
jl 0x58efeb
invalid
invalid
Function at 0x4a7c96
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x5646a0
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x5646a2
mov dword [ebp - 8], eax
inc ebp
clc
add ecx, 0x28
dec edx
jne 0x564693
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0056444e
sbb ebx, dword [ebp + ebx - 0x61]
lea eax, [ebp - 0x58]
push eax
call fcn.0056445e
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00564413
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x56473c
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0056444e
sbb eax, 0x8d43b550
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x4a815a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x564cd0
inc eax
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0056445e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00564413
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
invalid
dec dword [edx]
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0056445e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00564413
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
test dword [edi], ebx
cld
invalid
inc dword [edx - 0x3df7a3a]
invalid
dec dword [ebx - 0x3de7a3a]
invalid
jmp dword [esi - 0x3dd7a3a]
invalid
dec dword [edi - 0x3dc7a3a]
invalid
inc dword [eax - 0x3db7a3a]
invalid
dec dword [edx - 0x3da7a3a]
invalid
inc dword [edx - 0x3d97a3a]
invalid
dec dword [ebx - 0x3d87a3a]
invalid
jmp [edi - 0x3d77a3a]
invalid
invalid
out dx, al
lea eax, [ebp - 0x3ec]
push eax
call fcn.0056445e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00564413
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0056444e
xchg byte [ecx - 0x5a7ffd67], bl
int3

Function at 0x4a823b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x582e80
inc dword [eax]
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00581a07
push ecx
retf 0xd794
Function at 0x4a843e
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x5010b0
dec dword [ebx + 0xff33bf0]
test bh, dl
add al, byte [eax]
add bh, bh
mov ch, 0x4c
call fcn.00500b40
jno 0x501057
mov al, byte [0x3c7e8bfe]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x50132f
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x5010e5
cmp dword [eax + 0xc], ebx
je 0x501188
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00500b40
hlt
call fcn.00500b40
push edx
insb byte es:[edi], dx
pop edx
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x5011f4
add eax, esi
cmp dword [eax], ebx
je 0x5011f4
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x5011ef
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x5011d9
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x5011e1
cmp edx, ebx
jne 0x50132f
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x5011b0
add eax, dword [eax + 4]
jmp 0x50119d
mov dword [ebp + 0xc], ebx
jmp 0x5011ff
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x501217
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x501235
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x501293
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x50127a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x501283
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x50128d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x50126f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x5011f9
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x5012e0
dec eax
je 0x5012d7
sub eax, 3
je 0x5012ce
mov dword [ebp - 4], 0x40
jmp 0x5012fd
mov dword [ebp - 4], 4
jmp 0x5012e3
mov dword [ebp - 4], 0x20
jmp 0x5012e3
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x50132f
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x5012af
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00500b40
add cl, byte [edi + 0x75ff7706]
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x50133b
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a8fa6
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x564b80
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x564b25
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x564b43
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x564ba1
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x564b88
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x564b91
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x564b9b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x564b7d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x564b07
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x564bee
dec eax
je 0x564be5
sub eax, 3
je 0x564bdc
mov dword [ebp - 4], 0x40
jmp 0x564c0b
mov dword [ebp - 4], 4
jmp 0x564bf1
mov dword [ebp - 4], 0x20
jmp 0x564bf1
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x564c3d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x564bbd
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0056444e
add byte [ebx + ebp*4 - 0x5c], bh
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x564c49
Function at 0x538430
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0
mov esi, esp
lea eax, [ebp - 0x14]
push eax
push 0x4004667f
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004a921c
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x5384a2
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, 0xffffb048
jmp 0x5384b1
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x5384d8]
call fcn.004a8880
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.004a7520
mov esp, ebp
pop ebp
ret 4
Function at 0x5388e0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xfc]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 4
cmp dword [0x663d08], 0
jne 0x53892d
mov eax, dword [str.neptune.sockets.bsd]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x663d08], eax
cmp dword [0x663d08], 0
je 0x53896f
mov ecx, dword [0x663d08]
call fcn.004a9082
cmp eax, 0x64
jg 0x53896f
push str.flushing_socket
push str.NPT_BsdSocketOutputStream::Flush
mov eax, dword [0x663d20]
add eax, 4
push eax
push str.d:work_studio_backupmediaserversource_source_codeplatinum_src_0_6_3_683_neptune_source_system_bsd_nptbsdsockets.cpp
push 0x64
mov ecx, dword [0x663d08]
push ecx
call fcn.004a5216
add esp, 0x18
xor eax, eax
jne 0x538911
mov esi, esp
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 1
push 6
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004a921c
mov edx, dword [eax]
push edx
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp esi, esp
call fcn.004a7520
test eax, eax
je 0x5389aa
mov eax, 0xffffb04a
jmp 0x538a5d
cmp dword [ebp - 0x14], 1
jne 0x5389b7
xor eax, eax
jmp 0x538a5d
mov dword [ebp - 0x14], 1
mov esi, esp
push 4
lea eax, [ebp - 0x14]
push eax
push 1
push 6
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004a921c
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp esi, esp
call fcn.004a7520
test eax, eax
je 0x5389f0
mov eax, 0xffffb049
jmp 0x538a5d
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x35], 0
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
push 0
lea ecx, [ebp - 0x35]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004a921c
mov edx, dword [eax]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x14], 0
mov esi, esp
push 4
lea eax, [ebp - 0x14]
push eax
push 1
push 6
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004a921c
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp esi, esp
call fcn.004a7520
test eax, eax
je 0x538a5b
mov eax, 0xffffb049
jmp 0x538a5d
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x538a84]
call fcn.004a8880
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.004a7520
mov esp, ebp
pop ebp
ret