joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e04bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movsd xmm6, qword [0x598040]
xor edx, edx
movsd xmm5, qword [0x555b20]
movsd xmm7, qword [0x5945e8]
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
lea esi, [ebp - 8]
inc ecx
mov eax, ecx
xor eax, edx
cmp eax, 3
cmove eax, ecx
shl eax, 4
add eax, dword [ebp + 8]
inc ecx
mov dword [esi], eax
lea esi, [esi + 4]
cmp ecx, 3
jl 0x4e04e5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movsd xmm2, qword [edi + 8]
movsd xmm0, qword [edi]
subsd xmm2, qword [eax + 8]
movsd xmm3, qword [ecx]
movsd xmm4, qword [ecx + 8]
subsd xmm0, qword [eax]
subsd xmm3, qword [eax]
subsd xmm4, qword [eax + 8]
mulsd xmm2, xmm3
mulsd xmm0, xmm4
subsd xmm2, xmm0
movaps xmm0, xmm2
andpd xmm0, xmm5
comisd xmm7, xmm0
ja 0x4e058c
mov ecx, dword [ebp + 0xc]
xor esi, esi
cmp esi, 3
jge 0x4e05a1
movsd xmm1, qword [ecx + 8]
movsd xmm0, qword [ecx]
subsd xmm1, qword [eax + 8]
subsd xmm0, qword [eax]
mulsd xmm1, xmm3
mulsd xmm0, xmm4
subsd xmm1, xmm0
movaps xmm0, xmm1
mulsd xmm0, xmm2
comisd xmm0, xmmword [0x5ca5a0]
jbe 0x4e0586
andpd xmm1, xmm5
comisd xmm6, xmm1
jbe 0x4e058c
inc esi
add ecx, 0x10
jmp 0x4e0548
inc edx
add edi, 0x10
cmp edx, 3
jl 0x4e04df
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
jmp 0x4e059b

