joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418abd
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ebp - 4]
and dword [eax + 8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x6a09e667
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xbb67ae85
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x3c6ef372
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xa54ff53a
push 4
pop eax
shl eax, 2
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x510e527f
push 4
pop eax
imul eax, eax, 5
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x9b05688c
push 4
pop eax
imul eax, eax, 6
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x1f83d9ab
push 4
pop eax
imul eax, eax, 7
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x5be0cd19
mov esp, ebp
pop ebp
ret
Function at 0x437731
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 8], 0
xor eax, eax
inc eax
imul eax, eax, 0xb
mov byte [ebp + eax - 0x18], 0x45
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x18], 0x6f
xor eax, eax
inc eax
imul eax, eax, 7
mov byte [ebp + eax - 0x18], 0x72
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x18], 0
xor eax, eax
inc eax
imul eax, eax, 9
mov byte [ebp + eax - 0x18], 0x72
xor eax, eax
inc eax
shl eax, 3
mov byte [ebp + eax - 0x18], 0x61
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x18], 0x64
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x18], 0x79
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax - 0x18], 0x69
xor eax, eax
inc eax
imul eax, eax, 6
mov byte [ebp + eax - 0x18], 0x62
xor eax, eax
inc eax
imul eax, eax, 0xc
mov byte [ebp + eax - 0x18], 0x78
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax - 0x18], 0x61
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x18], 0x4c
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x18], 0x4c
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x18], 0x57
lea eax, [ebp - 0x18]
push eax
call fcn.004efdc5
mov ecx, eax
call fcn.004efe1d
push eax
call fcn.0043781d
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437811
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x43781d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
cmp dword [0x77fae4], 0
jne 0x4378ef
xor eax, eax
inc eax
imul eax, eax, 7
mov byte [ebp + eax - 0x14], 0x41
xor eax, eax
inc eax
imul eax, eax, 0xc
mov byte [ebp + eax - 0x14], 0x73
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax - 0x14], 0x74
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x14], 0x72
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x14], 0x50
xor eax, eax
inc eax
imul eax, eax, 0xb
mov byte [ebp + eax - 0x14], 0x65
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x14], 0x73
xor eax, eax
inc eax
shl eax, 3
mov byte [ebp + eax - 0x14], 0x64
xor eax, eax
inc eax
imul eax, eax, 6
mov byte [ebp + eax - 0x14], 0x63
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax - 0x14], 0x6f
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x14], 0x65
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x14], 0
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x14], 0x72
xor eax, eax
inc eax
imul eax, eax, 9
mov byte [ebp + eax - 0x14], 0x64
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x14], 0x47
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.004e0fc8
add esp, 0xc
mov dword [0x77fae4], eax
cmp dword [0x77fae4], 0
je 0x437907
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x77fae4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x437913
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
cmp dword [0x77fae8], 0
jne 0x4379fb
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x18], 0x6f
xor eax, eax
inc eax
shl eax, 3
mov byte [ebp + eax - 0x18], 0x65
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x18], 0x4d
xor eax, eax
inc eax
imul eax, eax, 0xb
mov byte [ebp + eax - 0x18], 0x6e
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax - 0x18], 0x74
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax - 0x18], 0x64
xor eax, eax
inc eax
shl eax, 4
mov byte [ebp + eax - 0x18], 0
xor eax, eax
inc eax
imul eax, eax, 0xc
mov byte [ebp + eax - 0x18], 0x64
xor eax, eax
inc eax
imul eax, eax, 6
mov byte [ebp + eax - 0x18], 0x75
xor eax, eax
inc eax
imul eax, eax, 9
mov byte [ebp + eax - 0x18], 0x48
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x18], 0x61
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x18], 0x65
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x18], 0x6c
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x18], 0x65
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x18], 0x47
xor eax, eax
inc eax
imul eax, eax, 7
mov byte [ebp + eax - 0x18], 0x6c
xor eax, eax
inc eax
imul eax, eax, 0xf
mov byte [ebp + eax - 0x18], 0x57
push 0
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.004e0fc8
add esp, 0xc
mov dword [0x77fae8], eax
cmp dword [0x77fae8], 0
je 0x437a10
push dword [ebp + 8]
call dword [0x77fae8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x437a1c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0xc], 0
call fcn.004efdc5
mov ecx, eax
call fcn.004f004e
mov dword [ebp - 4], eax
xor eax, eax
inc eax
shl eax, 3
mov byte [ebp + eax - 0x18], 0x67
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x18], 0x6e
xor eax, eax
inc eax
imul eax, eax, 7
mov byte [ebp + eax - 0x18], 0x6f
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x18], 0x45
xor eax, eax
inc eax
imul eax, eax, 9
mov byte [ebp + eax - 0x18], 0
xor eax, eax
inc eax
imul eax, eax, 6
mov byte [ebp + eax - 0x18], 0x6c
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x18], 0x69
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax - 0x18], 0x61
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax - 0x18], 0x64
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x18], 0x44
cmp dword [ebp - 4], 0
je 0x437acd
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.0043781d
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x437acd
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x44292f
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.CMD5Checksum.0
push 0x40
push 0
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.00686600
add esp, 0xc
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
and dword [ecx + eax + 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
and dword [ecx + eax + 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x67452301
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xefcdab89
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x98badcfe
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x10325476
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4c10ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4c10bf
xor eax, eax
jmp 0x4c1242
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4c1208
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f7d68]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f7d68]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f7d68]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f7d68]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f7d68]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f7d68]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f7d68]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f7d68]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x4c10c8
cmp dword [ebp + 0x10], 0
je 0x4c123c
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x6f7d68]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x4c120e
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4c48ed
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 4
pop eax
imul eax, eax, 0
movsx ecx, byte [ebp + 0xc]
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
push 4
pop eax
imul eax, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x6f7d68]
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + eax]
push 4
pop eax
shl eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + eax], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp + 8]
imul eax, dword [ecx + eax], 0x8088405
inc eax
push 4
pop ecx
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
push 4
pop eax
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x6f7d68]
push 4
pop ecx
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret
Function at 0x4caa4d
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], 0
push 0x6fa0ac
lea eax, [ebp - 0x2c]
push eax
call fcn.0041ad4f
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
push 1
push 1
call fcn.004c9e47
pop ecx
push eax
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x28]
call fcn.004d679c
mov ecx, dword [ebp - 0x14]
call fcn.004c9580
mov eax, dword [ebp - 0x2c]
sub eax, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.004d661d
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4cac12
mov dword [ebp - 8], 0x800000
mov eax, dword [ebp - 8]
or eax, 0x1000
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
or eax, 0x2000
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
or eax, 0x4000000
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
or eax, 0x80000
mov dword [ebp - 8], eax
push 0x6fa0e0
lea eax, [ebp - 0x3c]
push eax
call fcn.0041ad4f
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.004c9e78
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], 8
jb 0x4cab2d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
jmp 0x4cab33
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0
push dword [ebp - 8]
push 0
push 0
push dword [ebp - 0x38]
push 0x6fa0f4
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
call fcn.0042f48f
add esp, 0x20
mov dword [ebp - 0xc], eax
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.004d73c8
mov eax, dword [ebp - 0x3c]
sub eax, 0x10
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.004d661d
cmp dword [ebp - 0xc], 0
je 0x4cac09
mov dword [ebp - 0x44], 4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1f
push dword [ebp - 0xc]
call fcn.0042f51c
add esp, 0x10
mov eax, dword [ebp - 0x10]
or eax, 0x100
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
or eax, 0x80
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 0x1f
push dword [ebp - 0xc]
call fcn.0042f38d
add esp, 0x10
push 0
push 0
push 0
push 0
push dword [ebp - 0xc]
call fcn.0042f309
add esp, 0x14
and dword [ebp - 0x20], 0
mov dword [ebp - 0x48], 4
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x20000013
push dword [ebp - 0xc]
call fcn.0042ea73
add esp, 0x14
cmp dword [ebp - 0x20], 0xc8
jne 0x4cac09
mov byte [ebp - 1], 1
push dword [ebp - 0xc]
call fcn.0042eaf7
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.004c9df2
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4d6f4e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4d6f6f
xor eax, eax
jmp 0x4d6fea
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4d6f85
xor eax, eax
jmp 0x4d6fea
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4d6fcd
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jae 0x4d6fcd
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
jmp 0x4d6fa6
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x4d6fd9
xor eax, eax
jmp 0x4d6fea
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x4d6fe7
xor eax, eax
jmp 0x4d6fea
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4e10d5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
shl eax, 1
cmp eax, 0x8aa0
je 0x4e110c
jmp 0x4e11d5
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
je 0x4e111f
jmp 0x4e11d5
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e1133
jmp 0x4e11d5
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x18], ecx
and dword [ebp - 8], 0
jmp 0x4e115e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 0x1c], 0
jne 0x4e11cd
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
jae 0x4e11cd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x24], edx
push dword [ebp + 8]
push dword [ebp - 0x24]
call fcn.004e1091
pop ecx
pop ecx
test eax, eax
jne 0x4e11cb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x18]
sub ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x1c], edx
jmp 0x4e1157
xor eax, eax
jne 0x4e10f3
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x4f8482
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4f84c7
call fcn.00500400
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4f84c7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4f84e3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00500696
mov ebx, eax
test edi, edi
je 0x4f84e1
test esi, esi
je 0x4f84e1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4fe8e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00500400
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4fe91b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004fe93c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x517223
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004fdaf4
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x51725f
call fcn.00517985
mov dword [esi + 0xc], 1
jmp 0x517264
call fcn.00517985
cmp dword [esi], 0
je 0x5172ad
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x517287
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004f88ad
jmp 0x517298
push 0xff
mov ecx, esi
call fcn.004d6559
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004d8133
jmp 0x5172d1
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x5172d1
push dword [esi]
push dword [ebp - 4]
call fcn.0050f5ef
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x517805
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00517985
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x51784d
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004f88ad
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004d8133
jmp 0x517858
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0050f5ef
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x52a71e
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00546759
call fcn.00500454
cmp dword [eax + 0x14], 0
jne 0x52a739
mov ecx, esi
pop esi
jmp fcn.00529b24
pop esi
ret

Function at 0x53c4a6
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0056b31a
call fcn.00500454
cmp dword [eax + 0x14], 0
jne 0x53c4c1
mov ecx, esi
pop esi
jmp fcn.0053bd75
pop esi
ret
Function at 0x53f35c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x53f392
push 0x6fb6b4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x53f3a0
push str.SetFileAttributesTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53f3a0
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x53f3a2
cmp dword [esi + 4], 0
je 0x53f3a0
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x666c79
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
jne 0x666c89
xor eax, eax
jmp 0x666cfe
cmp dword [ebp + 0xc], 0
je 0x666c85
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x666ca2
call fcn.00500400
mov eax, dword [eax + 0xc]
test eax, eax
je 0x666c85
push esi
push dword [ebp + 0xc]
mov dword [edi + 8], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x666cca
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x666cce
xor eax, eax
jmp 0x666cfd
push ebx
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x666cfc
push dword [ebp + 0xc]
mov esi, dword [edi]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call dword [esi + 4]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x67d240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00686600
mov eax, dword [ebp + 8]
add esp, 0xc
and dword [ebp - 0x34], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 0x14