joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a713
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x43a72a
jmp 0x43a78c
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 0xc]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43a786
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004ac230
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esp, ebp
pop ebp
ret 8

Function at 0x43a792
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x43a7ac
jmp 0x43a85e
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43a7c8
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x43a85e
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call fcn.0061431c
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 9
mov edx, dword [ebp - 8]
sub edx, 1
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
call fcn.004ac230
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x168]
push eax
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x16c]
call fcn.00416bf7
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00614345
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x441120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xc
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
add edx, 0x1a
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [eax], 0x61746164
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], 0x20746d66
mov edx, dword [ebp - 0x44]
mov dword [edx + 4], 0x12
push 0x12
mov eax, dword [ebp - 0x48]
add eax, 8
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 8
push ecx
call fcn.004ac230
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov dword [edx], 0x46464952
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
add ecx, 0x26
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x38]
mov dword [eax + 8], 0x45564157
push 0
push 0
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x2e
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4411e5
cmp dword [ebp - 0x3c], 0x2e
je 0x4411ea
or eax, 0xffffffff
jmp 0x4411ec
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x443b96
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov dword [ebp - 0x2c], ecx
push 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xcfc]
add ecx, 0x24
call fcn.0040410e
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
mov esi, dword [edx + 4]
xor edi, edi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
xor edx, edx
mov ecx, 0x20
call fcn.004ad750
or esi, eax
or edi, edx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x78], esi
mov dword [ecx + 0x7c], edi
mov ecx, dword [ebp - 0x2c]
call fcn.00443d43
mov edx, dword [ebp - 0x2c]
add edx, 0x78
mov eax, dword [ebp - 0x2c]
add eax, 0x70
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x443c22
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
je 0x443c2b
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0xffffffff
jne 0x443c38
mov ecx, dword [ebp - 0x2c]
call fcn.00443df8
jmp 0x443d3d
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x6c
call fcn.006191ae
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x443c6c
jmp 0x443d3d
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], 9
mov edx, 0x2000
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], 0
push 0x2000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0xb
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
add edx, 1
push edx
call fcn.004ac230
add esp, 0xc
push 4
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
add ecx, 5
push ecx
call fcn.004ac230
add esp, 0xc
mov byte [ebp - 4], 1
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
jbe 0x443d33
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xcfc]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xd00]
call fcn.00416bf7
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x443ee3
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63c9f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
add eax, 0x6c
push eax
lea ecx, [ebp - 0x14]
call fcn.00618af3
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x6c
call fcn.006191ae
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x443fad
lea ecx, [ebp - 0x28]
call fcn.00403370
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x6c
call fcn.006191ae
push eax
push 0x74588c
lea ecx, [ebp - 0x28]
push ecx
call fcn.00610e57
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x28]
call fcn.00403580
push eax
call fcn.00621b82
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00618d7e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00618d7e
mov eax, dword [ebp - 0x2c]
jmp 0x444073
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 9
mov edx, dword [ebp - 0x18]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ac1d0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov byte [edx], 0xa
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
push ecx
call fcn.004ac230
add esp, 0xc
push 4
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
add eax, 5
push eax
call fcn.004ac230
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xcfc]
push ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0xd00]
call fcn.00416bf7
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00618d7e
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x445841
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x445853
jmp 0x4458c3
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp + 8]
call fcn.00403540
add eax, 1
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4458bd
mov ecx, dword [ebp + 8]
call fcn.00403540
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.006191ae
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.004ac230
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 4]
push edx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esp, ebp
pop ebp
ret

Function at 0x4487bd
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44882b
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp + 8]
call fcn.00403540
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.00403580
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esp, ebp
pop ebp
ret

Function at 0x44c3ac
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0x8004667e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 0x10], 0
jle 0x44c415
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x44c401
jmp 0x44c415
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jmp 0x44c3d9
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x44c69f
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44c6be
xor eax, eax
jmp 0x44c705
mov word [ebp - 0x14], 2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov cx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x44c6f0
jmp 0x44c703
mov eax, dword [ebp - 4]
jmp 0x44c705
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x44c705
jmp 0x44c6f5
mov esp, ebp
pop ebp
ret

Function at 0x44c726
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44c748
xor eax, eax
jmp 0x44c7cd
mov word [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov word [ebp - 0x14], 2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dx, word [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x44c78f
jmp 0x44c7cb
push 3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_listen]
mov eax, dword [0x76d988]
add eax, 1
mov dword [0x76d988], eax
mov ecx, dword [0x76d988]
mov edx, dword [ebp - 4]
mov dword [ecx*4 + 0x76c988], edx
mov eax, dword [ebp - 4]
jmp 0x44c7cd
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x44c7cd
jmp 0x44c7bd
mov esp, ebp
pop ebp
ret

Function at 0x44c7d1
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov word [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov word [ebp - 0xa], ax
mov dword [ebp - 8], 0x10
push 0
push 0
call fcn.0044c726
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
ja 0x44c80a
jmp 0x44c849
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x44c823
jmp 0x44c847
mov cx, word [ebp - 0x16]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [ebp + 8]
mov word [edx], ax
mov eax, dword [ebp - 4]
jmp 0x44c84b
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x44c84b
jmp 0x44c839
jmp 0x44c839
mov esp, ebp
pop ebp
ret
Function at 0x44cff0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x84], ecx
mov byte [0x76e990], 0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x76d988], 0
je 0x44d063
mov eax, dword [0x76d988]
push eax
push str.nsocket_di:_d
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [0x76d988]
cmp dword [edx*4 + 0x76c988], 0xffffffff
je 0x44d052
mov eax, dword [0x76d988]
mov ecx, dword [eax*4 + 0x76c988]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x76d988]
sub edx, 1
mov dword [0x76d988], edx
jmp 0x44d00e
cmp dword [0x76e994], 0
je 0x44d0ab
mov eax, dword [0x76e994]
cmp dword [eax*4 + 0x76d990], 0xffffffff
je 0x44d09c
push 0
mov ecx, dword [0x76e994]
mov edx, dword [ecx*4 + 0x76d990]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x76d990
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x76e994]
sub eax, 1
mov dword [0x76e994], eax
jmp 0x44d063
mov dword [0x76e994], 0
mov dword [0x76d988], 0
mov byte [0x76e990], 1
mov esp, ebp
pop ebp
ret

Function at 0x44dea0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
cmp byte [esi + 2], 1
je 0x44deb8
mov eax, 0xfffffffc
pop esi
add esp, 0x24
ret
mov dword [esi + 4], 0x10302
mov dword [esi + 8], str.xvid_1.3.2
call fcn.0044ddc0
mov dword [esi + 0xc], eax
lea eax, [esp + 4]
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x10], ecx
pop esi
add esp, 0x24
ret
Function at 0x48c370
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
lea eax, [eax + eax*2]
push ebp
xor ebp, ebp
push esi
lea eax, [eax + eax*4]
push edi
mov dword [esp + 0x10], ebp
lea ecx, [ecx + eax*2 + 0x20]
mov ax, word [edx]
imul ax, word [esp + 0x24]
cmp ax, 0xf800
mov word [ecx], ax
jge 0x48c3aa
mov eax, 0xfffff800
jmp 0x48c3ba
cmp ax, 0x7ff
jle 0x48c3b7
mov eax, 0x7ff
jmp 0x48c3ba
movsx eax, ax
mov edi, edx
mov word [ecx], ax
lea esi, [edx + 0x10]
lea eax, [ecx + 2]
sub edi, ecx
mov dword [esp + 0x20], esi
mov ecx, 7
mov bx, word [edi + eax]
add esi, 0x10
mov word [eax], bx
mov bx, word [esi - 0x10]
mov word [eax + 0xe], bx
add eax, 2
dec ecx
jne 0x48c3d0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov esi, 1
mov ax, word [edi]
sub word [edx], ax
mov eax, dword [esp + 0x1c]
cmp dword [ecx + eax*4 + 0xd4], esi
jne 0x48c452
mov ebx, edx
lea esi, [edi + 2]
sub ebx, edi
mov edi, 7
mov cx, word [ebx + esi]
add esi, 2
movsx eax, cx
cdq
xor eax, edx
mov dword [esp + 0x18], ecx
sub cx, word [esi - 2]
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
mov word [esi - 2], cx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
dec edi
mov dword [esp + 0x10], edx
jne 0x48c414
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov dx, word [ebx]
add ebx, 0x10
mov cx, dx
mov dword [esp + 0x18], edx
movsx eax, cx
sub cx, word [edi + esi*2]
cdq
xor eax, edx
mov word [edi + esi*2], cx
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
inc esi
cmp esi, 8
mov dword [esp + 0x10], edx
jb 0x48c456
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
Function at 0x4a21d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
lea edx, [eax + 0x50]
lea ecx, [eax + 8]
push edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x3ff00000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3ff00000
xor eax, eax
fld qword [ecx]
fadd qword [edx]
add eax, 8
add ecx, 8
sub edx, 8
cmp eax, 0x20
fsub qword [esp + eax + 0x48]
fstp qword [esp + eax + 0x50]
fld qword [ecx - 8]
fsub qword [edx + 8]
fadd qword [esp + eax + 0x78]
fstp qword [esp + eax + 0x80]
jle 0x4a2212
mov eax, dword [0x755b30]
mov ecx, dword [0x755b34]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x50]
mov dword [esp + 0x14], ecx
push 5
mov eax, ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebx
lea edi, [esp + 0x60]
call fcn.004a2400
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov dword [esp + 0x44], edx
mov esi, 0x755b30
cmp esi, 0x755cc0
jge 0x4a23cd
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
add esi, 8
fstp qword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], ecx
push 5
mov ecx, eax
push edi
push ecx
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.004a2400
fst qword [esp + 0x58]
fld qword [esp + 0x38]
fmul st(1)
add esp, 0x10
fcomp qword [0x670100]
fnstsw ax
test ah, 0x41
je 0x4a23bb
fstp st(0)
sub esi, 8
mov ebx, 2
fld qword [esp + 0x38]
fadd qword [esp + 0x10]
push 5
push edi
fmul qword [0x66e258]
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.004a2400
fld st(0)
fmul qword [esp + 0x58]
add esp, 0x10
fcomp qword [0x670100]
fnstsw ax
test ah, 0x41
je 0x4a2334
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x4a2348
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
fstp qword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
dec ebx
jne 0x4a22e4
fld qword [esp + 0x38]
fsub qword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add eax, 8
fmul qword [esp + 0x48]
fld qword [esp + 0x28]
fsub qword [esp + 0x48]
mov dword [esp + 0x44], eax
inc edi
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x80]
fdivp st(1)
fsubr qword [esp + 0x10]
fst qword [esp + 0x28]
fld st(0)
fstp qword [eax - 8]
mov eax, 1
sub eax, ecx
mov dword [esp + 0x34], eax
jne 0x4a239e
lea edi, [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
fstp qword [esp + 0x10]
push 5
push edi
push ecx
push edx
call fcn.004a2400
mov ebx, dword [esp + 0x2c]
add esp, 0x10
cmp ebx, 0xa
jl 0x4a227f
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xa
fstp st(0)
jge 0x4a23f3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov edx, 0xa
mov esi, dword [ecx + eax]
mov dword [eax], esi
mov esi, dword [ecx + eax + 4]
mov dword [eax + 4], esi
add eax, 8
dec edx
jne 0x4a23e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret