joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44170a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x140]
cmp eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4417b7
push 3
pop eax
cmp dword [esi + 0x80], eax
mov dword [ebp - 4], eax
jl 0x4417ae
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 0
je 0x4417a0
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
cmp dword [eax + 4], ecx
jne 0x4417a0
cmp byte [eax + 0x70], 0xb
je 0x4417a0
mov cl, byte [eax + 0x73]
movzx edx, cl
cmp edx, dword [edi + 0x140]
je 0x441779
cmp byte [edi + 0x148], 0
je 0x4417a0
cmp cl, 0xff
je 0x4417a0
cmp byte [eax + 0x70], 0xa
je 0x4417a0
push 0
push dword [eax]
call ebx
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
test byte [eax + 0x72], 0x40
je 0x4417a0
cmp byte [eax + 0x70], 0x1a
jne 0x4417a0
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x80]
jle 0x441739
mov eax, dword [ebp + 8]
mov dword [edi + 0x140], eax
push 3
pop eax
cmp dword [esi + 0x80], eax
mov dword [ebp - 4], eax
jl 0x44183b
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 0
je 0x44182d
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
cmp dword [eax + 4], ecx
jne 0x44182d
cmp byte [eax + 0x70], 0xb
je 0x44182d
movzx ecx, byte [eax + 0x73]
cmp ecx, dword [edi + 0x140]
jne 0x44182d
test byte [eax + 0x72], 0x20
jne 0x44182d
push 0
push dword [eax]
call ebx
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
push 4
push dword [eax]
call ebx
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
test byte [eax + 0x72], 0x40
je 0x44182d
cmp byte [eax + 0x70], 0x1a
jne 0x44182d
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x80]
jle 0x4417c5
push 0
push dword [ebp + 8]
push 0x130c
push dword [edi + 0x138]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebx
leave
ret 4
Function at 0x444807
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x47def8
call fcn.0043b20c
mov ecx, dword [0x47df54]
mov edi, dword [ebp + 0xc]
cmp edi, dword [ebp + 8]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
jne 0x444856
xor edi, edi
cmp dword [ebx + 0x150], edi
je 0x4448b6
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push edi
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push edi
push dword [ebx + 0x150]
jmp 0x4448b0
mov ecx, esi
call fcn.0043b233
cmp eax, 0xffffffff
je 0x4448b6
mov esi, eax
mov eax, dword [0x47df68]
shl esi, 2
mov eax, dword [esi + eax]
mov eax, dword [eax]
mov cl, byte [eax + 0x70]
cmp cl, 0xe
je 0x4448b6
cmp cl, 0xf
je 0x4448b6
cmp cl, 0x13
je 0x4448b6
cmp cl, 0x10
je 0x4448b6
xor edi, edi
cmp dword [eax + 8], edi
je 0x4448b6
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x47df68]
mov eax, dword [esi + eax]
mov eax, dword [eax]
push edi
push dword [ebx]
push dword [ebp - 4]
push dword [ebp - 8]
push edi
push dword [eax + 8]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x445e28
Capabilities:
Parse credit card information

