joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407880
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x78]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
js 0x407a0f
cmp ebx, 0x14
jge 0x407a0f
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4078ba
mov ecx, esi
jmp 0x407a09
mov esi, dword [ebp + 0x10]
imul ecx, ebx, 0x70
mov edx, dword [esi + 0x20]
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0x2024]
add ecx, eax
mov dword [esi + 0x2024], ecx
cmp ecx, edx
jl 0x4079a8
mov eax, dword [esi + 0x12028]
test eax, eax
jg 0x4078fd
push edi
mov dword [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [esi + 0x2028]
lea ecx, [esi + 0x24]
cmp eax, 0x2000
jle 0x407972
push 0x2000
push edx
push ecx
call fcn.00409ce0
lea eax, [esi + 0x24]
mov dword [esi + 0x14], 0x2000
mov dword [esi + 0x18], eax
add esp, 0xc
mov eax, dword [esi + 0x12028]
sub eax, 0x2000
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], 0x2000
push eax
lea eax, [esi + 0x4028]
mov dword [esi + 0x2024], 0
push eax
lea eax, [esi + 0x2028]
push eax
call fcn.00409ce0
add esp, 0xc
lea eax, [esi + 0x14]
sub dword [esi + 0x12028], 0x2000
jmp 0x4079be
push eax
push edx
push ecx
call fcn.00409ce0
lea eax, [esi + 0x24]
mov dword [esi + 0x2024], 0
mov dword [esi + 0x18], eax
add esp, 0xc
mov eax, dword [esi + 0x12028]
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x12028], 0
jmp 0x4079b7
lea eax, [esi + 0x24]
add eax, ecx
sub edx, ecx
mov dword [esi + 0x18], eax
lea eax, [esi + 0x14]
mov dword [eax], edx
mov dword [esi + 0x1c], 1
push 0
push esi
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push 1
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x430434]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x407a0f
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x3e5
je 0x407a0f
call esi
push eax
push str._SocketTCP__WSASend___failed_with_error:__d
push 1
call fcn.00408230
mov ecx, dword [ebp - 4]
add esp, 0xc
push ebx
call fcn.004076d0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408170
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov dword [esi], vtable.CSocketManagerUdp.0
test eax, eax
je 0x40819c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4081b2
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
test byte [ebp + 8], 1
je 0x4081c6
push 0x2024
push esi
call fcn.00408626
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x4081d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x42b040]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0040a260
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x104]
call fcn.004083f0
add esp, 0x10
lea eax, [ebp - 0x104]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4093eb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40942a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40942a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40942a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40942a
cmp dword [ecx + 0x74], 0xe
jbe 0x40942a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4157ac
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423d58
push 0x423d50
push str.FlsAlloc
push 0x1f
call fcn.0041566b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4157e0
push dword [ebp + 8]
mov ecx, esi
call dword [0x420274]
call esi
jmp 0x4157e6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41582a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423d68
push 0x423d60
push str.FlsGetValue
push 0x21
call fcn.0041566b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415861
push dword [ebp + 8]
mov ecx, esi
call dword [0x420274]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x415869
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.SunMonTueWedThuFriSat
push 0x423d68
push str.FlsSetValue
push 0x22
call fcn.0041566b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4158a3
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x420274]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x418780
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41881d
push ebx
push esi
call fcn.00418749
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041770f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4187ca
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41881c
push edi
push eax
call fcn.00413f55
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4187ea
call fcn.00413f1b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41881b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041770f
add esp, 0x20
test eax, eax
jne 0x418809
push edi
call fcn.00413f1b
jmp 0x418811
push ebx
call fcn.00413f1b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x418820
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x418831
pop esi
ret
push ebx
push edi
push esi
call fcn.00418749
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00413f55
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x418859
push ebx
push esi
push edi
call fcn.00409ce0
add esp, 0xc
push 0
call fcn.00413f1b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x418c29
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041886e
Function at 0x41efe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f00d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f00d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x401099
jmp 0x401040
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm1, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm0, mm1
punpckhwd mm5, mm6
paddd mm4, mm4
paddd mm3, mm5
paddd mm3, mm4
movq qword [edi - 0x10], mm0
add esi, 8
sub eax, 4
movq qword [edi - 8], mm3
jge 0x401040
add eax, 4
jle 0x4010ce
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add edx, edx
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x40109f
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x64f9b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x64fa49
jmp 0x64f9f0
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm1, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm0, mm1
punpckhwd mm5, mm6
paddd mm4, mm4
paddd mm3, mm5
paddd mm3, mm4
movq qword [edi - 0x10], mm0
add esi, 8
sub eax, 4
movq qword [edi - 8], mm3
jge 0x64f9f0
add eax, 4
jle 0x64fa7e
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add edx, edx
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x64fa4f
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret
Function at 0x725771
Capabilities:
Encode data using xor

