joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55ad00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
movzx eax, word [ebp + 8]
push 0x66cf58
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x55ad2f
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x55ad8d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x55ad8d
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x55ad74
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x55ad98
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
push eax
call fcn.00602090
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x55ade6
mov edx, dword [ebp - 4]
push eax
push edx
call fcn.00558810
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add esp, 8
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x55d9f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x633c50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6bc858]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 8]
mov dword [esi], vtable.CXCToolBar.0
mov dword [ebp - 0x14], edi
mov dword [edi], ebx
push 8
mov byte [ebp - 4], 1
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x55da8c
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0x18
mov dword [esi + 0x28], 0x96
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 1
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 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.006009e0
int3

Function at 0x55fec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movzx ecx, word [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x55feee
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x55ff4c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x55ff4c
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x55ff33
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x55ff57
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
push eax
call fcn.00602090
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x55ffa5
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00558810
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add esp, 8
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x560740
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x6c23a0], 0
jne 0x560764
call fcn.00560890
test eax, eax
jne 0x560764
jmp 0x560842
cmp dword [0x6c23a0], 1
jne 0x560799
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x560791
jmp 0x560842
mov eax, dword [ebp - 8]
jmp 0x560844
mov eax, dword [0x6c23a0]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5607b6
mov eax, dword [ebp - 8]
jmp 0x560844
push 0x40
push 0x1000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5607d7
jmp 0x560842
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [0x6c23a0]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x56080a
push 0x8000
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 8]
jmp 0x560844
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 0xff0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x6c23a0]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
mov eax, dword [ebp - 8]
add eax, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jb 0x56081b
mov eax, dword [ebp - 8]
jmp 0x560844
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x578980
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
push 0x98
call fcn.005f12b0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x578a28
push 0x98
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.005ff630
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
push 0x14
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00578fa0
add esp, 0x1c
cmp dword [0x6c2858], 0
je 0x578a23
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [0x6c2858]
cmp esi, esp
call fcn.00605df0
test eax, eax
jne 0x578a23
mov esi, esp
push 0
push 0x651168
push str.code:0012
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.00605df0
push 0
call main
xor eax, eax
jmp 0x578a2a
mov eax, dword [ebp - 4]
jmp 0x578a2a
xor eax, eax
pop esi
add esp, 4
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret 0x14
Function at 0x57b150
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x57b2e0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x57b1de
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x18], edx
mov esi, esp
push 0xf
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
call edx
cmp esi, esp
call fcn.00605df0
test eax, eax
je 0x57b1dc
jmp 0x57b2e0
jmp 0x57b1ff
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
call eax
cmp esi, esp
call fcn.00605df0
test eax, eax
je 0x57b1ff
jmp 0x57b2e0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005a7700
mov edx, dword [ebp + 8]
push edx
call fcn.0059ae30
test eax, eax
jne 0x57b23e
mov esi, esp
push 0
push 0x651ac8
push str.code:0004
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.00605df0
push 0
call main
jmp 0x57b2e0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xc]
je 0x57b27a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x70]
je 0x57b27a
mov esi, esp
push 0
push 0x651af8
push str.code:0005
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.00605df0
push 0
call main
jmp 0x57b2e0
cmp dword [ebp + 8], 0
je 0x57b2a1
mov esi, esp
push 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp esi, esp
call fcn.00605df0
test eax, eax
jne 0x57b2a1
mov edx, dword [ebp + 8]
cmp dword [edx], 0x14
je 0x57b2d2
push 0x651b28
call fcn.005ab610
add esp, 4
mov esi, esp
push 0
push 0x651bb0
push str.code:0006
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.00605df0
push 0
call main
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x57b187
push edx
mov ecx, ebp
push eax
lea edx, [0x57b304]
call fcn.00605e20
pop eax
pop edx
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret
Function at 0x583b80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
push 0x154
call fcn.005f12b0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x583c54
push 0x154
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.005ff630
add esp, 0xc
push 1
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, dword [ebp + 0x18]
push ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00583d10
add esp, 0x30
test eax, eax
jne 0x583c0c
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.005f0cb0
add esp, 4
xor eax, eax
jmp 0x583c57
cmp dword [0x6c2854], 0
je 0x583c54
mov esi, esp
mov edx, dword [ebp - 4]
push edx
call dword [0x6c2854]
cmp esi, esp
call fcn.00605df0
test eax, eax
jne 0x583c54
mov esi, esp
push 0
push 0x653ffc
push str.code:0011
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.00605df0
push 0
call main
xor eax, eax
jmp 0x583c57
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x589230
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
push str.XWnd_GetWindowText
mov eax, dword [ebp + 8]
push eax
call fcn.005cad10
add esp, 8
mov esi, esp
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp esi, esp
call fcn.00605df0
pop esi
cmp ebp, esp
call fcn.00605df0
pop ebp
ret 0xc
Function at 0x5aadd0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
lea edi, [ebp - 0x58]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x3c], 0x30
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], 0x5ab330
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov esi, esp
push 0x82
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0x24], eax
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x657074
mov esi, esp
push 0x6c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0x10], eax
mov esi, esp
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExW]
cmp esi, esp
call fcn.00605df0
movzx edx, ax
test edx, edx
jne 0x5aaeb3
xor eax, eax
jmp 0x5aafe1
mov esi, esp
push str.HTML_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
cmp esi, esp
call fcn.00605df0
mov dword [0x6c3040], eax
mov esi, esp
push str.XCGUI_RichEdit_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
cmp esi, esp
call fcn.00605df0
mov dword [0x6c303c], eax
call fcn.005cddf0
push 0
push 0
push 0
lea ecx, [ebp - 0x54]
call fcn.005ab800
push 0
lea eax, [ebp - 0x54]
push eax
push 0x6c2860
call sub.gdiplus.dll_GdiplusStartup
cmp dword [0x6c284c], 0
je 0x5aaf4f
mov esi, esp
call dword [0x6c284c]
cmp esi, esp
call fcn.00605df0
test eax, eax
jne 0x5aaf4f
mov esi, esp
push 0
push 0x6570c4
push str.code:0009
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.00605df0
push 0
call main
xor eax, eax
jmp 0x5aafe1
mov esi, esp
push 0x6c2824
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0x6c280c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0x6c27f4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0x6c27dc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0
push 0
push 0
push 0x59c3c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.00605df0
mov dword [0x6c2840], eax
cmp dword [0x6c2840], 0
jne 0x5aafdc
push 0x6570f4
call fcn.005ab610
add esp, 4
xor eax, eax
jmp 0x5aafe1
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x5ab004]
call fcn.00605e20
pop eax
pop edx
pop edi
pop esi
add esp, 0x58
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret 4
Function at 0x5ab100
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x6c2860]
push eax
call sub.gdiplus.dll_GdiplusShutdown
call fcn.005ce5d0
call fcn.005d8850
test eax, eax
jle 0x5ab13a
call fcn.005d87d0
cmp dword [0x6c2840], 0
je 0x5ab163
mov esi, esp
mov ecx, dword [0x6c2840]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00605df0
mov dword [0x6c2840], 0
mov esi, esp
push 0x6c2824
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, esp
call fcn.00605df0
cmp dword [0x6c283c], 0
je 0x5ab1df
mov edx, dword [0x6c283c]
push edx
call fcn.005cc9c0
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x5ab1a1
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jge 0x5ab1c9
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x6c283c]
push eax
call fcn.005cc970
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005f1260
add esp, 4
jmp 0x5ab198
mov edx, dword [0x6c283c]
push edx
call fcn.005cbd90
mov dword [0x6c283c], 0
mov esi, esp
push 0x6c2824
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0x6c280c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, esp
call fcn.00605df0
cmp dword [0x6c2844], 0
je 0x5ab225
mov eax, dword [0x6c2844]
push eax
call fcn.005cbd90
mov dword [0x6c2844], 0
mov esi, esp
push 0x6c280c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0x6c27f4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, esp
call fcn.00605df0
cmp dword [0x6c2848], 0
je 0x5ab26c
mov ecx, dword [0x6c2848]
push ecx
call fcn.005cbd90
mov dword [0x6c2848], 0
mov esi, esp
push 0x6c27f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0x6c2824
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0x6c280c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0x6c27f4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp esi, esp
call fcn.00605df0
mov esi, esp
push 0x6c27dc
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp esi, esp
call fcn.00605df0
cmp dword [0x6c2850], 0
je 0x5ab312
mov esi, esp
call dword [0x6c2850]
cmp esi, esp
call fcn.00605df0
test eax, eax
jne 0x5ab312
mov esi, esp
push 0
push str.WiFi__
push str.code:0010
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.00605df0
push 0
call main
jmp 0x5ab31c
push 0x21
call fcn.005f3130
add esp, 4
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret
Function at 0x5ab610
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
lea edi, [ebp - 0x410]
mov ecx, 0x104
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x40c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x40b]
push eax
call fcn.005ff630
add esp, 0xc
lea ecx, [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
push 0xffffffffffffffff
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
call fcn.005fb810
add esp, 0x14
mov dword [ebp - 8], 0
mov esi, esp
lea edx, [ebp - 0x40c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00605df0
push edx
mov ecx, ebp
push eax
lea edx, [0x5ab6c4]
call fcn.00605e20
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f0da0
add esp, 0x410
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret

Function at 0x5ab6f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push esi
push edi
lea edi, [ebp - 0x810]
mov ecx, 0x204
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x80c], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80a]
push ecx
call fcn.005ff630
add esp, 0xc
lea edx, [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0xffffffffffffffff
push 0x400
lea edx, [ebp - 0x80c]
push edx
call fcn.005fff80
add esp, 0x14
mov dword [ebp - 8], 0
mov esi, esp
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.00605df0
push edx
mov ecx, ebp
push eax
lea edx, [0x5ab7a8]
call fcn.00605e20
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f0da0
add esp, 0x810
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret
Function at 0x5b72f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push str.XEdit_Menu_Copy
mov eax, dword [ebp + 8]
push eax
call fcn.005caf80
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.005b6600
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5b7336
jmp 0x5b7410
mov edx, dword [ebp - 4]
push edx
call fcn.005cd660
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call fcn.005cd630
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
mov esi, esp
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp esi, esp
call fcn.00605df0
test eax, eax
je 0x5b7407
mov esi, esp
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp esi, esp
call fcn.00605df0
mov ecx, dword [ebp - 8]
lea edx, [ecx + ecx + 2]
mov esi, esp
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0x10], eax
mov esi, esp
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040ec80
add esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov word [eax + edx*2], cx
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, esp
call fcn.00605df0
mov esi, esp
mov edx, dword [ebp - 0x10]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp esi, esp
call fcn.00605df0
mov esi, esp
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, esp
call fcn.00605df0
mov eax, dword [ebp - 4]
push eax
call fcn.005ccd00
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret 4
Function at 0x5b7430
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push str.XEdit_Menu_Paste
mov eax, dword [ebp + 8]
push eax
call fcn.005caf80
add esp, 8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xfc], 0
je 0x5b746d
jmp 0x5b7591
mov edx, dword [ebp + 8]
push edx
call fcn.005b67a0
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov esi, esp
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp esi, esp
call fcn.00605df0
test eax, eax
jne 0x5b749e
jmp 0x5b7591
mov esi, esp
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5b74bd
jmp 0x5b7591
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5b74de
jmp 0x5b7591
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00600eb0
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x15c], 0xffffffff
je 0x5b7527
mov eax, dword [ebp + 8]
push eax
call fcn.005b5e80
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x15c]
jle 0x5b7527
mov esi, esp
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, esp
call fcn.00605df0
jmp 0x5b7591
cmp dword [ebp - 0x10], 0
jle 0x5b756f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x118]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x110]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005b5c50
add esp, 0x10
test eax, eax
jne 0x5b755b
cmp dword [ebp - 4], 0
je 0x5b756f
push 1
push 0
push 0
push 0x52
mov eax, dword [ebp + 8]
push eax
call fcn.005820a0
add esp, 0x14
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, esp
call fcn.00605df0
mov esi, esp
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, esp
call fcn.00605df0
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret 4