Disassembly:
jmp 0x445ec1
cmp ecx, 0x4f
jne 0x445e3f
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x445ebf
cmp ecx, 0x5e
jne 0x445e5b
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 8]
je 0x445ece
movzx ecx, byte [0x4675fe]
jmp 0x445ebf
cmp ecx, 0x38
jl 0x445e88
cmp ecx, 0x3d
jle 0x445e79
cmp ecx, 0x40
jle 0x445e74
cmp ecx, 0x43
jle 0x445e79
cmp ecx, 0x44
jne 0x445e88
mov dl, byte [eax + 3]
jmp 0x445e7c
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x445e86
cmp dl, 0xe
jne 0x445e88
inc eax
inc eax
movzx edx, byte [ecx + 0x4675a0]
add eax, edx
cmp dword [esp + 4], 0
je 0x445ec1
cmp ecx, 0x1b
jl 0x445ec1
cmp ecx, 0x1c
jle 0x445eac
cmp ecx, 0x1d
jle 0x445ec1
cmp ecx, 0x2a
jg 0x445ec1
movzx ecx, byte [eax - 1]
cmp cl, 0xc0
jb 0x445ec1
and ecx, 0x3f
movzx ecx, byte [ecx + 0x467660]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x445e2d
xor eax, eax
ret
Function at 0x45292d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x45296a
cmp dword [ebp + 0x14], edi
je 0x45296a
cmp ecx, edi
jne 0x452971
call fcn.00455e1c
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00455dbd
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x452985
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4529a6
cmp ebx, 0xffffffff
je 0x452995
push ebx
push edi
push ecx
call fcn.004512d0
add esp, 0xc
cmp esi, edi
je 0x452952
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x452952
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4529c2
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4529c9
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x452aba
test word [esi + 0xc], 0x10c
je 0x452a1d
mov eax, dword [esi + 4]
test eax, eax
je 0x452a1d
jl 0x452b1b
cmp ebx, eax
mov edi, ebx
jb 0x4529ee
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x452ac2
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045b0f4
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x452ab2
cmp ebx, dword [ebp - 0xc]
jb 0x452a8a
cmp dword [ebp - 0xc], 0
je 0x452a47
mov ecx, bind
xor edx, edx
cmp ebx, ecx
jbe 0x452a3c
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x452a43
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x452a52
mov eax, bind
cmp ebx, eax
ja 0x452a52
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x452aee
push eax
push dword [ebp - 8]
push esi
call fcn.00453a4b
pop ecx
push eax
call fcn.0045aff7
add esp, 0xc
test eax, eax
je 0x452b2d
cmp eax, 0xffffffff
je 0x452b1b
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x452ab2
push esi
call fcn.0045a916
cmp eax, 0xffffffff
pop ecx
je 0x452b1f
cmp dword [ebp - 4], 0
je 0x452aee
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4529d1
mov eax, dword [ebp + 0x14]
jmp 0x45296c
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x452ad9
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004512d0
add esp, 0xc
call fcn.00455e1c
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x452962
cmp dword [ebp + 0xc], 0xffffffff
je 0x452b04
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004512d0
add esp, 0xc
call fcn.00455e1c
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x452962
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x45296c
or dword [esi + 0xc], 0x10
jmp 0x452b1f
Function at 0x455f83
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 + 0x472b50]
je 0x455f9e
inc edi
cmp edi, 0x17
jb 0x455f8f
cmp edi, 0x17
jae 0x45611e
push ebp
push 3
call fcn.004605c3
cmp eax, 1
pop ecx
je 0x4560ea
push 3
call fcn.004605c3
test eax, eax
pop ecx
jne 0x455fd2
cmp dword [0x472388], 1
je 0x4560ea
cmp ebx, 0xfc
je 0x45611d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x474a90
push ebp
call fcn.00460329
add esp, 0xc
test eax, eax
je 0x456008
push esi
push esi
push esi
push esi
push esi
call fcn.00455cc1
add esp, 0x14
push 0x104
mov esi, 0x474aa9
push esi
push 0
mov byte [0x474bad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45604c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00460329
add esp, 0xc
test eax, eax
je 0x45604c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00455cc1
add esp, 0x14
push esi
call fcn.00451750
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x456091
push esi
call fcn.00451750
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x474da4
push 0x4686e8
sub ecx, eax
push ecx
push eax
call fcn.00460276
add esp, 0x14
test eax, eax
je 0x456091
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00455cc1
add esp, 0x14
jmp 0x456093
xor esi, esi
push 0x46d3c4
push ebx
push ebp
call fcn.004601b8
add esp, 0xc
test eax, eax
je 0x4560b3
push esi
push esi
push esi
push esi
push esi
call fcn.00455cc1
add esp, 0x14
push dword [edi*8 + 0x472b54]
push ebx
push ebp
call fcn.004601b8
add esp, 0xc
test eax, eax
je 0x4560d5
push esi
push esi
push esi
push esi
push esi
call fcn.00455cc1
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00460406
add esp, 0xc
jmp 0x45611d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x45611d
cmp ebp, 0xffffffff
je 0x45611d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x472b54]
push dword [esi]
call fcn.00451750
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 0x45b66e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x472df4]
jne 0x45b678
repz ret
jmp fcn.00462efb

Function at 0x460406
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00455738
xor ebx, ebx
cmp dword [0x47511c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4604dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4605bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46a464
push edi
call esi
cmp eax, ebx
je 0x4605bc
push eax
call fcn.004556ca
mov dword [esp], 0x46a454
push edi
mov dword [0x47511c], eax
call esi
push eax
call fcn.004556ca
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x475120], eax
call esi
push eax
call fcn.004556ca
mov dword [0x475124], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044f5ce
test eax, eax
pop ecx
pop ecx
je 0x4604aa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455cc1
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4604dc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004556ca
cmp eax, ebx
pop ecx
mov dword [0x47512c], eax
je 0x4604dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004556ca
pop ecx
mov dword [0x475128], eax
mov eax, dword [0x475128]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x460561
cmp dword [0x47512c], ecx
je 0x460561
push eax
call fcn.00455741
push dword [0x47512c]
mov esi, eax
call fcn.00455741
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x460561
cmp edi, ebx
je 0x460561
call esi
cmp eax, ebx
je 0x46052e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46052e
test byte [ebp - 0x18], 1
jne 0x460561
lea eax, [ebp - 0x10]
push eax
call fcn.0044f605
test eax, eax
pop ecx
je 0x460549
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455cc1
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x460558
or dword [ebp + 0x10], 0x200000
jmp 0x46059c
or dword [ebp + 0x10], 0x40000
jmp 0x46059c
mov eax, dword [0x475120]
cmp eax, dword [ebp - 8]
je 0x46059c
push eax
call fcn.00455741
cmp eax, ebx
pop ecx
je 0x46059c
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x46059c
mov eax, dword [0x475124]
cmp eax, dword [ebp - 8]
je 0x46059c
push eax
call fcn.00455741
cmp eax, ebx
pop ecx
je 0x46059c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47511c]
call fcn.00455741
cmp eax, ebx
pop ecx
je 0x4605bc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4605be
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401800
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
nop
lea eax, [ebp - 0x18]
push eax
call fcn.00401a91
add esp, 4
mov eax, 2
push eax
call sub.msvcrt.dll___set_app_type
add esp, 4
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
call sub.msvcrt.dll__controlfp
add esp, 8
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401900
mov eax, dword [ebp - 0x1c]
mov ecx, 0x20
movsx edx, byte [eax]
cmp ecx, edx
jne 0x401869
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x40184b
mov eax, dword [ebp - 0x1c]
mov ecx, 0x22
movsx edx, byte [eax]
cmp ecx, edx
jne 0x4018b6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
movsx ecx, byte [eax]
test ecx, ecx
je 0x4018b1
mov eax, dword [ebp - 0x1c]
mov ecx, 0x22
movsx edx, byte [eax]
cmp ecx, edx
jne 0x4018af
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x4018b1
jmp 0x40187c
jmp 0x4018e2
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4018e2
mov eax, dword [ebp - 0x1c]
mov ecx, 0x20
movsx edx, byte [eax]
cmp ecx, edx
je 0x4018e2
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x4018b6
mov eax, dword [ebp - 0x1c]
mov ecx, 0x20
movsx edx, byte [eax]
cmp ecx, edx
jne 0x401900
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x4018e2
lea eax, [ebp - 0x60]
push eax
call sub.kernel32.dll_GetStartupInfoA
movzx eax, word [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
and eax, 1
mov ecx, 0
cmp ecx, eax
jne 0x40192b
mov eax, 0xa
mov dword [ebp - 0x64], eax
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, 0
push ecx
push eax
call fcn.0040154c
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
call sub.msvcrt.dll_exit
add esp, 4
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6b4d2668
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5c7e7dbd
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4609d9
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0046067d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x460a23
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00416fcb
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00416fee
jmp 0x460a2e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00451788
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x460a34
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0043bf4f
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x460a71
call fcn.0046067d
mov dword [esi + 0xc], 1
jmp 0x460a76
call fcn.0046067d
cmp dword [esi], 0
je 0x460abf
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x460a97
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00416fcb
jmp 0x460aa9
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00402604
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00416fee
jmp 0x460ae3
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x460ae3
push dword [esi]
push dword [ebp + 8]
call fcn.00451788
pop esi
pop ebp
ret 0xc

Function at 0x48831e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0043a21e
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x488357
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00487f5b
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4883b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4883d9
cmp dword [edi + 0x74], 0
jne 0x4883d9
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0043a21e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00488376
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4c68b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4c68cf
call fcn.0043a21e
mov esi, dword [eax + 0xc]
push dword [0x5ced84]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4c68ed
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4c68e5
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4c691a
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4c68e7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004c67e3
mov esi, eax
jmp 0x4c690c

Function at 0x515acb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004488f2
call fcn.004124fc
cmp eax, esi
pop esi
jne 0x515ae7
mov ecx, 0x5ccc68
jmp fcn.0045098d
ret

Function at 0x5193dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x5193f4
mov edi, dword [esi + 0xc]
jmp 0x519434
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x51940d
call fcn.0044afd4
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x519422
call fcn.0044afd4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x519434
call fcn.0044afd4
call fcn.0043a21e
cmp dword [eax + 0x3c], 0
je 0x519449
push edi
mov ecx, ebx
call fcn.00518298
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005192f6
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x519467
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x519473
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5384ff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5c9030]
jne 0x538509
repz ret
jmp fcn.005419a3

Function at 0x54e688
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.005413cb
and dword [ebp - 0x14], 0
cmp dword [0x5d1384], 0
mov dword [ebp - 0x18], eax
jne 0x54e73b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x54e7e3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x596188
push ebx
call edi
test eax, eax
je 0x54e7e3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x596178
push ebx
mov dword [0x5d1384], eax
call edi
push eax
call esi
push 0x596164
push ebx
mov dword [0x5d1388], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5d138c], eax
call edi
push eax
call esi
mov dword [0x5d1394], eax
test eax, eax
je 0x54e73b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5d1390], eax
mov eax, dword [0x5d1390]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x54e794
cmp dword [0x5d1394], ecx
je 0x54e794
push eax
call esi
push dword [0x5d1394]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x54e794
test ebx, ebx
je 0x54e794
call edi
test eax, eax
je 0x54e78b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x54e78b
test byte [ebp - 8], 1
jne 0x54e794
or dword [ebp + 0x10], 0x200000
jmp 0x54e7c7
mov eax, dword [0x5d1388]
cmp eax, dword [ebp - 0x18]
je 0x54e7c7
push eax
call esi
test eax, eax
je 0x54e7c7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x54e7c7
mov eax, dword [0x5d138c]
cmp eax, dword [ebp - 0x18]
je 0x54e7c7
push eax
call esi
test eax, eax
je 0x54e7c7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5d1384]
call esi
test eax, eax
je 0x54e7e3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x54e7e5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005384ff
leave
ret