Disassembly:
or al, 0xb
fild dword [edi]
mov ebx, 0xe7eb8737
wait
xor dword [0x1c66ec0e], edi
xchg esi, eax
inc esi
sub dl, byte [esi - 0x3b]
sbb al, 0xd9
invalid
dec ebx
xor dword [ebx], esi
inc esi
push edi
push ss
jnp 0x725740
push esi
cwde
sbb dword [edi + esi*2 - 0x7a], ecx
cmp esp, dword [esi - 0x79691b29]
out 0xc0, eax
clc
cmc
xchg edi, esi
mov word [edi + esi*8], ss
out dx, al
pop es
sub ebx, dword [edx]
loop 0x725813
jecxz 0x725777
test dword [ebp + 0x3598526], 0x1654f34c
and edi, eax
jbe 0x72577f
jmp 0x69bfc12f
retf
or ebp, dword [edi + 0x22]
clc
mov ch, 0x91
fsubr qword [edx - 0x23317c19]
xchg ecx, eax
xor eax, 0x27430e78
push 0xffffffffffffffd7
xor al, 0xa3
inc eax
mov edi, 0xc6688b5c
and eax, 0xcd2ed132
sbb bh, cl
cmc
push ss
and dword [edx - 0x63], 0xe44aa97e
pop es
adc bl, dh
or al, 0xef
cmp bl, bl
sal byte [ecx], cl
cmpsb byte [esi], byte es:[edi]
inc ebp
mov edx, 0xc36d8e59
and byte [edi], dh
aam 0x2b
enter 0xfffffffffffffc1f, 0xfffffffffffffff0
adc eax, dword [edi + 0x4fac7b98]
loope 0x725862
adc eax, 0x3dea09f6
ficomp word [edi + edi*2 + 0x17f40be8]
or edx, ebp
cmp eax, 0xe87f9cde
or esi, esp
pop ss
shl byte [ebx], 0x8d
outsb dx, byte [esi]
jns 0x72580c
xchg byte gs:[ecx - 0x4e], dl
mov esi, 0xd629ca5d
xor eax, 0x4caf01e2
pop ebx
mov eax, 0x9073a447
cdq
jp 0x725876
push cs
int1
adc al, ch
mov byte es:[ebx + 0x7c], ch
lahf
pushal
adc dword [edi + esi*4 - 0x45], 0x58
iretd
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f004]
jne 0x401010
repz ret
jmp fcn.004016fa

Function at 0x405698
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040305b
and dword [ebp - 4], 0
cmp dword [0x440fd8], 0
mov ebx, eax
jne 0x405749
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4057fa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4057fa
push eax
call fcn.00402fe9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x440fd8], eax
call esi
push eax
call fcn.00402fe9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x440fdc], eax
call esi
push eax
call fcn.00402fe9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x440fe0], eax
call esi
push eax
call fcn.00402fe9
pop ecx
mov dword [0x440fe8], eax
test eax, eax
je 0x405749
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402fe9
pop ecx
mov dword [0x440fe4], eax
mov eax, dword [0x440fe4]
cmp eax, ebx
je 0x4057a1
cmp dword [0x440fe8], ebx
je 0x4057a1
push eax
call fcn.00403064
push dword [0x440fe8]
mov esi, eax
call fcn.00403064
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4057a1
test edi, edi
je 0x4057a1
call esi
test eax, eax
je 0x405798
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405798
test byte [ebp - 0xc], 1
jne 0x4057a1
or dword [ebp + 0x10], 0x200000
jmp 0x4057da
mov eax, dword [0x440fdc]
cmp eax, ebx
je 0x4057da
push eax
call fcn.00403064
pop ecx
test eax, eax
je 0x4057da
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4057da
mov eax, dword [0x440fe0]
cmp eax, ebx
je 0x4057da
push eax
call fcn.00403064
pop ecx
test eax, eax
je 0x4057da
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x440fd8]
call fcn.00403064
pop ecx
test eax, eax
je 0x4057fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4057fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437c60
Capabilities:
Get hostname

