joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ab630
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x545558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
or ebp, 0xffffffff
mov eax, dword [esi + 0x48]
lea edi, [esi + 0x48]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ab6bd
mov ecx, esi
call fcn.004ab0b0
test eax, eax
jne 0x4ab674
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4ab6bd
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4ab6bd
push edi
lea ecx, [esp + 0x10]
call fcn.0050d172
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.004ab0b0
test eax, eax
jne 0x4ab6a5
test byte [esi + 0x24], 0x30
je 0x4ab6a5
push str..jc_
lea ecx, [esp + 0x10]
call fcn.0050d7d9
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], ebp
call fcn.0050d3fd
mov eax, dword [esi + 0x24]
mov dword [esi + 0x50], ebp
and al, 0xf
mov ecx, esi
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], eax
call fcn.004ab350
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4abb10
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x545696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push esi
push edi
mov edi, dword [esp + 0x1bc]
test edi, edi
mov esi, ecx
mov dword [esp + 0xc], 0
je 0x4abb65
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.004aa450
mov ebx, 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1b4], 0
jmp 0x4abb8c
mov ecx, dword [esp + 0x1c0]
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push edx
call fcn.0050d46b
mov ebx, 2
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1b4], 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0050d172
lea eax, [esp + 0x14]
push eax
call fcn.0042e750
add esp, 8
test bl, 2
mov dword [esp + 0x1b4], 4
je 0x4abbc6
and ebx, 0xfffffffd
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], ebx
call fcn.0050d3fd
test bl, 1
mov dword [esp + 0x1b4], 3
je 0x4abbdf
lea ecx, [esp + 0x18]
call fcn.0050d3fd
test edi, edi
je 0x4abc42
mov ecx, edi
call fcn.0041c210
test eax, eax
je 0x4abc42
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.0042eff0
mov ecx, eax
call fcn.0042fdd0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b8], 5
call fcn.0050d536
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b4], 3
call fcn.0050d3fd
mov eax, dword [esp + 0x10]
push 0x4000
lea edx, [esp + 0x50]
push 0x160
push edx
push 0x80
push eax
jmp 0x4abd05
test byte [esi + 0x24080], 1
je 0x4abcec
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0050d172
lea eax, [esp + 0x10]
push eax
call fcn.0042eb20
add esp, 4
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x1bc], 6
call fcn.0050d172
push ecx
lea eax, [esi + 0x2407c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x1c0], 7
call fcn.0050d172
mov byte [esp + 0x1bc], 6
call fcn.0043fd70
mov cl, byte [esi + 0x24080]
add esp, 8
test cl, 2
je 0x4abcc1
test eax, eax
jne 0x4abcdb
jmp 0x4abcc5
test eax, eax
je 0x4abcdb
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b4], 3
call fcn.0050d3fd
jmp 0x4abd83
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b4], 3
call fcn.0050d3fd
mov edx, dword [esp + 0x10]
push 0x4010
lea ecx, [esp + 0x50]
push 0x160
push ecx
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0x1c4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4abd20
xor eax, eax
jmp 0x4abd2f
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x1004
push eax
call ebx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x24], 6
test edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], ecx
je 0x4abd55
mov dword [esp + 0x44], edi
jmp 0x4abd60
mov edx, dword [esp + 0x1c0]
mov dword [esp + 0x44], edx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x24]
push eax
push 0
push 0x1007
push ecx
call ebx
mov edx, dword [esp + 0x1c0]
mov ecx, esi
push edx
push edi
push eax
call fcn.004ac1c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1ac
ret 0xc
Function at 0x4acfa0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5457c8
push eax
mov dword fs:[0], esp
sub esp, 8
push edi
mov edi, ecx
mov eax, dword [edi + 0x24078]
test eax, eax
je 0x4ad119
mov eax, dword [0x591288]
push ebx
push ebp
push esi
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
mov dword [esp + 0x30], 0
call ebx
mov esi, eax
test esi, esi
jl 0x4ad06e
push esi
mov ecx, edi
call fcn.00508142
mov ecx, dword [edi + 0x24078]
mov ebp, eax
push ebp
call fcn.004ab3a0
test eax, eax
je 0x4ad03d
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
call fcn.004aa450
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0050d815
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call fcn.0050d3fd
jmp 0x4ad04a
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push eax
call fcn.0050d7d9
mov ecx, dword [edi + 0x1c]
push 2
push esi
push 0x100c
push ecx
call ebx
mov esi, eax
test esi, esi
jl 0x4ad09b
push 0x5881a4
lea ecx, [esp + 0x14]
call fcn.0050d7d9
jmp 0x4acff8
mov ecx, dword [edi + 0x24078]
lea edx, [esp + 0x14]
push edx
call fcn.004aa450
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.0050d536
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call fcn.0050d3fd
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ad105
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, dword [esp + 0x10]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0050d3fd
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
pop edi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ae5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5459e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
mov ebp, dword [esp + 0x90]
mov ebx, ecx
push esi
lea ecx, [esp + 0xc]
mov eax, dword [ebp]
push edi
push ecx
mov ecx, ebp
mov dword [esp + 0x30], 0x23
call dword [eax + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0
mov eax, dword [edx - 8]
push eax
call fcn.0050d82d
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov dword [esp + 0x40], ecx
mov ecx, ebp
call fcn.0041c830
mov ecx, ebp
mov dword [esp + 0x44], eax
call fcn.0041c830
mov edx, dword [esp + 0x9c]
mov ecx, 0xa
lea esi, [esp + 0x2c]
lea edi, [esp + 0x5c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], 0xffff0001
lea eax, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebp
call fcn.004aa450
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x90], 1
test eax, eax
je 0x4ae706
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x4ae706
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [ebx + 0x1c]
push 4
push 0x110a
mov dword [esp + 0x64], 0xffff0002
mov edi, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
mov dword [esp + 0x14], 0
test esi, esi
je 0x4ae706
push esi
mov ecx, ebx
call fcn.0050841e
cmp eax, edi
je 0x4ae6d8
cmp edi, ebp
je 0x4ae6fa
mov edi, dword [edi + 0x10]
cmp eax, edi
jne 0x4ae6cd
cmp edi, ebp
je 0x4ae6fa
mov edx, dword [ebx + 0x1c]
push esi
push 1
push 0x110a
push edx
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
jne 0x4ae6c1
jmp 0x4ae706
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ae706
mov dword [esp + 0x58], eax
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x54]
push eax
push 0
push 0x1100
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 0
push 0
push 0
push 0
mov esi, eax
push 0
push 4
push esi
mov ecx, ebx
call fcn.0050847a
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x1c]
push 0
push edx
push eax
mov ecx, ebx
call fcn.005082e7
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x1c]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 0
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x88]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 8
Function at 0x4b08b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x545e1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [esp + 0x20], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 1
push eax
call fcn.0042eff0
mov ecx, eax
call fcn.0043fa10
mov eax, dword [0x591288]
mov dword [esp + 4], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0xa]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x38]
push edx
push eax
push ecx
mov byte [esp + 0x50], 7
call fcn.0043e9c0
add esp, 0x20
test eax, eax
je 0x4b099b
push 0x58dca8
lea ecx, [esp + 0xc]
call fcn.0050d959
test eax, eax
jl 0x4b0976
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.00505c45
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 8
call fcn.0050d536
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 7
call fcn.0050d3fd
lea ecx, [esp + 0xc]
call fcn.0050d98b
lea eax, [esp + 0xc]
lea ecx, [esp + 4]
push eax
call fcn.0050d536
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.0050d815
lea edx, [esp + 4]
push esi
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0050d62c
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 9
call fcn.0050d536
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 7
call fcn.0050d3fd
push 0x5c
lea edx, [esp + 0xc]
push 0x2f
push edx
call fcn.0042ecf0
mov esi, dword [esp + 0x48]
add esp, 0xc
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0050d172
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 6
call fcn.0050d3fd
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 5
call fcn.0050d3fd
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 4
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.0050d3fd
lea ecx, [esp + 8]
mov byte [esp + 0x34], 2
call fcn.0050d3fd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.0050d3fd
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 8

Function at 0x4b2ef0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4b2f44
mov eax, dword [esp + 0x18]
push eax
call fcn.004b30f0
mov esi, eax
test esi, esi
jne 0x4b2f14
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x24]
push 4
push ecx
push 4
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x20]
lea ecx, [esp + 4]
push eax
push 0x58838c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 4]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
add esp, 0x10
ret 0xc
Function at 0x4b2f80
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov eax, dword [ecx + 8]
push ebx
push esi
push edi
test eax, eax
je 0x4b301f
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x4b2fb5
call fcn.004b3040
mov esi, eax
test esi, esi
jne 0x4b2fa7
pop edi
pop esi
pop ebx
ret 0xc
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4b3009
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4b2fdd
mov edx, dword [esp + 0x10]
push edx
call fcn.004b30f0
mov esi, eax
test esi, esi
jne 0x4b2fd3
pop edi
pop esi
pop ebx
ret 0xc
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4b3009
mov eax, dword [esp + 0x10]
push eax
call fcn.004b30f0
mov esi, eax
test esi, esi
jne 0x4b2ff3
pop edi
pop esi
pop ebx
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebx
ret 0xc
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4b3a30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x546377
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x591288]
push ebx
push esi
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov ebx, 1
mov dword [esp + 0x130], ebx
call fcn.0042eff0
mov edi, dword [esp + 0x13c]
mov esi, eax
lea eax, [edi - 0x44b]
cmp eax, 0xa1
ja case.0x4b3a92.1109
xor ecx, ecx
mov cl, byte [eax + 0x4b3cd4]
jmp dword [ecx*4 + 0x4b3ca8]
push str.When_double_clicking_on_an_item
jmp 0x4b3add
push str.Download_Job
jmp 0x4b3add
push str.Failed_Download_job
jmp 0x4b3add
push str.Successful_download_job
jmp 0x4b3add
push str.Start_Stop
jmp 0x4b3add
push 0x58dd28
jmp 0x4b3add
push str.Open_Folder
jmp 0x4b3add
push 0x58dd14
jmp 0x4b3add
push 0x58dd0c
jmp 0x4b3add
push str.Display_Sub_Categories_in_alphabetical_order_Need_to_restart_FlashGet_
lea ecx, [esp + 0x10]
call fcn.0050d586
cmp word [esi + 0x484], 0
jg 0x4b3b0c
mov esi, dword [esp + 0x138]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0050d172
mov dword [esp + 0x18], ebx
jmp 0x4b3c79
mov eax, dword [0x591288]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
push ebx
push ecx
mov ecx, esi
mov byte [esp + 0x138], 3
call fcn.0042fdd0
push str.language_
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x13c], 4
call fcn.0050d692
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 6
call fcn.0050d3fd
movsx eax, word [esi + 0x484]
dec eax
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esi + 0x428]
call fcn.0041a2f0
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x13c], 7
call fcn.0050d62c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 8
call fcn.0050d536
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 7
call fcn.0050d3fd
lea ecx, [esp + 0x24]
mov byte [esp + 0x130], 6
call fcn.0050d3fd
push edi
lea ecx, [esp + 0x20]
push 0x588388
push ecx
call fcn.005060bb
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x28]
push edx
push 0x100
push eax
push 0x596660
push ecx
push str.Other_PPG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x4b3c01
lea edx, [esp + 0x28]
lea ecx, [esp + 0xc]
push edx
call fcn.0050d586
mov esi, dword [esp + 0x138]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0050d172
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x130], 3
call fcn.0050d3fd
mov byte [esp + 0x130], bl
lea ecx, [esp + 0x1c]
jmp 0x4b3c74
mov ecx, dword [0x591288]
mov dword [esp + 0x10], ecx
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 2
call fcn.004c9660
mov esi, dword [esp + 0x138]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0050d172
mov dword [esp + 0x18], ebx
mov byte [esp + 0x130], bl
lea ecx, [esp + 0x10]
call fcn.0050d3fd
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 8
Function at 0x4b5fb0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4b5ff0
call fcn.004b6d20
test eax, eax
je 0x4b5ff7
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x4b6650
push 0
push 0
call fcn.004f0553
add esp, 0x18
mov dword [esi + 0x90], eax
test eax, eax
je 0x4b5ff0
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x98]
test eax, eax
je 0x4b5ff0
mov ecx, dword [eax]
lea edx, [esp + 8]
push edi
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x98]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
push 0
mov edi, ecx
mov eax, dword [esi + 0x98]
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x50]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x78]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x4b5ff0
mov edx, dword [esi + 0x1c]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x4b72b0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
cmp byte [edi], 0
je 0x4b7349
push edi
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4b733d
push ebx
push esi
mov esi, str.255.255.255.255
mov ecx, edi
mov al, byte [ecx]
mov bl, byte [esi]
mov dl, al
cmp al, bl
jne 0x4b7300
test dl, dl
je 0x4b72fc
mov al, byte [ecx + 1]
mov bl, byte [esi + 1]
mov dl, al
cmp al, bl
jne 0x4b7300
add ecx, 2
add esi, 2
test dl, dl
jne 0x4b72d8
xor ecx, ecx
jmp 0x4b7305
sbb ecx, ecx
sbb ecx, 0xffffffff
pop esi
pop ebx
test ecx, ecx
je 0x4b733d
push edi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x4b732c
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov eax, dword [edx]
je 0x4b7349
pop edi
mov dword [ecx], eax
pop ebp
ret 8
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
je 0x4b7349
pop edi
mov dword [ecx], eax
pop ebp
ret 8
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4b7347
mov dword [ecx], ebp
mov eax, ebp
pop edi
pop ebp
ret 8
Function at 0x4b76a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5465b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
mov eax, dword [0x591288]
mov dword [esp + 0x1c], 0
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
push ecx
push 0x3e8
mov ecx, esi
call fcn.00510ebf
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0050d172
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004b7580
mov edi, eax
lea edx, [esp + 8]
push 0x5881a4
lea eax, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x28], 2
call fcn.0050d692
push edi
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x28], 3
call fcn.0050d62c
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 4
call fcn.0050d536
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.0050d3fd
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.0050d3fd
mov edx, dword [esp + 8]
mov ecx, esi
push edx
push 0x3e8
call fcn.0051370e
push 5
mov ecx, esi
call fcn.005139c1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.0050d3fd
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x14]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 8
Function at 0x4bab70
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push str.RASAPI32.DLL
mov dword [esi], 0x556d78
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ecx, ecx
mov dword [esi + 8], eax
cmp eax, ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 4], ecx
je 0x4babfc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RasEnumConnectionsA
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
push str.RasGetConnectStatusA
push eax
call edi
mov ecx, dword [esi + 8]
push str.RasEnumEntriesA
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 8]
push str.RasDialA
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
push str.RasHangUpA
push eax
call edi
mov ecx, dword [esi + 8]
push str.RasGetErrorStringA
push ecx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x4be750
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [esp + 0x94]
push esi
push edi
mov ecx, 0x10
xor eax, eax
mov edi, ebx
push 0xa1e9149d
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
call fcn.004be710
push 0xe6b3b59
mov dword [esp + 0x1c], eax
call fcn.004be710
mov esi, dword [esp + 0xa8]
add esp, 8
test esi, esi
mov dword [esp + 0x18], eax
je 0x4be7ec
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x28
jne 0x4be7d0
mov byte [esi + 0x20], al
mov ecx, 0x20
jmp 0x4be7da
cmp ecx, 0x38
jle 0x4be7da
mov ecx, 0x38
mov eax, ecx
lea edi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x5572f0
test ecx, ecx
je 0x4be80d
xor eax, eax
mov dl, byte [eax + 0x5572f0]
mov cl, byte [esp + eax + 0x1c]
xor cl, dl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x28
jl 0x4be7f7
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.004be880
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.01d0a8e3
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + ebx]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
cdq
and edx, 3
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
sar eax, 2
xor ecx, ecx
test eax, eax
jle 0x4be872
mov esi, ebx
mov dl, byte [esi]
add esi, 4
mov byte [ecx + ebp], dl
inc ecx
cmp ecx, eax
jl 0x4be865
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret