joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100acf40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10248e6a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.10016330
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0xc]
call fcn.10016330
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x18]
call fcn.10016330
lea eax, [esi + 0x24]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x24]
call fcn.10016330
lea eax, [esi + 0x30]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x30]
call fcn.10016330
lea eax, [esi + 0x3c]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x3c]
call fcn.10016330
lea eax, [esi + 0x48]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x48]
call fcn.10016330
lea eax, [esi + 0x54]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x54]
call fcn.10016330
movzx eax, byte [esi + 0x60]
mov byte [edi + 0x60], al
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
movzx eax, byte [esi + 0x68]
mov byte [edi + 0x68], al
movzx eax, byte [esi + 0x69]
mov byte [edi + 0x69], al
movzx eax, byte [esi + 0x6a]
mov byte [edi + 0x6a], al
movzx eax, byte [esi + 0x6b]
mov byte [edi + 0x6b], al
movzx eax, byte [esi + 0x6c]
mov byte [edi + 0x6c], al
movq xmm0, qword [esi + 0x6d]
movq qword [edi + 0x6d], xmm0
mov eax, dword [esi + 0x75]
mov dword [edi + 0x75], eax
movzx eax, word [esi + 0x79]
mov word [edi + 0x79], ax
movzx eax, byte [esi + 0x7b]
mov byte [edi + 0x7b], al
movq xmm0, qword [esi + 0x7c]
movq qword [edi + 0x7c], xmm0
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
movzx eax, word [esi + 0x88]
mov word [edi + 0x88], ax
movzx eax, byte [esi + 0x8a]
mov byte [edi + 0x8a], al
movq xmm0, qword [esi + 0x8b]
movq qword [edi + 0x8b], xmm0
mov eax, dword [esi + 0x93]
mov dword [edi + 0x93], eax
movzx eax, word [esi + 0x97]
mov word [edi + 0x97], ax
movzx eax, byte [esi + 0x99]
mov byte [edi + 0x99], al
movq xmm0, qword [esi + 0x9a]
movq qword [edi + 0x9a], xmm0
mov eax, dword [esi + 0xa2]
mov dword [edi + 0xa2], eax
movzx eax, word [esi + 0xa6]
mov word [edi + 0xa6], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100c3d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], 0x46464952
mov dword [ebp - 8], 0
movq xmm0, qword [ebp - 0xc]
movq qword [ecx], xmm0
mov dword [ebp - 0x18], 0x20746d66
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], 0x20001
mov dword [ebp - 0xc], 0xac44
movups xmm0, xmmword [ebp - 0x18]
mov dword [ebp - 4], 0x45564157
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 0x2b110
movups xmmword [ecx + 0xc], xmm0
mov dword [ebp - 4], 0x100004
movq xmm0, qword [ebp - 8]
mov dword [ecx + 8], eax
mov dword [ebp - 8], 0x61746164
mov eax, dword [ebp - 8]
mov dword [ecx + 0x24], eax
mov eax, ecx
movq qword [ecx + 0x1c], xmm0
mov dword [ecx + 0x28], 0
mov esp, ebp
pop ebp
ret