Disassembly:
sub esp, 0x414
mov eax, dword [0x43f004]
xor eax, esp
mov dword [esp + 0x410], eax
cmp edi, 0x182
jne 0x437c96
push 0
push 0
push 0
push str.rijetinibahelohahuluru
push str.mifehiduwacirutadalorimadiwim
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
jmp 0x437cc0
cmp edi, 0x19f
jne 0x437cc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push esi
xor esi, esi
test edi, edi
jle 0x437d42
jmp 0x437cd0
lea ecx, [esp + 0xc]
mov dword [esp + 4], 5
mov dword [esp + 0xc], 0
call fcn.00437c50
mov eax, dword [esp + 0xc]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
movsx eax, byte [ebx + esi]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
xor dword [esp + 8], eax
mov cl, byte [esp + 8]
mov byte [ebx + esi], cl
cmp edi, 0xf
jne 0x437d3d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x437cd0
pop esi
cmp edi, 0x2d
jne 0x437d5c
mov dword [0x2b3f200], 0xa62e7790
mov dword [0x2b3f204], 0xffffffff
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00401006
add esp, 0x414
ret
Function at 0x9b2725
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9b274c
call fcn.00954c18
mov dword [eax], esi
call fcn.00954c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0095585a
mov eax, esi
jmp 0x9b27a1
test dword [ebp + 0xc], 0xfffffff9
jne 0x9b2732
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9b2779
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00954c2b
pop ecx
call fcn.00954c05
mov eax, dword [eax]
jmp 0x9b27a1
test al, 0x10
jne 0x9b279f
test al, 1
je 0x9b279f
test byte [ebp + 0xc], 2
je 0x9b279f
call fcn.00954c18
mov dword [eax], 5
call fcn.00954c05
mov dword [eax], 0xd
jmp 0x9b2770
xor eax, eax
pop esi
pop ebp
ret

Function at 0x43b635
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
add ebx, 0x2f78db1d
mov eax, 0x821a30a2
call fcn.0043b664
sub eax, 1
xor dword [esi], edx
sub ebx, ebx
inc esi
sub ebx, eax
cmp esi, edi
jne fcn.0043b635
mov eax, ebx
ret
Function at 0x460beb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x460bf9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x4c6489
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c6070

Function at 0x4c6494
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c61fa

Function at 0x4cbb6a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cb522

Function at 0x4cbf04
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cbdd8

Function at 0x1000101a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10001024
repz ret
jmp fcn.10001277

Function at 0x10006458
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100013ef
and dword [ebp - 4], 0
cmp dword [0x1000b5e8], 0
mov ebx, eax
jne 0x10006509
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100065ba
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100065ba
push eax
call fcn.1000137d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000b5e8], eax
call esi
push eax
call fcn.1000137d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000b5ec], eax
call esi
push eax
call fcn.1000137d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000b5f0], eax
call esi
push eax
call fcn.1000137d
pop ecx
mov dword [0x1000b5f8], eax
test eax, eax
je 0x10006509
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000137d
pop ecx
mov dword [0x1000b5f4], eax
mov eax, dword [0x1000b5f4]
cmp eax, ebx
je 0x10006561
cmp dword [0x1000b5f8], ebx
je 0x10006561
push eax
call fcn.100013f8
push dword [0x1000b5f8]
mov esi, eax
call fcn.100013f8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10006561
test edi, edi
je 0x10006561
call esi
test eax, eax
je 0x10006558
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10006558
test byte [ebp - 0xc], 1
jne 0x10006561
or dword [ebp + 0x10], 0x200000
jmp 0x1000659a
mov eax, dword [0x1000b5ec]
cmp eax, ebx
je 0x1000659a
push eax
call fcn.100013f8
pop ecx
test eax, eax
je 0x1000659a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000659a
mov eax, dword [0x1000b5f0]
cmp eax, ebx
je 0x1000659a
push eax
call fcn.100013f8
pop ecx
test eax, eax
je 0x1000659a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000b5e8]
call fcn.100013f8
pop ecx
test eax, eax
je 0x100065ba
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100065bc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6d60cefa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x6d60cf5a
jmp 0x6d60cfa9
jmp 0x6d60cff8
jmp 0x6d60d047
jmp 0x6d60d096
jmp 0x6d60d0e5
jmp 0x6d60d134
jmp 0x6d60d183
jmp 0x6d60d1d2
jmp 0x6d60d221
jmp 0x6d60d270
jmp 0x6d60d2bf
jmp 0x6d60d30e
jmp 0x6d60d35d
jmp 0x6d60d3ac
jmp 0x6d60d3fb
jmp 0x6d60d44a
jmp 0x6d60d499
jmp 0x6d60d4e8
jmp 0x6d60d537
jmp 0x6d60d586
jmp 0x6d60d5d5
jmp 0x6d60d624
jmp 0x6d60d673
jmp 0x6d60d6c2
jmp 0x6d60d711
jmp 0x6d60d760
jmp 0x6d60d7af
jmp 0x6d60d7fe
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x6d60d853
jmp 0x6d60d8a2
jmp 0x6d60d8f1
jmp 0x6d60d940
jmp 0x6d60d98f
jmp 0x6d60d9de
jmp 0x6d60da2d
jmp 0x6d60da7c
jmp 0x6d60dacb
jmp 0x6d60db1a
jmp 0x6d60db69
jmp 0x6d60dbb8
jmp 0x6d60dc07
jmp 0x6d60dc56
jmp 0x6d60dca5
jmp 0x6d60dcf4
jmp 0x6d60dd43
jmp 0x6d60dd92
jmp 0x6d60dde1
jmp 0x6d60de30
jmp 0x6d60de7f
jmp 0x6d60dece
jmp 0x6d60df1d
jmp 0x6d60df6c
jmp 0x6d60dfbb
jmp 0x6d60e00a
jmp 0x6d60e059
jmp 0x6d60e0a8
jmp 0x6d60e0f7
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x20], eax
jmp 0x6d60e160
jmp 0x6d60e1af
jmp 0x6d60e1fe
jmp 0x6d60e24d
jmp 0x6d60e29c
jmp 0x6d60e2eb
jmp 0x6d60e33a
jmp 0x6d60e389
jmp 0x6d60e3d8
jmp 0x6d60e427
jmp 0x6d60e476
jmp 0x6d60e4c5
jmp 0x6d60e514
jmp 0x6d60e563
jmp 0x6d60e5b2
jmp 0x6d60e601
jmp 0x6d60e650
jmp 0x6d60e69f
jmp 0x6d60e6ee
jmp 0x6d60e73d
jmp 0x6d60e78c
jmp 0x6d60e7db
jmp 0x6d60e82a
jmp 0x6d60e879
jmp 0x6d60e8c8
jmp 0x6d60e917
jmp 0x6d60e966
jmp 0x6d60e9b5
jmp 0x6d60ea04
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov dword [ebp - 0x24], eax
jmp 0x6d60ea5c
jmp 0x6d60eaab
jmp 0x6d60eafa
jmp 0x6d60eb49
jmp 0x6d60eb98
jmp 0x6d60ebe7
jmp 0x6d60ec36
jmp 0x6d60ec85
jmp 0x6d60ecd4
jmp 0x6d60ed23
jmp 0x6d60ed72
jmp 0x6d60edc1
jmp 0x6d60ee10
jmp 0x6d60ee5f
jmp 0x6d60eeae
jmp 0x6d60eefd
jmp 0x6d60ef4c
jmp 0x6d60ef9b
jmp 0x6d60efea
jmp 0x6d60f039
jmp 0x6d60f088
jmp 0x6d60f0d7
jmp 0x6d60f126
jmp 0x6d60f175
jmp 0x6d60f1c4
jmp 0x6d60f213
jmp 0x6d60f262
jmp 0x6d60f2b1
jmp 0x6d60f300
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x28], eax
jmp 0x6d60f368
jmp 0x6d60f3b7
jmp 0x6d60f406
jmp 0x6d60f455
jmp 0x6d60f4a4
jmp 0x6d60f4f3
jmp 0x6d60f542
jmp 0x6d60f591
jmp 0x6d60f5e0
jmp 0x6d60f62f
jmp 0x6d60f67e
jmp 0x6d60f6cd
jmp 0x6d60f71c
Function at 0x424e60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00425010
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x424f5e
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x424f01
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x424f44
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x424f18
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x424f33
test al, 0x40
je 0x424f2a
mov ecx, dword [edi + 0x20]
jmp 0x424f31
test al, 0x80
je 0x424f44
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x424f44
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x424ed0
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret