joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a3e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d754b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0047a380
test eax, eax
je 0x47a53a
push 0
call fcn.005ad932
mov ecx, dword fs:[0x2c]
add esp, 4
mov ebx, eax
mov dword [ebp - 0x21c], edx
mov esi, dword [ecx]
mov ecx, dword [0x65ccf4]
cmp ecx, dword [esi + 4]
jle 0x47a522
push 0x65ccf4
call fcn.00483c2d
add esp, 4
cmp dword [0x65ccf4], 0xffffffff
jne 0x47a522
mov dword [ebp - 4], 0
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x47a556
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x65ccf0], eax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.005a52f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
push str._s_fastpdf_sogou_rcmdext_local.dat
push 0x65ccf0
call fcn.00408c40
add esp, 0xc
push dword [0x65ccf0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47a501
push eax
push eax
push 1
push eax
push 1
push closesocket
push dword [0x65ccf0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x47a501
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5d7e80
call fcn.00484084
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x65ccf4
call fcn.00483be3
add esp, 4
push dword [ebp - 0x21c]
push ebx
push dword [edi + 0x4d4]
push ecx
mov ecx, 0x65ccf0
call fcn.004404a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3
Function at 0x47c980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x3c0], 0
mov dword [ebp - 4], 0
je 0x47c9b4
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x3c0], 0
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x47ca01
mov eax, dword [esi + 0x14c]
lea ecx, [esi + 0x14c]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x47ca01
mov eax, dword [esi + 0x270]
lea ecx, [esi + 0x270]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
mov eax, dword [esi + 0x3ac]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47cb98
mov ecx, eax
call fcn.00429930
mov edi, eax
test edi, edi
je 0x47cb52
mov eax, dword [edi + 0x14]
mov ecx, esi
push 2
push 0
push edi
mov dword [ebp - 4], eax
call fcn.0047d3a0
mov edx, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [edi + 0xfc], 0
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 8]
mov ecx, edi
push 0x202
push 0
call dword [edx + 0x4c]
cmp dword [esi + 0x3ac], ebx
jne 0x47cab9
mov eax, dword [edi + 0x44]
test eax, eax
je 0x47caa5
cmp word [eax], 0
je 0x47caa5
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esi + 0x3ac], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 0x14], 0
je 0x47cb52
mov eax, 1
jmp 0x47cb54
push 1
push 0
push edi
mov ecx, esi
call fcn.0047d3a0
mov edx, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [edi + 0xfc], 0
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
push 0
call dword [edx + 0x4c]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x3ac], 0
test ecx, ecx
je 0x47cb98
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x20]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 0x3a8]
jne 0x47cb98
mov dword [esi + 0x3a8], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov dword [esi + 0x3ac], 0
test eax, eax
je 0x47cb98
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], ecx
mov ecx, edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0xffffffff
call dword [eax + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47de90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d76e5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00451de0
push 0x5b
push dword [0x6595b4]
call dword [sym.imp.USER32.dll_LoadIconW]
push 6
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x63c328
mov esi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00409200
push ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00416320
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x47df47
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47df3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e047
push edx
push ecx
call fcn.00483ac4
add esp, 8
push 0xc
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x63c330
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00409200
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00416320
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x47dfcc
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47dfc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e04c
push edx
push ecx
call fcn.00483ac4
add esp, 8
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], 0
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
mov ecx, dword [edi + 4]
push eax
push esi
push 0x64
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0044b440
add esp, 0x10
test eax, eax
jne 0x47e01c
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [edi + 4]
call esi
push 0
push dword [edi + 4]
call esi
lea ecx, [ebp - 0x58]
call fcn.00408a60
lea ecx, [ebp - 0x70]
call fcn.00408a60
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.00483ab6
mov esp, ebp
pop ebp
ret
call fcn.005a90ce
call fcn.005a90ce
int3
Function at 0x47e060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d772d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47e272
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x3e9
push dword [edi + 4]
call esi
push 0x3ea
push dword [edi + 4]
call esi
cmp dword [edi + 0x4d4], 0
jne 0x47e0ce
mov eax, dword [ebp + 8]
mov dword [edi + 0x430], eax
jmp 0x47e255
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x47e237
cmp esi, 2
jne 0x47e237
call fcn.00451de0
push 6
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x63c328
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00409200
push ecx
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00416320
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x47e166
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47e15c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e28f
push edx
push ecx
call fcn.00483ac4
add esp, 8
push 0xc
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push 0x63c360
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00409200
push ecx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00416320
mov edx, dword [ebp - 0x30]
add esp, 4
cmp edx, 0x10
jb 0x47e1e7
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47e1dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e294
push edx
push ecx
call fcn.00483ac4
add esp, 8
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x74]
mov edx, 0x64
cmovae ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], 8
push ecx
cmovae eax, dword [ebp - 0x74]
push ecx
mov ecx, dword [edi + 4]
push eax
call fcn.0044b650
add esp, 0xc
push 0
push 0x7d0
push 0x3ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x5c]
call fcn.00408a60
lea ecx, [ebp - 0x74]
call fcn.00408a60
jmp 0x47e272
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
mov edx, 0x64
call fcn.0044b5a0
mov dword [edi + 0x430], esi
push 0
push 0
push 0
mov dword [edi + 0x42c], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 4
call fcn.005a90ce
call fcn.005a90ce
int3
Function at 0x481e40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7332
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x481f56
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x10], 1
mov ecx, dword [eax]
mov eax, dword [0x65cc38]
cmp eax, dword [ecx + 4]
jle 0x481ef5
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x481ef5
mov dword [ebp - 4], 1
call fcn.00414990
push 0x5d7c10
call fcn.00484084
add esp, 4
mov byte [ebp - 4], 0
push 0x65cc38
call fcn.00483be3
add esp, 4
lea eax, [ebp - 0x14]
mov ecx, 0x65cc40
push eax
call fcn.00413a30
mov dword [ebp - 4], 2
push dword [eax]
push str._s_download_func_dlg
push esi
call fcn.00408c40
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x481f39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.KDownloadFuncDlg_GetClassName
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3
Function at 0x4821d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d76e5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00451de0
push 0x5b
push dword [0x6595b4]
call dword [sym.imp.USER32.dll_LoadIconW]
push 6
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x63c328
mov esi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00409200
push ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00416320
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x482287
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48227d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482387
push edx
push ecx
call fcn.00483ac4
add esp, 8
push 0xc
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x63c330
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00409200
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00416320
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x48230c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x482302
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48238c
push edx
push ecx
call fcn.00483ac4
add esp, 8
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], 0
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
mov ecx, dword [edi + 4]
push eax
push esi
push 0x67
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0044b440
add esp, 0x10
test eax, eax
jne 0x48235c
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [edi + 4]
call esi
push 0
push dword [edi + 4]
call esi
lea ecx, [ebp - 0x58]
call fcn.00408a60
lea ecx, [ebp - 0x70]
call fcn.00408a60
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.00483ab6
mov esp, ebp
pop ebp
ret
call fcn.005a90ce
call fcn.005a90ce
int3
Function at 0x4823a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d772d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4825b2
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x3e9
push dword [edi + 4]
call esi
push 0x3ea
push dword [edi + 4]
call esi
cmp dword [edi + 0x4f4], 0
jne 0x48240e
mov eax, dword [ebp + 8]
mov dword [edi + 0x430], eax
jmp 0x482595
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x482577
cmp esi, 2
jne 0x482577
call fcn.00451de0
push 6
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x63c328
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00409200
push ecx
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00416320
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4824a6
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48249c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4825cf
push edx
push ecx
call fcn.00483ac4
add esp, 8
push 0xc
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push 0x63c360
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00409200
push ecx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00416320
mov edx, dword [ebp - 0x30]
add esp, 4
cmp edx, 0x10
jb 0x482527
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48251d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4825d4
push edx
push ecx
call fcn.00483ac4
add esp, 8
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x74]
mov edx, 0x67
cmovae ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], 8
push ecx
cmovae eax, dword [ebp - 0x74]
push ecx
mov ecx, dword [edi + 4]
push eax
call fcn.0044b650
add esp, 0xc
push 0
push 0x7d0
push 0x3ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x5c]
call fcn.00408a60
lea ecx, [ebp - 0x74]
call fcn.00408a60
jmp 0x4825b2
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
mov edx, 0x67
call fcn.0044b5a0
mov dword [edi + 0x430], esi
push 0
push 0
push 0
mov dword [edi + 0x42c], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 4
call fcn.005a90ce
call fcn.005a90ce
int3
Function at 0x48df90
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x64c00c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x48e05b
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.004acdf0
add esp, 0xc
test eax, eax
jne 0x48e05b
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.004acdf0
add esp, 0xc
test eax, eax
jne 0x48e05b
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x48dfe4
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.004acdc0
add esp, 0xc
test eax, eax
je 0x48e018
sub eax, esi
push eax
push 0x2e
push esi
call fcn.004acdc0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x48e01a
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x48e046
mov al, byte [esi]
push eax
call fcn.0049cf80
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x48e028
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00483ab6
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00483ab6
add esp, 0x18
ret
Function at 0x498990
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp byte [edi + 0x712], 0
je 0x498a27
cmp dword [edi + 0x1b0], 0
je 0x4989e1
push esi
push 1
push edi
call fcn.004894a0
push dword [edi + 0x14c]
mov eax, dword [edi + 0x1b0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.004894a0
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov edx, dword [esp + 0xc]
mov ecx, edx
sub ecx, 0
je 0x4989f6
sub ecx, 1
je 0x4989f6
sub ecx, 1
jne 0x498a27
push dword [edi + 0x148]
lea eax, [edx*2 + 0x5dabc8]
push 1
add eax, edx
push 2
push eax
call fcn.005b3a5b
push dword [edi + 0x148]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.005b3a5b
add esp, 0x20
xor eax, eax
pop edi
ret

Function at 0x499000
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov eax, dword [0x64c00c]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 4], eax
xor eax, eax
mov ecx, dword [ebx + 0xc]
push ebp
push esi
mov esi, 0x170
mov edx, dword [ecx + 0x14c]
cmp dword [esp + 0x120], edx
push edi
sete al
lea eax, [eax*4 + 0x148]
mov ebp, dword [eax + ecx]
mov eax, 0x180
cmove esi, eax
mov eax, dword [ecx + 0x290]
add esi, ecx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x44], 3
je 0x499103
xor eax, eax
cmp dword [esp + 0x124], edx
sete al
lea eax, [eax*4 + 0x160]
cmp dword [eax + ecx], 0x498cc0
jne 0x499103
cmp dword [esi], 0
je 0x49909e
test edi, edi
je 0x499103
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.004a9130
add esp, 0x14
cmp eax, 0xffffffff
je 0x499103
test al, 1
je 0x499103
mov ecx, dword [esi]
test ecx, ecx
jne 0x4990ec
mov eax, dword [ebx + 0x4e0]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x64c024]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
test ecx, ecx
je 0x499137
mov edi, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x499103
add dword [esi + 8], eax
push 0
push dword [esp + 0x130]
push dword [esp + 0x1c]
push ebp
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
jne 0x499172
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x499148
xor edi, edi
lea eax, [edi + 0x51]
jmp 0x499172
mov ecx, dword [esp + 0x10]
mov eax, 0x1b
mov dword [ecx], 0xffffffff
jmp 0x499178
push 0x100
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004ac1a0
push eax
push str.Send_failure:__s
push ebx
call fcn.00498a30
add esp, 0x18
mov dword [ebx + 0x964], esi
mov eax, 0x37
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00483ab6
add esp, 0x10c
ret
Function at 0x499550
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
cmp byte [eax + 0x19c], 0
je 0x49956d
push eax
call fcn.00492570
add esp, 4
test eax, eax
jne 0x49958c
xor al, al
ret
mov eax, dword [eax + 0x148]
cmp eax, 0xffffffff
je 0x49956a
push 2
push 1
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x49956a
mov al, 1
ret

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

Disassembly:
sub esp, 0x188
mov eax, dword [0x64c00c]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
mov ebx, dword [esp + 0x190]
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [esp + 0x1a4]
push 0x80
push 0
push eax
mov dword [esp + 0x18], 0x80
call fcn.005a52f0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1a4]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x499867
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.004ac1a0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x4998a7
push edi
push esi
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
call fcn.004993f0
add esp, 0x10
test al, al
jne 0x4998b0
call fcn.005a91e6
mov esi, dword [eax]
call fcn.005a91e6
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.004ac1a0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00498a30
add esp, 0x1c
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00483ab6
add esp, 0x188
ret