Function at 0x4e2503
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
movsd xmm6, qword [0x555b20]
xorps xmm5, xmm5
movsd xmm7, qword [0x5945e8]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
lea edx, [ebp - 0x10]
inc ecx
mov eax, ecx
xor eax, esi
shl eax, 4
add eax, dword [ebp + 8]
inc ecx
mov dword [edx], eax
lea edx, [edx + 4]
cmp ecx, 4
jl 0x4e2533
xor edx, edx
lea eax, [ebp - 0x10]
inc edx
mov dword [ebp - 0x18], eax
cmp edx, 4
jge 0x4e262b
mov ecx, dword [eax]
mov eax, edx
and dword [ebp - 0x14], 0
cmp edx, 3
cmove eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x10]
movsd xmm4, qword [eax]
subsd xmm4, qword [ecx]
movsd xmm3, qword [eax + 8]
subsd xmm3, qword [ecx + 8]
ucomisd xmm4, xmm5
lahf
test ah, 0x44
jp 0x4e2593
ucomisd xmm3, xmm5
lahf
test ah, 0x44
jnp 0x4e260e
movsd xmm2, qword [edi + 8]
movsd xmm0, qword [edi]
subsd xmm2, qword [ecx + 8]
subsd xmm0, qword [ecx]
mulsd xmm2, xmm4
mulsd xmm0, xmm3
subsd xmm2, xmm0
movaps xmm0, xmm2
andpd xmm0, xmm6
comisd xmm7, xmm0
ja 0x4e261a
and dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
movsd xmm1, qword [eax + 8]
movsd xmm0, qword [eax]
subsd xmm1, qword [ecx + 8]
subsd xmm0, qword [ecx]
mulsd xmm1, xmm4
mulsd xmm0, xmm3
subsd xmm1, xmm0
movaps xmm0, xmm1
mulsd xmm0, xmm2
comisd xmm0, xmm5
jbe 0x4e2602
movsd xmm0, qword [0x598040]
andpd xmm1, xmm6
comisd xmm0, xmm1
jbe 0x4e261a
inc dword [ebp - 0x14]
add eax, 0x10
cmp dword [ebp - 0x14], 4
jl 0x4e25c5
mov eax, dword [ebp - 0x18]
add eax, 4
inc edx
jmp 0x4e254e
inc esi
add edi, 0x10
cmp esi, 4
jl 0x4e252d
xor al, al
jmp 0x4e262d
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00527f3e
mov esp, ebp
pop ebp
ret
Function at 0x4e5914
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
mov ebx, eax
push esi
shr ebx, 4
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x4e594c
rol esi, 0xf
xor esi, dword [edi]
rol esi, 0xf
xor esi, dword [edi + 4]
rol esi, 0xf
xor esi, dword [edi + 8]
rol esi, 0xf
xor esi, dword [edi + 0xc]
add edi, 0x10
dec ebx
jne 0x4e592d
xor ecx, ecx
shr eax, 2
xor ebx, ebx
and eax, 3
lea eax, [edi + eax*4]
mov edx, eax
sub edx, edi
add edx, 3
shr edx, 2
cmp edi, eax
cmova edx, ebx
test edx, edx
je 0x4e5977
rol esi, 0xf
xor esi, dword [edi]
inc ecx
lea edi, [edi + 4]
cmp ecx, edx
jb 0x4e596a
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x540df5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0053301b
mov dword [ebp - 0x14], eax
cmp dword [0x5d80d8], esi
jne 0x540ee8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x540e75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x540fc8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x540fc8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x540fc8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x5d80d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5d80dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5d80e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5d80e8], eax
test eax, eax
je 0x540ee5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5d80e4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x540f0d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x540f00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x540f22
push 4
pop eax
jmp 0x540fca
cmp dword [ebp - 0x14], esi
je 0x540f22
push dword [0x5d80d8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x540f07
mov eax, dword [0x5d80e4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x540f80
cmp dword [0x5d80e8], edi
je 0x540f80
push eax
call ebx
push dword [0x5d80e8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x540f80
test eax, eax
je 0x540f80
call ecx
test eax, eax
je 0x540f75
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x540f75
test byte [ebp - 8], 1
jne 0x540f80
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x540fb0
mov eax, dword [0x5d80dc]
cmp eax, edi
je 0x540fad
push eax
call ebx
test eax, eax
je 0x540fad
call eax
mov esi, eax
test esi, esi
je 0x540fad
mov eax, dword [0x5d80e0]
cmp eax, edi
je 0x540fad
push eax
call ebx
test eax, eax
je 0x540fad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5d80d8]
call ebx
test eax, eax
je 0x540fc8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x540fca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00527f3e
mov esp, ebp
pop ebp
ret
Function at 0x4015e3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x40a008]
je 0x4015fe
inc edi
cmp edi, 0x17
jb 0x4015ef
cmp edi, 0x17
jae 0x40177e
push ebp
push 3
call fcn.00403680
cmp eax, 1
pop ecx
je 0x40174a
push 3
call fcn.00403680
test eax, eax
pop ecx
jne 0x401632
cmp dword [section..data], 1
je 0x40174a
cmp ebx, 0xfc
je 0x40177d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x40ad18
push ebp
call fcn.0040361b
add esp, 0xc
test eax, eax
je 0x401668
push esi
push esi
push esi
push esi
push esi
call fcn.00402b75
add esp, 0x14
push 0x104
mov esi, 0x40ad31
push esi
push 0
mov byte [0x40ae35], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4016ac
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040361b
add esp, 0xc
test eax, eax
je 0x4016ac
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402b75
add esp, 0x14
push esi
call fcn.00403590
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4016f1
push esi
call fcn.00403590
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40b02c
push 0x4086e4
sub ecx, eax
push ecx
push eax
call fcn.004034d2
add esp, 0x14
test eax, eax
je 0x4016f1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00402b75
add esp, 0x14
jmp 0x4016f3
xor esi, esi
push 0x4086e0
push ebx
push ebp
call fcn.00403461
add esp, 0xc
test eax, eax
je 0x401713
push esi
push esi
push esi
push esi
push esi
call fcn.00402b75
add esp, 0x14
push dword [edi*8 + 0x40a00c]
push ebx
push ebp
call fcn.00403461
add esp, 0xc
test eax, eax
je 0x401735
push esi
push esi
push esi
push esi
push esi
call fcn.00402b75
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004032a4
add esp, 0xc
jmp 0x40177d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40177d
cmp ebp, 0xffffffff
je 0x40177d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40a00c]
push dword [esi]
call fcn.00403590
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4032a4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040214f
xor ebx, ebx
cmp dword [0x40b2d8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40337a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40345a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40345a
push eax
call fcn.004020e1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b2d8], eax
call esi
push eax
call fcn.004020e1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b2dc], eax
call esi
push eax
call fcn.004020e1
mov dword [0x40b2e0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401370
test eax, eax
pop ecx
pop ecx
je 0x403348
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402b75
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40337a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004020e1
cmp eax, ebx
pop ecx
mov dword [0x40b2e8], eax
je 0x40337a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004020e1
pop ecx
mov dword [0x40b2e4], eax
mov eax, dword [0x40b2e4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4033ff
cmp dword [0x40b2e8], ecx
je 0x4033ff
push eax
call fcn.00402158
push dword [0x40b2e8]
mov esi, eax
call fcn.00402158
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4033ff
cmp edi, ebx
je 0x4033ff
call esi
cmp eax, ebx
je 0x4033cc
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4033cc
test byte [ebp - 0x18], 1
jne 0x4033ff
lea eax, [ebp - 0x10]
push eax
call fcn.004013a7
test eax, eax
pop ecx
je 0x4033e7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402b75
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4033f6
or dword [ebp + 0x10], 0x200000
jmp 0x40343a
or dword [ebp + 0x10], 0x40000
jmp 0x40343a
mov eax, dword [0x40b2dc]
cmp eax, dword [ebp - 8]
je 0x40343a
push eax
call fcn.00402158
cmp eax, ebx
pop ecx
je 0x40343a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40343a
mov eax, dword [0x40b2e0]
cmp eax, dword [ebp - 8]
je 0x40343a
push eax
call fcn.00402158
cmp eax, ebx
pop ecx
je 0x40343a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b2d8]
call fcn.00402158
cmp eax, ebx
pop ecx
je 0x40345a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40345c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4051cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40aa68]
jne 0x4051d7
repz ret
jmp fcn.00406765
Function at 0x4014c5
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
mov edx, dword [0x437b24]
sub ecx, eax
mov eax, dword [0x437c28]
sub ecx, edx
mov esi, dword [0x437d14]
mov esi, 0x80
mov eax, dword [0x437ac0]
mov eax, 0x10
push eax
mov eax, 0x10
push eax
call sub.USER32.dll_GetWindow
mov edi, dword [0x437b7c]
mov eax, 0x9f
mov edi, 0x80
mov eax, dword [0x437bd8]
push dword [0x4379cc]
mov eax, dword [0x437bc4]
mov eax, 1
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x43797c]
sub eax, edx
mov esi, 0x80
mov edi, 8
push esi
push edx
call sub.USER32.dll_GetWindow
mov eax, dword [0x437d28]
sub eax, eax
or eax, dword [0x437adc]
mov ecx, 0x40
add eax, ecx
push eax
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437b40]
sub eax, eax
sub ecx, eax
add edx, eax
push 0x20
push dword [0x437ca0]
call sub.USER32.dll_GetWindow
mov ecx, dword [0x437c78]
mov si, 0x40
mov esi, dword [0x437b38]
sub eax, eax
mov eax, 0x4f
push eax
sub eax, edx
push eax
call sub.USER32.dll_GetWindow
add edx, dword [0x437a3c]
add edx, eax
mov edx, dword [0x437958]
sub ecx, esi
mov eax, dword [0x437a1c]
sub edi, eax
push edx
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437a48]
mov ax, 0x40
mov eax, dword [0x437978]
sub edi, eax
push edi
mov dword [0x437bbc], ecx
push 0xce
call sub.USER32.dll_GetWindow
mov eax, dword [0x437ba8]
mov ax, 2
mov di, 0xde
mov edi, dword [0x437b80]
add eax, eax
push dword [0x437964]
push ecx
call sub.USER32.dll_GetWindow
mov eax, dword [0x437984]
mov cx, 4
mov edi, dword [0x437c20]
add eax, eax
mov esi, dword [0x437958]
add edx, ecx
push 0x95
push dword [0x437988]
call sub.USER32.dll_GetWindow
mov eax, dword [0x437c38]
add ecx, eax
mov eax, dword [0x437ad0]
sbb eax, dword [0x437a4c]
add eax, ecx
mov eax, dword [0x437958]
push eax
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437d50]
mov edx, 1
mov eax, dword [0x437980]
mov eax, 8
add dword [0x437af8], eax
push 0x9c
push 0x6a
call sub.USER32.dll_GetWindow
mov ecx, dword [0x437ac4]
mov ax, 0x40
sub eax, edx
push edi
push dword [0x437cc0]
call sub.USER32.dll_GetWindow
mov eax, dword [0x437d50]
sub esi, edi
mov edx, dword [0x4379a8]
sub eax, eax
mov di, 0xc9
push edi
push 0x80
call sub.USER32.dll_GetWindow
mov edi, dword [0x437b74]
mov eax, 0x20
mov ecx, 4
mov ecx, dword [0x437b8c]
mov edi, 8
push 1
mov eax, dword [0x43798c]
add eax, esi
push eax
call sub.USER32.dll_GetWindow
mov esi, dword [0x437cdc]
add edi, esi
mov edi, dword [0x437b14]
push 1
push edx
call sub.USER32.dll_GetWindow
mov eax, dword [0x437af0]
add eax, eax
mov eax, dword [0x437b88]
mov eax, dword [0x437a24]
mov eax, 0x10
sub eax, edx
push eax
push dword [0x437d0c]
call sub.USER32.dll_GetWindow
mov eax, dword [0x4379dc]
mov esi, 0x40
or ecx, dword [0x4379ac]
mov eax, 0x92
mov ecx, dword [0x437a3c]
mov ax, 0x27
push eax
push eax
call sub.USER32.dll_GetWindow
sbb eax, dword [0x437d00]
mov si, 8
mov eax, dword [0x4379f0]
mov eax, dword [0x437d18]
push edi
mov eax, dword [0x437c1c]
push eax
call sub.USER32.dll_GetWindow
mov edi, dword [0x437984]
sub eax, esi
mov eax, dword [0x437ba4]
push 8
Function at 0x401749
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
mov dword [0x437c9c], edx
push dword [0x4379ec]
call sub.USER32.dll_GetWindow
mov esi, dword [0x437958]
sub eax, edx
mov esi, dword [0x437b3c]
mov di, 0x4b
mov edx, dword [0x437b48]
mov dword [0x437958], edx
push dword [0x437a90]
push edx
call sub.USER32.dll_GetWindow
mov ecx, dword [0x437958]
mov ax, 0x80

Function at 0x40178e
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
push eax
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x4379f4]
mov eax, 4
push esi
push esi
call sub.USER32.dll_GetWindow
mov edi, dword [0x437ce0]
mov ax, 0x1a
mov ecx, 4
mov eax, dword [0x437a90]
push edi
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437b98]
mov cx, 0x53
mov edx, dword [0x437b0c]
mov eax, dword [0x437c7c]
sub eax, eax
Function at 0x4017d7
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
push eax
push 0x7a
call sub.USER32.dll_GetWindow
mov eax, dword [0x4379e4]
mov eax, 0xd7
mov cx, 4
mov edi, dword [0x437ac4]
push dword [0x437c0c]
push 0x40
call sub.USER32.dll_GetWindow
mov eax, dword [0x437c10]
and ecx, edx
sub eax, eax
mov eax, dword [0x437d10]
push eax
push edi
call sub.USER32.dll_GetWindow
mov eax, dword [0x437c20]
mov edx, 0x7a
add ecx, eax
add eax, eax
mov eax, dword [0x437bd4]
add eax, esi
push eax
mov eax, dword [0x437d1c]
mov ax, 0xa8
push eax
call sub.USER32.dll_GetWindow
mov esi, dword [0x437958]
sub eax, eax
mov eax, dword [0x437d40]
push ecx
mov edx, dword [0x437b18]
push edx
call sub.USER32.dll_GetWindow
mov eax, dword [0x437b2c]
mov dx, 8
mov cx, 1
mov dword [0x437c18], eax
push 4
push 8
call sub.USER32.dll_GetWindow
mov eax, dword [0x437c88]
mov ecx, 0x40
mov eax, dword [0x437a4c]
mov edx, 0x8a
add esi, edi
push esi
push dword [0x437cf8]
call sub.USER32.dll_GetWindow
mov esi, dword [0x4379c8]
mov cx, 0x1c
mov dx, 1
push eax
push dword [0x437d28]
call sub.USER32.dll_GetWindow
mov edi, dword [0x437ab0]
mov ax, 0x31
mov eax, dword [0x437af0]
mov eax, 2
mov edx, dword [0x437cb4]
sub edx, edx
add edi, eax
push edi
mov esi, dword [0x437ccc]
push esi
call sub.USER32.dll_GetWindow
mov eax, dword [0x437b54]
mov cx, 0x10
mov eax, dword [0x437abc]
mov ax, 0xb5
mov eax, dword [0x43795c]
push eax
push eax
call sub.USER32.dll_GetWindow
mov edx, dword [0x437b90]
add edx, edi
mov edi, dword [0x437b74]
mov di, 0x9a
mov edi, dword [0x437bcc]
push edi
push edi
call sub.USER32.dll_GetWindow
adc edi, dword [0x437c5c]
sub esi, eax
mov edi, dword [0x437cb4]
mov eax, 0x52
mov eax, dword [0x437ad0]
add eax, ecx
push eax
sub ecx, eax
push ecx
call sub.USER32.dll_GetWindow
mov eax, dword [0x437a3c]
sub ecx, esi
xor eax, dword [0x437cb4]
mov ax, 0xd
mov eax, dword [0x437b30]
push eax
mov dword [0x437958], esi
push 0x10
call sub.USER32.dll_GetWindow
mov eax, dword [0x437b80]
mov cx, 0x80
sub edx, edx
mov eax, dword [0x437c60]
mov si, 0x20
mov edi, dword [0x437b9c]
add edi, edx
push edi
mov edi, dword [0x437bb4]
push edi
call sub.USER32.dll_GetWindow
mov eax, dword [0x4379fc]
mov ax, 2
mov eax, dword [0x437c1c]
mov di, 0x11
sub edx, dword [0x4379e4]
push esi
mov cx, 0xd5
push ecx
call sub.USER32.dll_GetWindow
mov ecx, dword [0x437984]
mov eax, 0xce
mov edx, dword [0x437aa8]
add eax, ecx
push 2
push eax
call sub.USER32.dll_GetWindow
xor edx, dword [0x437b34]
mov eax, 0x80
add eax, dword [0x437a98]
mov ax, 0x80
add eax, eax
push eax
mov eax, dword [0x437ce0]
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437a48]
sub esi, esi
mov ecx, dword [0x4379dc]
mov edx, 0x48
dec eax
add byte [eax], al
add byte [edx + 7], ch
Function at 0x402449
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
mov eax, dword [0x437ba4]
sub edi, eax
push esi
add eax, eax
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437b30]
add eax, esi
mov esi, 0x3f
mov dx, 0xb
push edx
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437be8]
add edi, esi
sub esi, eax
push 0x40
push edi
call sub.USER32.dll_GetWindow
mov esi, dword [0x437998]
sub eax, ecx
mov eax, 0x84
mov edx, dword [0x437b68]
Function at 0x402494
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
mov eax, 0xf4
mov dword [0x437958], eax
push 2
mov edi, dword [0x437a50]
sub edi, ecx
push edi
call sub.USER32.dll_GetWindow
mov eax, dword [0x437b40]
add eax, edi
mov eax, dword [0x437af8]
add eax, eax
mov eax, dword [0x437c90]
mov edx, 0xf0
push esi
mov dword [0x437afc], edi
push 0x20
call sub.USER32.dll_GetWindow
mov esi, dword [0x437d08]
add edx, ecx
sub ecx, eax
add eax, eax
add eax, esi
push eax
mov esi, dword [0x437d14]
push esi
call sub.USER32.dll_GetWindow
mov eax, dword [0x437c20]
sub eax, eax
add ecx, edi
mov esi, 0x87
mov eax, dword [0x437a80]
push eax
mov dword [0x437b08], eax
push dword [0x437b78]
call sub.USER32.dll_GetWindow
mov esi, dword [0x437b80]
mov ax, 0x10
mov esi, dword [0x437b44]
mov eax, 0xfb
mov cx, 0xe8
mov eax, 0xe2
push eax
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x4379f0]
mov ax, 0x1b
mov ax, 2
mov ecx, dword [0x43798c]
sub edi, esi
push edi
mov eax, 4
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437cd0]
sub edi, esi
mov esi, dword [0x437bbc]
push dword [0x437be8]
push edi
call sub.USER32.dll_GetWindow
mov esi, dword [0x4379cc]
add eax, esi
mov edi, dword [0x437958]
mov eax, 0x58
push ecx
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437a0c]
sub edx, eax
sbb eax, dword [0x437b00]
push 0xd6
push edx
call sub.USER32.dll_GetWindow
mov eax, dword [0x4379dc]
sub esi, eax
or esi, dword [0x437958]
mov edx, 0x47
mov eax, dword [0x437958]
push eax
push eax
call sub.USER32.dll_GetWindow
mov ecx, dword [0x437a24]
mov eax, 0x5e
mov eax, dword [0x437b28]
sub edx, esi
mov dx, 1
push edx
push 0x80
call sub.USER32.dll_GetWindow
mov edx, dword [0x437958]
mov ax, 0x17
mov ecx, dword [0x437c2c]
add eax, eax
push eax
push eax
call sub.USER32.dll_GetWindow
mov eax, dword [0x437a64]
mov edi, 0xec
sub edx, edi
push edx
push edi
call sub.USER32.dll_GetWindow
mov edi, dword [0x4379a0]
mov di, 0xd4
mov ecx, dword [0x437aac]
or esi, edx
mov edi, dword [0x437958]
mov esi, 0x46
mov dword [0x437b9c], eax
push 8
push ecx
call sub.USER32.dll_GetWindow
mov eax, dword [0x437a78]
mov ax, 0x9d
mov ecx, dword [0x437c84]
sub esi, eax
push 0x40
push esi
call sub.USER32.dll_GetWindow
or edx, dword [0x437cc0]
add eax, edi
sub eax, ecx
push edx
push ecx
call sub.USER32.dll_GetWindow
mov eax, dword [0x4379c0]
sub eax, eax
mov edi, dword [0x437d14]
mov ax, 0xce
mov eax, dword [0x437af8]
push dword [0x437bb4]
mov eax, dword [0x437b20]
mov eax, 0x41
push eax
call sub.USER32.dll_GetWindow
mov esi, dword [0x43798c]
mov si, 0x2c
add eax, ecx
mov eax, dword [0x437cd4]
sub eax, eax
push eax
push ecx
call sub.USER32.dll_GetWindow
mov eax, dword [0x437a60]
mov ax, 4
mov eax, dword [0x437cc8]
mov edx, 0xfe
mov eax, dword [0x437a14]
push dword [0x437c70]
mov dword [0x437bb4], esi
push dword [0x437b64]
call sub.USER32.dll_GetWindow
mov eax, dword [0x437b04]
mov cx, 0xac
mov eax, dword [0x437aa8]
mov edx, 0x10
push edx
push 0x40
call sub.USER32.dll_GetWindow
mov eax, dword [0x437bd8]
mov ax, 2
mov esi, dword [0x437c04]
mov eax, dword [0x437d30]
sub eax, edx
push dword [0x437c94]
mov dword [0x437b60], esi
jnp 0x402757
add bh, bh
xor eax, 0x4379b4