joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4381d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
call fcn.00427fd0
xor edi, edi
lea ecx, [esi + 0x40]
mov dword [esp + 0x14], edi
call fcn.00427fd0
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.00427fd0
mov dword [esi], 0x43a400
mov ax, word [0x4467a4]
mov cl, byte [0x4467a6]
mov dx, word [0x4467a0]
mov word [0x446799], ax
mov al, byte [0x4467a2]
mov byte [0x44679b], cl
mov ecx, dword [esp + 0xc]
mov word [0x44679d], dx
mov byte [0x44679f], al
mov dword [esi + 0x24], edi
mov word [esi + 0x10], di
mov word [esi + 0x12], di
mov word [esi + 8], di
mov dword [esi + 0x2c], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov word [esi + 0x28], di
mov word [esi + 0x2a], di
mov word [esi + 0xe], 8
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x433d15
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x433d35
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004209e4
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x433d58
test byte [esp + 8], 2
je 0x433d58
call fcn.00420a57
mov dword [eax], 0xd
call fcn.00420a60
mov dword [eax], 5
jmp 0x433d31
xor eax, eax
ret
Function at 0x1002231
Capabilities:
Check os version
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x1004004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x38
lea eax, [ebp - 0x36c]
push esi
push eax
mov dword [ebp - 0x320], esi
mov dword [ebp - 0x324], esi
mov dword [ebp - 0x370], esi
call sub.msvcrt.dll_memset
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x334], 0x10
mov dword [ebp - 0x330], esi
mov dword [ebp - 0x32c], 0x1000
mov dword [ebp - 0x328], esi
mov dword [ebp - 0x31c], esi
mov word [ebp - 0x20c], si
call sub.msvcrt.dll_memset
add esp, 0x18
mov eax, dword [section..data]
cmp eax, section..data
je 0x10022d5
test byte [eax + 0x1c], 0x10
je 0x10022d5
push edi
push 0x100118c
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100197c
lea eax, [ebp - 0x31c]
push eax
push 0x10013bc
lea ecx, [ebp - 0x318]
call fcn.01001e52
cmp edi, esi
jne 0x10022ff
mov dword [ebp - 0x31c], 0x80070057
jmp 0x10023fb
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
push edi
lea eax, [ebp - 0x20c]
jae 0x1002317
push 0x1001318
jmp 0x100231c
push 0x10012c0
push 0x10012b4
push 0x104
push eax
call fcn.01001da3
add esp, 0x14
lea eax, [ebp - 0x320]
push eax
push esi
call dword [sym.imp.ole32.dll_CreateBindCtx]
cmp eax, esi
mov dword [ebp - 0x31c], eax
jl 0x10023fb
mov eax, dword [ebp - 0x320]
mov ecx, dword [eax]
lea edx, [ebp - 0x334]
push edx
push eax
call dword [ecx + 0x18]
cmp eax, esi
mov dword [ebp - 0x31c], eax
jl 0x10023e1
push esi
push esi
lea eax, [ebp - 0x324]
push eax
push dword [ebp - 0x320]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
cmp eax, esi
mov dword [ebp - 0x31c], eax
jl 0x10023e1
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x370]
push eax
mov dword [ebp - 0x370], 0x3c
mov dword [ebp - 0x36c], 0x304
mov dword [ebp - 0x354], 5
mov dword [ebp - 0x364], 0x10012a8
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x324]
call dword [sym.imp.SHELL32.dll_ILFree]
mov dword [ebp - 0x324], esi
mov eax, dword [ebp - 0x320]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x31c], esi
mov dword [ebp - 0x320], esi
jge 0x1002425
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002425
test byte [eax + 0x1c], 2
je 0x1002425
push dword [ebp - 0x31c]
push 0x100118c
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001709
mov esi, dword [ebp - 0x31c]
lea ecx, [ebp - 0x318]
call fcn.01001902
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01002eb7
leave
ret 4
Function at 0x100262e
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x1004004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push 0x38
lea eax, [ebp - 0x354]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x358], esi
call sub.msvcrt.dll_memset
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x31c], esi
mov word [ebp - 0x20c], si
call sub.msvcrt.dll_memset
add esp, 0x18
mov eax, dword [section..data]
cmp eax, section..data
je 0x10026a9
test byte [eax + 0x1c], 0x10
je 0x10026a9
push ebx
push 0x100118c
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100197c
lea eax, [ebp - 0x31c]
push eax
push 0x1001474
lea ecx, [ebp - 0x318]
call fcn.01001e52
cmp ebx, esi
jne 0x10026d3
mov dword [ebp - 0x31c], 0x80070057
jmp 0x100276c
lea eax, [edi + 0x218]
cmp word [eax], si
je 0x10026c4
mov dword [ebp - 0x348], eax
lea eax, [edi + 0x420]
cmp word [eax], si
mov dword [ebp - 0x358], 0x3c
mov dword [ebp - 0x354], 0x300
mov dword [ebp - 0x33c], 5
mov dword [ebp - 0x34c], 0x10012a8
je 0x1002739
push ebx
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01001da3
lea eax, [ebp - 0x20c]
add esp, 0x10
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1002764
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100275e
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], esi
jge 0x1002796
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002796
test byte [eax + 0x1c], 2
je 0x1002796
push dword [ebp - 0x31c]
push 0x100118c
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001709
mov esi, dword [ebp - 0x31c]
lea ecx, [ebp - 0x318]
call fcn.01001902
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002eb7
leave
ret 4
Function at 0x1002e90
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x10036b0
call fcn.010032f4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1004684
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1002c3e
cmp eax, esi
jne 0x1002c31
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1002c41
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002c18
xor esi, esi
inc esi
mov eax, dword [0x1004680]
cmp eax, esi
jne 0x1002c54
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1002c83
mov eax, dword [0x1004680]
test eax, eax
jne 0x1002c7d
mov dword [0x1004680], esi
push 0x1001120
push 0x1001118
call fcn.01002b7d
pop ecx
pop ecx
test eax, eax
je 0x1002c83
jmp 0x1002dab
mov dword [0x1004340], esi
mov eax, dword [0x1004680]
cmp eax, esi
jne 0x1002ca7
push 0x1001114
push 0x100110c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1004680], 2
test ebx, ebx
jne 0x1002cb3
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100468c], 0
je 0x1002cd7
push 0x100468c
call fcn.0100326b
pop ecx
test eax, eax
je 0x1002cd7
push 0
push 2
push 0
call dword [0x100468c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1002d33
test al, al
je 0x1002cf1
cmp dword [ebp - 0x1c], 0
jne 0x1002d33
mov al, byte [esi]
test al, al
je 0x1002d01
cmp al, 0x20
ja 0x1002d01
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1002cf1
test byte [ebp - 0x3c], 1
je 0x1002d0d
movzx eax, word [ebp - 0x38]
jmp 0x1002d10
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x100433c], eax
cmp dword [0x1004330], 0
jne 0x1002d87
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1002d42
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x1002d55
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1002cde
cmp dword [0x1004340], 0
jne 0x1002d96
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100433c]
jmp 0x1002db7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01003339
ret
call fcn.0100343e
jmp 0x1002bde

