joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f9772
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4f9792
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004fcaae
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4f97b5
test byte [esp + 8], 2
je 0x4f97b5
call fcn.004fcb21
mov dword [eax], 0xd
call fcn.004fcb2a
mov dword [eax], 5
jmp 0x4f978e
xor eax, eax
ret
Function at 0x511410
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004f8e70
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x5114db
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x5114db
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x51148e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x511499
or bh, 8
and edi, 0x8000000
je 0x5114b4
mov eax, dword [0x659a9c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x5114db
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5118b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x5118db
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x5118ff
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x51191a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x5137d0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5137ea
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x5137ea
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x5153c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
push 1
call fcn.00516db0
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, esi
jne 0x5153f3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0xf4240
mov dword [edx + 0x258], eax
mov ecx, dword [ebp - 4]
push 0x40
mov dword [ecx + 0x25c], eax
push fcn.004fc324
mov edx, dword [ebp - 4]
push edx
call fcn.00513770
push esi
push eax
call fcn.004fc3a0
add esp, 0x14
test eax, eax
je 0x51542f
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push eax
push ecx
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00516fd0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00513830
mov edi, dword [ebp + 8]
add esp, 0x20
cmp edi, esi
mov ebx, 0x20000
je 0x515499
push 0
call fcn.00513f60
mov dl, byte [esi + edi]
mov cl, byte [eax + esi]
add esp, 4
cmp dl, cl
je 0x515487
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
or ecx, ebx
mov dword [eax + 0x70], ecx
push 0
call fcn.00513f60
mov al, byte [eax + esi]
add esp, 4
inc esi
test al, al
jne 0x515468
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x70]
test ebx, eax
je 0x515511
test edi, edi
je 0x51550a
mov bl, byte [edi]
push 0
call fcn.00513f60
mov cl, byte [eax]
add esp, 4
cmp bl, cl
jne 0x5154dd
cmp bl, 0x31
jne 0x5154d2
push 0
call fcn.00513f60
mov dl, byte [edi + 2]
mov cl, byte [eax + 2]
add esp, 4
cmp dl, cl
jne 0x5154dd
cmp byte [edi], 0x30
jne 0x515511
cmp byte [edi + 2], 0x39
jge 0x515511
test edi, edi
je 0x51550a
push 0
call fcn.00513f60
push eax
push edi
push str.Application_built_with_libpng__.20s_but_running_with__.20s
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.004fc688
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00513590
add esp, 0x20
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 8]
test eax, eax
jne 0x51555f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xb4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00516fa0
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb0]
test eax, eax
jne 0x515558
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x51559c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00516f50
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
push ecx
mov dword [eax + 0xb0], 0
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00516e50
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00516d30
mov edx, dword [ebp - 4]
push edx
call fcn.00515ac0
add esp, 0x14
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x522680
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x5226b0
push esi
call fcn.00522b80
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x5226a9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x522733
mov eax, dword [esi + 0x1a0]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x52271f
mov eax, dword [esi + 8]
test eax, eax
je 0x5226d4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1a0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x52271b
cmp eax, 2
je 0x52271f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5226c7
cmp eax, 3
je 0x5226fa
cmp eax, 1
jne 0x5226c7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x5226c7
mov edx, dword [esi + 0x120]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5226c7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00522760
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x522753
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00522760
add esp, 4
pop esi
ret
Function at 0x550e88
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x550ec0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0054fe72
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0054fe49
jmp 0x550ecc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x550ed0
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x654198
mov ecx, edi
call fcn.0054fb4b
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x550f23
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x550f36
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0054fe72
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0054fe49
jmp 0x550f36
mov ecx, esi
call fcn.00553099
test eax, eax
je 0x550f36
push edi
mov ecx, eax
call fcn.00550e88
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x552814
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x552856
call fcn.00564020
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x552856
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x55284d
xor eax, eax
jmp 0x55285e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00552864
pop edi
pop esi
pop ebx
ret 4

