joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4433c2
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x4b73d0]
cmp eax, 0x270
jl 0x443481
push esi
push edi
xor edx, edx
mov esi, SysReAllocString
mov ecx, edx
shl ecx, 2
mov eax, dword [ecx + 0x4c632c]
xor eax, dword [ecx + 0x4c6328]
and eax, esi
xor eax, dword [ecx + 0x4c6328]
mov edi, eax
shr eax, 1
and edi, 1
xor eax, dword [edi*4 + 0x4b73d4]
xor eax, dword [ecx + 0x4c695c]
inc edx
cmp edx, 0xe3
mov dword [ecx + 0x4c6328], eax
jl 0x4433db
cmp edx, 0x26f
jge 0x443453
lea ecx, [edx*4 + 0x4c6328]
mov eax, dword [ecx]
lea edx, [ecx + 4]
xor eax, dword [edx]
and eax, esi
xor eax, dword [ecx]
mov edi, eax
and edi, 1
mov edi, dword [edi*4 + 0x4b73d4]
xor edi, dword [edx - 0x390]
shr eax, 1
xor edi, eax
mov dword [ecx], edi
mov ecx, edx
cmp ecx, 0x4c6ce4
jl 0x443426
mov ecx, dword [0x4c6ce4]
mov eax, dword [0x4c6328]
xor eax, ecx
and eax, esi
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x4b73d4]
pop edi
xor eax, dword [0x4c6958]
pop esi
mov dword [0x4c6ce4], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x4c6328]
inc eax
mov dword [0x4b73d0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x444215
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
xor eax, eax
lea ebx, [esi + 4]
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edx, str.UuidCreateSequential
mov ecx, 0x4993d8
mov dword [ebp - 4], esi
stosd dword es:[edi], eax
call fcn.00445bf9
test eax, eax
je 0x444257
lea ecx, [ebp - 0x1c]
push ecx
call eax
test eax, eax
jne 0x444257
lea esi, [ebp - 0x12]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 4]
xor edi, edi
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0xa]
push eax
push edi
push edi
push 0x4993d4
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
push ebx
push 0xe
pop edx
mov ecx, esi
call fcn.00439662
push ebx
push 0xa
pop edx
mov ecx, ebx
call fcn.00439662
lea eax, [ebp - 0x30]
push eax
push 4
pop edx
mov ecx, esi
call fcn.00439662
xor eax, eax
mov ecx, dword [ebp + eax - 0x30]
add dword [ebx + eax], ecx
add eax, 4
cmp eax, 0x14
jne 0x44429a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x444348
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
and dword [eax], 0
push ebx
push esi
push dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ecx
call fcn.004461a8
mov ebx, eax
test ebx, ebx
je 0x44444b
cmp byte [ebx], 0x64
push edi
jne 0x444448
cmp dword [esi], 0x39
jb 0x444448
push 0x11
pop ecx
mov edi, str.d10:.fileguard40:
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4443a7
push 0x11
pop ecx
mov edi, str.d10:file_guard40:
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x444448
push 0xa
pop ecx
lea esi, [ebx + 0x11]
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
push 0x28
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x34], 0
call fcn.0041485d
test al, al
jne 0x4443ce
mov eax, str.malformed_guard
jmp 0x444409
mov esi, dword [ebp - 8]
add dword [esi], 0xffffffc8
mov eax, dword [esi]
dec eax
push eax
lea eax, [ebx + 0x39]
push eax
lea eax, [ebx + 1]
push eax
call sub.MSVCRT.dll_memmove
mov edx, dword [esi]
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.00439662
push 5
pop ecx
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x30]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x444448
mov eax, str.hash_doesnt_match
push dword [ebp - 4]
push eax
push str.Warning:_file_integrity_check_failed___s_:__s
call fcn.004891ee
push str.Ignore_this_warning_if_you_switched_to_1.6.1_or_older_and_back
call fcn.004891ee
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, 0x499410
call fcn.004440e0
push 0
push eax
push dword [ebp - 4]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
lea ecx, [ebp + 8]
call fcn.0043b306
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4445de
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push esi
push edi
mov esi, edx
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x444613
xor ecx, ecx
cmp dword [esp + 0x10], ecx
je 0x4445f9
inc ecx
cmp dword [esp + 0x14], 0
je 0x444603
or ecx, 2
test eax, ecx
je 0x444613
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push dword [esp + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
pop edi
pop esi
ret 0xc
Function at 0x44526c
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
push edi
push str.ReplaceFileW
push 0x491fb0
mov edi, edx
mov dword [ebp - 8], ecx
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
test eax, eax
je 0x44532c
push dword [0x4c592c]
call sub.MSVCRT.dll_srand
call sub.MSVCRT.dll_rand
push eax
push edi
push str._s._u.tmp
mov esi, 0x104
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0043c6a0
push edi
push str._s.new
lea eax, [ebp - 0x418]
push esi
push eax
call fcn.0043c6a0
add esp, 0x28
push 0
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
push 0
push 0
push 2
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push edi
call dword [ebp - 4]
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x44532c
push 4
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
xor eax, eax
test esi, esi
pop edi
setne al
pop esi
leave
ret

Function at 0x445c20
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp word [edi], 0x22
jne 0x445c35
inc edi
inc edi
push 0x22
lea eax, [edi + 2]
push eax
jmp 0x445c38
push 0x20
push edi
call sub.MSVCRT.dll_wcschr
mov esi, eax
pop ecx
xor ebx, ebx
pop ecx
test esi, esi
je 0x445c51
movzx ebx, word [esi]
xor eax, eax
mov word [esi], ax
inc esi
inc esi
push 5
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test esi, esi
je 0x445c69
mov word [esi - 2], bx
pop edi
pop esi
pop ebx
ret

Function at 0x445d02
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
push edi
mov esi, 0x104
or edi, 0xffffffff
push esi
lea edx, [ebp - 0x418]
mov dword [ebp - 4], edi
call fcn.00444624
test al, al
jne 0x445d2c
mov edx, edi
jmp 0x445da5
push esi
xor esi, esi
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x445d28
push 5
lea eax, [ebp - 0x210]
push str.FAT32
push eax
call sub.MSVCRT.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x445d9f
push 3
lea eax, [ebp - 0x210]
push 0x499c8c
push eax
call sub.MSVCRT.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x445d9a
push 5
lea eax, [ebp - 0x210]
push str.FAT16
push eax
call sub.MSVCRT.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x445da2
mov edi, 0x7ffa8000
mov dword [ebp - 4], esi
mov edx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x445feb
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
push 0x438
lea eax, [ebp - 0x43c]
push eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
mov ebx, eax
call fcn.00445f9e
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor edi, edi
test al, al
je 0x44605a
mov eax, str.Sysnative..explorer.exe
lea edx, [ebp + ebx*2 - 0x43c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
cmp cx, di
jne 0x44602d
push 1
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x43c]
push eax
push edi
push edi
call esi
xor ecx, ecx
cmp eax, 0x20
setle cl
mov eax, ecx
cmp eax, edi
je 0x446091
mov eax, str.explorer.exe
lea edx, [ebp + ebx*2 - 0x43c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
cmp cx, di
jne 0x446068
push 1
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x43c]
push eax
push edi
push edi
call esi
xor ecx, ecx
cmp eax, 0x20
setle cl
mov eax, ecx
xor ecx, ecx
cmp eax, edi
pop edi
sete cl
pop esi
mov al, cl
pop ebx
leave
ret

Function at 0x44622b
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov edi, ecx
call fcn.004458d7
movzx ebx, al
mov eax, 0x48f94c
test ebx, ebx
je 0x446256
mov eax, str..new
push eax
push edi
push 0x48ff58
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0043c6a0
add esp, 0x14
push 7
pop edx
lea ecx, [ebp - 0x210]
call fcn.004454b8
mov esi, eax
cmp esi, 0xffffffff
jne 0x44628a
xor al, al
jmp 0x4462f2
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.00445522
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor esi, esi
cmp ebx, esi
je 0x4462dd
mov edx, edi
lea ecx, [ebp - 0x210]
call fcn.0044526c
movzx eax, al
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x4462dd
push esi
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [ebp + 8], esi
jne 0x4462f0
cmp dword [ebp - 4], esi
jne 0x4462eb
cmp ebx, esi
jne 0x4462f0
xor eax, eax
inc eax
jmp 0x4462f2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4462f9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x446309
sub eax, edx
sar eax, 1
mov ebx, eax
lea edi, [ebx + ebx + 2]
mov eax, edi
call section..text
mov esi, esp
push edi
push dword [ebp - 4]
mov dword [ebp - 8], esi
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0x5c
pop edi
cmp word [esi], di
jne 0x446356
cmp word [esi + 2], di
jne 0x446356
lea eax, [esi + 4]
cmp word [eax], 0x3f
jne 0x446369
cmp word [esi + 6], di
jne 0x446369
add esi, 8
cmp ebx, 3
jl 0x446365
cmp word [esi + 2], 0x3a
jne 0x446365
add esi, 6
mov ecx, esi
jmp 0x4463af
push 2
pop ecx
mov esi, eax
movzx eax, word [esi]
inc esi
inc esi
cmp ax, di
jne 0x44637b
dec ecx
je 0x446365
test ax, ax
jne 0x44636e
xor al, al
jmp 0x4463be
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x4463a0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x446380
cmp word [esi], 0
mov eax, edi
mov word [esi - 2], ax
je 0x4463bc
lea ecx, [esi + 2]
mov edx, edi
call fcn.0043abc8
mov esi, eax
test esi, esi
jne 0x446384
mov al, 1
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4463c6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 0x10]
mov edi, edx
push dword [ebp + 0xc]
mov ebx, ecx
call fcn.004455b4
test eax, eax
jne 0x446416
push esi
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x4463fc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x446415
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x446413
sub esi, eax
push esi
add eax, edi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x44667b
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
mov eax, edx
push esi
mov ebx, ecx
push edi
mov edx, 0x499da4
mov ecx, eax
call fcn.00444f25
mov esi, eax
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ecx, esi
mov edi, eax
call fcn.004444fe
cmp edi, 0xffffffff
je 0x4466f7
cmp byte [ebp + 8], 0
jne 0x4466c5
cmp word [ebp - 0x228], 0x2e
je 0x4466de
lea ecx, [ebp - 0x228]
call fcn.00444cee
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.0044664f
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4466b5
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x447912
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x87c
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x14]
push esi
push edi
test ecx, ecx
je 0x4479c3
cmp word [ecx + 0x3d], 0x18
jne 0x44794a
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push dword [ebx + 4]
call fcn.0044733b
jmp 0x447a0e
lea ecx, [ebp + 0x40]
call fcn.00439699
mov eax, dword [ebx + 4]
lea ecx, [ebp + 0x74]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push 0
push 0x7d0
lea ecx, [ebp - 0x810]
push ecx
push eax
mov dword [ebp + 0x74], 0x80
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp + 0x78], eax
cmp eax, 0xffffffff
je 0x447999
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x56]
call fcn.00439725
lea esi, [ebp + 0x56]
lea edi, [ebp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ebx, dword [ebx + 0x14]
add ebx, 0xd5
push ebx
lea ecx, [ebp + 0x40]
call fcn.0043981b
test al, al
jne 0x4479b4
or eax, 0xffffffff
jmp 0x447a0e
mov eax, dword [ebp + 0x78]
inc eax
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x78]
jmp 0x447a0e
call fcn.00404c32
test al, al
jne 0x4479af
mov ebx, dword [ebx + 4]
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp + 0x78]
mov dword [ebp + 0x68], 0x80
push dword [ebp + 0x74]
push ebx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x447a0c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x56]
call fcn.00439725
mov edi, dword [ebp + 0x7c]
lea esi, [ebp + 0x56]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, ebx
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc
Function at 0x447ae6
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x19c
push ebx
push esi
mov esi, dword [ebp + 0x78]
movzx eax, word [esi + 0x10]
push eax
mov dword [ebp + 0x60], ecx
mov byte [ebp - 0xb6], 0
mov byte [ebp - 0xb7], 0
mov byte [ebp - 0xb8], 0
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp + 0x7c], 0
movzx ebx, ax
mov dword [ebp + 0x78], ebx
je 0x447b64
mov eax, dword [ebp + 0x7c]
mov byte [ebp - 0xb5], 3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447b32
sub eax, edx
mov ebx, eax
push ebx
push dword [ebp + 0x7c]
lea eax, [ebp - 0xb3]
push eax
mov byte [ebp - 0xb4], bl
call sub.MSVCRT.dll_memcpy
mov ax, word [ebp + 0x78]
add esp, 0xc
mov word [ebp + ebx - 0xb3], ax
jmp 0x447ba2
mov ecx, esi
call fcn.00404a8c
test al, al
je 0x447b88
mov eax, dword [esi + 0xc]
mov byte [ebp - 0xb5], 1
mov dword [ebp - 0xb4], eax
mov word [ebp - 0xb0], bx
jmp 0x447ba2
push edi
mov byte [ebp - 0xb5], 4
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0xa4], bx
pop edi
lea eax, [ebp - 0xb8]
mov ecx, eax
mov dword [ebp + 0x54], eax
call fcn.004472c6
mov ecx, dword [ebp + 0x60]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp - 0x138]
push eax
add ecx, 0xd5
call fcn.00426648
xor esi, esi
push esi
push esi
push dword [ebp + 0x78]
lea eax, [ebp - 0x138]
push eax
push esi
lea eax, [ebp + 0x7c]
push eax
push 2
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x7c], esi
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, esi
mov esi, eax
jne 0x447c08
mov esi, dword [ebp + 0x7c]
or eax, 0xffffffff
cmp esi, eax
je 0x447c28
lea ecx, [ebp - 0xb8]
call fcn.004472c6
mov ecx, eax
cmp esi, ecx
jg 0x447c24
xor eax, eax
jmp 0x447c28
mov eax, esi
sub eax, ecx
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14
Function at 0x447e7e
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
lea edi, [ebx + 0x48]
push edi
mov ecx, esi
call fcn.0043981b
test al, al
je 0x447ea4
cmp word [esi + 0x10], 0
jne 0x447f9a
cmp dword [ebx + 4], 0xffffffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x447eb9
push 0
mov ecx, ebx
call fcn.0042a9a8
push 0
push 2
lea ecx, [ebx + 0x48]
call fcn.00404a8c
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xffffffeb
add eax, 0x17
push eax
mov ecx, ebx
call fcn.0042a961
cmp dword [ebx + 4], 0xffffffff
je 0x447f9a
mov esi, dword [ebp + 8]
push esi
mov ecx, ebx
call fcn.0042afa3
cmp eax, 0xffffffff
jne 0x447f15
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov ecx, edi
call fcn.00429593
push eax
push edi
push esi
push str.UDP_port_bind_failed__A:___d___s
call fcn.004891ee
add esp, 0x10
jmp 0x447f27
cmp word [esi + 0x10], 0
jne 0x447f27
mov ecx, ebx
call fcn.004294b3
mov word [ebx + 0x58], ax
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 4]
push eax
push 0x1002
mov edi, 0xffff
push edi
push dword [ebx + 4]
mov dword [ebp - 4], 0x200000
call esi
cmp eax, 0xffffffff
jne 0x447f66
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [ebp - 4]
push str.UDP_setsockopt_SO_RCVBUF___d__failed:__d
call fcn.00489227
add esp, 0xc
push 4
lea eax, [ebp - 4]
push eax
push 0x1001
push edi
push dword [ebx + 4]
call esi
cmp eax, 0xffffffff
jne 0x447f93
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [ebp - 4]
push str.UDP_setsockopt_SO_SNDBUF___d__failed:__d
call fcn.00489227
add esp, 0xc
mov ecx, ebx
call fcn.0042943a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44c71d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push esi
mov esi, ecx
cmp byte [esi + 0x50], 0
push edi
je 0x44c743
push 0x44b25a
push 0x10
push 0x10
push 3
call fcn.0044b3b9
mov dword [esi + 0x44], eax
push 0x44c5f0
push 9
push 9
push 2
mov ecx, esi
call fcn.0044b3b9
mov dword [esi + 0x48], eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x44c775
mov word [ebp - 0x208], ax
push 0x4011
mov edi, 0x2b4
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call fcn.0046894a
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x4b8]
push 0x4013
mov dword [esi + 0x54], eax
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call fcn.0046894a
mov eax, dword [ebp - 0x4b8]
pop edi
mov dword [esi + 0x58], eax
pop esi
leave
ret
Function at 0x44ed62
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov esi, ecx
xor ebx, ebx
jmp 0x44ee3d
cmp eax, 0xffffffff
je 0x44ee3d
cmp dword [esi + 0x10], ebx
je 0x44ee21
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0x100]
cmp ecx, 9
ja 0x44ee21
cmp byte [esi + 0xc], bl
jne 0x44ee3d
cmp eax, 0x100
jne 0x44edc3
push dword [ebp - 0x20]
mov ecx, dword [esi + 0x10]
push dword [ebp - 0x18]
mov eax, dword [ecx]
push 0xfffffffffffffffd
pop edx
call dword [eax + 0x14]
test eax, eax
jne 0x44ee3d
cmp dword [ebp - 0x1c], 0x101
jne 0x44ede1
push dword [ebp - 0x20]
mov ecx, dword [esi + 0x10]
push dword [ebp - 0x18]
mov eax, dword [ecx]
push 0xfffffffffffffffc
pop edx
call dword [eax + 0x14]
test eax, eax
jne 0x44ee3d
lea eax, [ebp - 4]
push eax
push 0x44eca1
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 4], ebx
jne 0x44ee21
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
cmp eax, dword [esi + 0x14]
jne 0x44ee12
cmp dword [ebp - 0x1c], 0x100
jne 0x44ee21
cmp dword [ebp - 0x18], 9
jne 0x44ee21
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x44ee3d
lea ecx, [ebp - 0x20]
call fcn.0041e022
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call edi
cmp eax, ebx
jne 0x44ed7a
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44f590
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [ecx + 8], 0xffffff96
jne 0x44f59e
mov ecx, dword [ecx + 0x20]
jmp fcn.0043adb2
mov eax, dword [ecx + 0x20]
ret

Function at 0x44f662
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [0x4c71f4], eax
push 0
mov edx, esi
mov ecx, 0x44ece0
mov byte [esi + 0xc], 0
mov byte [esi + 0xd], 0
call fcn.00452069
push dword [0x4c71f4]
push 0
push eax
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 4], eax
pop esi
ret 4
Function at 0x450050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
movzx eax, dx
push 5
mov esi, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4500cd
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x4500a9
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
push ebx
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4500ad
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
jmp 0x4500cc
push esi
push dword [ebp - 4]
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4500ca
mov dword [eax], esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8