Function at 0x10031e0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x10031f3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10031ef
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret
Function at 0x1003220
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x100325f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1003255
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1003261
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1003245
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001bd6
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10011a8
call fcn.01001d8c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1001c11
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001c11
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1001c29
cmp eax, 0x20b
je 0x1001c16
mov dword [ebp - 0x1c], edi
jmp 0x1001c3d
cmp dword [ecx + 0x84], 0xe
jbe 0x1001c11
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1001c37
cmp dword [ecx + 0x74], 0xe
jbe 0x1001c11
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1003048], 0xffffffff
or dword [0x100304c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003044]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1003040]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1003050], eax
call fcn.01001d84
cmp dword [0x1003034], edi
jne 0x1001c98
push fcn.01001d84
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001d6d
push 0x1003010
push 0x100300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x100303c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1003038]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1003008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100195d
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1001d0f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001d44
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001dc7
ret
Function at 0x1005703
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1005bd0
call fcn.01005734
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100749c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1005518
cmp eax, esi
jne 0x100550b
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x100551b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10054f2
xor esi, esi
inc esi
mov eax, dword [0x1007498]
cmp eax, esi
jne 0x100552e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1005569
mov eax, dword [0x1007498]
test eax, eax
jne 0x1005563
mov dword [0x1007498], esi
push 0x1001180
push 0x1001174
call fcn.0100546f
pop ecx
pop ecx
test eax, eax
je 0x1005569
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1005633
mov dword [0x100715c], esi
mov eax, dword [0x1007498]
cmp eax, esi
jne 0x100558d
push 0x1001170
push 0x1001168
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1007498], 2
cmp dword [ebp - 0x1c], ebx
jne 0x100559a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10074a0], ebx
je 0x10055bb
push 0x10074a0
call fcn.010058b9
pop ecx
test eax, eax
je 0x10055bb
push ebx
push 2
push ebx
call dword [0x10074a0]
push dword [0x1007144]
push dword [0x1007148]
push dword [0x1007140]
call fcn.01001654
add esp, 0xc
mov dword [0x1007158], eax
cmp dword [0x100714c], ebx
jne 0x1005619
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100715c], ebx
jne 0x1005627
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1007158]
call fcn.01005779
ret
call fcn.01005a06
jmp 0x10054d0
Function at 0x1001f42
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
inc edi
test ebx, ebx
jne 0x1001f63
mov dword [ebp - 8], edi
xor eax, eax
cmp dword [ebp - 8], eax
je 0x1001f9e
cmp dword [ebp + 8], edi
jne 0x1001f8b
lea ecx, [ebp - 0x104]
push ecx
push eax
push eax
call fcn.01001dbb
mov esi, eax
test esi, esi
jne 0x1001ffe
mov ebx, dword [ebp - 0xfc]
jmp 0x1001fa3
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.01001e84
mov esi, eax
test esi, esi
jne 0x1002016
mov ebx, dword [ebp - 0x58]
cmp dword [ebp + 8], edi
jne 0x1001fab
push ebx
call fcn.01001e47
jmp 0x1001fb1
push ebx
call fcn.01001f06
mov esi, eax
test esi, esi
jne 0x1001fbc
inc dword [ebp - 4]
jmp 0x1001ff2
cmp esi, 0x491
jne 0x1001fde
cmp dword [ebp - 8], 0
jne 0x1001f63
push ebx
push 0x2717
push edi
call fcn.01008a7a
add esp, 0xc
jmp 0x100205f
cmp esi, 0x1f
jne 0x100203b
push ebx
push 0x2718
push edi
call fcn.01008a7a
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x1001f63
jmp 0x100205f
cmp esi, 0x491
je 0x1002064
push edi
push esi
call fcn.01001d30
push eax
push esi
push 0x2715
jmp 0x100202c
cmp esi, 0x491
je 0x100205f
push edi
push esi
call fcn.01001d30
push eax
push esi
push 0x2716
push edi
call fcn.01008a7a
add esp, 0x10
push edi
call fcn.01004061
push edi
push esi
call fcn.01001d30
cmp dword [ebp + 8], 0
push eax
push esi
je 0x1002051
push 0x2719
jmp 0x1002056
push 0x2748
push edi
call fcn.01008a7a
add esp, 0x10
cmp dword [ebp + 8], edi
jne 0x100207b
cmp dword [ebp - 4], edi
jne 0x1002071
push edi
push 0x271a
jmp 0x1002090
push dword [ebp - 4]
push 0x2749
jmp 0x1002090
cmp dword [ebp - 4], edi
jne 0x1002088
push edi
push 0x271b
jmp 0x1002090
push dword [ebp - 4]
push 0x274a
push edi
call fcn.01008a7a
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10020a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp - 0x1c], 0x17
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x10020d3
xor eax, eax
jmp 0x10020ef
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 0x18]
add esi, 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
xor eax, eax
inc eax
pop esi
pop edi
leave
ret 8
Function at 0x10020f4
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
pop ecx
mov edi, 0x100b744
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov ebx, 0x100b708
jne 0x1002123
mov esi, 0x100114c
mov edi, 0x100b708
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x1002162
mov esi, dword [ebp + 8]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov word [ebp - 0x1c], 0x17
push 2
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push eax
push eax
movsd dword es:[edi], dword [esi]
push 0x2e
push ebx
movsd dword es:[edi], dword [esi]
push 0x1c
lea eax, [ebp - 0x1c]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x1002162
mov esi, 0x1001140
mov edi, 0x100b708
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x10022e2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x2d
push ebx
call fcn.01004190
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x100234a
push edi
push 2
pop eax
mov edi, 0x1001158
mov esi, ebx
mov ecx, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002320
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ecx], eax
mov esi, 0x100b744
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x100233b
push dword [ebp + 0xc]
push ebx
call fcn.010020a0
test eax, eax
jne 0x1002335
push ebx
push 0x271c
jmp 0x1002376
mov eax, dword [ebp + 0x14]
and dword [eax], 0
mov edi, dword [ebp + 0x10]
mov esi, 0x100b744
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
jmp 0x1002390
push dword [ebp + 0xc]
and byte [esi], 0
push ebx
inc esi
call fcn.010020a0
test eax, eax
jne 0x1002363
push ebx
push 0x271d
jmp 0x1002376
push dword [ebp + 0x10]
push esi
call fcn.010020a0
test eax, eax
jne 0x1002387
push esi
push 0x271e
push 1
call fcn.01008a7a
add esp, 0xc
push 1
call fcn.01004061
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x10023c4
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 3
mov edi, 0x1001168
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10023de
push 0x33
jmp 0x10023f0
push 4
mov edi, 0x1001164
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10023f6
push 0x32
pop eax
pop edi
pop esi
ret 4
mov edi, 0x100115c
mov esi, eax
push 5
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100240a
xor eax, eax
jmp 0x10023f1
push eax
push 0x271f
push 1
call fcn.01008a7a
add esp, 0xc
push 1
call fcn.01004061
int3
Function at 0x100244e
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0xa
mov edi, 0x1001170
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100246c
xor eax, eax
inc eax
pop edi
pop esi
ret 4
mov edi, 0x100117c
mov esi, eax
push 7
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
push 2
jne 0x1002481
pop eax
jmp 0x1002467
mov edi, 0x1001158
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002493
xor eax, eax
jmp 0x1002467
push eax
push 0x2720
push 1
call fcn.01008a7a
add esp, 0xc
push 1
call fcn.01004061
int3