Function at 0x100c6920
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024ae98
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x54], eax
movzx esi, word [eax + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
xor eax, eax
push 0x17
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x4b]
push str.UDF_Metadata_Partition
push eax
mov dword [ebp - 0x50], 0x4002
mov byte [ebp - 0x4c], 0
movups xmmword [ebp - 0x4b], xmm0
mov dword [ebp - 0x3b], 0
mov word [ebp - 0x37], 0
mov byte [ebp - 0x35], 0
call fcn.10216f00
add esp, 0xc
mov word [ebp - 0x34], si
cmp dword [ebp + 0xc], 0x40
mov eax, 0x20
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x1c], 0x20
mov word [ebp - 0x18], ax
mov byte [ebp - 0x16], 1
mov dword [ebp - 0x15], 0
mov byte [ebp - 0x11], 0
jb 0x100c6a22
mov edx, dword [ebp - 0x54]
movups xmm0, xmmword [ebp - 0x50]
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x1a]
mov dword [ebp - 0x28], eax
or eax, 0xffffffff
cmp byte [edx + 0x69], 0
movups xmmword [edi], xmm0
mov dword [ebp - 0x24], ecx
cmovne eax, ecx
movups xmm0, xmmword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, 0x40
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x30], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1020a080
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 0x60]
call fcn.100164e0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
push 4
lea ecx, [ebp - 0x70]
call fcn.1003af20
push 0x102bd788
lea eax, [ebp - 0x70]
push eax
call fcn.1020df63
int3
Function at 0x100c9c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024b258
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
push 0
push 0x102e4cb4
push 0x102e2ef4
mov eax, dword [edi]
push 0
push 0x102dfb18
call dword [eax + 0xc]
push eax
call fcn.1020e413
mov bh, byte [ebp + 0x18]
add esp, 0x14
mov ecx, 0xa
mov byte [ebp - 0x3f], 0
mov bl, bh
mov byte [ebp - 0x31], 0
mov esi, dword [eax + 0x30]
mov eax, 0x101
mov word [ebp - 0x44], ax
mov eax, 1
mov word [ebp - 0x3e], ax
mov word [ebp - 0x34], ax
xor eax, eax
mov dword [ebp - 0x26], eax
test bh, bh
mov dword [ebp - 0x22], eax
mov al, 8
movzx eax, al
cmove eax, ecx
xor bl, 1
mov byte [ebp - 0x32], al
add bl, 4
mov eax, dword [edi]
mov ecx, edi
add bl, bl
call dword [eax + 0x1c]
test al, 2
je 0x100c9d3a
or bl, 1
mov byte [ebp - 0x32], bl
mov eax, dword [esi]
mov ecx, esi
push 0
push 0x102e4cb4
push 0x102e2ef4
push 0
push 0x102dfb18
mov dword [ebp - 0x30], 0x800
call dword [eax + 0xc]
push eax
call fcn.1020e413
add esp, 0x14
mov ecx, dword [eax + 0x18]
mov ax, word [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x28], ax
test bh, bh
jne 0x100c9d80
cmp esi, edi
je 0x100c9d80
mov eax, dword [esi]
mov ecx, esi
jmp 0x100c9d84
mov eax, dword [edi]
mov ecx, edi
push 0
push 0x102e4cb4
push 0x102e2ef4
push 0
push 0x102dfb18
call dword [eax + 0xc]
push eax
call fcn.1020e413
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
add esp, 0x14
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov ax, word [esi + 4]
mov word [ebp - 0x42], ax
mov eax, dword [ebp + 0x14]
push 0x1025f3f1
mov dword [ebp - 0x38], eax
call fcn.10016440
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100c9ef0
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.100165a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100caf10
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024b372
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x1025b7d8
mov dword [ebp - 0x14], esi
call fcn.100164e0
push 0x1025b7d8
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.100164e0
push 0x1025b7d8
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.100164e0
push 0x1025b7d8
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.100164e0
xor eax, eax
mov dword [ebp - 4], 3
push 0x1025b7d8
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov word [esi + 0x38], ax
call fcn.100164e0
push 0x1025b7d8
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 4
call fcn.100164e0
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 5
call fcn.10016520
lea edi, [esi + 0x60]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push edi
push 0
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.100cad80
mov ecx, dword [edi + 8]
mov eax, 0x66666667
sub ecx, dword [edi]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x63
jae 0x100cb00d
push 0x63
mov ecx, edi
call fcn.100cb390
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100d0300
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x100d040a
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100d0325
push 0x10
jmp 0x100d040c
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 6
call fcn.10016ab0
mov edi, eax
mov eax, dword [0x102e9784]
test eax, eax
jne 0x100d0374
push eax
call fcn.100d0b80
mov dword [0x102e9784], eax
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push str.8880
push edi
call eax
mov edi, eax
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
test edi, edi
je 0x100d03b3
cmp edi, 0x2af9
je 0x100d03af
lea eax, [edi - 0x2afa]
lea ecx, [ebp + 8]
cmp eax, 1
ja 0x100d03ab
push 0xb
jmp 0x100d040f
push 0xd
jmp 0x100d040f
push 0xc
jmp 0x100d040c
mov edi, dword [ebp - 4]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x100d03d9
push dword [ebp - 4]
call fcn.100d0560
push 0xe
jmp 0x100d040c
push 0x22b0
call dword [sym.imp.WS2_32.dll_htons]
push dword [edi + 0x10]
push dword [edi + 0x18]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100d03fc
push 0xf
jmp 0x100d040c
pop edi
mov byte [esi + 5], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 0xa
lea ecx, [ebp + 8]
call fcn.1003e1f0
push 0x102c9788
lea eax, [ebp + 8]
push eax
call fcn.1020df63
int3
Function at 0x100d0440
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023abf8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x100000
push 0x102e9790
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x100d04dc
test eax, eax
jne 0x100d0487
push 0x11
jmp 0x100d04de
cmp eax, 0x100000
jl 0x100d0492
push 0x12
jmp 0x100d04de
jae 0x100d04d7
mov byte [eax + 0x102e9790], 0
lea eax, [ebp - 0x18]
push 0x102e9790
push eax
call fcn.100172f0
add esp, 8
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], 0
call fcn.100165d0
lea ecx, [ebp - 0x18]
call fcn.100165a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
call fcn.1020ad9d
push 0xe
lea ecx, [ebp + 8]
call fcn.1003e1f0
push 0x102c9788
lea eax, [ebp + 8]
push eax
call fcn.1020df63
int3

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
call fcn.10017800
mov esi, eax
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100d0516
push 0
sub edx, ecx
push edx
push esi
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_send]
lea edx, [esi + 1]
nop
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x100d0530
sub esi, edx
pop edi
cmp esi, eax
pop esi
jne 0x100d0545
mov al, 1
pop ebp
ret 4
push 2
lea ecx, [ebp + 8]
call fcn.1003e1f0
push 0x102c9788
lea eax, [ebp + 8]
push eax
call fcn.1020df63
int3
Function at 0x100d0b80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x102e9780], 0
mov dword [ebp - 0x230], str.getaddrinfo
mov dword [ebp - 0x22c], 0x100d05d0
mov dword [ebp - 0x228], str.getnameinfo
mov dword [ebp - 0x224], 0x100d0940
mov dword [ebp - 0x220], str.freeaddrinfo
mov dword [ebp - 0x21c], fcn.100d0580
jne 0x100d0d02
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x100d0cf8
push ebx
push esi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push 0x10c
push eax
call fcn.102238f1
push str.ws2_32
lea eax, [ebp - 0x110]
push 0x10c
push eax
call fcn.1022394b
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x100d0c58
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x100d0cad
push edi
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push 0x10c
push eax
call fcn.102238f1
push str.wship6
lea eax, [ebp - 0x110]
push 0x10c
push eax
call fcn.1022394b
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100d0cf5
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x100d0cad
push edi
call esi
jmp 0x100d0cf5
xor esi, esi
nop
push dword [ebp + esi*8 - 0x230]
push edi
call ebx
mov dword [ebp + esi*8 - 0x22c], eax
test eax, eax
je 0x100d0cee
inc esi
cmp esi, 3
jl 0x100d0cb0
mov eax, dword [ebp - 0x22c]
mov dword [0x102dfb68], eax
mov eax, dword [ebp - 0x224]
mov dword [0x102dfb70], eax
mov eax, dword [ebp - 0x21c]
mov dword [fcn.100d0580], eax
jmp 0x100d0cf5
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov dword [0x102e9780], 1
movzx eax, word [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, dword [eax*8 + 0x102dfb68]
call fcn.1020a080
mov esp, ebp
pop ebp
ret 4
Function at 0x100d0d20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x1c]
lea eax, [ebp - 0x408]
push edi
mov edi, dword [ebp + 8]
push 0x401
push 0
push eax
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x818], 0
call fcn.1020dca0
push 0x401
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.1020dca0
push 0x400
push edi
lea eax, [ebp - 0x408]
push 0x401
lea ebx, [ebp - 0x80c]
mov dword [ebp - 0x81c], eax
push eax
mov dword [ebp - 0x810], ebx
call fcn.10223a67
add esp, 0x28
nop dword [eax]
nop dword [eax + eax]
push dword [ebp - 0x820]
mov edi, esi
mov dword [esi], 0
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x100d0f19
cmp word [ebx + 8], 2
jne 0x100d0e0e
cmp word [ebx + 0xa], 4
jne 0x100d0e0e
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x100d0e0e
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100d0f70
mov dword [edi], eax
test eax, eax
je 0x100d0ebe
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x100d0de8
push 0x400
push dword [ebx]
mov ebx, dword [ebp - 0x810]
push 0x401
push ebx
call fcn.10223a67
mov eax, dword [ebp - 0x814]
xor esi, esi
add esp, 0x10
cmp dword [eax], esi
jne 0x100d0ec8
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d0e40
sub ecx, edx
je case.0x100d0f29.11003
mov edi, dword [ebp - 0x81c]
mov ecx, ebx
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100d0e80
test dl, dl
je 0x100d0e7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100d0e80
add eax, 2
add ecx, 2
test dl, dl
jne 0x100d0e60
xor eax, eax
jmp 0x100d0e85
sbb eax, eax
or eax, 1
test eax, eax
je case.0x100d0f29.11003
mov esi, dword [ebp - 0x818]
inc esi
mov dword [ebp - 0x818], esi
cmp esi, 0x10
je case.0x100d0f29.11003
mov esi, dword [ebp - 0x814]
mov eax, edi
mov dword [ebp - 0x81c], ebx
mov ebx, eax
mov dword [ebp - 0x810], ebx
jmp 0x100d0db0
mov esi, 8
jmp 0x100d0f43
cmp dword [ebp + 0x18], esi
je 0x100d0f43
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d0ed2
sub ecx, edx
lea ebx, [ecx + 1]
push ebx
push 1
call fcn.1021e288
mov edi, eax
add esp, 8
test edi, edi
je 0x100d0eff
push dword [ebp - 0x810]
push ebx
push edi
call fcn.102238f1
add esp, 0xc
mov ecx, dword [ebp - 0x814]
mov eax, dword [ecx]
mov dword [eax + 0x14], edi
mov eax, dword [ecx]
mov ecx, 8
cmp dword [eax + 0x14], esi
cmove esi, ecx
jmp 0x100d0f43
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x100d0f29.11001
jmp dword [eax*4 + 0x100d0f58]
mov esi, 0x2afa
jmp 0x100d0f43
mov esi, 0x2afb
jmp 0x100d0f43
mov esi, 0x2af9
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1020a080
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100d385b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.100dbf9a
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.100d3acc
cmp esi, 3
je 0x100d3899
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x100d38e2
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x100d38bc
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.100d2db2
jmp 0x100d38cd
push 0xff
mov ecx, esi
call fcn.100d26a2
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.100d2dd5
jmp 0x100d3906
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x100d3906
push dword [esi]
push dword [ebp - 4]
call fcn.100e79f0
pop edi
pop esi
leave
ret 0xc