Function at 0x5545d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x5545fa
cmp dword [edi + 0x3c], 0
jne 0x5545fa
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00564020
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
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00554627
pop edi
pop esi
pop ebx
ret 8
Function at 0x564aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00564020
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x564add
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x564add
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x564ae1
xor eax, eax
jmp 0x564b5f
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0054ffa3
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x564b19
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x564b03
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00564c50
push ebx
mov edi, eax
call fcn.0054ffcc
test edi, edi
pop ecx
je 0x564b5b
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00564a19
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00564b64
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x16769f4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x16769fe
pushal
call 0x1676a04
pop ebp
sub ebp, 0x10
sub ebp, 0x12769f4
jmp 0x1676a1a
mov eax, 0x12769f4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c4
mov edx, 0x47b50e4e
xor byte [eax], dl
inc eax
dec ecx
jne 0x1676a31
jmp 0x1676a44
lds eax, [ebx + 0x4e72c7c5]
dec esi
dec esi
iretd
Function at 0x4029db
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0x4c87b0
jne 0x43ccb3
mov ecx, dword [0x4c881c]
cmp ecx, 0xffffffff
je 0x402a74
mov eax, dword [0x4c8810]
xor edx, edx
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp + 0xc], ecx
cmp byte [esi + 0x3a], dl
je 0x402a1f
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0x43ccca
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x43cd0c
je 0x402a47
test edi, edi
je 0x402a95
cmp edi, 1
je 0x402a47
cmp edi, 2
je 0x402a8c
cmp edi, 3
je 0x402a83
jle 0x402a6b
cmp edi, 5
jg 0x402a78
cmp byte [esi + 0x38], 0
jne 0x402aa3
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0x402a67
cmp edi, 4
je 0x402a67
push dword [ebp + 0xc]
call fcn.00404899
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret 8
xor eax, eax
jmp 0x402a6f
cmp edi, 6
je 0x43ccf4
jmp 0x402a6b
mov byte [esi + 0x38], 1
jmp 0x43cd61
mov byte [esi + 0x38], 1
jmp 0x43ccf4
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0x402a6b
xor eax, eax
jmp 0x402a6e
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00402592
mov ecx, eax
mov dword [0x4c881c], ecx
jmp 0x4029f4
cmp byte [esi + 0x198], dl
je 0x402a1f
push dword [esi + 0x194]
mov ecx, edi
push esi
call fcn.0048b960
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0x402a1f
cmp byte [esi + 0x38], 0
je 0x402aa3
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402a6b
mov eax, edi
sub eax, 9
je 0x43cd61
sub eax, 0x37
je 0x43cd53
dec eax
je 0x43cd50
dec eax
je 0x43cd40
dec eax
jne 0x402a6b
push edx
mov byte [esi + 0x39], dl
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x402a6b
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x402a6b
push edx
jmp 0x43cd55
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402a6b
cmp byte [esi + 0x38], 0
je 0x402aa3
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
call fcn.00404899
jmp 0x402a6b
Function at 0x403aff
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2002c
call fcn.00432450
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00407627
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0x1002c]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.0040372b
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x43dd12
mov eax, dword [0x4c82e0]
test eax, eax
je 0x403c4a
xor edi, edi
mov esi, 0x4c9290
inc edi
cmp eax, edi
je 0x43dd2c
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c82e0
push 0x4c82f8
mov ecx, esi
call fcn.00407245
test al, al
je 0x403c53
mov al, byte [0x4c9290]
mov byte [0x4c82e4], al
mov al, byte [0x4c9291]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c82f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c82d0
call fcn.00407b8c
mov al, byte [ebp - 6]
mov dword [ebp - 0xc], eax
push dword [0x4c82e0]
push 0x4c82f8
call fcn.00410c2d
test eax, eax
jne 0x43dd4b
cmp byte [ebp - 5], 1
je 0x43dd6a
call fcn.00403a0b
call fcn.0040399a
cmp byte [0x4c82e4], 0
jne 0x403c08
mov ecx, 0x4c8890
call fcn.0040430c
push edi
mov ecx, 0x4c8310
call fcn.00410cd0
cmp byte [0x4c82e4], 0
jne 0x403c26
mov ecx, 0x4c8890
call fcn.004043fc
mov ecx, esi
call fcn.0040729b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.004058c4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
or dword [0x4c827c], 0xffffffff
jmp 0x403c2d
mov dword [0x4c827c], edi
jmp 0x403c2d
push 0x10
push 0x4bb400
push str.This_is_a_third_party_compiled_AutoIt_script.
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403c3a
push 0xffffffffffffffff
push dword [0x4c82e8]
mov ecx, esi
push edi
call fcn.004071d3
mov al, byte [0x4c8284]
mov byte [0x4c9292], al
jmp 0x403bc9
mov ecx, esi
call fcn.0040729b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c827c], edi
jmp 0x403c3a
call fcn.00464f5e
test al, al
jne 0x403beb
cmp byte [ebp - 7], al
jne 0x403beb
lea ecx, [ebp - 0x2c]
call fcn.004046c8
push 0x4b7d50
lea ecx, [ebp - 0x1c]
call fcn.00407da1
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
test al, al
je 0x43ddc4
mov edi, 0x4bb434
push edi
call fcn.00407c6b
push 0x4c82f8
lea ecx, [ebp - 0x1c]
call fcn.00407aee
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407c6b
push 1
jmp 0x43ddcd
push dword [ebp + 8]
call fcn.00407c6b
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4bb438
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.004058c4
jmp 0x403c26
Function at 0x404e49
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x404e81
push edi
push 0
push 0x491af0
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x43e3d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x404e80
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x404e80
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404e80
mov ecx, dword [ebx]
push 0
push edi
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x404e80

Function at 0x404ecb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x43e46d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004260f2
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x404ef1
Function at 0x420acc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
xor ebx, ebx
mov dword [ebp - 4], edx
push esi
inc ebx
mov dword [ebp - 0x10], edx
push edi
cmp dword [eax + 4], edx
je 0x456401
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [eax], dl
mov eax, dword [ebp + 0x10]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov dword [edi], edx
mov edi, edx
mov byte [eax], dl
mov dword [ebp - 0xc], 0x2b
mov byte [ecx], dl
mov dword [ebp - 8], 0x23
push edi
mov ecx, esi
call fcn.00407980
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0x456408
cmp ax, cx
je 0x456408
cmp ax, dx
je 0x456408
cmp ax, word [ebp - 8]
je 0x456408
push edi
inc edi
mov ecx, esi
mov dword [ebp + 0x1c], edi
call fcn.00407980
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x456483
push 0x40
lea ecx, [ebp - 0x20]
call fcn.004079d6
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x7d
call fcn.00420be3
test al, al
je 0x420bdf
push dword [ebp - 0x20]
push dword [esi*4 + 0x4a6d00]
call fcn.00423a0d
pop ecx
pop ecx
test eax, eax
je 0x420bab
inc esi
cmp esi, 0x63
jl 0x420b90
cmp esi, 0x63
je 0x45643a
cmp byte [esi + 0x4a6c98], 0
jne 0x420bdf
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x20]
call fcn.004058c4
and dword [edi], 0xff
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor bl, bl
jmp 0x420bc6
lea ecx, [ebp - 0x20]
call fcn.004058c4
xor al, al
jmp 0x420bd6
cmp ax, word [ebp - 0xc]
jne 0x456413
mov eax, dword [ebp + 0x10]
jmp 0x456432
cmp ax, cx
jne 0x45641d
mov eax, dword [ebp + 0x14]
jmp 0x456432
cmp ax, dx
jne 0x456427
mov eax, dword [ebp + 0x18]
jmp 0x456432
push 0x23
pop ecx
cmp ax, cx
jne 0x456434
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
inc edi
jmp 0x420b18
push 0
lea ecx, [ebp - 0x20]
call fcn.004079b2
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x4563f9
test eax, 0x200
je 0x456462
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x45646e
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x420bc6
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x420bc6
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x456401
test eax, 0x200
je 0x4564a2
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x4564ae
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x420bce
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x420bce