Function at 0x10024e7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub eax, 0
push esi
push edi
je 0x1002511
dec eax
je 0x1002503
dec eax
je 0x1002511
xor eax, eax
pop edi
inc eax
pop esi
pop ebp
ret 0xc
mov edi, dword [ebp + 0xc]
mov esi, 0x100b744
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x10024fa
mov esi, dword [ebp + 8]
push 2
mov edi, 0x1001158
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1002503
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010020a0
test eax, eax
jne 0x10024fa
push 0x2721
push 1
call fcn.01008a7a
pop ecx
pop ecx
push 1
call fcn.01004061
int3

Function at 0x1002583
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 4
mov edi, 0x1001184
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100259d
push 6
jmp 0x10025c3
push 4
mov edi, 0x1001188
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10025b1
push 0x11
jmp 0x10025c3
push 5
mov edi, 0x100118c
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10025c9
push 0x3a
pop eax
pop edi
pop esi
ret 4
mov edi, 0x100114c
mov esi, eax
push 7
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10025dd
xor eax, eax
jmp 0x10025c4
push eax
push 0x2722
push 1
call fcn.01008a7a
add esp, 0xc
push 1
call fcn.01004061
int3

Function at 0x1002631
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 4
mov edi, 0x1001184
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100264b
push 6
jmp 0x1002671
push 4
mov edi, 0x1001188
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100265f
push 0x11
jmp 0x1002671
push 5
mov edi, 0x100118c
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002677
push 0x3a
pop eax
pop edi
pop esi
ret 4
mov edi, 0x1001158
mov esi, eax
push 2
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100268b
xor eax, eax
jmp 0x1002672
push eax
push 0x2722
push 1
call fcn.01008a7a
add esp, 0xc
push 1
call fcn.01004061
int3