Function at 0x100d3a23
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.100d3acc
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x100d3a6b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.100d2db2
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.100d2dd5
jmp 0x100d3a76
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.100e79f0
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100d6abe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x100d6b03
call fcn.100d36c4
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100d6b03
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x100d6b1f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.100d3ea6
mov ebx, eax
test edi, edi
je 0x100d6b1d
test esi, esi
je 0x100d6b1d
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100d75f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x100d76b1
cmp dword [esi + 0x20], 0
je 0x100d76b1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100d76b1
cmp dword [ebp + 8], 0
je 0x100d76b1
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.100d36c4
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100d7682
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100d76b1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.100eab92
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x100d76a2
test edi, edi
je 0x100d76a2
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x100d76ad
mov ecx, esi
call fcn.100d7395
mov eax, ebx
jmp 0x100d76b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100dc0b6
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1024c2be
call fcn.1020aeae
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x100dc0dc
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x100dc13c
call fcn.100d31c2
push eax
lea ecx, [ebp - 0x10]
call fcn.100d2000
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x1025aa48]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.102240fd
push eax
call fcn.1000b350
add esp, 0x14
test esi, esi
je 0x100dc12f
push esi
call fcn.1022428e
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100d2730
mov eax, ebx
call fcn.1020ae77
ret 8

Function at 0x100dc7aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.100d36c4
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100dc7e1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.100dc800
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8